/* ═══════════════════════════════════════════════
   REALCE · Soluciones Energéticas
   Brand: #043566 navy · #3F6320 green · #BF9440 gold
   Typography: Inter (400 500 600 700 800)
   ═══════════════════════════════════════════════ */

:root {
  --navy:       #043566;
  --navy-dark:  #022a52;
  --navy-mid:   #0e4a8a;
  --green:      #3F6320;
  --green-dark: #2e4a18;
  --gold:       #BF9440;
  --gold-dark:  #9e7932;
  --gold-light: #d4a84f;
  --ink:        #1A1A1A;
  --mid:        #555;
  --muted:      #888;
  --bg:         #FAFAF7;
  --bg-2:       #F3F0E9;
  --white:      #ffffff;
  --border:     rgba(4, 53, 102, 0.09);
  --border-2:   rgba(4, 53, 102, 0.18);
  --shadow-sm:  0 4px 20px -8px rgba(4, 53, 102, 0.14);
  --shadow:     0 16px 48px -18px rgba(4, 53, 102, 0.20);
  --shadow-lg:  0 28px 70px -22px rgba(4, 53, 102, 0.30);
  --radius:     18px;
  --radius-lg:  26px;
  --max:        1200px;
  --font:       'Inter', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Anchor targets clear the fixed nav */
.hero, section[id] { scroll-margin-top: 72px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
img { max-width: 100%; display: block; }
section { position: relative; z-index: 2; }

/* ── Animations ── */
@keyframes fadeUp  { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroCycle {
  0%   { opacity: 0; transform: scale(1.06); }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  30%  { opacity: 0; transform: scale(1.14); }
  100% { opacity: 0; transform: scale(1.14); }
}
@keyframes marquee  { to { transform: translateX(-50%); } }
@keyframes cue      { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes waPulse  { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; }
  .hero-slide:nth-child(1) { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(.22,.8,.22,1), transform 0.7s cubic-bezier(.22,.8,.22,1); }
.reveal.in { opacity: 1; transform: none; }

/* ── Layout helpers ── */
.section { max-width: var(--max); margin-inline: auto; padding: clamp(44px, 4.5vw, 68px) clamp(20px, 5vw, 48px); }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--navy); margin-bottom: 14px; }
.section-head p  { color: var(--mid); font-size: 1.06rem; line-height: 1.7; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 28px; border-radius: 100px; font-weight: 600; font-size: 0.98rem;
  font-family: var(--font); cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  letter-spacing: -0.01em;
}
.btn span { transition: transform 0.25s; }
.btn:hover span { transform: translateX(5px); }
.btn-primary {
  background: var(--gold); color: #fff;
  box-shadow: 0 10px 28px -8px rgba(191,148,64,0.6);
}
.btn-primary:hover { transform: translateY(-3px); background: var(--gold-dark); box-shadow: 0 16px 38px -8px rgba(191,148,64,0.72); }
.btn-ghost {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.35); color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.btn-outline-white {
  background: transparent; border-color: #fff; color: #fff;
}
.btn-outline-white:hover { background: #fff; color: var(--gold-dark); transform: translateY(-3px); }
.btn-navy {
  background: var(--navy); color: #fff;
  box-shadow: 0 10px 28px -8px rgba(4,53,102,0.48);
}
.btn-navy:hover { transform: translateY(-3px); background: var(--navy-dark); box-shadow: 0 16px 38px -8px rgba(4,53,102,0.6); }
.btn-block { width: 100%; justify-content: center; }

/* ══════════════════════════════════════
   HERO SLIDESHOW
══════════════════════════════════════ */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; will-change: opacity, transform;
  animation: heroCycle 32s infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 8s; }
.hero-slide:nth-child(3) { animation-delay: 16s; }
.hero-slide:nth-child(4) { animation-delay: 24s; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(2,24,58,0.95) 0%, rgba(2,24,58,0.75) 42%, rgba(2,24,58,0.28) 72%, rgba(2,24,58,0.5) 100%),
    linear-gradient(180deg, rgba(2,24,58,0.48) 0%, rgba(2,24,58,0.06) 38%, rgba(2,24,58,0.95) 100%);
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 4px 30px -10px rgba(4,53,102,0.14);
  padding: 18px clamp(20px, 4vw, 48px);
}
.brand { display: flex; align-items: center; }
.brand-logo {
  height: 40px; width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.4s;
}
.nav.scrolled .brand-logo { filter: none; }

.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.85); transition: color 0.2s; letter-spacing: 0.01em; }
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a { color: var(--mid); }
.nav.scrolled .nav-links a:hover { color: var(--navy); }

.admin-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 100px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.55);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.admin-pill:hover { color: #fff; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }
.nav.scrolled .admin-pill { color: var(--muted); border-color: var(--border-2); }
.nav.scrolled .admin-pill:hover { color: var(--navy); border-color: var(--navy); background: rgba(4,53,102,0.06); }

.nav-cta {
  padding: 10px 22px; border-radius: 100px; font-weight: 600; font-size: 0.88rem;
  background: var(--gold); color: var(--white);
  box-shadow: 0 8px 22px -8px rgba(191,148,64,0.6);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); background: var(--gold-dark); box-shadow: 0 14px 28px -8px rgba(191,148,64,0.72); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; margin-left: auto; }
.nav.scrolled .nav-toggle { color: var(--navy); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; overflow: hidden;
  padding: 130px clamp(20px, 6vw, 90px) 100px;
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max); width: 100%; margin-inline: auto; }
.hero-inner > * { max-width: 680px; }

.hero-h1 {
  font-size: clamp(2.8rem, 7.2vw, 5.4rem); font-weight: 800;
  color: #fff; line-height: 1.04;
  animation: fadeUp 0.8s both;
  margin-bottom: 24px;
}
.hero-accent { color: var(--gold-light); }
.lede {
  font-size: clamp(1.05rem, 1.9vw, 1.2rem); color: rgba(255,255,255,0.83);
  max-width: 540px; margin-bottom: 34px;
  animation: fadeUp 0.8s 0.1s both;
  line-height: 1.72;
}
.lede strong { color: var(--gold-light); font-weight: 700; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 0.8s 0.2s both; }
.hero-stats {
  display: flex; gap: 44px; margin-top: 56px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s both;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 30px;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stats span { font-size: 0.82rem; color: rgba(255,255,255,0.68); margin-top: 6px; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(rgba(255,255,255,0.65), transparent); animation: cue 2s ease-in-out infinite; }

/* ══════════════════════════════════════
   TRUST MARQUEE
══════════════════════════════════════ */
.trust { position: relative; z-index: 2; background: var(--navy); overflow: hidden; }
.marquee { padding: 14px 0; }
.marquee-track {
  display: flex; gap: 44px; white-space: nowrap;
  width: max-content; animation: marquee 32s linear infinite;
}
.marquee-track span { font-weight: 600; color: rgba(255,255,255,0.5); font-size: 0.85rem; letter-spacing: 0.05em; }
.marquee-track span::before { content: "◆ "; color: var(--gold); font-size: 0.55rem; vertical-align: middle; }

/* ══════════════════════════════════════
   QUIÉNES SOMOS
══════════════════════════════════════ */
.nosotros { background: var(--bg); }
.nosotros-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.nosotros-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); color: var(--navy); margin-bottom: 22px; }
.nosotros-copy p { color: var(--mid); font-size: 1.04rem; margin-bottom: 18px; line-height: 1.76; }
.nosotros-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.nosotros-pills span {
  padding: 7px 18px; border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  background: var(--white); color: var(--navy);
  border: 1px solid var(--border-2); letter-spacing: 0.02em;
}

.nosotros-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ns-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.ns-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ns-card b {
  display: block; font-size: 2.8rem; font-weight: 800;
  color: var(--navy); line-height: 1; margin-bottom: 8px; letter-spacing: -0.04em;
}
.ns-card span { font-size: 0.86rem; color: var(--mid); line-height: 1.45; }
.ns-card.highlight-gold b { color: var(--gold-dark); }
.ns-card.highlight-green b { color: var(--green); }

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services-sec { background: var(--white); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.card:hover { transform: translateY(-7px); border-color: var(--border-2); box-shadow: var(--shadow); }
.card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(2,18,42,0.38)); }
.card-ico {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 11px; background: rgba(255,255,255,0.97);
  color: var(--navy); box-shadow: 0 4px 14px rgba(2,18,42,0.28);
}
.card h3 { font-size: 1.2rem; color: var(--navy); margin: 20px 22px 10px; }
.card p  { color: var(--mid); font-size: 0.93rem; margin: 0 22px; line-height: 1.65; }
.card ul { list-style: none; margin: 14px 22px 24px; display: grid; gap: 7px; }
.card li { font-size: 0.84rem; color: var(--ink); padding-left: 18px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ══════════════════════════════════════
   VALORES — editorial list
══════════════════════════════════════ */
.valores-sec {
  background: var(--navy);
  position: relative; overflow: hidden;
}
.valores-sec::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 40%, rgba(63,99,32,0.22), transparent),
    radial-gradient(ellipse 50% 60% at 8% 80%, rgba(191,148,64,0.10), transparent);
  pointer-events: none;
}
.valores-inner { position: relative; z-index: 2; }
.valores-inner h2 {
  font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800;
  color: #fff; margin-bottom: 56px; letter-spacing: -0.03em;
}

.valores-list { display: grid; gap: 0; }
.valor-item {
  display: flex; align-items: flex-start; gap: 28px;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s;
}
.valor-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.valor-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-top: 3px;
}
.valor-body { flex: 1; }
.valor-body h3 { font-size: 1.28rem; color: var(--gold-light); font-weight: 700; margin-bottom: 7px; letter-spacing: -0.02em; }
.valor-body p { font-size: 0.96rem; color: rgba(255,255,255,0.62); line-height: 1.68; max-width: 680px; }

/* ══════════════════════════════════════
   VALORES — página independiente
══════════════════════════════════════ */
.valores-body { background: var(--navy); }
.nav-solid {
  position: sticky;
  background: var(--navy);
  box-shadow: 0 2px 24px -6px rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-solid .brand-logo { filter: brightness(0) invert(1); }
.nav-solid .nav-links a { color: rgba(255,255,255,0.85); }
.nav-solid .nav-links a:hover { color: #fff; }
.nav-solid .nav-toggle { color: #fff; }

.valores-page-head {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 48px) clamp(16px, 3vw, 28px);
  position: relative; z-index: 2;
}
.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.55); font-size: 0.85rem; font-weight: 600;
  margin-bottom: 26px; transition: color 0.2s;
}
.back-link:hover { color: var(--gold-light); }
.valores-page-head h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; color: #fff;
  margin-bottom: 16px; letter-spacing: -0.03em; line-height: 1.05;
}
.valores-page-head p {
  color: rgba(255,255,255,0.62); font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7; max-width: 620px;
}
/* Generic navy page header band (beneficios y otras subpáginas) */
.page-hero {
  background: var(--navy); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 82% 30%, rgba(63,99,32,0.22), transparent),
    radial-gradient(ellipse 50% 60% at 8% 90%, rgba(191,148,64,0.10), transparent);
  pointer-events: none;
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 48px) clamp(36px, 5vw, 56px);
}
.page-hero-inner h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; color: #fff;
  margin-bottom: 16px; letter-spacing: -0.03em; line-height: 1.05;
}
.page-hero-inner p {
  color: rgba(255,255,255,0.62); font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7; max-width: 620px;
}

.valores-standalone { padding-top: 0; }
.valores-standalone .valores-inner { padding-top: clamp(20px, 3vw, 36px); }
.valores-cta { margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); }

/* ══════════════════════════════════════
   VISIÓN / MISIÓN
══════════════════════════════════════ */
.vision-sec { background: var(--green); position: relative; overflow: hidden; }
.vision-sec::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(0,0,0,0.12), transparent);
}
.vision-inner { position: relative; z-index: 2; }
.vm-grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 52px; align-items: start; }
.vm-divider { background: rgba(255,255,255,0.22); }
.vm-item h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem); font-weight: 800;
  color: #fff; margin-bottom: 18px; line-height: 1.18; letter-spacing: -0.025em;
}
.vm-item p { font-size: 1rem; color: rgba(255,255,255,0.72); line-height: 1.76; margin-bottom: 22px; }
.vm-label {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: var(--gold-light);
  padding: 5px 14px; border-radius: 100px;
  background: rgba(191,148,64,0.18); border: 1px solid rgba(191,148,64,0.4);
}

/* ══════════════════════════════════════
   BENEFITS + SIMULATOR
══════════════════════════════════════ */
.benefits { background: var(--bg); }
.benefits-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.benefits-copy h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--navy); margin-bottom: 18px; }
.benefits-copy > p { color: var(--mid); margin-bottom: 32px; font-size: 1.04rem; line-height: 1.76; }
.benefits-copy strong { color: var(--navy); font-weight: 700; }
.benefit-rows { display: grid; gap: 20px; margin-bottom: 34px; }
.brow { display: flex; gap: 20px; align-items: center; }
.brow b { font-size: 2rem; font-weight: 800; color: var(--gold-dark); min-width: 72px; letter-spacing: -0.03em; }
.brow h4 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.brow p  { color: var(--mid); font-size: 0.87rem; }

.savings-card {
  background: var(--navy); border-radius: 22px; padding: 30px;
  box-shadow: var(--shadow-lg);
}
.sc-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.sc-head span { font-weight: 700; font-size: 1.08rem; color: #fff; }
.sc-head em    { font-style: normal; font-size: 0.7rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; }
.sc-label { display: block; font-size: 0.83rem; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 5px;
  border-radius: 100px; background: rgba(255,255,255,0.15); margin-top: 12px; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.38); cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); border: 3px solid #fff; cursor: pointer;
}
.sc-current { margin: 20px 0; font-size: 0.9rem; color: rgba(255,255,255,0.58); }
.sc-current b { color: #fff; font-size: 1.06rem; font-weight: 700; }
.sc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-result > div { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 16px; }
.sc-result span { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.48); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.06em; }
.sc-result b { font-size: 1.5rem; font-weight: 800; color: #fff; }
.sc-save { border-color: rgba(191,148,64,0.4) !important; background: rgba(191,148,64,0.1) !important; }
.sc-save b { color: var(--gold-light); }
.sc-year { text-align: center; margin: 18px 0 6px; font-size: 0.92rem; color: rgba(255,255,255,0.6); }
.sc-year b { color: var(--gold-light); font-size: 1.28rem; font-weight: 800; }
.sc-note { font-size: 0.68rem; color: rgba(255,255,255,0.38); text-align: center; line-height: 1.5; }

/* ══════════════════════════════════════
   COMBO: proceso (izq) + beneficios (der)
══════════════════════════════════════ */
.combo-sec { background: var(--bg); }
.combo-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.combo-proceso h2, .combo-beneficios h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--navy); margin-bottom: 30px; }
.combo-beneficios { display: flex; flex-direction: column; gap: 26px; }
.combo-beneficios .benefits-copy > p { color: var(--mid); font-size: 1rem; line-height: 1.72; margin-bottom: 26px; }
.combo-beneficios .benefits-copy strong { color: var(--navy); font-weight: 700; }
.combo-beneficios .benefit-rows { margin-bottom: 0; }

.proceso-timeline { list-style: none; display: flex; flex-direction: column; }
.pt-item { display: flex; gap: 18px; padding-bottom: 30px; position: relative; }
.pt-item:last-child { padding-bottom: 0; }
.pt-item:not(:last-child)::before {
  content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px;
  width: 2px; background: var(--border-2);
}
.pt-num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem; position: relative; z-index: 1;
}
.pt-num-gold { background: var(--gold); }
.pt-body h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 5px; }
.pt-body p { color: var(--mid); font-size: 0.93rem; line-height: 1.62; }

@media (max-width: 900px) {
  .combo-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ══════════════════════════════════════
   PROCESS
══════════════════════════════════════ */
.proceso-sec { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.step:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
.step-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.step-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s; }
.step:hover .step-img img { transform: scale(1.06); }
.step-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 42%, rgba(2,18,42,0.74)); }
.step-n {
  position: absolute; left: 14px; bottom: 9px; z-index: 2;
  font-size: 2rem; font-weight: 800; color: #fff; line-height: 1;
}
.step-n::after { content: ""; position: absolute; left: 2px; bottom: -5px; width: 24px; height: 3px; border-radius: 3px; background: var(--gold); }
.step h3 { font-size: 1.15rem; color: var(--navy); margin: 20px 20px 8px; }
.step p  { color: var(--mid); font-size: 0.9rem; margin: 0 20px 22px; line-height: 1.62; }

/* ══════════════════════════════════════
   GALLERY
══════════════════════════════════════ */
.projects { background: var(--bg); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.g-item { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.g-item:hover img { transform: scale(1.07); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(2,18,42,0.88));
}
.g-item figcaption b { display: block; font-size: 0.93rem; color: #fff; font-weight: 700; margin-bottom: 2px; }
.g-item figcaption span { font-size: 0.76rem; color: rgba(255,255,255,0.62); }

/* ══════════════════════════════════════
   VIDEO PLAYER — full-bleed, autoplay
══════════════════════════════════════ */
.videos-sec { background: #000; }
.video-shell { position: relative; width: 100%; }
.video-empty {
  width: 100%; height: 65vh; min-height: 380px;
  background: #060e1c;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: rgba(255,255,255,0.45);
}
.video-empty svg { color: rgba(255,255,255,0.2); }
.video-empty p { font-size: 1.05rem; }
.video-empty a { color: var(--gold-light); font-weight: 600; font-size: 0.9rem; }
#mainVideo {
  width: 100%; height: 65vh; min-height: 380px;
  object-fit: cover; display: block; background: #000;
}
.video-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 80px 28px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.video-title-chip {
  font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
}
.video-dots { display: flex; gap: 7px; pointer-events: all; }
.vdot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.3); border: 0; cursor: pointer;
  transition: background 0.2s, transform 0.2s; padding: 0;
}
.vdot.active { background: var(--gold); transform: scale(1.35); }
.videos-ig-link {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px; background: #000;
  color: rgba(255,255,255,0.38); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.2s;
}
.videos-ig-link:hover { color: var(--gold-light); }
@media (max-width: 640px) {
  #mainVideo, .video-empty { height: 50vh; min-height: 280px; }
}

/* ══════════════════════════════════════
   REVIEWS — carrusel + CTA
══════════════════════════════════════ */
.reviews-sec {
  background: var(--bg);
  padding: clamp(44px, 5.5vw, 72px) clamp(20px, 5vw, 48px);
}
.reviews-inner { max-width: var(--max); margin: 0 auto; }

.reviews-head { text-align: center; margin-bottom: 40px; }
.reviews-google {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; color: var(--mid);
  letter-spacing: 0.02em; margin-bottom: 12px;
  padding: 6px 14px; border: 1px solid var(--border-2); border-radius: 100px;
  background: var(--white);
}
.reviews-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); color: var(--navy); letter-spacing: -0.025em; }

/* Carousel */
.reviews-carousel {
  display: flex; align-items: center; gap: 16px;
  max-width: 760px; margin: 0 auto;
}
.rc-viewport { flex: 1; overflow: hidden; }
.rc-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(.22,.8,.22,1);
}
.rcard {
  flex: 0 0 100%; box-sizing: border-box;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 42px);
  box-shadow: var(--shadow); position: relative;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 260px;
}
.rcard-quote {
  position: absolute; top: 8px; right: 26px;
  font-size: 5rem; line-height: 1; color: var(--gold);
  opacity: 0.18; font-family: Georgia, serif; pointer-events: none;
}
.rcard-stars { display: flex; gap: 3px; }
.rcard-text {
  color: var(--ink); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.75;
  flex: 1; font-weight: 400;
}
.rcard-author { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.rcard-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.15rem; flex-shrink: 0;
}
.rcard-meta { display: flex; flex-direction: column; gap: 2px; }
.rcard-meta strong { font-size: 0.98rem; color: var(--navy); }
.rcard-meta span { font-size: 0.8rem; color: var(--muted); }

.rc-arrow {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border-2); color: var(--navy);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: background 0.2s, transform 0.2s, color 0.2s;
}
.rc-arrow:hover { background: var(--navy); color: #fff; transform: scale(1.06); }

.rc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.rc-dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  background: var(--border-2); border: 0; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.rc-dot.active { background: var(--gold); transform: scale(1.35); }

/* CTA block */
.review-cta-block { text-align: center; margin-top: clamp(48px, 7vw, 80px); }
.review-stars-row {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin-bottom: 18px;
}
.review-cta-block h3 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--navy);
  margin-bottom: 14px; letter-spacing: -0.025em;
}
.review-cta-block > p {
  color: var(--mid); font-size: 1.04rem; line-height: 1.72;
  margin: 0 auto 28px; max-width: 520px;
}
.review-cta-btn { font-size: 1rem; padding: 16px 28px; }

@media (max-width: 560px) {
  .reviews-carousel { gap: 8px; }
  .rc-arrow { width: 40px; height: 40px; }
}

/* ══════════════════════════════════════
   REFERRAL
══════════════════════════════════════ */
.referral { background: var(--gold); }
.referral-inner {
  max-width: var(--max); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(44px, 7vw, 68px) clamp(20px, 5vw, 56px);
}
.referral-inner h3 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); color: #fff; margin-bottom: 12px; letter-spacing: -0.025em; }
.referral-inner p  { color: rgba(255,255,255,0.80); max-width: 500px; font-size: 1rem; line-height: 1.65; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact { background: var(--bg); }
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.contact-copy { padding: clamp(32px, 5vw, 54px); background: var(--navy); }
.contact-copy h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin-bottom: 16px; }
.contact-copy > p  { color: rgba(255,255,255,0.68); margin-bottom: 28px; line-height: 1.72; }
.contact-info { list-style: none; display: grid; gap: 14px; margin-bottom: 30px; }
.contact-info li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.93rem; color: rgba(255,255,255,0.78);
}
.contact-info li svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.contact-phone-link { color: inherit; transition: color 0.2s; }
.contact-phone-link:hover { color: var(--gold-light); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.soc { padding: 9px 20px; border-radius: 100px; font-weight: 600; font-size: 0.87rem; border: 1px solid; transition: transform 0.2s, background 0.2s; }
.soc:hover { transform: translateY(-2px); }
.soc.wa { background: rgba(37,211,102,0.12); border-color: rgba(37,211,102,0.38); color: #4ee585; }
.soc.ig { background: rgba(225,48,108,0.12); border-color: rgba(225,48,108,0.38); color: #ff7eb0; }
.soc.fb { background: rgba(66,103,178,0.12); border-color: rgba(66,103,178,0.38); color: #7fa4ee; }

.contact-form { padding: clamp(32px, 5vw, 54px); background: var(--white); display: grid; gap: 14px; align-content: start; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.78rem; color: var(--mid); font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1.5px solid var(--border-2);
  border-radius: 12px; padding: 13px 15px;
  color: var(--ink); font-family: var(--font); font-size: 0.95rem; resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(191,148,64,0.14);
}
.field select option { background: var(--white); }
.bill-upload {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 13px 15px; border: 1.5px dashed var(--border-2); border-radius: 12px;
  background: var(--bg); font-size: 0.92rem; color: var(--mid);
  transition: border-color 0.2s, background 0.2s;
}
.bill-upload:hover { border-color: var(--gold); background: #fffdf7; }
.bill-upload svg { color: var(--gold); flex-shrink: 0; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--navy-dark); padding: 58px clamp(20px, 5vw, 48px) 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.foot-grid {
  max-width: var(--max); margin-inline: auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px;
  margin-bottom: 40px;
}
.foot-logo { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.88; }
.foot-tag { color: rgba(255,255,255,0.48); font-size: 0.87rem; margin-top: 16px; max-width: 300px; line-height: 1.68; }
.footer h4 { font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold-light); font-weight: 700; margin-bottom: 16px; }
.foot-grid a { display: block; color: rgba(255,255,255,0.52); font-size: 0.88rem; margin-bottom: 10px; transition: color 0.2s; }
.foot-grid a:hover { color: #fff; }
.foot-bottom {
  max-width: var(--max); margin-inline: auto;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.78rem; color: rgba(255,255,255,0.35);
}

/* ══════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(37,211,102,0.6);
  animation: waPulse 3s infinite; transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .nosotros-grid { grid-template-columns: 1fr; gap: 40px; }
  .nosotros-stats { max-width: 480px; }
  .vm-grid { grid-template-columns: 1fr; gap: 32px; }
  .vm-divider { display: none; }
}
@media (max-width: 940px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-wide { grid-column: span 2; }
  .contact-card { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .referral-inner { flex-direction: column; align-items: flex-start; }
  .valores-list { gap: 0; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed; inset: 0 0 auto; top: 64px;
    flex-direction: column; background: rgba(255,255,255,0.99);
    backdrop-filter: blur(18px); padding: 20px 24px; gap: 4px;
    transform: translateY(-160%); transition: transform 0.35s;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(4,53,102,0.08);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { color: var(--mid) !important; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .cards, .steps, .gallery { grid-template-columns: 1fr; }
  .nosotros-stats { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .g-tall, .g-wide { grid-row: auto; grid-column: auto; }
  .nav-links { top: 70px; }
  .hero { padding-top: 104px; padding-bottom: 72px; }
  .hero-stats { gap: 24px; padding-top: 22px; margin-top: 38px; }
  .hero-stats b { font-size: 1.9rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .sc-result { grid-template-columns: 1fr; }
  .valor-item { gap: 18px; }

  /* Full-width, comfortable tap targets for hero CTAs */
  .hero-actions { width: 100%; gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }

  /* 16px inputs prevent iOS from zooming on focus */
  .field input, .field select, .field textarea,
  .bill-upload { font-size: 16px; }

  /* Contact panel: a touch more breathing room, tidy wrapping */
  .contact-info li { font-size: 0.9rem; }
  .contact-copy, .contact-form { padding: 28px 22px; }
}
