/* ════════════════════════════════════════════════════════════════
   PROCARTING · Sistema de diseño
   Paleta: Navy profundo + Blanco cálido + Oro ámbar
   Tipografía: Fraunces (display serif) + DM Sans (body)
   ════════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  /* Colores */
  --navy:        #0A1628;
  --navy-mid:    #162342;
  --navy-light:  #1E3A5F;
  --slate:       #2C4A72;
  --gold:        #C8A96E;
  --gold-light:  #D9BF8A;
  --gold-dark:   #A88A52;
  --white:       #F8F6F0;
  --white-pure:  #FFFFFF;
  --gray-100:    #F0EDE8;
  --gray-200:    #E0DDD8;
  --gray-400:    #9A9590;
  --gray-600:    #6B6560;
  --text:        #1A1A1A;
  --text-muted:  #5A5A5A;
  --error:       #D93025;
  --success:     #1A7F3C;

  /* Tipografía */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  /* Espaciado */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Grises adicionales */
  --gray-500: #7A7672;
  --gray-700: #4A4642;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  /* Sombras */
  --shadow-sm:   0 1px 3px rgba(10,22,40,0.08), 0 1px 2px rgba(10,22,40,0.06);
  --shadow:      0 4px 12px rgba(10,22,40,0.10), 0 2px 4px rgba(10,22,40,0.06);
  --shadow-lg:   0 12px 36px rgba(10,22,40,0.14), 0 4px 12px rgba(10,22,40,0.08);
  --shadow-gold: 0 0 0 3px rgba(200,169,110,0.25);

  /* Transiciones */
  --t-fast:  150ms ease;
  --t-base:  250ms ease;
  --t-slow:  400ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1vw + 0.75rem, 1.05rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; }
address { font-style: normal; }

/* ── Accesibilidad ──────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ── Tipografía ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.8rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.6rem); }
h3 { font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.4rem); }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }

p { max-width: 68ch; }
strong { font-weight: 600; }
em { font-style: italic; color: var(--gold-dark); }

/* ── Contenedor ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ── Secciones ──────────────────────────────────────────────────── */
.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 640px;
}
.section-header .section-label { margin-bottom: var(--space-3); }
.section-title { color: var(--navy); }
.section-text {
  color: var(--text-muted);
  margin-top: var(--space-4);
  font-size: 1.05rem;
}

.section-cta { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ── Botones ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all var(--t-base);
  white-space: nowrap;
  text-decoration: none;
}
.btn--lg { padding: 0.9rem 2.25rem; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,169,110,0.35);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  border: 1.5px solid var(--navy-light);
  color: var(--navy);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(200,169,110,0.06);
}

/* Variante para fondos oscuros (navy, dark sections) */
.btn--outline-light {
  border: 1.5px solid rgba(200,169,110,0.5);
  color: var(--gold-light);
  background: transparent;
}
.btn--outline-light:hover {
  border-color: var(--gold);
  color: var(--white);
  background: rgba(200,169,110,0.12);
}

.btn--ghost {
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
}

/* ── HEADER ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,169,110,0.12);
  transition: box-shadow var(--t-base);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(10,22,40,0.30);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--white);
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo:hover { color: var(--gold-light); }
.logo-icon { color: var(--gold); transition: transform var(--t-base); }
.nav-logo:hover .logo-icon { transform: rotate(15deg); }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--white);
}
.logo-text em {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-style: normal;
}

/* Teléfono en header (solo desktop) */
.nav-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color var(--t-fast);
  white-space: nowrap;
  padding: var(--space-2) var(--space-3);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: var(--radius);
}
.nav-phone:hover { color: var(--white); border-color: rgba(200,169,110,0.5); }

/* Menú desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  color: rgba(248,246,240,0.75);
  font-size: 0.88rem;
  font-weight: 400;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  transition: all var(--t-fast);
  letter-spacing: 0.01em;
  text-decoration: none;
  display: block;
}
.nav-link:hover { color: var(--white); }
.nav-link--active { color: var(--gold-light); }
.nav-link--cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 600;
  padding: var(--space-2) var(--space-5);
  margin-left: var(--space-2);
}
.nav-link--cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
/* Número de sección: oculto en desktop */
.nav-link__num { display: none; }
/* Datos de contacto en menú: ocultos en desktop */
.nav-menu__contact { display: none; }

/* Hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--space-2);
  background: rgba(200,169,110,0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(200,169,110,0.2);
  color: var(--white);
  cursor: pointer;
  transition: background var(--t-fast);
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}
.nav-toggle:hover { background: rgba(200,169,110,0.18); }
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease, width 0.3s ease;
  transform-origin: center;
}
/* Barras → X cuando abierto */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}



/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--navy);
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-24) 0 var(--space-16);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.topo-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-6);
  animation: fadeUp 0.6s ease both;
}
.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

.hero__title {
  color: var(--white);
  margin-bottom: var(--space-6);
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero__title em {
  color: var(--gold);
  font-style: italic;
}

.hero__text {
  color: rgba(248,246,240,0.75);
  font-size: clamp(1rem, 1.2vw + 0.7rem, 1.2rem);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  animation: fadeUp 0.7s ease 0.2s both;
}
.hero__text strong { color: var(--white); font-weight: 500; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  animation: fadeUp 0.7s ease 0.3s both;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.4s both;
}
.stat { display: flex; flex-direction: column; }
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat__unit { color: var(--gold); font-size: 1.4rem; display: inline; }
.stat__label {
  font-size: 0.8rem;
  color: rgba(248,246,240,0.55);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: rgba(200,169,110,0.25);
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: var(--container-pad);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200,169,110,0.5);
  animation: fadeIn 1s ease 1s both;
}
.scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(200,169,110,0.4);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── PAGE HERO (inner pages) ────────────────────────────────────── */
.page-hero {
  position: relative;
  background: var(--navy);
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.page-hero__topo {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
  pointer-events: none;
}
.page-hero__topo svg {
  width: 100%;
  height: 100%;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title {
  color: var(--white);
  max-width: 700px;
  margin-bottom: var(--space-5);
  animation: fadeUp 0.6s ease both;
}
.page-hero__title em { color: var(--gold); font-style: italic; }
.page-hero__text {
  color: rgba(248,246,240,0.7);
  font-size: clamp(1rem, 1.2vw + 0.6rem, 1.15rem);
  max-width: 580px;
  animation: fadeUp 0.6s ease 0.1s both;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(200,169,110,0.65);
  margin-bottom: var(--space-5);
  animation: fadeUp 0.5s ease both;
}
.breadcrumb a { color: rgba(200,169,110,0.65); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-current="page"] { color: rgba(248,246,240,0.5); }

/* ── SERVICES PREVIEW (home) ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}

.service-card {
  background: var(--white-pure);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform var(--t-slow);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,169,110,0.3);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.service-card__title {
  font-size: 1.05rem;
  color: var(--navy);
}
.service-card__title a { color: inherit; }
.service-card__title a:hover { color: var(--gold-dark); }
.service-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.service-card__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-dark);
  transition: gap var(--t-fast);
  margin-top: auto;
}
.service-card__link:hover { color: var(--navy); }

.service-card--cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-color: var(--navy-light);
  align-items: stretch;
}
.service-card--cta::before { display: none; }
.service-card--cta:hover { border-color: var(--gold); }
.service-card__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  height: 100%;
  justify-content: center;
  align-items: center;  /* centers button horizontally at ALL viewport sizes */
  text-align: center;
}
.service-card--cta h3,
.service-card--cta p { color: var(--white); max-width: none; }
.service-card--cta p { opacity: 0.75; font-size: 0.9rem; }

/* ── WHY US ─────────────────────────────────────────────────────── */
.why-us__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.why-us {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}
.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.why-us__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  position: sticky;
  top: 100px;
}
.instrument {
  width: clamp(180px, 20vw, 280px);
  aspect-ratio: 1;
  animation: spinSlow 20s linear infinite;
}
.instrument svg { width: 100%; height: 100%; }
.instrument-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.reasons-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin: var(--space-8) 0;
}
.reason {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--space-4);
  align-items: start;
}
.reason__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(200,169,110,0.15), rgba(200,169,110,0.05));
  border: 1px solid rgba(200,169,110,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.reason h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
}
.reason p { color: var(--text-muted); font-size: 0.9rem; max-width: none; }

/* ── PROJECTS PREVIEW (home) ────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}

.project-card {
  background: var(--white-pure);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--t-base);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-card__img-wrap {
  position: relative;
  overflow: hidden;
}
.project-card__img-wrap img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.project-card:hover .project-card__img-wrap img { transform: scale(1.04); }

.project-card__cat {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: rgba(10,22,40,0.85);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
}

.project-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.project-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.78rem;
  color: var(--gray-400);
  font-family: var(--font-mono);
}
.project-card__title {
  font-size: 1.05rem;
  color: var(--navy);
}
.project-card__title a { color: inherit; }
.project-card__title a:hover { color: var(--gold-dark); }
.project-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: none;
}
.tech-tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--navy-light);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 2px var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}
.tech-tag--lg { font-size: 0.78rem; padding: var(--space-1) var(--space-3); }
.project-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

/* ── CTA BANNER ─────────────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  overflow: hidden;
}
.cta-banner__inner {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 1px solid rgba(200,169,110,0.15);
  overflow: hidden;
}
.cta-banner__topo {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
}
.cta-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-banner__content h2 { color: var(--white); margin-bottom: var(--space-4); }
.cta-banner__content p {
  color: rgba(248,246,240,0.7);
  font-size: 1.1rem;
  margin: 0 auto var(--space-8);
}
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* ── SERVICES FULL (servicios page) ────────────────────────────── */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-8);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: start;
}
.service-item:last-child { border-bottom: none; }

.service-item__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(200,169,110,0.25);
  font-weight: 700;
  line-height: 1;
  padding-top: var(--space-2);
  letter-spacing: -0.04em;
  user-select: none;
}

.service-item__header {
  margin-bottom: var(--space-5);
}
.service-item__title {
  font-size: clamp(1.3rem, 2vw + 0.5rem, 1.9rem);
  margin-bottom: var(--space-2);
}
.service-item__title a { color: inherit; }
.service-item__title a:hover { color: var(--gold-dark); }
.service-item__subtitle { color: var(--gold-dark); font-size: 1rem; font-weight: 400; }
.service-item__desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: 70ch;
}

.service-item__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.service-item__benefits h3,
.service-item__cases h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-4);
}
.service-item__benefits ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.service-item__benefits li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.service-item__benefits li svg {
  flex-shrink: 0;
  color: var(--gold-dark);
  margin-top: 3px;
}

.cases-list { display: flex; flex-direction: column; gap: var(--space-4); }
.case {
  border-left: 2px solid rgba(200,169,110,0.3);
  padding-left: var(--space-4);
}
.case__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-1);
}
.case p { font-size: 0.85rem; color: var(--text-muted); max-width: none; }

/* ── SERVICE DETAIL ─────────────────────────────────────────────── */
.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.service-detail__main h2 {
  font-size: 1.4rem;
  margin: var(--space-10) 0 var(--space-5);
}
.service-detail__main h2:first-of-type { margin-top: 0; }
.service-detail__lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: none;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.benefits-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: var(--text-muted);
}
.benefits-list li svg { color: var(--gold-dark); flex-shrink: 0; margin-top: 3px; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}
.case-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: var(--space-5);
  border-left: 3px solid var(--gold);
}
.case-card h3 {
  font-size: 0.9rem;
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
}
.case-card p { font-size: 0.85rem; color: var(--text-muted); max-width: none; }

.service-detail__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--gray-200);
}

/* Sidebar */
.service-detail__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: sticky;
  top: 90px;
}
.sidebar-card {
  background: var(--white-pure);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.sidebar-card h3 {
  font-size: 1rem;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: var(--space-3);
}
.sidebar-card p { font-size: 0.88rem; color: var(--text-muted); max-width: none; }
.sidebar-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.sidebar-contact a {
  font-size: 0.88rem;
  color: var(--navy-light);
  transition: color var(--t-fast);
}
.sidebar-contact a:hover { color: var(--gold-dark); }

.sidebar-nav {
  background: var(--white-pure);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.sidebar-nav h3 {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-4);
}
.sidebar-nav li { border-bottom: 1px solid var(--gray-100); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav li a {
  display: block;
  padding: var(--space-3) 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.sidebar-nav li a:hover {
  color: var(--navy);
  padding-left: var(--space-2);
}

/* ── ABOUT ──────────────────────────────────────────────────────── */
.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.about-story__content .section-label { margin-bottom: var(--space-4); }
.about-story__content h2 { margin-bottom: var(--space-6); }
.about-story__content p {
  color: var(--text-muted);
  margin-bottom: var(--space-5);
  max-width: 58ch;
}

.timeline { position: relative; padding-left: var(--space-6); }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(200,169,110,0.1));
}
.timeline-item {
  position: relative;
  padding: 0 0 var(--space-8) var(--space-6);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.timeline-content h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: var(--space-1);
  font-family: var(--font-body);
}
.timeline-content p { font-size: 0.85rem; color: var(--text-muted); max-width: none; }

.about-tech { background: var(--navy); }
.about-tech .section-label,
.about-tech .section-title { color: var(--white); }
.about-tech .section-label::before { background: var(--gold); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-5);
}
.tech-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  transition: all var(--t-base);
}
.tech-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(200,169,110,0.35);
}
.tech-card__icon {
  color: var(--gold);
  margin-bottom: var(--space-5);
}
.tech-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
}
.tech-card ul { display: flex; flex-direction: column; gap: var(--space-2); }
.tech-card li {
  font-size: 0.85rem;
  color: rgba(248,246,240,0.6);
  padding-left: var(--space-4);
  position: relative;
}
.tech-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(200,169,110,0.4);
}

.about-scope__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.scope-list { display: flex; flex-direction: column; gap: var(--space-5); margin-top: var(--space-6); }
.scope-list li {
  border-left: 2px solid var(--gold);
  padding-left: var(--space-5);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.scope-list li strong { display: block; color: var(--navy); margin-bottom: var(--space-1); }

.about-scope__numbers {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: sticky;
  top: 100px;
}
.scope-stat {
  border-left: 3px solid var(--gold);
  padding-left: var(--space-5);
}
.scope-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: inline;
}
.scope-stat > span:not(.scope-stat__num) {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}
.scope-stat p { font-size: 0.85rem; color: var(--text-muted); margin-top: var(--space-2); max-width: none; }

/* ── PROJECTS PAGE ──────────────────────────────────────────────── */
.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}
.filter-btn {
  padding: var(--space-2) var(--space-5);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1.5px solid var(--gray-200);
  color: var(--text-muted);
  transition: all var(--t-fast);
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn--active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-light);
}

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: var(--space-6);
}

/* ── PROJECT DETAIL ─────────────────────────────────────────────── */
.project-detail__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.project-detail__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-8);
}
.project-detail__img-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.project-detail__main h2 {
  font-size: 1.4rem;
  margin: var(--space-8) 0 var(--space-4);
  color: var(--navy);
}
.project-detail__desc { font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); }
.project-detail__main p { color: var(--text-muted); margin-bottom: var(--space-4); }
.tech-list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.tech-list li { list-style: none; }
.project-nav { display: flex; gap: var(--space-4); flex-wrap: wrap; padding-top: var(--space-8); border-top: 1px solid var(--gray-200); }
.project-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(200,169,110,0.65);
  margin-top: var(--space-4);
  letter-spacing: 0.06em;
}

.project-specs { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-5); }
.project-specs dt { font-size: 0.75rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; align-self: center; }
.project-specs dd { font-size: 0.88rem; color: var(--navy); }
.related-project {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--t-fast);
}
.related-project:last-child { border-bottom: none; }
.related-project:hover { padding-left: var(--space-2); }
.related-project__cat { font-family: var(--font-mono); font-size: 0.65rem; color: var(--gold-dark); letter-spacing: 0.08em; text-transform: uppercase; }
.related-project__title { font-size: 0.88rem; color: var(--navy); }

/* ── CONTACTO ───────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.required { color: var(--gold-dark); }
.form-input {
  padding: 0.75rem var(--space-4);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white-pure);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.form-input:focus { border-color: var(--gold); box-shadow: var(--shadow-gold); outline: none; }
.form-input--error { border-color: var(--error); }
.form-input--error:focus { box-shadow: 0 0 0 3px rgba(217,48,37,0.15); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239A9590' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-error { font-size: 0.8rem; color: var(--error); }
.form-group--check { flex-direction: row; align-items: flex-start; gap: var(--space-3); }
.form-check { display: flex; align-items: flex-start; gap: var(--space-3); cursor: pointer; font-size: 0.85rem; color: var(--text-muted); }
.form-checkbox { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; accent-color: var(--gold-dark); }
.form-check a { color: var(--gold-dark); text-decoration: underline; }
.btn--submit { align-self: flex-start; margin-top: var(--space-2); }

.form-errors {
  background: #FFF5F5;
  border: 1.5px solid rgba(217,48,37,0.25);
  border-radius: var(--radius);
  padding: var(--space-5);
  color: var(--error);
  font-size: 0.88rem;
}
.form-errors strong { display: block; margin-bottom: var(--space-3); }
.form-errors ul { display: flex; flex-direction: column; gap: var(--space-2); padding-left: var(--space-5); list-style: disc; }

.form-success {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem);
  background: var(--white-pure);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(26,127,60,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.form-success__icon { color: var(--success); }
.form-success h2 { color: var(--success); }
.form-success p { color: var(--text-muted); max-width: 400px; }
.form-success a { color: var(--gold-dark); }

.contact-info { display: flex; flex-direction: column; gap: var(--space-5); position: sticky; top: 90px; }
.contact-info__card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  color: var(--white);
}
.contact-info__card h2 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(200,169,110,0.2);
}
.contact-item {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-item:first-of-type { padding-top: var(--space-2); }
.contact-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(200,169,110,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-item__label { display: block; font-size: 0.7rem; color: rgba(200,169,110,0.65); font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.contact-item__value { font-size: 0.9rem; color: var(--white); display: block; }
.contact-item a { color: var(--gold-light); }
.contact-item a:hover { color: var(--white); }

.contact-info__promise {
  background: var(--white-pure);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.promise-item {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.promise-item svg { color: var(--success); flex-shrink: 0; }

/* ── FAB (botón flotante) ────────────────────────────────────────── */
.fab {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
  background: var(--gold);
  color: var(--navy);
  border-radius: 100px;
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(200,169,110,0.45);
  transition: all var(--t-base);
  text-decoration: none;
}
.fab:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,169,110,0.55);
}
.fab span { display: none; }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(248,246,240,0.65);
  position: relative;
}
.footer-topo {
  margin-top: -1px;
  line-height: 0;
}
.footer-topo svg { width: 100%; display: block; }
.footer-body { padding: var(--space-12) 0 var(--space-8); max-width: var(--container-max); margin: 0 auto; padding-left: var(--container-pad); padding-right: var(--container-pad); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: var(--space-10);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--white);
  margin-bottom: var(--space-4);
}
.footer-logo strong { font-family: var(--font-mono); letter-spacing: 0.1em; font-size: 0.88rem; }
.footer-tagline { font-size: 0.88rem; color: rgba(248,246,240,0.55); margin-bottom: var(--space-5); max-width: 280px; }
.footer-address { display: flex; flex-direction: column; gap: var(--space-2); font-size: 0.85rem; }
.footer-address a { color: rgba(248,246,240,0.55); transition: color var(--t-fast); }
.footer-address a:hover { color: var(--gold-light); }
.footer-heading { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-4); font-weight: 400; }
.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a { font-size: 0.88rem; color: rgba(248,246,240,0.6); transition: color var(--t-fast), padding-left var(--t-fast); display: block; padding: var(--space-1) 0; }
.footer-links a:hover { color: var(--white); padding-left: var(--space-2); }
.footer-hours { font-size: 0.85rem; color: rgba(248,246,240,0.55); }
.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(200,169,110,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer-bottom p { font-size: 0.8rem; color: rgba(248,246,240,0.4); max-width: none; }
.footer-legal { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; }

/* ── 404 ────────────────────────────────────────────────────────── */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--white);
}
.error-page__inner { text-align: center; padding: var(--space-16) 0; }
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  color: rgba(200,169,110,0.15);
  line-height: 0.85;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
}
.error-page__inner h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: var(--space-4); }
.error-page__inner p { color: var(--text-muted); margin: 0 auto var(--space-8); }
.error-page__actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* ── Animaciones ────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50%       { transform: scaleX(0.4); opacity: 0.5; }
  51%       { transform: scaleX(0) translateX(-100%); }
  52%       { transform: scaleX(0) translateX(0); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */

/* ─── ≤1024px ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card--featured { grid-column: 1 / -1; }
  .project-card--featured .project-card__img-wrap img { aspect-ratio: 21/9; }
  .why-us__grid { grid-template-columns: 1fr; }
  .why-us__visual { display: none; }
  .about-story__grid { grid-template-columns: 1fr; }
  .about-scope__grid { grid-template-columns: 1fr; }
  .about-scope__numbers { position: static; flex-direction: row; flex-wrap: wrap; }
  .scope-stat { flex: 1; min-width: 150px; }
  .service-detail__grid { grid-template-columns: 1fr; }
  .service-detail__sidebar { position: static; }
  .project-detail__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }

  /* CTA banner en tablet */
  .cta-banner__inner { padding: clamp(2rem, 4vw, 3.5rem); }

  /* Page hero: ocultar el SVG topo en tablet/móvil para no tapar el texto */
  .page-hero__topo { display: none; }
}

/* ─── ≤1024px — ocultar teléfono en header ─────────────────────── */
@media (max-width: 1024px) {
  .nav-phone { display: none; }

  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card--featured { grid-column: 1 / -1; }
  .project-card--featured .project-card__img-wrap img { aspect-ratio: 21/9; }
  .why-us__grid { grid-template-columns: 1fr; }
  .why-us__visual { display: none; }
  .about-story__grid { grid-template-columns: 1fr; }
  .about-scope__grid { grid-template-columns: 1fr; }
  .about-scope__numbers { position: static; flex-direction: row; flex-wrap: wrap; }
  .scope-stat { flex: 1; min-width: 150px; }
  .service-detail__grid { grid-template-columns: 1fr; }
  .service-detail__sidebar { position: static; }
  .project-detail__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .cta-banner__inner { padding: clamp(2rem, 4vw, 3.5rem); }
  .page-hero__topo { display: none; }
}



/* ─── Fab texto en escritorio ─────────────────────────────────── */
@media (min-width: 1024px) {
  .fab span { display: inline; }
}

/* ─── ≤480px ─────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; gap: var(--space-3); }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .stat__divider { display: none; }
  .section { padding: 2.5rem 0; }
  .service-item__number { display: none; }
  .about-scope__numbers { flex-direction: column; gap: var(--space-4); }
  .error-page__actions { flex-direction: column; align-items: stretch; }
  .error-page__actions .btn { justify-content: center; }
  .footer-tagline { max-width: none; }
  .sidebar-card { padding: var(--space-5); }
  .contact-info__card { padding: var(--space-6); }
  .contact-item { gap: var(--space-4); }
  .contact-item__label { font-size: 0.65rem; }
  .contact-item__value { font-size: 0.85rem; }
  .legal-content { padding: var(--space-6); }
}

/* ─── Motion / Accesibilidad ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .instrument { animation: none; }
  .nav-menu { transition: none; }
  .nav-menu__item { transition: none; opacity: 1; transform: none; }
  .nav-menu__contact { transition: none; opacity: 1; transform: none; }
}




/* ═══════════════════════════════════════════════════════════
   LEGAL / PRIVACY PAGE
   ═══════════════════════════════════════════════════════════ */

.privacy-page .page-hero--small {
  padding: 5rem 0 3rem;
}

.container--narrow {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.legal-content {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: var(--space-8);
  line-height: 1.8;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-top: var(--space-8);
  margin-bottom: var(--space-2);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

.legal-content h2:first-of-type { margin-top: var(--space-4); }

.legal-content p { margin-bottom: var(--space-3); color: var(--gray-700); }

.legal-content ul {
  margin: var(--space-2) 0 var(--space-3) var(--space-5);
  color: var(--gray-700);
}

.legal-content ul li { margin-bottom: var(--space-1); }

.legal-content a { color: var(--gold); text-decoration: underline; }
.legal-content a:hover { color: var(--navy); }

.legal-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: var(--space-6) !important;
}

.legal-back {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--gray-200);
}

/* ═══════════════════════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════════════════════ */

/* ── Blog layout ──────────────────────────────────────────── */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* ── Blog card ────────────────────────────────────────────── */
.blog-card {
  background: var(--white-pure);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--t-base);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card--featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: var(--space-6);
}
.blog-card__img-wrap {
  overflow: hidden;
  display: block;
}
.blog-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
  aspect-ratio: 16/9;
}
.blog-card--featured .blog-card__img-wrap img {
  aspect-ratio: unset;
  height: 100%;
}
.blog-card:hover .blog-card__img-wrap img { transform: scale(1.04); }

.blog-card__img-wrap--small img { aspect-ratio: 16/9; height: auto; }

.blog-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.blog-card--featured .blog-card__body {
  padding: var(--space-8);
  justify-content: center;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.78rem;
  color: var(--gray-400);
  font-family: var(--font-mono);
}

.blog-cat {
  background: rgba(200,169,110,0.12);
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200,169,110,0.25);
  text-decoration: none;
}

.blog-card__title {
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--navy);
}
.blog-card__title--sm { font-size: 1rem; }
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--gold-dark); }

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: none;
  flex: 1;
}
.blog-card__excerpt--sm { font-size: 0.85rem; }

.blog-card__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--t-fast);
}
.blog-card__link:hover { color: var(--navy); }

/* Grid de artículos (no featured) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
}

/* ── Blog Sidebar ─────────────────────────────────────────── */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: sticky;
  top: 90px;
}

.blog-sidebar__cta {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: center;
}
.sidebar-cta__icon {
  color: var(--gold);
  margin: 0 auto;
}
.blog-sidebar__cta h3 {
  color: var(--white);
  font-size: 1rem;
}
.blog-sidebar__cta p {
  color: rgba(248,246,240,0.7);
  font-size: 0.85rem;
  max-width: none;
}

.blog-sidebar__card {
  background: var(--white-pure);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.sidebar-heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-4);
}

.sidebar-cats { display: flex; flex-direction: column; gap: var(--space-2); }
.sidebar-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--t-fast);
}
.sidebar-cat-link:last-child { border-bottom: none; }
.sidebar-cat-link:hover { color: var(--navy); }
.sidebar-cat-link span { font-size: 0.78rem; color: var(--gray-400); }

.sidebar-services { display: flex; flex-direction: column; gap: var(--space-1); }
.sidebar-services li { border-bottom: 1px solid var(--gray-100); }
.sidebar-services li:last-child { border-bottom: none; }
.sidebar-services a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: var(--space-2) 0;
  text-decoration: none;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.sidebar-services a:hover { color: var(--navy); padding-left: var(--space-2); }

/* ── Article ──────────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.78rem;
  color: rgba(200,169,110,0.65);
  font-family: var(--font-mono);
  margin-bottom: var(--space-4);
}

.article__hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-8);
}
.article__hero-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article__lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  border-left: 3px solid var(--gold);
  padding-left: var(--space-5);
  margin-bottom: var(--space-8);
  max-width: 65ch;
}

/* Contenido del artículo */
.article__content h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin: var(--space-10) 0 var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid rgba(200,169,110,0.2);
}
.article__content h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: var(--space-8) 0 var(--space-3);
}
.article__content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}
.article__content ul,
.article__content ol {
  margin: 0 0 var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.article__content ul { list-style: disc; }
.article__content ol { list-style: decimal; }
.article__content li {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}
.article__content strong { color: var(--navy); font-weight: 600; }
.article__content em { color: var(--gold-dark); font-style: italic; }
.article__content a { color: var(--gold-dark); text-decoration: underline; }

/* Blog CTA dentro del contenido */
.blog-cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin: var(--space-10) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.blog-cta h3 { color: var(--white); font-size: 1.1rem; }
.blog-cta p { color: rgba(248,246,240,0.75); font-size: 0.9rem; max-width: none; }
.blog-cta .btn { align-self: flex-start; }

/* Tabla en artículo */
.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: var(--space-5) 0 var(--space-8);
}
.blog-table th {
  background: var(--navy);
  color: var(--gold-light);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.blog-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--gray-200);
  color: var(--text-muted);
}
.blog-table tr:hover td { background: var(--gray-100); }

/* Footer del artículo */
.article__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--gray-200);
  margin-top: var(--space-8);
}
.article__tags { display: flex; align-items: center; gap: var(--space-3); font-size: 0.85rem; color: var(--gray-400); }

/* Related posts en sidebar */
.related-posts { display: flex; flex-direction: column; gap: var(--space-3); }
.related-post {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  transition: padding-left var(--t-fast);
}
.related-post:last-child { border-bottom: none; }
.related-post:hover { padding-left: var(--space-2); }
.related-post__cat { font-family: var(--font-mono); font-size: 0.65rem; color: var(--gold-dark); letter-spacing: 0.08em; text-transform: uppercase; }
.related-post__title { font-size: 0.85rem; color: var(--navy); line-height: 1.4; }

/* Blog nav */
.blog-nav {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--gray-200);
}

/* ── Responsive Blog ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar { position: static; }
  .blog-sidebar__cta { flex-direction: row; flex-wrap: wrap; align-items: center; text-align: left; }
  .blog-sidebar__cta h3 { flex: 1; }
}



/* ── Close button inside mobile overlay ────────────────────── */
.nav-menu__close {
  display: none; /* hidden by default, shown in mobile */
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  list-style: none;
}
.nav-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(200,169,110,0.12);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: var(--radius);
  color: var(--gold-light);
  cursor: pointer;
  transition: background var(--t-fast);
}
.nav-close-btn:hover { background: rgba(200,169,110,0.22); color: var(--white); }



/* ════════════════════════════════════════════════════════════════
   HAMBURGER BUTTON
   Hidden on desktop, shown on mobile.
   Always z-index > .site-header so it's tappable above overlay.
   ════════════════════════════════════════════════════════════════ */
.hamburger {
  /* Hidden on desktop */
  display: none;
  align-items: center;
  justify-content: center;

  /* Generous tap target */
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;

  background: rgba(200, 169, 110, 0.08);
  border: 1px solid rgba(200, 169, 110, 0.22);
  border-radius: 8px;
  cursor: pointer;

  /* Must be above the overlay (site-header is 10000, overlay is 9999)
     Hamburger inherits header stacking context so stays on top */
  position: relative;
  z-index: 1;

  transition: background 0.2s ease, border-color 0.2s ease;
}
.hamburger:hover {
  background: rgba(200, 169, 110, 0.16);
  border-color: rgba(200, 169, 110, 0.45);
}
.hamburger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* 3-line box inside the button */
.hamburger__box {
  display: block;
  position: relative;
  width: 22px;
  height: 16px;
}

.hamburger__line {
  display: block;
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #C8A96E;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              opacity   0.2s  ease,
              width     0.3s  ease;
  transform-origin: center center;
}

.hamburger__line--top { top: 0; }
.hamburger__line--mid { top: 7px; }
.hamburger__line--bot { top: 14px; }

/* Animate to X when open */
.hamburger[aria-expanded="true"] .hamburger__line--top {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger__line--mid {
  opacity: 0;
  width: 0;
}
.hamburger[aria-expanded="true"] .hamburger__line--bot {
  transform: translateY(-7px) rotate(-45deg);
}


/* ════════════════════════════════════════════════════════════════
   MOBILE NAV OVERLAY  (.mnav)
   ─────────────────────────────────────────────────────────────
   KEY ARCHITECTURE DECISION:
   This element is a direct child of <body>, NOT inside <header>.
   Therefore it has its OWN stacking context and z-index: 9999
   works correctly — it covers the page but the header (z-index
   10000) always renders above it so the hamburger stays tappable.
   ════════════════════════════════════════════════════════════════ */
.mnav {
  /* ── Position: covers entire viewport ── */
  position: fixed;
  top:    0;
  left:   0;
  right:  0;
  bottom: 0;

  /* ── Below site-header (10000), above all page content ── */
  z-index: 9999;

  /* ── Background ── */
  background: #0D1E35;

  /* ── Flex: center the nav items ── */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* ── Hidden state ── */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity     0.32s cubic-bezier(0.4, 0, 0.2, 1),
              visibility  0.32s cubic-bezier(0.4, 0, 0.2, 1);

  /* Only show on mobile */
  display: none;
}

/* Open state */
.mnav.mnav--open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* ── Inner container ── */
.mnav__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 360px;
  padding: 80px 2rem 2rem; /* 80px top = header height + breathing room */
}

/* ── Nav list ── */
.mnav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* ── Individual item ── */
.mnav__item {
  border-bottom: 1px solid rgba(200, 169, 110, 0.1);
}
.mnav__item:first-child { border-top: 1px solid rgba(200, 169, 110, 0.1); }

/* ── Link ── */
.mnav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.1rem 1rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(248, 246, 240, 0.82);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.18s ease, background 0.18s ease;
}
.mnav__link:hover,
.mnav__link:focus-visible {
  color: #C8A96E;
  background: rgba(200, 169, 110, 0.06);
}
.mnav__link--active {
  color: #C8A96E;
  font-weight: 600;
}

/* ── CTA button ── */
.mnav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.9rem 1.5rem;
  background: #C8A96E;
  color: #0A1628;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mnav__cta:hover {
  background: #D9BF8A;
  transform: translateY(-1px);
}

/* ── Contact info ── */
.mnav__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200, 169, 110, 0.1);
  width: 100%;
}
.mnav__contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(200, 169, 110, 0.65);
  text-decoration: none;
  transition: color 0.18s ease;
}
.mnav__contact-link:hover { color: #C8A96E; }

/* ════════════════════════════════════════════════════════════════
   SHOW HAMBURGER + OVERLAY ON MOBILE ONLY
   ════════════════════════════════════════════════════════════════ */


/* ── Prevent body scroll when menu open ── */
body.menu-open {
  overflow: hidden;
}

/* ── reduced-motion override ── */
@media (prefers-reduced-motion: reduce) {
  .mnav      { transition: none; }
  .hamburger__line { transition: none; }
}



/* ════════════════════════════════════════════════════════════════
   BLOG PREVIEW — HOME PAGE  (.bp-*)
   Clean redesign: featured horizontal card + 3-col grid below.
   No row-spanning. Fixed aspect-ratios. Graceful image fallback.
   ════════════════════════════════════════════════════════════════ */

.bp-section {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}
.bp-img--missing {
  background: var(--navy);
  position: relative;
}
.bp-img--missing::after {
  content: '📷';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0.25;
}
.bp-img--missing img { opacity: 0; }

/* ── Shared link style ── */
.bp-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bp-link:hover { color: var(--navy); }

/* ════════════════════════════════════
   FEATURED HERO CARD — horizontal
   ════════════════════════════════════ */
.bp-hero {
  display: grid;
  grid-template-columns: 48% 52%;
  height: 340px; /* Fixed height — image and text column both respect this */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white-pure);
  margin-bottom: var(--space-6);
  transition: box-shadow var(--t-base);
}
.bp-hero:hover { box-shadow: var(--shadow-lg); }

.bp-hero__img {
  display: block;
  overflow: hidden;
  height: 100%; /* fill the fixed card height */
}
.bp-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}
.bp-hero:hover .bp-hero__img img { transform: scale(1.04); }

.bp-hero__body {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
  overflow: hidden;
}

.bp-hero__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--navy);
}
.bp-hero__title a { color: inherit; text-decoration: none; }
.bp-hero__title a:hover { color: var(--gold-dark); }

.bp-hero__excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ════════════════════════════════════
   3-CARD GRID
   ════════════════════════════════════ */
.bp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.bp-card {
  display: flex;
  flex-direction: column;
  background: var(--white-pure);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.bp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bp-card__img {
  display: block;
  overflow: hidden;
  flex-shrink: 0;
}
.bp-card__img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}
.bp-card:hover .bp-card__img img { transform: scale(1.04); }

.bp-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.bp-card__title {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--navy);
  flex: 1;
}
.bp-card__title a { color: inherit; text-decoration: none; }
.bp-card__title a:hover { color: var(--gold-dark); }

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */
@media (max-width: 900px) {
  .bp-hero { grid-template-columns: 1fr; height: auto; }
  .bp-hero__img { height: 240px; }
  .bp-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {

  /* ═══ NAVIGATION ══════════════════════════════════════════════════ */
  .nav-menu  { display: none !important; }
  .nav-phone { display: none !important; }
  .hamburger { display: flex !important; }
  .mnav      { display: flex !important; }

  /* ═══ HERO ════════════════════════════════════════════════════════ */
  .hero { min-height: 100svh; min-height: 100vh; padding: 5rem 0 4rem; align-items: flex-start; }
  .hero__content { padding-top: 1rem; text-align: center !important; }
  .hero__title   { text-align: center !important; }
  .hero__text    { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .hero__label   { justify-content: center !important; }
  .hero__actions { justify-content: center !important; flex-wrap: wrap !important; }
  .hero__stats   { justify-content: center !important; flex-wrap: wrap !important; }
  .stat__divider { display: none !important; }
  .hero__scroll-hint { display: none !important; }

  /* ═══ SECTION HEADERS ════════════════════════════════════════════ */
  .section-header { text-align: center !important; margin-bottom: 2rem !important; }
  .section-header .section-label { justify-content: center !important; }
  .section-header .section-label::before { display: none !important; }
  .section-title { text-align: center !important; }
  .section-text  { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .section-label { justify-content: center !important; }

  /* ═══ SECTION CTA (standalone buttons) ══════════════════════════ */
  .section-cta { display: flex !important; flex-direction: column !important; align-items: center !important; }
  .section-cta .btn { align-self: center !important; }

  /* ═══ PAGE HEROES ════════════════════════════════════════════════ */
  .page-hero__topo  { display: none !important; }
  .page-hero__title { text-align: center !important; }
  .page-hero__text  { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .breadcrumb { text-align: left !important; }

  /* ═══ SERVICE GRID CARDS (home) ══════════════════════════════════ */
  .services-grid { grid-template-columns: 1fr !important; }
  .service-card  { text-align: center !important; align-items: center !important; }
  .service-card__icon { margin: 0 auto !important; }
  /* "Consulta gratuita" button — inside .service-card__inner which is already
     flex-column align-items:center from base CSS, so this is just a guard */
  .service-card__inner { align-items: center !important; text-align: center !important; }
  .service-card__inner .btn { align-self: center !important; width: auto !important; }

  /* ═══ WHY-US ══════════════════════════════════════════════════════ */
  .why-us__grid    { grid-template-columns: 1fr !important; }
  .why-us__visual  { display: none !important; }
  .why-us__content { align-items: center !important; text-align: center !important; }
  .why-us__content .section-label { justify-content: center !important; }
  /* "Conoce nuestro equipo" button */
  .why-us__content .btn { align-self: center !important; }
  /* Reasons keep left-align for readability */
  .reasons-list { align-self: stretch !important; }
  .reason { text-align: left !important; }

  /* ═══ CTA BANNER ═════════════════════════════════════════════════ */
  .cta-banner__content { text-align: center !important; }
  .cta-banner__actions { flex-direction: column !important; align-items: stretch !important; }
  .cta-banner__actions .btn { justify-content: center !important; }
  .cta-banner__inner { padding: 2rem 1.5rem !important; border-radius: 12px !important; }

  /* ═══ SERVICES LIST PAGE ══════════════════════════════════════════ */
  .service-item { grid-template-columns: 1fr !important; gap: 1rem !important; text-align: center !important; }
  .service-item__number { display: none !important; }
  .service-item__header { text-align: center !important; }
  .service-item__desc   { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .service-item__grid   { grid-template-columns: 1fr !important; }
  .service-item .btn    { display: block !important; text-align: center !important; margin: 0 auto !important; }

  /* ═══ SERVICE DETAIL PAGE ════════════════════════════════════════ */
  .service-detail__grid    { grid-template-columns: 1fr !important; }
  .service-detail__sidebar { position: static !important; }
  .service-detail__cta     { flex-direction: column !important; align-items: stretch !important; }
  .service-detail__cta .btn { justify-content: center !important; }
  .service-detail__main h2  { text-align: center !important; }
  .service-detail__lead     { text-align: center !important; }
  .benefits-list li { text-align: left !important; }
  .case-card        { text-align: center !important; }
  .sidebar-card     { text-align: center !important; }
  .cases-grid       { grid-template-columns: 1fr !important; }

  /* ═══ ABOUT PAGE ══════════════════════════════════════════════════ */
  .about-story__grid  { grid-template-columns: 1fr !important; }
  .about-scope__grid  { grid-template-columns: 1fr !important; }
  .about-scope__numbers { position: static !important; flex-direction: row !important; flex-wrap: wrap !important; justify-content: center !important; }
  .scope-stat  { text-align: center !important; flex: 1 !important; min-width: 120px !important; }
  /* Tech cards: centered title, centered list */
  .tech-grid   { grid-template-columns: 1fr !important; }
  .tech-card   { text-align: center !important; padding: 1.5rem !important; }
  .tech-card h3 { text-align: center !important; }
  .tech-card ul { list-style: none !important; padding: 0 !important; text-align: center !important; }
  .tech-card li { text-align: center !important; }

  /* ═══ CONTACT PAGE ════════════════════════════════════════════════ */
  .contact-grid { display: flex !important; flex-direction: column !important; gap: 1.5rem !important; }
  .contact-info { order: -1 !important; width: 100% !important; }
  .contact-info__card { text-align: center !important; width: 100% !important; }
  .contact-item { flex-direction: column !important; align-items: center !important; text-align: center !important; }
  .contact-item__icon { margin: 0 auto !important; }
  .contact-info__promise { align-items: center !important; }
  .promise-item { justify-content: center !important; }
  .form-row  { grid-template-columns: 1fr !important; }
  .form-label { text-align: left !important; }
  .btn--submit { width: 100% !important; justify-content: center !important; }

  /* ═══ BLOG ════════════════════════════════════════════════════════ */
  .blog-layout, .article-layout { grid-template-columns: 1fr !important; }
  .blog-sidebar { position: static !important; }
  .blog-sidebar__cta { flex-direction: column !important; text-align: center !important; }
  .blog-card--featured { grid-template-columns: 1fr !important; }
  .blog-card__meta { justify-content: center !important; }
  .blog-cta .btn  { align-self: stretch !important; justify-content: center !important; }
  .article__footer { flex-direction: column !important; }
  .article-hero__meta { justify-content: center !important; }
  /* Blog preview (home) */
  .bp-hero { grid-template-columns: 1fr !important; height: auto !important; }
  .bp-hero__img { height: 200px !important; }
  .bp-hero__body { padding: 1.25rem !important; }
  .bp-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .bp-section .section-cta { display: flex !important; flex-direction: column !important; align-items: center !important; }

  /* ═══ FOOTER ══════════════════════════════════════════════════════ */
  .footer-grid    { grid-template-columns: 1fr !important; gap: 2rem !important; text-align: center !important; }
  .footer-brand   { display: flex !important; flex-direction: column !important; align-items: center !important; }
  .footer-logo    { justify-content: center !important; margin: 0 auto !important; }
  .footer-tagline { max-width: none !important; text-align: center !important; }
  .footer-address { align-items: center !important; text-align: center !important; }
  .footer-col     { text-align: center !important; }
  .footer-links   { align-items: center !important; }
  .footer-links a { padding-left: 0 !important; }
  .footer-bottom  { flex-direction: column !important; text-align: center !important; }
  .footer-body    { padding-top: 2rem !important; padding-bottom: 1.5rem !important; }

  /* ═══ GRIDS ═══════════════════════════════════════════════════════ */
  .projects-grid    { grid-template-columns: 1fr !important; }
  .projects-masonry { grid-template-columns: 1fr !important; }
  .project-detail__grid { grid-template-columns: 1fr !important; }
  .project-card__body { text-align: center !important; }
  .project-card__meta { justify-content: center !important; }

  /* ═══ FAB ═════════════════════════════════════════════════════════ */
  .fab { bottom: 1.25rem !important; right: 1.25rem !important; }
  .fab span { display: inline !important; }

  /* ═══ PERFORMANCE ═════════════════════════════════════════════════ */
  .site-header { background: rgba(10,22,40,0.99) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .instrument  { animation: none !important; }
  [data-reveal] { transition: opacity 0.4s ease !important; transform: none !important; }
  [data-reveal].revealed { opacity: 1 !important; }
  .service-card:hover, .project-card:hover, .tech-card:hover { transform: none !important; }
}

