/* =========================================================================
   STEEL CRAFT ENGINEERING — MAIN STYLESHEET
   Design tokens: navy / red / steel-grey, matched to the brand logo and
   business-card identity. Industrial motifs (corner brackets, spec labels,
   diagonal stripes) reflect the SS fabrication / engineering identity.
   ========================================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* colors — Steel Craft brand palette (navy / red / grey / white) */
  --navy-950: #0d1526;
  /* darkest: footer, header top bar */
  --navy-900: #1b2a44;
  /* primary navy: header, dark section backgrounds */
  --navy-800: #24365a;
  /* lighter navy: cards within dark sections */
  --navy-700: #2f4470;
  --red-600: #c40010;
  --red-500: #e3000f;
  /* primary brand red (from the logo): buttons, links, accents */
  --red-400: #ff3b30;
  /* lighter hover red */
  --cream-100: #fafbfc;
  /* near-white background */
  --cream-200: #f1f3f6;
  /* light grey panels */
  --charcoal-900: #14202f;
  /* body text */
  --steel-500: #6b7688;
  --steel-300: #aab2c0;
  --steel-200: #d7dce4;
  --white: #ffffff;

  /* type */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* layout */
  --max-width: 1240px;
  --gutter: 24px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --header-h: 88px;

  /* motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal-900);
  background: var(--cream-100);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--fixed-header-h, 128px);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  font-weight: 700;
  color: var(--navy-900);
}

p { color: var(--steel-500); margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 2px solid var(--red-500); outline-offset: 3px; }

@media (prefers-reduced-motion:reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Utility / spec label motif ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red-500); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--red-500); }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--red-500); background: rgba(227,0,15,.08); border: 1px solid rgba(227,0,15,.25);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 16px;
}

.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head.center { max-width: 640px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin-bottom: 10px; }
.section-head p { font-size: 1rem; }

.stylish-heading { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.stylish-heading h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin-bottom: 12px; }
.stylish-heading p { font-size: 1rem; }

.bracket-frame { position: relative; border-radius: var(--radius-md); overflow: hidden; }
.bracket-frame::before, .bracket-frame::after {
  content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--red-500);
  z-index: 2; pointer-events: none;
}
.bracket-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.bracket-frame::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; font-weight: 600; font-size: .95rem; border-radius: var(--radius-sm);
  transition: all .25s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--red-500); color: var(--white); }
.btn-primary:hover { background: var(--red-600); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost-dark { border: 1.5px solid var(--navy-900); color: var(--navy-900); }
.btn-ghost-dark:hover { background: var(--navy-900); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; }

/* =========================================================================
   HEADER
   ========================================================================= */
.fixed-header-stack { position: fixed; top: 0; left: 0; right: 0; z-index: 500; }

.top-bar { background: var(--navy-950); color: var(--steel-200); font-size: .84rem; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px var(--gutter); gap: 16px; }
.top-bar-contacts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.top-bar-item { display: inline-flex; align-items: center; gap: 7px; color: var(--steel-200); transition: color .2s; }
.top-bar-item:hover { color: var(--red-400); }
.top-bar-item i { color: var(--red-500); font-size: .82rem; }
.top-bar-location { display: inline-flex; align-items: center; gap: 7px; color: var(--steel-300); }
.top-bar-location i { color: var(--red-500); }
.tablet-plus { display: inline-flex; }
@media (max-width: 720px) { .top-bar-location, .tablet-plus { display: none; } }
@media (max-width: 480px) { .top-bar-inner { justify-content: center; } }

.site-header { background: var(--navy-900); box-shadow: 0 2px 0 rgba(227,0,15,.35); transition: padding .25s var(--ease); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--gutter); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 15px; font-weight: 600; font-size: .92rem; color: var(--steel-200); border-radius: var(--radius-sm); transition: all .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--white); background: rgba(227,0,15,.18); }
.main-nav li { position: relative; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); transition: all .2s; }
.icon-btn:hover { background: var(--red-500); }
.desktop-only { display: inline-flex; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .25s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.close-menu, .menu-overlay { display: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 52%, var(--navy-800) 100%); }
.hero-slide { position: relative; display: none; min-height: 560px; align-items: center; }
.hero-slide.is-active { display: flex; }
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(227,0,15,.10) 0 2px, transparent 2px 90px);
}
.hero-slide::after {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%;
  background: linear-gradient(160deg, rgba(227,0,15,.16), transparent 60%);
  transform: skewX(-12deg);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-slide.has-photo::after {
  right: 0; top: 0; width: 100%; height: 100%; transform: none;
  background: linear-gradient(90deg, rgba(13,21,38,.92) 0%, rgba(13,21,38,.74) 35%, rgba(13,21,38,.35) 62%, rgba(13,21,38,.08) 88%);
}
.hero-slide.has-full-banner .hero-inner { display: flex; align-items: flex-end; height: 100%; padding-bottom: 26px; }
.hero-content.banner-only { max-width: none; width: 100%; }
.hero-content.banner-only .hero-cta { justify-content: center; width: fit-content; margin: 0 auto; background: rgba(13,21,38,.55); backdrop-filter: blur(3px); padding: 14px 18px; border-radius: 14px; }
.hero-inner { position: relative; z-index: 3; width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 70px var(--gutter); }
.hero-content { max-width: 640px; }
.hero-content .eyebrow { color: var(--red-400); }
.hero-content .eyebrow::before { background: var(--red-400); }
.hero-content h1, .hero-content h2 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 18px; }
.hero-content p { color: var(--steel-300); font-size: 1.06rem; max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 4; display: flex; justify-content: center; align-items: center; gap: 24px; }
.hero-dots { display: flex; gap: 9px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); transition: all .25s; }
.hero-dot.is-active { background: var(--red-500); width: 26px; border-radius: 6px; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrow { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.hero-arrow:hover { background: var(--red-500); }

/* Icon badge, reused across many sections */
.icon-badge {
  width: 62px; height: 62px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; background: rgba(227,0,15,.1); color: var(--red-500); flex-shrink: 0;
}
.icon-badge.dark { background: rgba(255,255,255,.08); color: var(--red-400); }
.icon-badge.lg { width: 80px; height: 80px; font-size: 1.9rem; border-radius: 20px; }

/* =========================================================================
   CONSULTING / CAPABILITIES BANNER
   ========================================================================= */
.consulting { padding: 84px 0 0; }
.consult-banner {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  border-radius: 22px; padding: 54px 48px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.consult-banner::after {
  content: ""; position: absolute; right: -6%; top: -40%; width: 42%; height: 180%;
  background: linear-gradient(160deg, rgba(227,0,15,.35), transparent 65%); transform: skewX(-14deg);
}
.consult-banner-copy { position: relative; z-index: 2; max-width: 560px; }
.consult-banner-copy h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 18px; }
.consult-banner-cta { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; border-bottom: 2px solid var(--red-500); padding-bottom: 6px; }
.consult-banner-cta:hover { color: var(--red-400); }
.consult-banner-media { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.consult-banner-media .icon-badge { width: 130px; height: 130px; font-size: 3.4rem; border-radius: 26px; background: rgba(255,255,255,.08); color: var(--red-400); border: 1px solid rgba(255,255,255,.15); }

.consult-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 50px; }
.consult-card { background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-md); padding: 30px 26px; transition: all .25s var(--ease); }
.consult-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(13,21,38,.1); border-color: transparent; }
.feature-num { display: block; font-family: var(--font-mono); color: var(--red-500); font-size: .78rem; letter-spacing: .08em; margin-bottom: 14px; }
.consult-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.consult-card p { font-size: .92rem; }

/* =========================================================================
   SOLUTIONS TILES ("Designed For You")
   ========================================================================= */
.designed-for-you { padding: 84px 0; }
.dfy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.dfy-photo {
  border-radius: 22px; background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
  padding: 46px; display: flex; align-items: flex-end; position: relative; overflow: hidden; min-height: 340px;
}
.dfy-photo::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(227,0,15,.12) 0 2px, transparent 2px 70px); }
.dfy-photo::after { content: ""; position: absolute; left: -10%; bottom: -30%; width: 60%; height: 140%; background: radial-gradient(circle, rgba(227,0,15,.25), transparent 65%); }
.dfy-photo-copy { position: relative; z-index: 3; }
.dfy-photo-copy h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.dfy-photo-copy p { color: var(--steel-300); }
.dfy-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.dfy-photo.has-photo::before { z-index: 1; background-image: linear-gradient(0deg, rgba(13,21,38,.9) 15%, rgba(13,21,38,.4) 55%, rgba(13,21,38,.2)); }
.dfy-photo.has-photo::after { z-index: 2; background: radial-gradient(circle at 15% 100%, rgba(227,0,15,.35), transparent 60%); }
.dfy-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dfy-tile { background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-md); padding: 28px 22px; display: flex; flex-direction: column; gap: 16px; justify-content: center; transition: all .25s var(--ease); }
.dfy-tile:hover { border-color: var(--red-500); transform: translateY(-4px); box-shadow: 0 16px 30px rgba(13,21,38,.08); }
.dfy-tile span.tile-label { font-weight: 700; color: var(--navy-900); font-size: 1rem; }

/* =========================================================================
   CLIENTS MARQUEE
   ========================================================================= */
.clients { padding: 70px 0 0; }
.marquee { margin-top: 30px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-pill {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; background: var(--white);
  border: 1px solid var(--cream-200); padding: 14px 24px; border-radius: 999px; font-weight: 600; color: var(--navy-900); font-size: .92rem;
}
.marquee-pill i { color: var(--red-500); }

/* =========================================================================
   INDUSTRIES WE SERVE
   ========================================================================= */
.applications { padding: 84px 0; }
.app-grid-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-card-visual {
  background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-md); overflow: hidden;
  text-align: center; transition: all .25s var(--ease);
}
.app-card-visual:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(13,21,38,.1); }
.app-card-media { padding: 40px 0 18px; background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); position: relative; overflow: hidden; }
.app-card-media::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(227,0,15,.12) 0 2px, transparent 2px 60px); }
.app-card-media .icon-badge { position: relative; z-index: 2; margin: 0 auto; background: rgba(255,255,255,.1); color: var(--red-400); }
.app-card-media.has-photo { padding: 0; height: 190px; }
.app-card-media.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.app-card-media.has-photo::before { z-index: 1; background-image: linear-gradient(180deg, rgba(13,21,38,.05) 45%, rgba(13,21,38,.65)); }
.app-card-media.has-photo .icon-badge { position: absolute; z-index: 2; margin: 0; left: 14px; bottom: 14px; width: 44px; height: 44px; font-size: 1.1rem; border-radius: 12px; background: rgba(13,21,38,.55); border: 1px solid rgba(255,255,255,.25); }
.app-card-title { padding: 20px 18px 26px; }
.app-card-title h3 { font-size: 1.02rem; }

/* =========================================================================
   STATS
   ========================================================================= */
.stats { background: linear-gradient(120deg, var(--navy-950), var(--navy-900)); padding: 64px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(227,0,15,.08) 0 2px, transparent 2px 90px); }
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--white); }
.stat-label { color: var(--steel-300); font-size: .88rem; margin-top: 8px; letter-spacing: .02em; }

/* =========================================================================
   FEATURES / WHY CHOOSE US
   ========================================================================= */
.features { padding: 84px 0; }
.features.dark { background: linear-gradient(160deg, var(--navy-950), var(--navy-900)); }
.features.dark h2, .features.dark .section-head h2 { color: var(--white); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card { background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-md); padding: 34px 28px; transition: all .25s var(--ease); }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(13,21,38,.1); border-color: transparent; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { font-size: .93rem; }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonials { padding: 84px 0; }
.rating-line { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--steel-500); font-size: .92rem; margin-top: 6px; }
.stars { color: var(--red-500); letter-spacing: 2px; }
.testimonial-carousel { overflow: hidden; margin-top: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.testimonial-track { display: flex; gap: 24px; width: max-content; animation: marquee 46s linear infinite; }
.testimonial-carousel:hover .testimonial-track { animation-play-state: paused; }
.testimonial-card { width: 340px; background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-md); padding: 30px 26px; flex-shrink: 0; }
.stars-line { color: var(--red-500); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-quote { font-size: .95rem; color: var(--charcoal-900); margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-900); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.testimonial-meta strong { display: block; font-size: .92rem; color: var(--navy-900); }
.testimonial-meta small { color: var(--steel-500); font-size: .8rem; }
.testimonial-disclaimer { text-align: center; font-size: .78rem; color: var(--steel-300); margin-top: 20px; }

/* =========================================================================
   FORMS (contact / quote modal)
   ========================================================================= */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: .84rem; font-weight: 600; color: var(--navy-900); margin-bottom: 7px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--cream-200); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color .2s; color: var(--charcoal-900);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--red-500); outline: none; }
.form-field textarea { resize: vertical; }
.form-note { text-align: center; font-size: .82rem; color: var(--steel-300); margin-top: 14px; }
.form-success { display: none; margin-top: 16px; background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.35); color: #1b7a3f; padding: 13px 16px; border-radius: var(--radius-sm); font-size: .88rem; }
.form-success.show { display: block; }

/* =========================================================================
   CTA BANNER (replaces newsletter — no backend needed)
   ========================================================================= */
.cta-banner { background: linear-gradient(120deg, var(--red-600), var(--red-500)); padding: 60px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.08) 0 2px, transparent 2px 70px); }
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,.7); }
.cta-banner .btn-white { background: var(--white); color: var(--red-600); }
.cta-banner .btn-white:hover { background: var(--navy-950); color: var(--white); }

/* =========================================================================
   MODAL (Quote request)
   ========================================================================= */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(13,21,38,.72); z-index: 900; display: flex;
  align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: all .25s var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box { background: var(--white); border-radius: var(--radius-md); max-width: 560px; width: 100%; padding: 40px 36px; position: relative; max-height: 90vh; overflow-y: auto; transform: translateY(14px); transition: transform .25s var(--ease); }
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--cream-200); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.modal-close:hover { background: var(--red-500); color: var(--white); }
.modal-box h3 { font-size: 1.3rem; margin-bottom: 8px; }
.modal-sub { font-size: .9rem; margin-bottom: 26px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--navy-950); color: var(--steel-300); padding-top: 70px; border-top: 3px solid var(--red-500); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--steel-300); font-size: .92rem; max-width: 320px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social .icon-btn { background: rgba(255,255,255,.07); }
.footer-social .icon-btn-whatsapp:hover { background: #25d366; }
.footer-col h4 { color: var(--white); font-size: 1.02rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 13px; }
.footer-col ul li a { color: var(--steel-300); font-size: .92rem; display: inline-flex; align-items: center; gap: 9px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--red-400); }
.footer-col ul li a i { color: var(--red-500); font-size: .8rem; width: 14px; }
address { font-style: normal; }
address p { margin-bottom: 13px; display: flex; align-items: flex-start; gap: 9px; font-size: .92rem; }
address p a { color: var(--steel-300); transition: color .2s; }
address p a:hover { color: var(--red-400); }
address i { color: var(--red-500); margin-top: 3px; width: 14px; flex-shrink: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: var(--steel-500); }
.footer-bottom ul { display: flex; gap: 18px; }
.footer-bottom a { color: var(--steel-500); }
.footer-bottom a:hover { color: var(--red-400); }

/* =========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================= */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 400; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* =========================================================================
   PAGE HEADER (inner pages)
   ========================================================================= */
.page-header {
  position: relative; min-height: 260px; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800)); overflow: hidden;
}
.page-header::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(227,0,15,.12) 0 2px, transparent 2px 80px); }
.page-header::after { content: ""; position: absolute; right: -8%; top: -30%; width: 46%; height: 160%; background: linear-gradient(160deg, rgba(227,0,15,.28), transparent 62%); transform: skewX(-12deg); }
.page-header-inner { position: relative; z-index: 2; padding: 60px 0; }
.page-header h1 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.breadcrumb { color: var(--steel-300); font-size: .9rem; }
.breadcrumb a { color: var(--steel-300); }
.breadcrumb a:hover { color: var(--red-400); }

/* =========================================================================
   ABOUT PAGE
   ========================================================================= */
.about-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media .about-visual {
  aspect-ratio: 4/5; border-radius: var(--radius-md); background: linear-gradient(150deg, var(--navy-900), var(--navy-950));
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.about-media .about-visual::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(227,0,15,.14) 0 2px, transparent 2px 60px); }
.about-media .about-visual i { position: relative; z-index: 2; font-size: 5rem; color: var(--red-400); opacity: .9; }
.value-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.value-list li { display: flex; align-items: flex-start; gap: 14px; color: var(--charcoal-900); font-size: .95rem; }
.value-list .bullet {
  font-family: var(--font-mono); font-size: .74rem; color: var(--red-500); background: rgba(227,0,15,.08);
  border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.profile-panel { padding: 88px 0; background: linear-gradient(160deg, var(--navy-950), var(--navy-900)); }
.profile-block { max-width: 780px; margin: 0 auto 54px; }
.profile-block:last-child { margin-bottom: 0; }
.profile-block .eyebrow { color: var(--red-400); }
.profile-block .eyebrow::before { background: var(--red-400); }
.profile-block h2 { color: var(--white); margin-bottom: 16px; }
.profile-block p { color: var(--steel-300); margin-bottom: 14px; }
.profile-block p:last-child { margin-bottom: 0; }

/* =========================================================================
   PRODUCTS / CATALOG
   ========================================================================= */
.product-grid, .catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-md); overflow: hidden; transition: all .25s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(13,21,38,.1); border-color: transparent; }
.product-thumb { position: relative; display: block; aspect-ratio: 4/3; background: linear-gradient(150deg, var(--navy-900), var(--navy-800)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-thumb::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(227,0,15,.12) 0 2px, transparent 2px 50px); }
.product-thumb i { position: relative; z-index: 2; font-size: 2.6rem; color: var(--red-400); }
.product-thumb.has-photo { background: var(--white); }
.product-thumb.has-photo::before { display: none; }
.product-thumb.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb.no-photo .thumb-note { position: relative; z-index: 2; display: block; margin-top: 10px; font-size: .74rem; font-weight: 600; color: var(--steel-300); text-align: center; padding: 0 16px; }
.product-tag { position: absolute; top: 12px; left: 12px; z-index: 3; background: rgba(13,21,38,.75); color: var(--white); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; }
.product-body { padding: 22px 22px 26px; }
.product-body h3 { font-size: 1.02rem; margin-bottom: 14px; }
.product-body p { font-size: .88rem; margin-bottom: 16px; }

.catalog-search { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--cream-200); border-radius: 999px; padding: 8px 8px 8px 22px; max-width: 560px; margin: 0 auto; box-shadow: 0 10px 26px rgba(13,21,38,.06); }
.catalog-search i { color: var(--steel-300); }
.catalog-search input { flex: 1; border: none; outline: none; font-size: .95rem; padding: 10px 0; background: transparent; color: var(--navy-900); }
.catalog-search-count { font-size: .78rem; font-weight: 700; color: var(--steel-300); white-space: nowrap; padding-right: 10px; }
.catalog-empty { text-align: center; font-size: .95rem; color: var(--steel-500); padding: 40px 0; }
.catalog-empty a { color: var(--red-500); font-weight: 700; }

.catalog-pillnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.cat-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--cream-200); border-radius: 999px; padding: 9px 16px; font-size: .84rem; font-weight: 700; color: var(--navy-900); transition: all .2s; }
.cat-pill:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.cat-pill span { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; color: var(--red-500); background: rgba(227,0,15,.08); border-radius: 999px; padding: 2px 8px; }
.cat-pill:hover span { background: rgba(255,255,255,.15); color: var(--white); }

.catalog-category { margin-bottom: 56px; scroll-margin-top: calc(var(--fixed-header-h, 128px) + 16px); }
.catalog-category:last-child { margin-bottom: 0; }
.catalog-category-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 24px; border-bottom: 2px solid var(--cream-200); }
.catalog-category-head h3 { font-size: 1.3rem; margin: 0; }
.catalog-category-count { font-family: var(--font-mono); font-size: .78rem; font-weight: 700; color: var(--red-500); white-space: nowrap; }

/* =========================================================================
   PROCESS PAGE
   ========================================================================= */
.process-page { padding: 20px 0 0; }
.process-timeline { position: relative; max-width: 900px; margin: 0 auto; }
.process-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--cream-200); transform: translateX(-50%); }
.process-step { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; margin-bottom: 46px; }
.process-step-icon {
  width: 74px; height: 74px; border-radius: 50%; background: var(--white); border: 2px solid var(--red-500);
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; flex-direction: column; gap: 2px;
}
.process-step-icon i { font-size: 1.3rem; color: var(--red-500); }
.process-step-num { position: absolute; top: -10px; right: -6px; background: var(--navy-900); color: var(--white); font-family: var(--font-mono); font-size: .68rem; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.process-step-body { background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-md); padding: 24px 26px; }
.process-step-body h3 { font-size: 1.06rem; margin-bottom: 8px; }
.process-step-body p { font-size: .9rem; }
.process-step:nth-child(odd) .process-step-body { grid-column: 1; text-align: right; }
.process-step:nth-child(odd) .process-step-icon { grid-column: 2; }
.process-step:nth-child(odd)::after { content: ""; grid-column: 3; }
.process-step:nth-child(even) .process-step-body { grid-column: 3; }
.process-step:nth-child(even) .process-step-icon { grid-column: 2; }
.process-step:nth-child(even)::before { content: ""; grid-column: 1; }

/* =========================================================================
   GALLERY
   ========================================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item { position: relative; aspect-ratio: 1/1; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; background: linear-gradient(150deg, var(--navy-900), var(--navy-800)); display: flex; align-items: center; justify-content: center; }
.gallery-item::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(227,0,15,.14) 0 2px, transparent 2px 50px); }
.gallery-item i { position: relative; z-index: 2; font-size: 2.2rem; color: var(--red-400); }
.gallery-item span.g-label { position: absolute; z-index: 3; bottom: 0; left: 0; right: 0; padding: 14px 12px 12px; font-size: .78rem; font-weight: 600; color: #fff; background: linear-gradient(0deg, rgba(13,21,38,.85), transparent); text-align: center; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.gallery-item.has-photo::before { z-index: 1; background-image: linear-gradient(180deg, rgba(13,21,38,0) 40%, rgba(13,21,38,.8) 100%); }
.gallery-item.has-photo > i { display: none; }
.lightbox-photo { width: 100%; max-height: 55vh; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 18px; }

.lightbox {
  position: fixed; inset: 0; background: rgba(13,21,38,.92); z-index: 950; display: flex; align-items: center;
  justify-content: center; opacity: 0; visibility: hidden; transition: all .25s var(--ease); padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-inner { max-width: 640px; width: 100%; background: var(--white); border-radius: var(--radius-md); padding: 60px 40px; text-align: center; }
.lightbox-inner i { font-size: 3.4rem; color: var(--red-500); margin-bottom: 18px; }
.lightbox-inner h3 { margin-bottom: 8px; }
.lightbox-close { position: fixed; top: 26px; right: 30px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: var(--red-500); }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: flex-start; }
.contact-info-card { background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-md); padding: 22px 24px; margin-bottom: 18px; }
.contact-info-card h4 { font-size: .96rem; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.contact-info-card h4 i { color: var(--red-500); }
.contact-info-card p { font-size: .92rem; margin-bottom: 10px; }
.contact-info-card a { display: block; font-size: .92rem; margin-bottom: 6px; color: var(--charcoal-900); font-weight: 600; }
.contact-info-card a:hover { color: var(--red-500); }
.contact-info-card a i { color: var(--red-500); margin-right: 6px; }
.map-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red-500); font-size: .88rem; }
.contact-map { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 18px; border: 1px solid var(--cream-200); }
.contact-map iframe { display: block; width: 100%; }
.contact-form-card { background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-md); padding: 36px; }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: all .6s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .consult-grid, .app-grid-visual { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .product-grid, .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .main-nav {
    position: fixed; top: 0; right: -100%; width: min(340px, 86vw); height: 100vh; background: var(--navy-950);
    z-index: 700; padding: 90px 26px 40px; transition: right .3s var(--ease); overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 14px 10px; width: 100%; }
  .close-menu { display: flex; position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; background: rgba(255,255,255,.08); border-radius: 50%; }
  .menu-overlay { display: none; position: fixed; inset: 0; background: rgba(13,21,38,.6); z-index: 650; }
  .menu-overlay.show { display: block; }
  .hamburger { display: flex; }
  .desktop-only { display: none; }
  .about-split, .dfy-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { padding-top: var(--fixed-header-h, 150px); }
  .consult-grid, .app-grid-visual, .feature-grid, .product-grid, .catalog-grid { grid-template-columns: 1fr; }
  .dfy-tiles { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .process-timeline::before { left: 26px; }
  .process-step, .process-step:nth-child(odd), .process-step:nth-child(even) { grid-template-columns: auto 1fr; }
  .process-step:nth-child(odd) .process-step-body, .process-step:nth-child(even) .process-step-body { grid-column: 2; text-align: left; }
  .process-step:nth-child(odd) .process-step-icon, .process-step:nth-child(even) .process-step-icon { grid-column: 1; width: 54px; height: 54px; }
  .process-step-icon i { font-size: 1.05rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .consult-banner { padding: 38px 26px; }
  .consult-banner-media { display: none; }
}
