/* =========================================================
   FIyME — Industrial Engineering Matrix (basado en DESIGN.md)
   ========================================================= */
:root {
  --steel-darkest: #1A1F24;
  --steel-slate: #2C343D;
  --naval-deep: #1E2D3D;
  --naval-subtle: #283C52;
  --oxide: #C0442C;
  --oxide-deep: #A33B29;
  --silver: #7D8287;
  --silver-light: #E2E5E8;
  --surface: #F4F5F7;
  --white: #FFFFFF;
  --text: #171C20;
  --text-muted: #44474C;

  --logo-oxide: #933921;
  --logo-naval: #314151;
  --logo-silver: #949295;

  --radius: 0.25rem;
  --radius-lg: 0.5rem;
  --shadow-2: 0 4px 12px -2px rgba(26,31,36,.08), 0 2px 4px -1px rgba(26,31,36,.04);
  --shadow-3: 0 16px 32px -8px rgba(30,45,61,.16);
  --container: 1280px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: var(--naval-deep); }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
@media (max-width: 767px) { .container { padding: 0 1rem; } }

.label-tech {
  font-family: var(--font-head);
  font-size: .75rem; font-weight: 600; line-height: 1rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--oxide);
  display: inline-flex; align-items: center; gap: .5rem;
}
.label-tech::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; }
.label-tech.on-dark { color: #FF8A70; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--silver-light);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand svg { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: .02em; color: var(--steel-darkest); }
.brand-tag { font-family: var(--font-head); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); margin-top: .3rem; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .875rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--steel-slate);
  padding: .5rem 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav-links a:hover { color: var(--naval-deep); border-color: var(--silver-light); }
.nav-links a[aria-current="page"] { color: var(--naval-deep); border-color: var(--oxide); }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--steel-slate);
  border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; color: var(--naval-deep);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--silver-light);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-links.open { max-height: 420px; box-shadow: var(--shadow-3); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 1rem; border-bottom: 1px solid var(--silver-light); border-left: 3px solid transparent; }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--silver-light); border-left-color: var(--oxide); }
  .nav-links .btn { margin: 1rem; display: block; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .9375rem; letter-spacing: .02em;
  padding: .875rem 1.5rem; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: background .15s, transform .1s, border-color .15s; line-height: 1;
}
.btn-primary { background: var(--naval-deep); color: var(--white); border-bottom: 2px solid var(--naval-deep); }
.btn-primary:hover { background: var(--naval-subtle); border-bottom-color: var(--oxide); }
.btn-forge { background: var(--oxide); color: var(--white); }
.btn-forge:hover { background: var(--oxide-deep); transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--naval-deep); border-color: var(--steel-slate); }
.btn-outline:hover { background: var(--surface); }
.btn-outline.on-dark { color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline.on-dark:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.nav-links .btn { padding: .625rem 1.125rem; font-size: .8125rem; color: var(--white); border-bottom-width: 1.5px; }
.nav-links .btn:hover { color: var(--white); }
.btn-ghost {
  font-family: var(--font-head); font-weight: 600; font-size: .8125rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--oxide); display: inline-flex; gap: .5rem; align-items: center;
}
.btn-ghost:hover { color: var(--oxide-deep); }
.btn-ghost .arrow { transition: transform .15s; }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--steel-darkest);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(125,130,135,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,130,135,.18) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding-top: 6rem; padding-bottom: 5.5rem; }
.hero h1 { color: var(--white); font-size: 4rem; line-height: 4.5rem; letter-spacing: -.03em; margin: 1.25rem 0 1.5rem; }
.hero h1 em { font-style: normal; color: #FF8A70; }
.hero p.lead { font-size: 1.125rem; line-height: 1.75rem; color: #C4CBD3; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero-art { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.hero-art .coord {
  position: absolute; font-family: var(--font-head); font-size: .6875rem; letter-spacing: .1em;
  color: var(--silver); text-transform: uppercase;
}
.hero-strip { position: relative; border-top: 1px solid var(--steel-slate); }
.hero-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-strip li { padding: 1.5rem 1.5rem 1.5rem 0; display: flex; gap: .875rem; align-items: center; color: #C4CBD3; font-size: .9375rem; }
.hero-strip li + li { padding-left: 1.5rem; border-left: 1px solid var(--steel-slate); }
.hero-strip .ic { width: 36px; height: 36px; flex: none; color: #FF8A70; }

@media (max-width: 1100px) { .hero h1 { font-size: 3.25rem; line-height: 3.75rem; } }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 3rem; }
  .hero-art { max-width: 280px; order: -1; }
  .hero-strip ul { grid-template-columns: 1fr; }
  .hero-strip li, .hero-strip li + li { padding: 1rem 0; border-left: 0; }
  .hero-strip li + li { border-top: 1px solid var(--steel-slate); }
}
@media (max-width: 600px) { .hero h1 { font-size: 2.5rem; line-height: 3rem; letter-spacing: -.02em; } }

/* Page hero (sub pages) */
.page-hero { background: var(--naval-deep); color: var(--white); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image:
    linear-gradient(rgba(184,200,221,.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,200,221,.2) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero .container { position: relative; padding-top: 4.5rem; padding-bottom: 4rem; }
.page-hero h1 { color: var(--white); font-size: 3rem; line-height: 3.5rem; letter-spacing: -.02em; margin: 1rem 0; }
.page-hero p { color: #B8C8DD; font-size: 1.125rem; line-height: 1.75rem; max-width: 42rem; }
.breadcrumb { font-family: var(--font-head); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--silver); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--white); }
.page-hero .facet { position: absolute; right: -40px; bottom: -60px; width: 320px; opacity: .14; }
@media (max-width: 600px) { .page-hero h1 { font-size: 2rem; line-height: 2.5rem; } }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section.white { background: var(--white); }
.section.dark { background: var(--steel-darkest); color: var(--white); }
.section-head { max-width: 44rem; margin-bottom: 3.5rem; }
.section-head h2 { font-size: 2.5rem; line-height: 3rem; letter-spacing: -.02em; margin: 1rem 0 1rem; }
.section-head p { font-size: 1.125rem; line-height: 1.75rem; color: var(--text-muted); }
.section.dark .section-head h2 { color: var(--white); }
.section.dark .section-head p { color: #C4CBD3; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.section-head.split > div { max-width: 44rem; }
@media (max-width: 767px) {
  .section { padding: 4rem 0; }
  .section-head h2 { font-size: 1.75rem; line-height: 2.25rem; }
}

/* ---------- Service cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1100px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--silver-light); border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.75rem; position: relative; transition: border-color .15s, box-shadow .15s, transform .15s;
  display: flex; flex-direction: column;
}
.card::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--naval-deep); }
.card.accent::before { background: var(--oxide); }
.card.silver::before { background: var(--silver); }
.card:hover { border-color: var(--silver); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card-num { font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--silver); position: absolute; top: 1.5rem; right: 1.5rem; }
.card-icon {
  width: 56px; height: 56px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--silver-light); color: var(--naval-deep); margin-bottom: 1.5rem;
}
.card.accent .card-icon { color: var(--oxide); }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: .75rem; }
.card p { color: var(--text-muted); font-size: .9375rem; line-height: 1.5rem; }
.card ul.checks { margin: 1.25rem 0 1.5rem; }
.card .btn-ghost { margin-top: auto; }

ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .625rem; }
ul.checks li { position: relative; padding-left: 1.5rem; font-size: .9375rem; line-height: 1.375rem; color: var(--steel-slate); }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: .45rem; width: 8px; height: 8px;
  background: var(--oxide); transform: rotate(45deg);
}

/* ---------- KPIs ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--steel-slate); border-radius: var(--radius-lg); }
.kpi { padding: 2rem 1.5rem; }
.kpi + .kpi { border-left: 1px solid var(--steel-slate); }
.kpi .label-tech { color: var(--silver); }
.kpi .label-tech::before { display: none; }
.kpi-value { font-family: var(--font-head); font-size: 3rem; line-height: 3rem; font-weight: 700; letter-spacing: -.02em; margin: .75rem 0 .5rem; color: var(--white); font-variant-numeric: tabular-nums; }
.kpi-value span { color: #FF8A70; }
.kpi p { color: #C4CBD3; font-size: .875rem; line-height: 1.25rem; }
@media (max-width: 900px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(3) { border-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--steel-slate); }
}
@media (max-width: 500px) {
  .kpis { grid-template-columns: 1fr; }
  .kpi + .kpi { border-left: 0; border-top: 1px solid var(--steel-slate); }
}

/* ---------- Sectors / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: .375rem .75rem; border-radius: var(--radius); background: var(--silver-light); color: var(--naval-deep);
}
.chip.hot { background: rgba(192,68,44,.08); color: var(--oxide); border: 1px solid var(--oxide); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 0 1.5rem 0 0; position: relative; }
.step-num {
  font-family: var(--font-head); font-weight: 700; font-size: .875rem; color: var(--white);
  width: 40px; height: 40px; border-radius: var(--radius); background: var(--naval-deep);
  display: grid; place-items: center; position: relative; z-index: 1; margin-bottom: 1.25rem;
}
.step:nth-child(4) .step-num { background: var(--oxide); }
.step::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 1px; background: repeating-linear-gradient(90deg, var(--silver) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step h4 { font-size: 1.125rem; margin-bottom: .5rem; }
.step p { color: var(--text-muted); font-size: .9375rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step::after { display: none; } }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } }
.prose p { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.75rem; }
.prose p + p { margin-top: 1rem; }
.prose h2 { font-size: 2.5rem; line-height: 3rem; letter-spacing: -.02em; margin: 1rem 0 1.5rem; }
@media (max-width: 767px) { .prose h2 { font-size: 1.75rem; line-height: 2.25rem; } }

.panel {
  background: var(--white); border: 1px solid var(--silver-light); border-radius: var(--radius-lg); padding: 1.5rem;
}
.panel-dark { background: var(--naval-deep); color: var(--white); border-color: var(--naval-subtle); }
.panel-dark h3 { color: var(--white); }

.blueprint {
  position: relative; border-radius: var(--radius-lg); background: var(--naval-deep); aspect-ratio: 5 / 4; overflow: hidden;
  border: 1px solid var(--naval-subtle);
}
.blueprint::before {
  content: ""; position: absolute; inset: 0; opacity: .4;
  background-image:
    linear-gradient(rgba(184,200,221,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,200,221,.25) 1px, transparent 1px);
  background-size: 32px 32px;
}
.blueprint svg { position: absolute; inset: 12%; width: 76%; height: 76%; }
.blueprint .tag { position: absolute; left: 1rem; bottom: 1rem; }
.blueprint .tag .chip { background: rgba(255,255,255,.1); color: #D4E4F9; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 600px) { .values { grid-template-columns: 1fr; } }
.value { border-left: 3px solid var(--oxide); padding: .25rem 0 .25rem 1.25rem; }
.value h4 { font-size: 1.125rem; margin-bottom: .375rem; }
.value p { color: var(--text-muted); font-size: .9375rem; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 800px) { .mv { grid-template-columns: 1fr; } }
.mv .panel { padding: 2rem; }
.mv h3 { font-size: 1.5rem; margin: .75rem 0 .75rem; }
.mv p { color: var(--text-muted); line-height: 1.625rem; }
.mv .panel-dark p { color: #B8C8DD; }

/* ---------- Service detail ---------- */
.service-block { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; padding: 4rem 0; border-top: 1px solid var(--silver-light); scroll-margin-top: 90px; }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block.reverse { grid-template-columns: 7fr 5fr; }
.service-block.reverse .service-visual { order: 2; }
@media (max-width: 900px) { .service-block, .service-block.reverse { grid-template-columns: 1fr; gap: 2rem; } .service-block.reverse .service-visual { order: 0; } }
.service-visual { position: sticky; top: 100px; align-self: start; }
@media (max-width: 900px) { .service-visual { position: static; } }
.service-body h2 { font-size: 2.25rem; line-height: 2.75rem; letter-spacing: -.02em; margin: .75rem 0 1rem; }
.service-body > p { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.75rem; }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
@media (max-width: 600px) { .sub-grid { grid-template-columns: 1fr; } .service-body h2 { font-size: 1.75rem; line-height: 2.25rem; } }
.sub-item { background: var(--white); border: 1px solid var(--silver-light); border-radius: var(--radius); padding: 1.25rem; }
.sub-item h4 { font-size: 1rem; margin-bottom: .375rem; display: flex; gap: .5rem; align-items: center; }
.sub-item h4::before { content: ""; width: 8px; height: 8px; background: var(--oxide); transform: rotate(45deg); flex: none; }
.sub-item p { color: var(--text-muted); font-size: .875rem; line-height: 1.375rem; }

.service-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2rem; }
.service-tabs a {
  font-family: var(--font-head); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: .625rem 1rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.25); color: #D4E4F9;
}
.service-tabs a:hover { background: rgba(255,255,255,.08); border-color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--oxide); color: var(--white); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border: 40px solid rgba(255,255,255,.08); transform: rotate(45deg);
}
.cta-band .container { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-top: 3.5rem; padding-bottom: 3.5rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: 2rem; line-height: 2.5rem; letter-spacing: -.015em; max-width: 36rem; }
.cta-band p { color: #FFDAD3; margin-top: .5rem; }
.cta-band .btn-primary { background: var(--steel-darkest); border-bottom-color: var(--steel-darkest); }
.cta-band .btn-primary:hover { background: var(--naval-deep); border-bottom-color: var(--white); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-panel { background: var(--white); border: 1px solid var(--silver-light); border-radius: var(--radius-lg); padding: 2.5rem; position: relative; }
.form-panel::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: var(--oxide); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
@media (max-width: 600px) { .form-panel { padding: 1.5rem; } }
.form-panel h2 { font-size: 1.75rem; line-height: 2.25rem; margin: .75rem 0 .5rem; }
.form-panel > p { color: var(--text-muted); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.field label { font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-slate); }
.field label .req { color: var(--oxide); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .9375rem; color: var(--text); background: var(--white);
  border: 1px solid var(--silver); border-radius: var(--radius); padding: .75rem .875rem; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--naval-deep); box-shadow: inset 0 0 0 .5px var(--naval-deep); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--oxide); }
.field .err { font-size: .75rem; color: var(--oxide); display: none; }
.field.invalid .err { display: block; }
.radio-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-group label.opt {
  font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .875rem; color: var(--steel-slate);
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .875rem; border: 1px solid var(--silver-light);
  border-radius: var(--radius); cursor: pointer; background: var(--white);
}
.radio-group input { accent-color: var(--naval-deep); margin: 0; }
.radio-group label.opt:has(input:checked) { border-color: var(--naval-deep); background: var(--surface); color: var(--naval-deep); }
.check-line { display: flex; gap: .625rem; align-items: flex-start; font-size: .8125rem; color: var(--text-muted); margin: .5rem 0 1.5rem; }
.check-line input { accent-color: var(--naval-deep); width: 16px; height: 16px; margin-top: 2px; flex: none; }
.form-ok {
  display: none; margin-top: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius);
  background: var(--silver-light); color: var(--naval-deep); border-left: 3px solid var(--naval-deep); font-size: .9375rem;
}
.form-ok.show { display: block; }

.info-list { display: grid; gap: 1rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--white); border: 1px solid var(--silver-light); border-radius: var(--radius-lg); }
.info-item .ic { width: 44px; height: 44px; flex: none; border-radius: var(--radius); background: var(--naval-deep); color: var(--white); display: grid; place-items: center; }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item .label-tech { color: var(--silver); }
.info-item .label-tech::before { display: none; }
.info-item strong { display: block; font-family: var(--font-head); font-size: 1.0625rem; color: var(--naval-deep); margin-top: .25rem; }
.info-item span.small { font-size: .8125rem; color: var(--text-muted); }
.urgent { background: var(--steel-darkest); color: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; }
.urgent h3 { color: var(--white); font-size: 1.25rem; margin: .75rem 0 .5rem; }
.urgent p { color: #C4CBD3; font-size: .9375rem; margin-bottom: 1.25rem; }
.map-box {
  margin-top: 1rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--silver-light);
  aspect-ratio: 16/10; background: var(--silver-light); position: relative;
}
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--silver-light); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 0; font-family: var(--font-head); font-weight: 600; font-size: 1.125rem;
  color: var(--naval-deep); display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--oxide); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-muted); padding: 0 0 1.25rem; line-height: 1.625rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel-darkest); color: #AEB5BD; border-top: 3px solid var(--oxide); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr 1.2fr; gap: 2rem; padding-top: 4rem; padding-bottom: 3rem; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } .footer-logo { grid-column: 1 / -1; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.footer-logo .logo-badge { background: var(--white); border-radius: var(--radius-lg); padding: .75rem 1rem; display: flex; align-items: center; gap: .75rem; }
.footer-logo .logo-badge svg { width: 42px; height: 42px; }
.footer-logo .logo-badge .brand-name { font-size: 1.5rem; }
.footer-slogan { font-family: var(--font-head); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--white); line-height: 1.25rem; border-bottom: 1px solid var(--steel-slate); padding-bottom: 1rem; }
.footer-grid p { font-size: .875rem; line-height: 1.375rem; }
.footer-grid h4 { color: var(--white); font-family: var(--font-head); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-nav, .footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.footer-nav a, .footer-list a { font-size: .9375rem; transition: color .15s; display: inline-flex; align-items: center; gap: .5rem; }
.footer-nav a::before { content: "//"; color: var(--oxide); font-family: var(--font-head); font-size: .75rem; }
.footer-nav a:hover, .footer-list a:hover { color: var(--white); }
.footer-nav a[aria-current="page"] { color: var(--white); }
.footer-list li { font-size: .9375rem; }
.footer-bottom { border-top: 1px solid var(--steel-slate); padding-top: 1.5rem; padding-bottom: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8125rem; }
.footer-bottom a:hover { color: var(--white); }

/* WhatsApp floating */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; width: 56px; height: 56px; border-radius: 9999px;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-3); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

:focus-visible { outline: 2px solid var(--oxide); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Zonas de servicio ---------- */
.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .zone-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .zone-grid { grid-template-columns: 1fr; } }
.zone-card {
  display: flex; flex-direction: column; gap: .25rem; padding: 1.25rem 1.5rem; background: var(--white);
  border: 1px solid var(--silver-light); border-left: 3px solid var(--naval-deep); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.zone-card:hover { border-left-color: var(--oxide); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.zone-card .label-tech { color: var(--silver); }
.zone-card .label-tech::before { display: none; }
.zone-card strong { font-family: var(--font-head); font-size: 1.375rem; color: var(--naval-deep); }
.zone-sub { font-size: .875rem; color: var(--text-muted); }
.zone-go { margin-top: .5rem; font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--oxide); }

/* ---------- Caso de éxito ---------- */
.case { display: grid; grid-template-columns: 5fr 7fr; border: 1px solid var(--steel-slate); border-radius: var(--radius-lg); overflow: hidden; background: #20262c; scroll-margin-top: 90px; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
.case-visual { position: relative; min-height: 280px; background: var(--naval-deep); display: grid; place-items: center; }
.case-visual::before {
  content: ""; position: absolute; inset: 0; opacity: .4;
  background-image: linear-gradient(rgba(184,200,221,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(184,200,221,.25) 1px, transparent 1px);
  background-size: 32px 32px;
}
.case-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-icon { position: relative; width: 45%; height: auto; color: #B8C8DD; }
.case-visual .tag { position: absolute; left: 1rem; bottom: 1rem; }
.case-visual .tag .chip { background: rgba(255,255,255,.1); color: #D4E4F9; }
.case-body { padding: 2.5rem; }
@media (max-width: 600px) { .case-body { padding: 1.5rem; } }
.case-body .chip { background: rgba(255,255,255,.08); color: #D4E4F9; }
.case-body .chip.hot { background: rgba(192,68,44,.15); color: #FF8A70; border-color: #FF8A70; }
.case-body h3 { color: var(--white); font-size: 1.75rem; line-height: 2.25rem; letter-spacing: -.015em; }
.case-lead { color: #C4CBD3; margin: .75rem 0 2rem; font-size: 1.0625rem; line-height: 1.625rem; }
.case-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1100px) { .case-cols { grid-template-columns: 1fr; } }
.case-cols > div { border-top: 2px solid var(--oxide); padding-top: 1rem; }
.case-cols h4 { color: var(--white); font-size: 1rem; margin-bottom: .5rem; }
.case-cols p { color: #AEB5BD; font-size: .9375rem; line-height: 1.5rem; }

/* ---------- Varios ---------- */
.sub-grid.three { grid-template-columns: repeat(3, 1fr); margin: 0; }
@media (max-width: 900px) { .sub-grid.three { grid-template-columns: 1fr; } }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.legal { max-width: 52rem; }
.legal h2 { font-size: 1.5rem; line-height: 2rem; margin: 2rem 0 .75rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal a { color: var(--oxide); text-decoration: underline; }
.footer-list li { font-size: .9375rem; line-height: 1.375rem; }
