:root {
  --bg-0: #040914;
  --bg-1: #081326;
  --bg-2: #0c1b33;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --surface-gold: rgba(214, 175, 99, 0.12);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-border-strong: rgba(255, 255, 255, 0.16);
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef2fb;
  --muted: #a9b5c9;
  --muted-2: #7c89a3;
  --gold: #d6af63;
  --gold-soft: #e7c786;
  --gold-hot: #f1d89e;
  --gold-deep: #b38a3f;
  --white: #ffffff;
  --shadow-1: 0 14px 40px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 26px 80px rgba(0, 0, 0, 0.52);
  --gold-glow: 0 0 0 1px rgba(214, 175, 99, 0.28), 0 18px 60px rgba(214, 175, 99, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-xs: 10px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

:target {
  scroll-margin-top: 50px;
}

body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(214, 175, 99, 0.22), transparent 55%),
    radial-gradient(900px 700px at -10% 40%, rgba(68, 120, 220, 0.18), transparent 55%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 38%, var(--bg-2) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

.aurora {
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  filter: blur(90px) saturate(140%);
  opacity: 0.7;
  background:
    radial-gradient(600px 500px at 15% 20%, rgba(214, 175, 99, 0.28), transparent 60%),
    radial-gradient(700px 520px at 82% 30%, rgba(76, 120, 210, 0.22), transparent 60%),
    radial-gradient(700px 600px at 60% 90%, rgba(193, 145, 75, 0.16), transparent 60%);
  animation: auroraShift 22s ease-in-out infinite alternate;
}

@keyframes auroraShift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.08); }
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.9) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

strong {
  color: var(--white);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 64px 0;
  position: relative;
}

.section-head {
  max-width: 840px;
  margin: 0 0 28px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(4, 9, 20, 0.55);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
  background: rgba(4, 9, 20, 0.82);
  border-bottom-color: rgba(214, 175, 99, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.36);
}

.header-inner,
.footer-inner,
.hero-grid,
.two-column,
.feature-grid,
.value-grid,
.mission-grid,
.contact-card {
  display: grid;
  gap: 32px;
}

.header-inner {
  grid-template-columns: 1fr;
  grid-template-areas: "brand" "nav";
  align-items: center;
  justify-items: center;
  padding: 5px 0;
  gap: 4px;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  height: 64px;
  width: auto;
  max-width: 380px;
  border-radius: 10px;
  padding: 6px 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow:
    inset 0 0 0 1px rgba(214, 175, 99, 0.26),
    0 14px 40px rgba(0, 0, 0, 0.28);
  object-fit: contain;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: block;
}

.brand:hover .brand-logo {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(214, 175, 99, 0.45),
    0 22px 56px rgba(214, 175, 99, 0.18);
}

.nav-toggle {
  grid-area: toggle;
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(214, 175, 99, 0.30);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  color: var(--white);
  padding: 12px 11px;
  justify-content: space-between;
  align-items: stretch;
  flex-direction: column;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 24px rgba(0, 0, 0, 0.26);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.nav-toggle:hover {
  border-color: rgba(214, 175, 99, 0.55);
}

.nav-toggle[aria-expanded="true"] {
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 175, 99, 0.18), transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  transform: translateY(-1px);
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold-hot));
  transform-origin: center;
  transition: transform .28s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.main-nav {
  grid-area: nav;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  font-size: 0.92rem;
  padding: 6px 0;
  transition: color .2s ease;
}

.main-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: right .3s ease;
}

.main-nav a:not(.button):hover {
  color: var(--white);
}

.main-nav a:not(.button):hover::after {
  right: 0;
}

.brand-copy small,
.main-nav a,
.lede,
.stat-card p,
.process-card p,
.sector-card p,
.contact-details p,
.site-footer p,
.floating-card,
.floating-label,
.value-panel p,
.mission-card p,
.detail-label {
  color: var(--muted);
}

/* ============ BUTTONS ============ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hot) 100%);
  color: #10140a;
  box-shadow: var(--gold-glow);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 22px 60px rgba(214, 175, 99, 0.28);
}

.button-secondary,
.button-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.button-outline .arrow,
.button-secondary .arrow {
  transition: transform .25s ease, color .25s ease;
  display: inline-block;
}

.button-outline:hover,
.button-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(214, 175, 99, 0.4);
  color: var(--gold-hot);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.button-outline:hover .arrow,
.button-secondary:hover .arrow {
  transform: translateX(4px);
}

.button-chip {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #69e48f;
  box-shadow: 0 0 0 0 rgba(105, 228, 143, 0.6);
  animation: dotPulse 1.8s ease-out infinite;
}

@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(105, 228, 143, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(105, 228, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(105, 228, 143, 0); }
}

/* ============ HERO ============ */
.hero {
  padding: 88px 0 48px;
  position: relative;
}

.hero-grid,
.two-column,
.feature-grid,
.value-grid,
.contact-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.hero-copy .hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-kicker-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(214, 175, 99, 0.35);
  background: linear-gradient(135deg, rgba(214, 175, 99, 0.18), rgba(214, 175, 99, 0.06));
  color: var(--gold-hot);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker-seal::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-hot);
  box-shadow: 0 0 12px var(--gold-hot);
}

.hero-kicker-seal.soft {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.hero-kicker-seal.soft::before {
  display: none;
}

.display {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-size: clamp(2.7rem, 6.2vw, 5.4rem);
}

.grad-text {
  background: linear-gradient(135deg, var(--gold-hot) 0%, #fff6dc 42%, var(--gold) 80%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(241, 216, 158, 0.06);
}

.lede {
  max-width: 62ch;
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.lede strong {
  color: var(--gold-hot);
  font-weight: 700;
}

.hero-actions {
  margin: 32px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, var(--gold-hot) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.metric span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.hero-media {
  position: relative;
}

.hero-frame {
  position: relative;
  padding: 14px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--card-border-strong);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(10px);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(214, 175, 99, 0.55), transparent 40%, rgba(255, 255, 255, 0.18) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-frame-img {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.hero-frame-img img {
  border-radius: 22px;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transform: scale(1.01);
}

.hero-frame-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(4, 9, 20, 0.55) 100%),
    linear-gradient(120deg, rgba(214, 175, 99, 0.1), transparent 50%);
  pointer-events: none;
  border-radius: 22px;
}

.hero-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(8, 19, 38, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border-strong);
  color: var(--white);
  font-size: 0.85rem;
  box-shadow: var(--shadow-1);
}

.hero-chip svg {
  width: 16px;
  height: 16px;
  color: var(--gold-hot);
}

.hero-chip-a {
  top: 34px;
  left: -18px;
}

.hero-chip-b {
  bottom: 42px;
  left: -22px;
}

.hero-chip-c {
  top: 36px;
  right: -16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 12px 16px;
}

.hero-chip-c strong {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--gold-hot);
  font-family: "Playfair Display", serif;
}

.hero-chip-c span {
  color: var(--muted);
  font-size: 0.78rem;
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fcaff;
  box-shadow: 0 0 12px #5fcaff;
}

/* ============ TRUSTBAR ============ */
.trustbar {
  margin-top: 44px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02) 50%, transparent);
}

.trustbar-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
}

.trustbar-label {
  color: var(--muted-2);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.trustbar-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.trustbar-logos span {
  text-align: center;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  color: rgba(231, 199, 134, 0.88);
  border: 1px solid rgba(214, 175, 99, 0.14);
  background: rgba(214, 175, 99, 0.05);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.trustbar-logos span:hover {
  transform: translateY(-2px);
  background: rgba(214, 175, 99, 0.09);
  border-color: rgba(214, 175, 99, 0.35);
}

/* ============ EYEBROW / TITULOS ============ */
.eyebrow {
  margin-bottom: 14px;
  color: var(--gold-hot);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow-line {
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.serif-lg {
  font-family: "Playfair Display", "Times New Roman", serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  font-weight: 700;
}

.section-head p:not(.eyebrow),
.serif-lg + p {
  color: var(--muted);
  max-width: 70ch;
  font-size: 1.04rem;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .85s cubic-bezier(.22,.61,.36,1), transform .85s cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity;
}

.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .22s; }

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ============ CARDS Y TARJETAS FOTO ============ */
.card-surface,
.pillar-card,
.timeline-item,
.sector-card,
.mission-card,
.value-panel,
.contact-card {
  border: 1px solid var(--card-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-1);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.card-surface:hover,
.pillar-card:hover,
.timeline-item:hover,
.sector-card:hover,
.mission-card:hover,
.value-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 175, 99, 0.36);
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(214, 175, 99, 0.18);
}

.card-photo {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 14px;
  overflow: hidden;
}

.card-photo img {
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent 55%, rgba(4, 9, 20, 0.72) 100%);
  pointer-events: none;
}

.card-photo-badge {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 30px;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(8, 19, 38, 0.88);
  border: 1px solid rgba(214, 175, 99, 0.32);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card-photo-badge.wide {
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px);
  align-items: center;
  text-align: center;
}

.card-photo-badge span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card-photo-badge strong {
  color: var(--gold-hot);
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* ============ QUIENES SOMOS - IMAGE STACK ============ */
.image-stack {
  position: relative;
}

.floating-card {
  position: absolute;
  right: -20px;
  bottom: -30px;
  max-width: 320px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(6, 14, 29, 0.94);
  border: 1px solid rgba(214, 175, 99, 0.32);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(12px);
}

.floating-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.floating-card-grid > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  text-align: center;
}

.floating-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.floating-card strong {
  color: var(--gold-hot);
  font-size: 0.9rem;
  font-family: "Playfair Display", serif;
  line-height: 1.1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag-row span {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.84rem;
  transition: all .25s ease;
}

.tag-row span:hover {
  border-color: rgba(214, 175, 99, 0.4);
  color: var(--gold-hot);
  background: rgba(214, 175, 99, 0.08);
}

/* ============ PILLARS (Por qué elegirnos) ============ */
.pillars-section {
  padding-top: 24px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pillar-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: auto -40% -70% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(closest-side, rgba(214, 175, 99, 0.22), transparent);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(214, 175, 99, 0.2), rgba(214, 175, 99, 0.05));
  border: 1px solid rgba(214, 175, 99, 0.28);
  color: var(--gold-hot);
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar-card h3 {
  font-size: 1.04rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.pillar-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ============ SECTION DARK / ACCENT ============ */
.section-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05)),
    radial-gradient(900px 320px at 50% 0%, rgba(76, 120, 210, 0.12), transparent 70%);
}

.section-accent {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(214, 175, 99, 0.16), transparent 70%),
    radial-gradient(900px 380px at 0% 100%, rgba(76, 120, 210, 0.14), transparent 70%);
}

/* ============ TIMELINE SERVICIOS ============ */
.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset: auto -30% -70% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(closest-side, rgba(214, 175, 99, 0.16), transparent);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.timeline-item:hover::before { opacity: 1; }

.timeline-step {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 52px;
  border-radius: 16px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #0c1424;
  background: linear-gradient(135deg, var(--gold), var(--gold-hot));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 12px 30px rgba(214, 175, 99, 0.28);
}

.timeline-body h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.timeline-body p {
  color: var(--muted);
  margin: 0;
  font-size: 0.94rem;
}

/* ============ MERCADO PERUANO - FLOW ============ */
.value-flow {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(214, 175, 99, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(214, 175, 99, 0.22);
}

.value-flow > span:not(.flow-sep) {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
}

.value-flow .flow-sep {
  color: var(--gold-hot);
  font-weight: 800;
  align-self: center;
}

/* ============ SECTORES ============ */
.sector-hero {
  margin-top: 12px;
  margin-bottom: 28px;
}

.sector-hero img {
  aspect-ratio: 21 / 9;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sector-card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(214, 175, 99, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.sector-card:hover::before { opacity: 1; }

.sector-ico {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 16px;
  color: var(--gold-hot);
  background: rgba(214, 175, 99, 0.1);
  border: 1px solid rgba(214, 175, 99, 0.24);
}

.sector-ico svg {
  width: 22px;
  height: 22px;
}

.sector-card h3 {
  font-size: 1.06rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.sector-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ============ FEATURE LIST (representación) ============ */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.feature-list li {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  transition: all .25s ease;
}

.feature-list li:hover {
  border-color: rgba(214, 175, 99, 0.3);
  background: rgba(214, 175, 99, 0.06);
  transform: translateX(4px);
}

.tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-hot));
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.tick::after {
  content: "";
  position: absolute;
  top: 4px; left: 5px;
  width: 6px; height: 9px;
  border: solid #0b1220;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.feature-grid-reverse {
  grid-template-columns: 1fr 1.08fr;
}

/* ============ PROPUESTA DE VALOR ============ */
.value-panels {
  display: grid;
  gap: 14px;
}

.value-panel {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
}

.value-index {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.3rem;
  background: linear-gradient(180deg, #ffffff, var(--gold-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-width: 42px;
  padding-top: 2px;
}

.value-panel h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.value-panel p {
  margin: 0;
  font-size: 0.94rem;
}

/* ============ MISION / VISION ============ */
.mission-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mission-grid.mission-grid-3 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
}

.mission-photo {
  min-height: 100%;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, rgba(12, 27, 51, 0.92), rgba(8, 19, 38, 0.92));
  border: 1px solid rgba(214, 175, 99, 0.22);
  box-shadow: var(--shadow-soft);
}

.mission-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  height: 100%;
  border-radius: var(--radius-lg);
}

.mission-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(360px 200px at 0% 0%, rgba(214, 175, 99, 0.26), transparent 55%),
    radial-gradient(260px 180px at 100% 100%, rgba(30, 55, 100, 0.45), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.mission-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(214, 175, 99, 0.24);
}

.mission-card .eyebrow {
  margin-bottom: 10px;
  z-index: 1;
}

.mission-card p:last-child {
  margin: 0;
  font-size: 0.98rem;
  z-index: 1;
  position: relative;
}

.mission-card:hover::before {
  opacity: 1;
}

/* ============ CONTACTO ============ */
.contact-section {
  padding-bottom: 96px;
}

.contact-card {
  padding: 40px;
  border-radius: 32px;
  background:
    radial-gradient(800px 320px at 100% 0%, rgba(214, 175, 99, 0.16), transparent 60%),
    linear-gradient(135deg, rgba(12, 27, 51, 0.95), rgba(8, 19, 38, 0.95));
  border: 1px solid rgba(214, 175, 99, 0.26);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(214, 175, 99, 0.08), transparent 50%);
  pointer-events: none;
}

.contact-sub {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 18px;
}

.contact-claim {
  font-family: "Playfair Display", serif;
  font-size: 1.18rem;
  color: var(--gold-hot);
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(214, 175, 99, 0.06);
  border-radius: 0 16px 16px 0;
  margin: 0;
}

.contact-details {
  position: relative;
  display: grid;
  gap: 14px;
}

.detail-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  transition: border-color .25s ease, background .25s ease;
}

.detail-row:hover {
  border-color: rgba(214, 175, 99, 0.34);
  background: rgba(214, 175, 99, 0.06);
}

.detail-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-top: 4px;
}

.detail-value {
  color: var(--white);
  font-weight: 500;
  font-size: 0.96rem;
}

.detail-value.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-value.tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(214, 175, 99, 0.1);
  border: 1px solid rgba(214, 175, 99, 0.28);
  color: var(--gold-hot);
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.contact-note {
  color: var(--muted-2);
  font-size: 0.82rem;
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
}

.footer-inner {
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  height: 84px;
  width: auto;
  max-width: 420px;
  padding: 8px 16px;
  border-radius: 12px;
  object-fit: contain;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow:
    inset 0 0 0 1px rgba(214, 175, 99, 0.26),
    0 16px 44px rgba(0, 0, 0, 0.28);
  align-self: flex-start;
}

.site-footer strong {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  display: block;
  margin-bottom: 6px;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.footer-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  color: var(--muted-2);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ad15a, #1aa145);
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 22px 50px rgba(11, 118, 43, 0.42);
  transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 26px 60px rgba(11, 118, 43, 0.58);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
}

.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(42, 209, 90, 0.55);
  animation: waPulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(42, 209, 90, 0.55); transform: scale(1); }
  70%  { box-shadow: 0 0 0 26px rgba(42, 209, 90, 0); transform: scale(1.02); }
  100% { box-shadow: 0 0 0 0 rgba(42, 209, 90, 0); transform: scale(1); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .pillars-grid,
  .sector-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .two-column,
  .feature-grid,
  .value-grid,
  .mission-grid,
  .mission-grid.mission-grid-3 {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .mission-grid.mission-grid-3 > .mission-card:nth-child(1) { order: 1; }
  .mission-grid.mission-grid-3 > .mission-photo { order: 2; }
  .mission-grid.mission-grid-3 > .mission-card:nth-child(3) { order: 3; }

  .mission-photo {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .mission-photo img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    display: block;
  }
  .contact-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .trustbar-inner {
    grid-template-columns: 1fr;
  }

  .trustbar-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 16px;
  }

  .hero-chip-a,
  .hero-chip-b,
  .hero-chip-c {
    position: static;
    margin: 12px 0 0;
  }

  .hero-frame {
    margin-top: 8px;
  }

  .feature-grid-reverse {
    grid-template-columns: 1fr;
  }

  .card-photo-badge.wide {
    width: calc(100% - 40px);
    left: 20px;
    transform: none;
  }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 50px;
  }

  :target {
    scroll-margin-top: 50px;
  }

  :root { --container: 100%; }
  .container { width: min(calc(100% - 48px), 720px); padding-inline: 4px; }

  body > section:not(.hero) > .container > *:not(.card-surface):not(.card-photo):not(.sector-hero):not(.pillars-grid):not(.hero-metrics):not(.timeline):not(.sector-grid):not(.mission-grid):not(.footer-inner):not(.trustbar-inner):not(.floating-card):not(.contact-card):not(.hero-frame):not(.reveal) {
    padding-inline: 20px;
  }

  body p,
  body h1,
  body h2,
  body h3,
  body h4,
  body h5,
  body h6,
  body .eyebrow,
  body .serif-lg,
  body .display {
    padding-inline: 20px;
  }

  .card-surface p,
  .card-surface h1,
  .card-surface h2,
  .card-surface h3,
  .card-surface h4,
  .card-surface h5,
  .card-surface h6,
  .card-surface .eyebrow,
  .mission-card p,
  .mission-card h1,
  .mission-card h2,
  .mission-card h3,
  .mission-card h4,
  .mission-card .eyebrow,
  .sector-card p,
  .sector-card h1,
  .sector-card h2,
  .sector-card h3,
  .sector-card h4,
  .sector-card .eyebrow,
  .pillar p,
  .pillar h1,
  .pillar h2,
  .pillar h3,
  .pillar h4,
  .pillar .eyebrow,
  .value-panel p,
  .value-panel h1,
  .value-panel h2,
  .value-panel h3,
  .value-panel h4,
  .value-panel .eyebrow,
  .timeline-step p,
  .timeline-step h1,
  .timeline-step h2,
  .timeline-step h3,
  .timeline-step h4,
  .timeline-step .eyebrow,
  .contact-card p,
  .contact-card h1,
  .contact-card h2,
  .contact-card h3,
  .contact-card h4,
  .contact-card .eyebrow,
  .floating-card p,
  .floating-card h1,
  .floating-card h2,
  .floating-card h3,
  .floating-card h4,
  .floating-card .eyebrow,
  .footer-inner p,
  .footer-inner h1,
  .footer-inner h2,
  .footer-inner h3,
  .footer-inner h4,
  .footer-inner .eyebrow {
    padding-inline: 0;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand toggle" "nav nav";
    padding: 12px 0;
    gap: 10px 0;
    align-items: center;
  }

  .brand {
    justify-content: center;
    width: 100%;
    grid-area: brand;
  }

  .brand-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 160px;
  }

  .footer-logo {
    height: 68px;
    max-width: 360px;
  }

  .nav-toggle {
    display: inline-flex;
    grid-area: toggle;
  }

  .main-nav {
    grid-area: nav;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 0 10px;
    border-top: 1px solid rgba(214, 175, 99, 0.18);
    margin-top: 4px;
  }

  .main-nav.is-open {
    display: flex;
    animation: navFade .28s ease both;
  }

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

  .main-nav a {
    width: 100%;
    max-width: 360px;
    text-align: center;
    font-size: 1rem;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav a:not(.button)::after { display: none; }

  .main-nav a.mobile-full {
    width: 100%;
    max-width: 360px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-metrics,
  .pillars-grid,
  .sector-grid,
  .timeline,
  .trustbar-logos {
    grid-template-columns: 1fr;
  }

  .button,
  .button-secondary,
  .button-outline {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .contact-card {
    padding: 24px;
    border-radius: 24px;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-tags {
    justify-content: flex-start;
  }

  .section {
    padding: 48px 0;
  }

  .card-photo-badge {
    left: 20px;
    bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .aurora { animation: none; }
  .wa-pulse,
  .dot-pulse { animation: none; }
}
