/* =================================================================
   CEDEAX · Home (v4 — arquitectura fiel a Titan)
   Líneas verticales: dos divs fixed independientes, no borders.
   Header: full-width, contenedor centrado interno.
   ================================================================= */

/* ---------- 1 · TOKENS ---------- */
:root {
  --petroleo:  #072f48;
  --marino:    #146f8a;
  --menta:     #acfec0;
  --turquesa:  #c6feff;
  --perla:     #f4f4f4;
  --blanco:    #ffffff;
  --tinta:     var(--petroleo);
  --cuerpo:    #3a5b6e;
  --tenue:     #6f8b99;

  --linea:     rgba(7, 47, 72, 0.11);
  --linea-2:   rgba(7, 47, 72, 0.16);
  --linea-clara: rgba(255, 255, 255, 0.14);

  --superficie-profunda:
      radial-gradient(120% 130% at 78% 6%, #11517c 0%, #0a3a59 44%, #051f30 100%);

  /*
    --aire: espacio entre el borde del viewport y las líneas verticales.
    Las líneas se posicionan en left:var(--aire) y right:var(--aire).
    El contenedor de contenido tiene el mismo padding-inline.
  */
  --aire:   clamp(1rem, 5vw, 7rem);
  --gutter: clamp(1.2rem, 3vw, 3.2rem);   /* aire entre líneas y texto */
  --marco:  1440px;

  --fuente: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t: 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2 · BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--fuente);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  line-height: 1.7;
  color: var(--cuerpo);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--menta); color: var(--petroleo); }
:focus-visible { outline: 2px solid var(--marino); outline-offset: 3px; }
.no-line, .no-line::after{border-bottom:none!important}
/* ---------- 3 · LÍNEAS VERTICALES (fixed, independientes del layout) ----------
   Dos divs de 1px de ancho, posición fixed, altura 100vh * scroll.
   Se posicionan exactamente en left: --aire y right: --aire.
   Así el header y el contenido pueden tener su propio centrado sin
   interferir con ellas.
   ------------------------------------------------------------------ */
@media (min-width: 981px) {
  
  .c-global-guide {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;          /* por debajo de todo el contenido */
  }
  .c-global-line {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--linea);
  }
  .c-global-line:first-child { left: var(--aire); }
  .c-global-line:last-child  { right: var(--aire); }


  .hero__texto {
    padding-right: clamp(1.5rem, 4vw, 4rem);
  }
}
/* ---------- 4 · CONTENEDOR CENTRAL ----------
   Mismo ancho máximo, centrado, con padding-inline = --aire + --gutter
   para que el texto quede dentro de las líneas.
   ------------------------------------------------------------------ */

.caja {
  width: 87%;
  max-width: var(--marco);
  margin-inline: auto;
  padding-inline: calc(var(--aire) + var(--gutter));
}

/* Sección: solo ritmo vertical, sin border (ese va en .caja para quedar
   contenido dentro del max-width, entre las dos líneas verticales) */
.seccion { padding-block: clamp(3.8rem, 7.5vw, 7rem); }

/* La línea divisoria la pone .caja, no .seccion, para que quede
   entre las verticales y no cruce toda la pantalla */
.seccion > .caja {
  padding-bottom: clamp(3.8rem, 7.5vw, 7rem);
}
.seccion:has(> .caja) { padding-bottom: 0; }

/* Línea horizontal contenida entre las verticales:
   el ::after de .seccion tiene el mismo max-width y margin:auto que .caja,
   sin padding propio, para que su border-bottom coincida exacto con las líneas */
.seccion::after {
  content: "";
  display: block;
  width: 87%;
  max-width: var(--marco);
  margin-inline: auto;
  border-bottom: 1px solid var(--linea);
}

/* ---------- 5 · HEADER ----------
   Estado inicial: pegado al top, fondo transparente, sin borde.
   Estado scroll (.flotando): se despega del top, borde redondeado,
   blur de fondo, sombra sutil. Igual al comportamiento de Titan.
   ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  /* Al cargar: borde inferior fino, sin blur, sin radio */

  /* La transición afecta a todas las propiedades del inner */
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.35rem;
  border-radius: 0;
  transition:
    padding-block var(--t),
    background var(--t),
    border-radius var(--t),
    box-shadow var(--t);
}
.nav_marca_links{
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    border-radius: 0;
}
/* Estado inicial: fondo en el header */
.site-header:not(.flotando) {
  background: rgba(255, 255, 255, 0);
  /*backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);*/
}
.site-header:not(.flotando) .caja{
    border-bottom: 1px solid var(--linea);
}
/* Estado flotando: el header pierde su fondo y borde.
   El .nav gana fondo+blur+radio = cápsula flotante. */
.site-header.flotando {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  /* Aire entre el top del viewport y la cápsula */
  padding-block: 0.6rem;
  transition: padding-block var(--t), background var(--t), border-bottom-color var(--t);
}

.site-header.flotando .nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(7, 47, 72, 0.12),
    0 4px 20px rgba(7, 47, 72, 0.07);
  padding-block: 0.65rem;
  /* NO tocamos padding-inline: el nav ya tiene el ancho correcto del .caja */
}

.nav__marca { display: flex; align-items: center; gap: 0.6rem; }
.nav__iso { width: 27px; height: auto; }
.nav__wordmark { width: 160px; height: auto; }
.nav__links { 
  display: flex; 
  gap: 2rem; 
  font-size: 0.9rem; 
  font-weight: 500; 
  color: var(--cuerpo); 
  background-color: var(--perla);
  padding: 5px 20px;
  border-radius: 20px;
}
.nav__links a { transition: color var(--t); }
.nav__links a:hover { color: var(--marino)}
.nav__cta {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--petroleo);
    padding-bottom: 3px;
    /* border-bottom: 1.5px solid var(--menta); */
    transition: border-color var(--t);
    background-color: var(--perla);
    padding: 5px 20px;
    border-radius: 100px;
}
.nav__cta:hover { border-color: var(--marino); background-color: var(--menta); }

/* ---------- 6 · PRIMITIVAS TIPOGRÁFICAS ---------- */
.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--marino);
}
.lead {
  max-width: 56ch;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 300; line-height: 1.55; color: var(--cuerpo);
}
.lead.resaltado {
    font-weight: 700;
}
.remarcador {background-color: var(--menta); color: var(--petroleo); }
.punch {
  font-size: clamp(1.3rem, 1rem + 1.5vw, 2.05rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.18; color: var(--petroleo);
}
.punch span { background-color: var(--menta); }
.realce { color: var(--petroleo); font-weight: 800; }
.cab { max-width: 64ch; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.cab .eyebrow { margin-bottom: 1.2rem; }

.num {
  position: relative; display: inline-block;
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem);
  font-weight: 300; line-height: 1; letter-spacing: -0.03em;
  color: var(--petroleo); font-variant-numeric: tabular-nums;
}
.num--tick { padding-bottom: 0.9rem; margin-bottom: 1.3rem; }
.num--tick::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 26px; height: 2px; background: var(--menta);
}
.marca { flex: none; width: 9px; height: 9px; margin-top: 0.5em; background: var(--menta); transform: rotate(45deg); }
.isotipo { color: var(--petroleo); }

/* ---------- 7 · CTA ---------- */
.cta {
  display: inline-flex; 
  align-items: center; 
  gap: 0.8em;
  padding: 1.05em 1.6em; 
  font-weight: 600; 
  font-size: 0.94rem;
  color: var(--blanco); 
  background: var(--petroleo);
  border: 1px solid var(--petroleo);
  transition: background var(--t), color var(--t);
  border-radius: 160em;
}
.cta .fl { transition: transform var(--t); }
.cta:hover { background: var(--menta); color: var(--petroleo); }
.cta:hover .fl { transform: translateX(4px); }
.cta--dark { color: var(--blanco); border-color: rgba(255,255,255,0.45); }
.cta--dark:hover { background: var(--menta); color: var(--petroleo); border-color: var(--menta); }

.enlace {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-weight: 600; color: var(--petroleo); padding-bottom: 2px;
  background-image: linear-gradient(var(--menta), var(--menta));
  background-size: 0% 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size var(--t);
}
.enlace .fl { transition: transform var(--t); }
.enlace:hover { background-size: 100% 2px; }
.enlace:hover .fl { transform: translateX(4px); }

/* ---------- 8 · HERO ---------- */
.hero { /* sin border — la línea va en el grid interno */ }
.hero__grid { border-bottom: 1px solid var(--linea); }
.hero__grid { 
  display: grid; 
  /*grid-template-columns: 1.12fr 0.88fr; */
}
.hero__texto {
  padding-block: clamp(3.4rem, 7vw, 5.2rem);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.9rem;
  border-right: 1px solid var(--linea);
  margin-top:  2%;
  margin-bottom: 2%;
}
.hero__titulo {
  color: var(--tinta); font-weight: 800; letter-spacing: -0.035em; line-height: 1.2;
  font-size: clamp(2.5rem, 1.3rem + 4.6vw, 4.6rem); max-width: 16ch;
}
.hero__sub {
  max-width: 46ch; font-size: clamp(1.06rem, 1rem + 0.5vw, 1.25rem);
  font-weight: 300; line-height: 1.6; color: var(--cuerpo);
}
.hero__sello {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem); overflow: hidden;
}
.hero__iso { width: min(58%, 280px); color: var(--petroleo); opacity: 0.92; }
.hero__iso-fantasma { position: absolute; width: 150%; color: var(--petroleo); opacity: 0.035; pointer-events: none; }

/* ---------- 9 · MATRIZ (gap:1px técnica) ---------- */
.matriz { display: grid; gap: 1px; background: var(--linea-2); border: 1px solid var(--linea-2); }
.matriz--3 { grid-template-columns: repeat(3, 1fr); }
.matriz--2 { grid-template-columns: repeat(2, 1fr); }
.celda { background: var(--blanco); padding: clamp(1.5rem, 2.5vw, 2.3rem); display: flex; flex-direction: column; align-items: flex-start; }
.celda__q { font-size: clamp(1.05rem, 1rem + 0.45vw, 1.26rem); font-weight: 500; line-height: 1.4; color: var(--petroleo); }
.tras-matriz { margin-top: clamp(2.3rem, 4vw, 3.2rem); }


/* ---------- 9b · TARJETAS ESTILO TITAN (sección El problema) ----------
   Tarjetas separadas con gap, fondo perla, bordes redondeados.
   Hover: fondo petróleo, texto blanco (igual que Titan dark hover).
   ------------------------------------------------------------------- */
.tarjetas {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

/* Las líneas divisorias entre tarjetas son spans reales con position:absolute.
   Van ENCIMA de las tarjetas (z-index > 0) y se posicionan en el centro del gap. */
.tarjetas__linea {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--linea-2);
  pointer-events: none;
  z-index: 0;
}
.tarjetas__linea:nth-child(1) {
  /* (col_width) + gap/2 = (100% - 2*gap)/3 + gap/2 */
  left: calc((100% - 2 * clamp(0.75rem, 1.5vw, 1.25rem)) / 3 + clamp(0.75rem, 1.5vw, 1.25rem) / 2);
}
.tarjetas__linea:nth-child(2) {
  /* 2*(col_width) + gap + gap/2 = 2*(100%-2*gap)/3 + 3*gap/2 */
  left: calc(2 * (100% - 2 * clamp(0.75rem, 1.5vw, 1.25rem)) / 3 + clamp(0.75rem, 1.5vw, 1.25rem) * 1.5);
}

@media (max-width: 980px) {
  .tarjetas__linea { display: none; }
}

.tarjeta {
  position: relative;
  z-index: 1;    /* encima de .tarjetas__linea, visible solo en el gap */
  display: flex;
  flex-direction: column;
  background: var(--perla);
  border-radius: 1.25em;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  min-height: clamp(200px, 22vw, 280px);
  transition: background var(--t), color var(--t);
  cursor: default;
}

.tarjeta:hover {
  background: var(--petroleo);
}

.tarjeta__top { }

.tarjeta__tit {
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--petroleo);
  transition: color var(--t);
}
.tarjeta:hover .tarjeta__tit { color: var(--blanco); }

.tarjeta__txt {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--cuerpo);
  transition: color var(--t);
}
.tarjeta:hover .tarjeta__txt { color: rgba(255, 255, 255, 0.65); }

.tarjeta__realce { font-weight: 800; }

.tarjeta__fl {
  display: inline-block;
  white-space: nowrap;
  font-weight: 400;
}
.tarjeta:hover .tarjeta__realce { color: var(--menta); }

@media (max-width: 980px) {
  .tarjetas { grid-template-columns: 1fr; }
  .tarjeta { min-height: auto; }
}

.problema__titulo {
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; color: var(--petroleo); margin-bottom: 15px;
}
/* ---------- 10 · DISTINTO (asimétrica) ---------- */
.distinto__grid { display: grid; grid-template-columns: 1fr 1.28fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.distinto__intro { display: flex; flex-direction: column; gap: 1.5rem; }
.distinto__titulo {
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; color: var(--petroleo); max-width: 12ch;
}
.distinto__subtitulo {
    font-size: clamp(1.9rem, 1.2rem + 2.4vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.5;
    color: var(--petroleo);
}
.distinto__intro .lead { font-size: clamp(1rem, 0.97rem + 0.3vw, 1.12rem); }
.distinto__intro .punch { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem); }
.distinto__lista { border-top: 1px solid var(--linea-2); }
.dif { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 2.5vw, 2.2rem); align-items: baseline; padding-block: clamp(1.5rem, 2.6vw, 2rem); border-bottom: 1px solid var(--linea); }
.dif__num { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.7rem); font-weight: 300; line-height: 0.9; letter-spacing: -0.04em; color: var(--marino); font-variant-numeric: tabular-nums; }
.dif__t { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--petroleo); margin-bottom: 0.5rem; }
.dif__d { font-size: 1rem; font-weight: 400; line-height: 1.55; color: var(--cuerpo); }
.distinto__remate {
    margin-top: clamp(2.6rem, 3vw, 7rem);
    max-width: 32ch;
    font-size: clamp(1.35rem, 1.1rem + 1.2vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.5;
    color: var(--petroleo);
    margin-bottom: 20px;
}
.distinto__lead {
    max-width: 45ch;
    font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
    font-weight: 300;
    line-height: 1.55;
    color: var(--cuerpo);
    margin-top: clamp(2.6rem, 3vw, 7rem);
}
.distinto__remate span {
    color: var(--marino);
    font-size: clamp(1.35rem, 1.1rem + 1.7vw, 4rem);
}
/* Lista "qué hacemos" dentro de la sección Distinto */
.distinto__hacemos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.distinto__hacemos li {
  position: relative;
  padding-left: 1.6rem;
  font-size: clamp(1rem, 0.97rem + 0.3vw, 1.12rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--petroleo);
}
.distinto__hacemos li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--menta);
  transform: rotate(45deg);
}
/* ---------- 10b · CARDS "NO" (sección Distinto) ---------- */
.cards__no {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-top: clamp(2.6rem, 5vw, 4rem);
}

.dif-card {
    background: var(--blanco);
    border-radius: 16px;
    border: 1px solid var(--linea);
    padding-left: clamp(1.8rem, 3vw, 1.8rem);
    padding-right: clamp(1.8rem, 3vw, 1.8rem);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: background var(--t), border-color var(--t);
    padding-block: clamp(1.6rem, 3vw, 2.4rem);
}

.dif-card:hover {
  /*background: var(--perla);      */         /* perla al hover, suavísimo */
  border-color: var(--linea-2);
}

.dif-card__ico {
  color: var(--marino);
  opacity: 0.55;
  flex-shrink: 0;
}

.dif-card__t {
    font-size: clamp(1.05rem, 1rem + 0.35vw, 1.1rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
    color: var(--petroleo);
}

.dif-card__d {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--cuerpo);
}

@media (max-width: 720px) {
  .cards__no {
    grid-template-columns: 1fr;
  }
}
/* ---------- 11 · ÍNDICE EDITORIAL (5 pasos) ---------- */
.indice { border-top: 1px solid var(--linea-2); }
.fila { display: grid; grid-template-columns: 3.6rem minmax(9rem, 0.9fr) 1.5fr; gap: clamp(1rem, 3vw, 2.6rem); align-items: center; padding-block: clamp(1.5rem, 2.8vw, 2.2rem); border-bottom: 1px solid var(--linea); }
.fila__num { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--marino); font-variant-numeric: tabular-nums; }
.fila__nombre { font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--petroleo); }
.fila__txt { font-weight: 400; line-height: 1.55; color: var(--cuerpo); max-width: 52ch; }
.metodo__pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.4rem; }
.metodo__nota { max-width: 42ch; font-weight: 500; color: var(--petroleo); }

/* ---------- 12 · GARANTÍA (layout asimétrico estilo Titan) ----------
   Izquierda: eyebrow + titular grande con aire.
   Derecha: lista vertical de ítems con ícono circular + líneas separadoras.
   -------------------------------------------------------------------- */
.garantia__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

/* Columna izquierda */
.garantia__intro {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  position: sticky;
  top: calc(72px + 2rem); /* queda pegada al bajar, bajo el header */
}
.garantia__titular {
  font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--petroleo);
  max-width: 16ch;
}

/* Columna derecha: lista */
.garantia__lista {
  border-top: 1px solid var(--linea-2);
}

.garantia__item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding-block: clamp(1.6rem, 2.8vw, 2.2rem);
  border-bottom: 1px solid var(--linea);
}

/* Ícono circular con check */
.garantia__ico {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--perla);
  color: var(--marino);
  margin-top: 0.1em;
}
.garantia__ico svg {
  width: 16px;
  height: 16px;
}

.garantia__txt {
  font-size: clamp(1rem, 0.96rem + 0.35vw, 1.2rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--petroleo);
}

@media (max-width: 860px) {
  .garantia__split { grid-template-columns: 1fr; gap: 2.4rem; }
  .garantia__intro { position: static; }
  .garantia__titular { max-width: none; }
}

/* ---------- 13 · FAQ ACORDEÓN (Lo que probablemente estás pensando) ----------
   Estilo Titan: filas separadas por líneas de 1px, flecha circular,
   respuesta animada con grid-template-rows de 0fr a 1fr.
   ------------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--linea-2);
}

.faq__item {
  border-bottom: 1px solid var(--linea);
}

.faq__pregunta {
  /* reset de button */
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: var(--fuente);
  cursor: pointer;
  text-align: left;

  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1.4rem, 2.5vw, 2rem);
  transition: opacity var(--t);
}
.faq__pregunta:hover { opacity: 0.72; }

.faq__txt-q {
  font-size: clamp(1.1rem, 1rem + 0.55vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--petroleo);
}

/* Flecha circular */
.faq__ico {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq__ico svg {
  width: 32px;
  height: 32px;
  transition: transform var(--t);
}

/* Estado abierto: la flecha rota 180° */
.faq__item.is-open .faq__ico svg {
  transform: rotate(180deg);
}

/* Respuesta: animación con grid-template-rows */
.faq__respuesta {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s cubic-bezier(0.22,1,0.36,1),
              opacity 0.4s ease;
}
.faq__item.is-open .faq__respuesta {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq__respuesta-inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom 0.5s cubic-bezier(0.22,1,0.36,1);
}
.faq__item.is-open .faq__respuesta-inner {
  padding-bottom: clamp(1.4rem, 2.5vw, 2rem);
}

.faq__respuesta-inner p {
  font-size: clamp(1rem, 0.97rem + 0.25vw, 1.12rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--cuerpo);
  max-width: 72ch;
}

/* ---------- 14 · CIERRE CTA (layout horizontal tipo Titan) ----------
   Tarjeta con borde redondeado sobre fondo blanco. Dos columnas:
   izquierda título + CTA, derecha vacía con fondo perla.
   -------------------------------------------------------------------- */
.cierre-cta__card {
  display: flex;
  /*grid-template-columns: 1fr 1fr;*/
  border: 1px solid var(--linea-2);
  border-radius: 1.25em;
  overflow: hidden;
  min-height: clamp(240px, 28vw, 320px);
}

.cierre-cta__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: clamp(1.4rem, 4vw, 4rem);
  /*border-right: 1px solid var(--linea);*/
}

.cierre-cta__frase {
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: var(--petroleo);
  max-width: 32ch;
}

.cierre-cta__visual {
  background: var(--perla);
}

.cierre-cta .cta { align-self: flex-start; }

@media (max-width: 860px) {
  .cierre-cta__card { grid-template-columns: 1fr; }
  .cierre-cta__main { border-right: 0; border-bottom: 1px solid var(--linea); }
  .cierre-cta__visual { min-height: 120px; }
}

/* ---------- 15 · PIE (estilo Titan, fondo petróleo) ---------- */
.site-footer {
  background: var(--petroleo);
  color: rgba(255, 255, 255, 0.55);
  padding-block: clamp(3rem, 6vw, 5rem);
}

/* Fila superior: columnas de links + CTA a la derecha */
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__cols {
  display: flex;
  gap: clamp(2.5rem, 6vw, 6rem);
  flex-wrap: wrap;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__col-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.4rem;
}

.footer__col-enlace {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--t);
  line-height: 1.4;
}
.footer__col-enlace:hover { color: var(--blanco); }

/* CTA esquina superior derecha */
.footer__cta-wrap {
  flex-shrink: 0;
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.75em 1.4em;
  transition: background var(--t), border-color var(--t);
  white-space: nowrap;
}
.footer__cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Barra inferior: logo + copyright + redes */
.footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: clamp(1.8rem, 3.5vw, 2.8rem);
}

.footer__wordmark {
  width: 100px;
  color: var(--blanco);
  opacity: 0.75;
  flex-shrink: 0;
}

.footer__copyright {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  flex: 1;
  text-align: center;
}

.footer__social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--t);
}
.footer__social-link:hover { color: var(--blanco); }

/* Responsive mobile */
@media (max-width: 720px) {
  .footer__top {
    flex-direction: column;
  }
  .footer__cols {
    flex-direction: column;
    gap: 2rem;
  }
  .footer__cta-wrap {
    width: 100%;
  }
  .footer__cta {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    padding: 1em 1.4em;
    font-size: 0.85rem;
  }
  .footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .footer__copyright {
    text-align: left;
    flex: none;
  }
}

/* ---------- 5b · HAMBURGER + MENÚ MÓVIL ---------- */
.nav__acciones {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Botón hamburguesa: oculto en desktop, visible en mobile */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background var(--t);
}
.nav__hamburger:hover { background: var(--perla); }
.nav__hamburger-barra {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--petroleo);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t), width var(--t);
  transform-origin: center;
}

/* Estado abierto: cruz */
.nav__hamburger[aria-expanded="true"] .nav__hamburger-barra:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-barra:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-barra:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Panel de menú móvil: oculto por defecto con display:none */
.menu-movil {
  display: none;
}
.menu-movil.is-open {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--blanco);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 8vw, 4rem);
  animation: menuEntrada 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes menuEntrada {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menu-movil__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--linea-2);
}

.menu-movil__enlace {
  display: block;
  padding-block: 1.3rem;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--petroleo);
  border-bottom: 1px solid var(--linea);
  transition: color var(--t), padding-left var(--t);
}
.menu-movil__enlace:hover {
  color: var(--marino);
  padding-left: 0.4rem;
}

.menu-movil__pie {
  margin-top: clamp(2rem, 6vw, 3.5rem);
}

/* ---------- 16 · REVELADO ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 17 · RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__texto { border-right: 0;}
  .hero__sello { padding-block: clamp(3rem, 9vw, 5rem); }
  .hero__iso { width: 170px; }
  .matriz--3 { grid-template-columns: 1fr; }
  .matriz--2 { grid-template-columns: 1fr; }
  .distinto__grid { grid-template-columns: 1fr; gap: clamp(1.8rem, 5vw, 2.6rem); }
  .distinto__titulo { max-width: none; }
  .caja {
    width: 95%;
  }
  .no-phone{
    display: none
  }
}
@media (max-width: 820px) {
  .fila { grid-template-columns: 3.2rem 1fr; gap: 0.35rem 1.1rem; align-items: baseline; }
  .fila__num { grid-row: 1 / 3; align-self: start; }
  .fila__nombre { grid-column: 2; grid-row: 1; }
  .fila__txt { grid-column: 2; grid-row: 2; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}
@media (max-width: 480px) {
  :root { 
    --aire: 0.5rem;
    --gutter: 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ---------- Página CÓMO TRABAJAMOS ---------- */
/* ---------- SECCIÓN CÓMO TRABAJAMOS ---------- */
.seccion-hero {
  padding-block: clamp(5rem, 12vw, 9rem) clamp(3rem, 6vw, 4rem);
}

.titulo-gran-formato {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--petroleo);
  font-weight: 800;
  line-height: 1.1;
  max-width: 24ch;
  margin-bottom: 2rem;
}

.hero-texto-intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bajada-texto {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--cuerpo);
  line-height: 1.5;
  max-width: 55ch;
  font-weight: 300;
}

/* FASES */
.seccion-fases {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.fase-bloque {
  display: grid;
  grid-template-columns: clamp(4rem, 10vw, 8rem) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--linea);
}

.fase-bloque:last-of-type {
  border-bottom: 1px solid var(--linea);
}

.fase-numero {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--marino);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.fase-contenido h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--petroleo);
  margin-bottom: 1rem;
  font-weight: 700;
}

.fase-intro {
  font-size: 1.25rem;
  color: var(--petroleo);
  font-weight: 500;
  margin-bottom: 2.5rem;
  max-width: 65ch;
  line-height: 1.5;
}

.fase-detalles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 65ch;
}

.fase-detalles p {
  font-size: 1.1rem;
  color: var(--cuerpo);
  line-height: 1.6;
}

.fase-detalles strong {
  color: var(--petroleo);
  font-weight: 700;
}

.fase-detalles ul {
  padding-left: 1.5rem;
  margin-top: -1rem;
}

.fase-detalles li {
  font-size: 1.1rem;
  color: var(--cuerpo);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.fase-resaltado {
  background: var(--perla);
  padding: 1.5rem;
  border-left: 3px solid var(--menta);
}

.fase-interludio {
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--superficie-profunda);
  color: var(--blanco);
  border-radius: 4px; /* Opcional si usas bordes rectos en todo, dejalo en 0 */
}

.fase-interludio h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--blanco);
}

.fase-interludio p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--blanco);
  opacity: 0.9;
}

/* FAQ / DUDAS */
.seccion-dudas {
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--fondo);
}

.titulo-dudas {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--petroleo);
  font-weight: 800;
  margin-bottom: 4rem;
}

.dudas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem 4rem;
}

.duda-item h3 {
  font-size: 1.25rem;
  color: var(--petroleo);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.duda-item p {
  font-size: 1.05rem;
  color: var(--cuerpo);
  line-height: 1.6;
}

.mt-1 { margin-top: 1.5rem; }
.mt-2 { margin-top: 3rem; }

.btn-primario {
  display: inline-block;
  background-color: var(--menta);
  color: var(--petroleo);
  padding: 1rem 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 200ms ease;
}

.btn-primario:hover {
  background-color: var(--turquesa);
}

@media (max-width: 720px) {
  .fase-bloque {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 3rem;
  }
}

/* ---------- 18 · FORMULARIO (página Contacto) ---------- */
.contacto__form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 3vw, 2.2rem);
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.campo__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--petroleo);
}

.campo__opcional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tenue);
}

.campo__input {
  font-family: var(--fuente);
  font-size: 1rem;
  font-weight: 400;
  color: var(--petroleo);
  background: var(--blanco);
  border: 1px solid var(--linea-2);
  border-radius: 0;
  padding: 0.9rem 1rem;
  width: 100%;
  transition: border-color var(--t);
  -webkit-appearance: none;
  appearance: none;
}

.campo__input:focus {
  outline: none;
  border-color: var(--marino);
}

.campo__input::placeholder {
  color: var(--tenue);
}

.campo__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23072f48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.campo__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.campo__opciones {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.campo__radio {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  color: var(--cuerpo);
  transition: color var(--t);
}

.campo__radio:hover {
  color: var(--petroleo);
}

.campo__radio input[type="radio"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--petroleo);
  cursor: pointer;
}

.contacto__form .cta {
  align-self: flex-start;
  margin-top: 0.4rem;
}
