/* Ecowalls — hoja de estilos principal (fonts.css se carga aparte) */

:root {
  --navy: #293276;
  --navy-deep: #161B4D;
  --lime: #A2C642;
  --lime-dark: #86A92F;
  --lime-btn: #8CB428;
  --lime-btn-hover: #7AA320;
  --gray: #6F6F6E;
  --concrete: #ECEDE8;
  --concrete-dark: #D9DAD3;
  --ink: #1D2145;
  --white: #FFFFFF;
  --line: #D5D7DE;

  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--lime-dark); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; color: var(--navy); }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.75rem, 6.5vw, 5rem); line-height: .98; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); line-height: 1; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--gray); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--navy-deep); padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--concrete { background: var(--concrete); }
.section--navy { background: var(--navy-deep); color: #D8DBEE; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--gray); font-size: 1.15rem; }
.section--navy .section-head p { color: #B9BEDD; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1.125rem/1.1 var(--font);
  padding: 18px 32px; border-radius: 12px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lime { background: var(--lime-btn); color: var(--white); box-shadow: 0 8px 20px rgba(140,180,40,.28); }
.btn--lime:hover { background: var(--lime-btn-hover); color: var(--white); box-shadow: 0 12px 26px rgba(140,180,40,.36); }
a.btn--lime::after {
  content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--white); background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn--ghost-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost-navy:hover { background: var(--navy); color: var(--white); }
.btn--wa { background: #25D366; color: #0B3B1E; }
.btn--wa:hover { background: #1EBE5B; color: #0B3B1E; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--lime); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); border-bottom-color: var(--lime); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); font-weight: 600; }
.nav .btn { padding: 12px 20px; font-size: 1rem; border-bottom: 0; }
.nav .btn:hover { border-bottom: 0; color: var(--white); }
.nav a.btn--lime::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .btn { margin-top: 16px; }
}

/* ---------- Estratos: el corte del panel (motivo de marca) ---------- */
/* hormigón · malla · EPS · malla · hormigón */
.strata {
  height: 22px;
  background:
    radial-gradient(circle, var(--gray) 1.2px, transparent 1.6px) 0 5px / 10px 10px repeat-x,
    radial-gradient(circle, var(--gray) 1.2px, transparent 1.6px) 0 -5px / 10px 10px repeat-x,
    linear-gradient(to bottom,
      #9C9E97 0 4px, #C9CAC3 4px 6px,
      #F7F8FA 6px 16px,
      #C9CAC3 16px 18px, #9C9E97 18px 22px);
  background-position: 0 3px, 0 bottom, 0 0;
}
.strata--thin { height: 10px; background: linear-gradient(to bottom, #9C9E97 0 2px, #F7F8FA 2px 8px, #9C9E97 8px 10px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(22,27,77,.92) 0%, rgba(22,27,77,.72) 42%, rgba(22,27,77,.15) 80%),
              linear-gradient(0deg, rgba(22,27,77,.55) 0%, transparent 45%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { color: var(--white); max-width: 13ch; margin-bottom: .35em; }
.hero .lead { color: #DDE0F2; max-width: 52ch; margin-bottom: 28px; }
.hero--short { min-height: 0; }
.hero--short h1 { max-width: 16ch; font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
.hero--short .wrap { padding-top: clamp(80px, 12vw, 140px); }
.badges { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.badges li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .98rem; color: var(--white); }
.badges li::before { content: ""; width: 10px; height: 10px; background: var(--lime); border-radius: 50%; flex: none; }

/* ---------- Barra de credenciales ---------- */
.creds { background: var(--navy); color: var(--white); }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.creds li { padding: 26px 20px 26px 0; display: flex; align-items: center; gap: 14px; }
.creds li > div { display: flex; flex-direction: column; gap: 2px; }
.creds .ico { width: 34px; height: 34px; color: var(--lime); flex: none; }
.creds li + li { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.18); }
.creds strong { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.05; color: var(--white); font-weight: 700; }
.creds span { font-size: .92rem; color: #C9CDE6; }
@media (max-width: 760px) {
  .creds ul { grid-template-columns: 1fr 1fr; }
  .creds li, .creds li + li { padding: 20px 12px 20px 0; border-left: 0; }
  .creds li:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.18); }
  .creds li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
}

/* ---------- Layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 860px) { .split, .split--wide-left { grid-template-columns: 1fr; } }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px); }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 48px); }
@media (max-width: 860px) { .cols-3, .cols-2 { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--concrete); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }
figcaption { font-size: .85rem; color: var(--gray); margin-top: 8px; }

/* Beneficios: columnas con regla superior, sin tarjetas */
.feature { border-top: 3px solid var(--navy); padding-top: 22px; }
.feature h3 { font-size: 1.35rem; }
.feature p { color: #4A4E68; margin: 0; }
.section--navy .feature { border-top-color: var(--lime); }
.section--navy .feature p { color: #C4C8E2; }

/* Cifras grandes */
.figures { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.figure { padding: 36px 36px 36px 0; border-bottom: 1px solid var(--line); }
.figure:nth-child(odd) { border-right: 1px solid var(--line); }
.figure:nth-child(even) { padding-left: 36px; }
.figure__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: .9; color: var(--navy); display: block; margin-bottom: 12px; }
.figure h3 { margin-bottom: .3em; }
.figure p { color: #4A4E68; margin: 0; max-width: 42ch; }
.figure .example { font-style: italic; color: var(--gray); margin-top: 10px; font-size: .95rem; }
@media (max-width: 700px) {
  .figures { grid-template-columns: 1fr; }
  .figure, .figure:nth-child(even) { padding: 28px 0; border-right: 0; }
}

/* ---------- Tabla comparativa ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 1rem; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--navy); border-bottom: 3px solid var(--navy); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.compare td { color: #5B5F75; }
.compare .eco { background: #E9ECF7; color: var(--navy); font-weight: 600; }
.compare thead .eco { background: var(--navy); color: var(--white); border-bottom-color: var(--navy); }
.compare-note { font-size: .85rem; color: var(--gray); margin-top: 14px; }

.spec { width: 100%; border-collapse: collapse; font-size: .98rem; }
.spec caption { text-align: left; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); padding-bottom: 10px; }
.spec th, .spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.spec thead th { background: var(--navy); color: var(--white); font-weight: 600; }
.spec tbody th { font-weight: 500; color: #4A4E68; width: 45%; }
.spec td { font-weight: 600; color: var(--ink); }
.spec tbody tr:nth-child(even) { background: #F6F7F3; }

/* ---------- Pasos (secuencia real) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; position: relative; }
.steps li { position: relative; padding: 0 20px 0 0; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 3rem; line-height: 1; color: var(--navy);
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 3px solid var(--navy);
}
.steps li:last-child::before { border-bottom-color: var(--lime); }
.steps h3 { font-size: 1.15rem; }
.steps p { font-size: .98rem; color: #4A4E68; margin: 0; }
.steps .time { display: block; font-size: .88rem; font-weight: 600; color: var(--lime-dark); margin-top: 10px; }
.section--navy .steps li::before { color: var(--lime); border-bottom-color: rgba(255,255,255,.25); }
.section--navy .steps p { color: #C4C8E2; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; padding: 0 0 26px; }
  .steps li::before { grid-row: span 3; font-size: 2.4rem; border-bottom: 0; border-right: 3px solid var(--navy); padding: 0 12px 0 0; margin: 0; height: 100%; }
}

/* Pasos detallados (El sistema) */
.process { display: grid; gap: clamp(40px, 6vw, 72px); }
.process-step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.process-step:nth-child(even) .photo { order: 2; }
.process-step .num { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--lime-dark); }
.process-step h3 { font-family: var(--font-display); font-size: 2rem; }
.process-step ul { margin: 14px 0 0; padding-left: 20px; color: #4A4E68; }
.process-step li { margin-bottom: 4px; }
.tag { display: inline-block; font-size: .85rem; font-weight: 600; background: var(--concrete); color: var(--navy); padding: 4px 10px; border-radius: 2px; margin-bottom: 14px; }
@media (max-width: 860px) {
  .process-step { grid-template-columns: 1fr; }
  .process-step:nth-child(even) .photo { order: 0; }
}

/* ---------- Anatomía del panel ---------- */
.anatomy { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cut { display: grid; grid-template-columns: 26px 10px 1fr 10px 26px; height: 380px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.cut__concrete { background: #A7A9A1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='%23878981'%3E%3Ccircle cx='6' cy='8' r='1.4'/%3E%3Ccircle cx='24' cy='4' r='1'/%3E%3Ccircle cx='32' cy='22' r='1.6'/%3E%3Ccircle cx='12' cy='30' r='1.1'/%3E%3Ccircle cx='28' cy='36' r='.9'/%3E%3C/g%3E%3C/svg%3E"); }
.cut__mesh { background: #D2D3CD repeating-linear-gradient(to bottom, #5E6070 0 3px, transparent 3px 16px); }
.cut__eps { background: #FAFBFC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cg fill='none' stroke='%23E3E5EA'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Ccircle cx='23' cy='14' r='6'/%3E%3Ccircle cx='10' cy='24' r='6'/%3E%3C/g%3E%3C/svg%3E"); position: relative; }
.cut__eps::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: repeating-linear-gradient(to bottom, transparent 0 30px, rgba(94,96,112,.55) 30px 32px); }
.layers { list-style: none; margin: 0; padding: 0; }
.layers li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.layers li:last-child { border-bottom: 1px solid var(--line); }
.layers .swatch { width: 56px; height: 56px; border-radius: var(--radius); }
.layers h3 { margin-bottom: .25em; }
.layers p { margin: 0; color: #4A4E68; }
.layers .data { font-size: .9rem; color: var(--gray); margin-top: 6px; }
.callout { background: #E9ECF7; border-left: 4px solid var(--navy); padding: 22px 26px; margin-top: 32px; font-size: 1.15rem; font-weight: 500; color: var(--navy); }
@media (max-width: 860px) { .anatomy { grid-template-columns: 1fr; } .cut { height: 220px; } }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--concrete); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 14px 12px; color: var(--white); font-size: .9rem; font-weight: 500; background: linear-gradient(transparent, rgba(22,27,77,.85)); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery figure { aspect-ratio: 4/3; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
}

/* ---------- Banda B2B ---------- */
.band { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }
.band h2 { color: var(--white); margin-bottom: .3em; }
.band p { color: #C9CDE6; margin: 0; max-width: 60ch; font-size: 1.1rem; }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr; } }

/* ---------- Clientes del grupo ---------- */
.clients { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clients li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 10px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: #8A8C92; }
@media (max-width: 860px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .clients { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 600; font-size: 1.12rem; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 24px; color: #4A4E68; max-width: 72ch; }

/* ---------- Formularios ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--gray); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--ink);
  padding: 13px 14px; border: 1.5px solid #C4C7D2; border-radius: var(--radius); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(162,198,66,.45); }
.field fieldset { border: 0; margin: 0; padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.radios label { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 0; }
.radios input { width: auto; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-note { font-size: .88rem; color: var(--gray); margin: 0; }
.form-error { color: #B42318; font-weight: 600; font-size: .95rem; margin: 0; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.panel-dark { background: var(--navy-deep); color: #D8DBEE; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); }
.panel-dark h2, .panel-dark h3 { color: var(--white); }
.panel-dark .field label, .panel-dark .field legend { color: var(--white); }
.panel-dark .form-note { color: #AEB3D4; }
.panel-light { background: var(--white); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); border: 1px solid var(--line); }

/* ---------- Tabs (contacto) ---------- */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 32px; border-bottom: 2px solid var(--line); }
.tab { display: flex; flex-direction: column; justify-content: flex-start; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 16px 12px 16px 0; text-align: left; cursor: pointer; font: inherit; color: var(--gray); }
.tab strong { display: block; font-size: 1.1rem; color: var(--ink); }
.tab span { font-size: .92rem; }
.tab[aria-selected="true"] { border-bottom-color: var(--navy); }
.tab[aria-selected="true"] strong { color: var(--navy); }
@media (max-width: 640px) { .tab span { display: none; } }

/* ---------- Contacto directo ---------- */
.channels { list-style: none; margin: 0; padding: 0; }
.channels li { padding: 18px 0; border-top: 1px solid var(--line); }
.channels li:last-child { border-bottom: 1px solid var(--line); }
.channels .k { display: block; font-size: .9rem; color: var(--gray); }
.channels a, .channels .v { font-weight: 600; font-size: 1.15rem; text-decoration: none; color: var(--navy); }
.channels a:hover { color: var(--lime-dark); }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); background: var(--concrete); }

/* ---------- Tarjetas de perfil / modalidades ---------- */
.profile { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.profile:last-child { border-bottom: 1px solid var(--line); }
.profile .who { font-weight: 600; color: var(--lime-dark); margin-bottom: 8px; }
.profile h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.checklist { list-style: none; padding: 0; margin: 18px 0 24px; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 8px; color: #4A4E68; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--lime-dark); border-bottom: 2.5px solid var(--lime-dark); transform: rotate(-45deg); }
.checklist strong { color: var(--ink); }
.section--navy .checklist li { color: #C4C8E2; }
.section--navy .checklist strong { color: var(--white); }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--navy); }
.mode { padding: 28px 28px 32px 0; }
.mode + .mode { padding-left: 28px; border-left: 1px solid var(--line); }
.mode .n { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--lime-dark); }
.mode h3 { font-family: var(--font-display); font-size: 1.7rem; margin-top: 10px; }
.mode dl { margin: 18px 0 0; }
.mode dt { font-weight: 700; font-size: .92rem; color: var(--navy); margin-top: 16px; }
.mode dd { margin: 4px 0 0; color: #4A4E68; font-size: .98rem; }
.mode ul { margin: 6px 0 0; padding-left: 18px; color: #4A4E68; font-size: .98rem; }
@media (max-width: 960px) {
  .modes { grid-template-columns: 1fr; }
  .mode, .mode + .mode { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .mode:first-child { border-top: 0; }
}

/* Precios */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--navy); }
.price { padding: 28px 28px 28px 0; }
.price + .price { padding-left: 28px; border-left: 1px solid var(--line); }
.price h3 { font-size: 1.2rem; }
.price .from { font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--navy); margin: 8px 0 16px; }
.price .from small { font-size: 1.1rem; color: var(--gray); font-family: var(--font); font-weight: 500; }
.price p { font-size: .96rem; color: #4A4E68; margin-bottom: .6em; }
@media (max-width: 860px) {
  .prices { grid-template-columns: 1fr; }
  .price, .price + .price { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .price:first-child { border-top: 0; }
}

/* Transición a zona técnica */
.tech-divider { background: var(--navy); color: var(--white); }
.tech-divider .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; gap: 20px; align-items: center; }
.tech-divider p { margin: 0; font-size: 1.15rem; max-width: 70ch; color: #DDE0F2; }
.tech-divider strong { color: var(--lime); }

/* CTA doble */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dual > div { padding: clamp(32px, 4vw, 48px); border-radius: var(--radius); }
.dual .a { background: var(--navy); color: #D8DBEE; }
.dual .a h3 { color: var(--white); }
.dual .b { background: var(--lime); color: var(--navy-deep); }
.dual .b h3 { color: var(--navy-deep); }
.dual h3 { font-family: var(--font-display); font-size: 2rem; }
@media (max-width: 760px) { .dual { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #AEB3D4; font-size: .96rem; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.site-footer img { height: 46px; width: auto; margin-bottom: 18px; }
.site-footer h2 { font-family: var(--font); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #D8DBEE; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: .86rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante + barra móvil ---------- */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.wa-fab svg { width: 30px; height: 30px; fill: var(--white); }
.wa-fab:hover { background: #1EBE5B; }
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--white); border-top: 1px solid var(--line); padding: 10px 12px; gap: 10px; transform: translateY(110%); transition: transform .25s; }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { padding: 14px 10px; }
  .wa-fab { display: none; }
  body { padding-bottom: 76px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.steps--6 { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
@media (max-width: 960px) { .steps--6 { grid-template-columns: 1fr; row-gap: 0; } }
.steps--list { grid-template-columns: 1fr; }
.steps--list li { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; padding: 0 0 26px; }
.steps--list li::before { grid-row: span 3; font-size: 2.4rem; border-bottom: 0; padding: 0 12px 0 0; margin: 0; height: 100%; border-right: 3px solid rgba(255,255,255,.25); }
.steps--list .time { margin-top: 6px; }

/* Acento verde en títulos */
.hl { color: var(--lime-btn); }
.hero .hl, .section--navy .hl, .band .hl, .panel-dark .hl, .tech-divider .hl { color: var(--lime); }
.legal a { color: #D8DBEE; }
.legal span a + a { margin-left: 10px; }
.credit img { height: 18px; width: auto; margin: 0; }
@media (max-width: 760px) { .creds .ico { width: 26px; height: 26px; } .creds li { gap: 10px; } }
h1 .hl { display: block; }
.hero h1 { max-width: 16ch; }
.form-actions .btn { padding: 16px 22px; font-size: 1rem; }

/* Páginas legales */
.legal-doc { max-width: 820px; }
.legal-doc h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
.legal-doc h2 { font-size: 1.6rem; margin-top: 2em; }
.legal-doc ul { padding-left: 22px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc p, .legal-doc li { color: #3F4360; }
.todo { background: #FFF3B0; color: #6B4E00; padding: 0 4px; border-radius: 2px; font-weight: 600; }
.panel-dark .form-note a { color: var(--lime); }

/* Valores (Empresa) */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--lime); }
.values > div { padding: 26px 24px 8px 0; }
.values > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.values h3 { color: var(--lime); font-size: 1.25rem; }
.values p { color: #C4C8E2; margin: 0; }
.story p { color: #3F4360; }
@media (max-width: 960px) {
  .values { grid-template-columns: 1fr 1fr; }
  .values > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .values > div, .values > div + div { padding: 22px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .values > div:first-child { border-top: 0; }
}
.anatomy-photo { aspect-ratio: 3 / 4; }
@media (max-width: 860px) { .anatomy-photo { aspect-ratio: 4 / 5; } }
