/* ═══════════════════════════════════════════════════
   BUXIDA MARKETING — CSS PRINCIPAL
   Manual de Estilo (paleta oficial unificada, fuente: logo)
   Azul Marino #153658 · Rojo #E41D21 · Gris #767676
   Complementaria: Azul Oscuro #0D2138 · Gris Oscuro #3A3A3A · Gris Fondo #F7F7F7
   Tipografía: Barlow (sustituto Zalando Sans)
════════════════════════════════════════════════════ */

:root {
  --azul:       #153658;
  --azul-dark:  #0D2138;
  --gris:       #767676;
  --gris-dark:  #3A3A3A;
  --rojo:       #E41D21;
  --rojo-dark:  #b91619;
  --gris-claro: #F7F7F7;
  --blanco:     #ffffff;
  --font-main:  'Barlow', sans-serif;
  --font-cond:  'Barlow Condensed', sans-serif;
  --nav-h:      70px;
  --transition: 0.22s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--azul);
  background: var(--blanco);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 2rem; }

/* ── TIPOGRAFÍA ── */
.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rojo);
  border-left: 3px solid var(--rojo);
  padding-left: 10px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--gris-dark);
  line-height: 1.08;
  margin-bottom: 1rem;
}
.section-title--white { color: #fff; }
.section-sub {
  font-weight: 300;
  color: var(--gris);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 540px;
}
.section-sub--white { color: rgba(255,255,255,0.55); }

/* ── BOTONES ── */
.btn {
  display: inline-block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }

.btn--rojo  { background: var(--rojo); color: #fff; border-color: var(--rojo); }
.btn--rojo:hover { background: var(--rojo-dark); border-color: var(--rojo-dark); }

.btn--outline-azul { background: transparent; color: var(--azul); border-color: var(--azul); }
.btn--outline-azul:hover { background: var(--azul); color: #fff; }

.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ── SECCIÓN BASE ── */
.section { padding: 6rem 0; }
.section--gray { background: var(--gris-claro); }
.section--dark { background: var(--azul); }
.section--darker { background: var(--azul-dark); }

/* ────────────────────────────────────────────────
   NAV
──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(247,247,247,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(21,54,88,0.08);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(21,54,88,0.1); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img,
.nav__logo .custom-logo,
.custom-logo-link img {
  height: 34px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: rgba(21,54,88,0.6);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--azul); border-bottom-color: var(--rojo); }

.nav__cta {
  background: var(--rojo) !important;
  color: #fff !important;
  border-bottom-color: transparent !important;
  padding: 8px 20px !important;
  font-weight: 700 !important;
  margin-left: 0.5rem;
}
.nav__cta:hover { background: var(--rojo-dark) !important; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--azul);
  transition: var(--transition);
}

/* ────────────────────────────────────────────────
   PAGE HERO (hero interno de páginas secundarias)
──────────────────────────────────────────────── */
.page-hero {
  background: var(--azul);
  padding: calc(var(--nav-h) + 4rem) 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 180px 180px 0;
  border-color: transparent var(--rojo) transparent transparent;
  opacity: 0.85;
}
.page-hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 1rem;
}
.page-hero__title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}
.page-hero__sub {
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 580px;
}

/* ────────────────────────────────────────────────
   BREADCRUMB
──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.2); }

/* ────────────────────────────────────────────────
   TARJETAS GENÉRICAS
──────────────────────────────────────────────── */
.card {
  background: #fff;
  border-left: 4px solid var(--rojo);
  padding: 2rem;
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: 0 8px 32px rgba(21,54,88,0.1); }

.card--dark {
  background: rgba(255,255,255,0.04);
  border-left: 4px solid var(--rojo);
  padding: 2rem;
}

.card__num {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--rojo);
  margin-bottom: 1rem;
}
.card__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gris-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.card__title--white { color: #fff; }
.card__text {
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--gris);
  line-height: 1.7;
}
.card__text--white { color: rgba(255,255,255,0.55); }

/* ────────────────────────────────────────────────
   CHECK LIST
──────────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 1.2rem; }
.check-item { display: flex; gap: 1rem; align-items: flex-start; }
.check-item__icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--rojo);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.check-item__icon svg { fill: none; stroke: #fff; stroke-width: 2.5; width: 13px; height: 13px; stroke-linecap: round; }
.check-item h4 {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.check-item p { font-weight: 300; font-size: 0.9rem; color: var(--gris); line-height: 1.65; }

/* ────────────────────────────────────────────────
   STAT ROW
──────────────────────────────────────────────── */
.stat-row {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(21,54,88,0.1);
  flex-wrap: wrap;
}
.stat-row--white {
  border-top-color: rgba(255,255,255,0.1);
}
.stat__num {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--azul);
  line-height: 1;
}
.stat__num--white { color: #fff; }
.stat__num em { color: var(--rojo); font-style: normal; }
.stat__label {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(21,54,88,0.38);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.stat__label--white { color: rgba(255,255,255,0.35); }

/* ────────────────────────────────────────────────
   DISCLAIMER BAR
──────────────────────────────────────────────── */
.disclaimer {
  background: rgba(228,29,33,0.06);
  border-left: 3px solid var(--rojo);
  padding: 0.9rem 1.2rem;
  font-size: 0.82rem;
  color: var(--gris);
  font-weight: 500;
  margin-top: 1.5rem;
}
.disclaimer strong { color: var(--azul); }

/* ────────────────────────────────────────────────
   FORMULARIO
──────────────────────────────────────────────── */
.form-wrap {
  background: var(--gris-claro);
  padding: 3rem;
}
.form-wrap__title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--azul);
  margin-bottom: 0.3rem;
}
.form-wrap__sub {
  font-size: 0.85rem;
  color: var(--gris);
  font-weight: 300;
  margin-bottom: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #d0d6de;
  padding: 11px 14px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--azul);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--azul); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23767676' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-disclaimer {
  font-size: 0.78rem;
  color: var(--rojo);
  font-weight: 600;
  margin-bottom: 1.2rem;
  padding: 0.75rem 1rem;
  background: rgba(228,29,33,0.06);
  border-left: 3px solid var(--rojo);
}
.form-submit { width: 100%; padding: 16px; font-size: 0.88rem; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--azul);
}
.form-success__icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.form-success__title { font-family: var(--font-cond); font-weight: 800; font-size: 1.4rem; margin-bottom: 0.5rem; }
.form-success__text { color: var(--gris); font-weight: 300; }

/* ────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────── */
.footer {
  background: var(--azul-dark);
  padding: 4rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__brand img { height: 40px; margin-bottom: 1.2rem; }
.footer__brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
  line-height: 1.7;
  max-width: 260px;
}
.footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.2rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer__claim {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
}

/* ────────────────────────────────────────────────
   WA FLOTANTE
──────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-bubble {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--azul);
  font-weight: 500;
  max-width: 220px;
  text-align: right;
  display: none;
  position: relative;
  line-height: 1.4;
}
.wa-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px; right: 18px;
  border: 6px solid transparent;
  border-top-color: #fff;
  border-bottom: none;
}
.wa-bubble.visible { display: block; }
.wa-btn {
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.38);
  transition: transform var(--transition);
  text-decoration: none;
}
.wa-btn:hover { transform: scale(1.1); }
.wa-btn svg { width: 28px; height: 28px; fill: #fff; }

/* ────────────────────────────────────────────────
   HERO INDEX (home)
──────────────────────────────────────────────── */
.hero {
  background: var(--blanco);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 500px; height: 500px;
  border: 1px solid rgba(21,54,88,0.05);
  transform: rotate(12deg);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 380px; height: 380px;
  border: 1px solid rgba(228,29,33,0.06);
  transform: rotate(-8deg);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 1.2rem;
}
.hero__title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  color: var(--gris-dark);
  line-height: 1.0;
  margin-bottom: 1.5rem;
}
.hero__title em { color: var(--rojo); font-style: normal; }
.hero__sub {
  font-weight: 300;
  color: var(--gris);
  font-size: 1.1rem;
  line-height: 1.78;
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Diagrama SVG hero */
.hero__diagram { width: 100%; max-width: 440px; }

/* ────────────────────────────────────────────────
   HOME — secciones
──────────────────────────────────────────────── */

/* Problemas preview */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }

/* Fases grid (borde compartido) */
.fases-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid #e2e6ea;
  margin-top: 3rem;
}
.fase {
  padding: 2rem 1.5rem;
  border-right: 1px solid #e2e6ea;
  position: relative;
}
.fase:last-child { border-right: none; }
.fase::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rojo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.fase:hover::before { transform: scaleX(1); }
.fase__num {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--gris-claro);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.fase__title {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--azul);
  margin-bottom: 0.7rem;
}
.fase__text {
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--gris);
  line-height: 1.68;
}

/* Servicios grid (sobre azul) */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
}
.servicio-cell {
  background: var(--azul);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
}
.servicio-cell:hover { background: rgba(255,255,255,0.04); }

/* Box decorativo azul con borde rojo */
.deco-box {
  background: var(--azul);
  padding: 3rem;
  position: relative;
}
.deco-box::before {
  content: '';
  position: absolute;
  top: -8px; right: -8px;
  width: 100%; height: 100%;
  border: 1px solid var(--rojo);
  z-index: 0;
}
.deco-box__inner { position: relative; z-index: 1; }
.deco-box__claim {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 2.2rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.deco-box__sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.deco-box hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 1.4rem 0;
}
.deco-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.deco-label { font-size: 0.78rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.08em; }
.deco-num { font-family: var(--font-cond); font-weight: 800; font-size: 1.8rem; color: var(--rojo); }

/* CTA Banner */
.cta-banner {
  background: var(--rojo);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner__title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(1.8rem,4vw,2.8rem);
  color: #fff;
  margin-bottom: 0.8rem;
}
.cta-banner__sub {
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cta-banner::before {
  content: 'BUXIDA';
  position: absolute; top: 45%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-cond); font-weight: 800;
  font-size: 18vw; color: rgba(255, 255, 255, 0.055);
  pointer-events: none; white-space: nowrap;
}

/* ────────────────────────────────────────────────
   PÁGINAS INTERIORES — layouts extra
──────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.two-col--center { align-items: center; }

.intro-block { margin-bottom: 3.5rem; }
.intro-block .section-sub { max-width: 680px; }

/* Proceso steps */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid #e2e6ea;
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step__num {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 3rem;
  color: var(--gris-claro);
  line-height: 1;
  text-align: center;
}
.step__title {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--azul);
  margin-bottom: 0.6rem;
}
.step__text { font-weight: 300; font-size: 0.92rem; color: var(--gris); line-height: 1.7; }
.step__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rojo);
  border: 1px solid var(--rojo);
  padding: 3px 8px;
  margin-top: 0.8rem;
}

/* Tabla comparativa */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.compare-table th {
  background: var(--azul);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 1.2rem;
  text-align: left;
}
.compare-table td {
  padding: 0.9rem 1.2rem;
  font-size: 0.9rem;
  color: var(--gris);
  font-weight: 300;
  border-bottom: 1px solid #e8ecf0;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--gris-claro); }
.compare-table td:first-child { color: var(--azul); font-weight: 600; }

/* Servicios detalle */
.servicio-detail {
  padding: 3rem;
  border: 1px solid #e2e6ea;
  position: relative;
  transition: box-shadow var(--transition);
}
.servicio-detail:hover { box-shadow: 0 8px 32px rgba(21,54,88,0.08); }
.servicio-detail::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rojo);
}
.servicio-detail__num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--rojo);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.servicio-detail__title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--azul);
  margin-bottom: 0.8rem;
}
.servicio-detail__text {
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--gris);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}
.servicio-detail__list { display: flex; flex-direction: column; gap: 0.4rem; }
.servicio-detail__list li {
  font-size: 0.88rem;
  color: var(--gris);
  font-weight: 300;
  padding-left: 1rem;
  position: relative;
}
.servicio-detail__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--rojo);
  font-weight: 700;
}

/* Nosotros — timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid #e2e6ea;
  align-items: start;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item__year {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--rojo);
}
.timeline-item__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.timeline-item__text { font-weight: 300; font-size: 0.9rem; color: var(--gris); line-height: 1.68; }

/* Valores */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.valor {
  padding: 2rem;
  background: #fff;
  border-top: 3px solid var(--rojo);
  box-shadow: 0 2px 16px rgba(21,54,88,0.06);
}
.valor__icon { font-size: 1.8rem; margin-bottom: 1rem; }
.valor__title {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--azul);
  margin-bottom: 0.5rem;
}
.valor__text { font-weight: 300; font-size: 0.88rem; color: var(--gris); line-height: 1.65; }

/* Contacto info block */
.contact-info-list { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-item__dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  background: var(--rojo);
  margin-top: 6px;
}
.contact-info-item__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--azul);
  margin-bottom: 0.2rem;
}
.contact-info-item__val { font-size: 0.92rem; color: var(--gris); font-weight: 300; }

/* ────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__grid   { grid-template-columns: 1fr; padding: 4rem 0; }
  .hero__diagram-wrap { display: none; }
  .two-col      { grid-template-columns: 1fr; gap: 3rem; }
  .grid-2       { grid-template-columns: 1fr; }
  .grid-3       { grid-template-columns: 1fr 1fr; }
  .fases-grid   { grid-template-columns: 1fr 1fr; }
  .fases-grid .fase { border-bottom: 1px solid #e2e6ea; }
  .servicios-grid { grid-template-columns: 1fr 1fr; }
  .valores-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--gris-claro);
    padding: 1.5rem 2rem;
    gap: 0.5rem;
    border-top: 1px solid rgba(21,54,88,0.08);
    z-index: 199;
  }
  .nav__links.open a { padding: 10px 0; border-bottom: 1px solid rgba(21,54,88,0.06); }
}
@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .grid-3       { grid-template-columns: 1fr; }
  .fases-grid   { grid-template-columns: 1fr; }
  .servicios-grid { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stat-row     { gap: 1.5rem; }
  .form-row     { grid-template-columns: 1fr; }
  .step         { grid-template-columns: 50px 1fr; gap: 1rem; }
  .timeline-item { grid-template-columns: 70px 1fr; }
  .form-wrap    { padding: 2rem 1.5rem; }
  .deco-box     { padding: 2rem; }
  .page-hero::after { border-width: 0 100px 100px 0; }
}
