/* ============================================
   Foco Consorcios — estilos
   ============================================ */

:root {
  --bg: #eceef0;
  --bg-soft: #f5f6f7;
  --ink: #0d1013;
  --ink-soft: #3d4750;
  --navy: #132d39;
  --navy-soft: #1c3f4e;
  --mint: #4fce9f;
  --mint-light: #7bdcb8;
  --teal: #0aaab5;
  --white: #ffffff;
  --line: rgba(19, 45, 57, 0.12);

  --grad-brand: linear-gradient(135deg, #7bdcb8 0%, #4fce9f 32%, #17b8b0 68%, #0aaab5 100%);
  --grad-navy: linear-gradient(160deg, #16333f 0%, #0e232c 100%);

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;

  --container: 1160px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 50px -20px rgba(13, 16, 19, 0.25);
  --shadow-card: 0 12px 30px -14px rgba(13, 16, 19, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(79, 206, 159, 0.25);
}

.section-tag {
  text-align: center;
  margin: 0 auto 16px;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.section-intro p {
  color: var(--ink-soft);
  font-size: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15.5px;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(10, 170, 181, 0.55);
}
.btn-primary:hover { background: #089099; box-shadow: 0 14px 30px -10px rgba(10, 170, 181, 0.6); }

.btn-mint {
  background: var(--mint);
  color: #06251c;
  box-shadow: 0 10px 24px -10px rgba(79, 206, 159, 0.6);
}
.btn-mint:hover { background: var(--mint-light); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { background: #f0f7f5; }

.btn-sm { padding: 11px 20px; font-size: 14px; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.logo-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.05;
  color: var(--ink);
}
.logo-word span { display: block; }
.logo-light .logo-word { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #eceef0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(13, 16, 19, 0.3);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle::before { transform: translateY(-6px); }
.nav-toggle::after { transform: translateY(4px); }
.nav-toggle.is-open::before { transform: translateY(0) rotate(45deg); }
.nav-toggle.is-open::after { transform: translateY(-2px) rotate(-45deg); }
.nav-toggle.is-open span { opacity: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 60px;
}
.hero-rings {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 900px;
  height: 900px;
  pointer-events: none;
  z-index: 0;
}
.hero-rings svg { width: 100%; height: 100%; }

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 { font-size: clamp(34px, 4.4vw, 54px); margin: 18px 0 20px; }
.hero-copy .accent { color: var(--teal); }
.hero-copy p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px 9px 10px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--ink-soft);
}
.pill-badge .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pill-badge .dot svg { width: 13px; height: 13px; stroke: #fff; }

.hero-visual { position: relative; }
.hero-visual-frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
}
.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(19, 45, 57, 0) 55%, rgba(11, 26, 33, 0.55) 100%);
}
.hero-float-card {
  position: absolute;
  left: -34px;
  bottom: 34px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 216px;
}
.hero-float-row {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border-radius: 13px;
  padding: 9px 13px;
  box-shadow: var(--shadow-card);
}
.hero-float-row:nth-child(2) { margin-left: 14px; }
.hero-float-row:nth-child(3) { margin-left: 28px; }
.hero-float-card .icon {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float-card .icon svg { width: 14px; height: 14px; stroke: var(--mint); }
.hero-float-card strong {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}


/* ---------- Logos / clients strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 42px;
  align-items: center;
  justify-content: center;
  padding: 26px 24px;
}
.trust-strip .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: center;
}
.trust-strip .item svg { width: 18px; height: 18px; stroke: var(--teal); flex-shrink: 0; }

/* ---------- Qué nos distingue ---------- */
.distingue {
  position: relative;
  padding: 64px 0 160px;
  background: var(--grad-brand);
  color: var(--navy);
  overflow: hidden;
}
.distingue::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.28), transparent 45%);
  pointer-events: none;
}
.distingue .section-tag .eyebrow { color: var(--navy); }
.distingue .section-tag .eyebrow::before { background: var(--navy); box-shadow: 0 0 0 4px rgba(19,45,57,0.18); }
.distingue h2 { color: var(--navy); font-size: clamp(30px, 4vw, 44px); text-align: center; margin-bottom: 14px; }
.distingue .section-intro p { color: rgba(19,45,57,0.78); }

.feature-grid {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: 0 30px 60px -30px rgba(11, 30, 38, 0.4);
  transition: transform 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); }
.feature-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature-card .icon svg { width: 26px; height: 26px; stroke: var(--mint); }
.feature-card h3 { font-size: 21px; margin-bottom: 12px; }
.feature-card p { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 10px; }
.feature-card p:last-child { margin-bottom: 0; }

.distingue-photo-wrap {
  position: absolute;
  left: 50%;
  bottom: -120px;
  transform: translateX(-50%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid var(--navy);
  box-shadow: 0 30px 60px -20px rgba(11, 30, 38, 0.5);
  z-index: 2;
}
.distingue-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Propuesta de gestión ---------- */
.propuesta {
  padding: 128px 0 110px;
  background: var(--bg);
}
.propuesta h2 { text-align: center; font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }

.checklist-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.checklist-item {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.checklist-item:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.checklist-item .check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.checklist-item .check svg { width: 16px; height: 16px; stroke: #fff; }
.checklist-item p { margin: 0; font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }
.checklist-item strong { color: var(--ink); }

.propuesta-note {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* ---------- Credencial / banda con foto ---------- */
.credencial {
  position: relative;
  padding: 130px 0;
  color: var(--white);
  overflow: hidden;
}
.credencial-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.credencial-bg img { width: 100%; height: 100%; object-fit: cover; }
.credencial-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10,22,28,0.94) 30%, rgba(10,22,28,0.72) 65%, rgba(10,52,58,0.55) 100%);
}
.credencial .container { position: relative; z-index: 1; max-width: 760px; }
.credencial .eyebrow { color: var(--mint-light); }
.credencial .eyebrow::before { background: var(--mint-light); }
.credencial h2 { color: var(--white); font-size: clamp(28px, 3.6vw, 40px); margin: 16px 0 22px; }
.credencial p.lead { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 620px; margin-bottom: 34px; }

.credencial-person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.credencial-person .avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  flex-shrink: 0;
}
.credencial-person strong { display: block; font-family: var(--font-head); font-size: 16px; }
.credencial-person span { font-size: 13.5px; color: rgba(255,255,255,0.7); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0e232c;
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-about p { max-width: 320px; font-size: 14.5px; margin-top: 14px; color: rgba(255,255,255,0.6); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 14.5px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--mint-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.65);
  z-index: 90;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .checklist-grid { grid-template-columns: 1fr; }
  .distingue { padding: 56px 0 190px; }
  .footer-cols { gap: 40px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm.btn-primary { display: none; }
  body.nav-open .mobile-nav { display: flex; }
  .hero { padding: 40px 0 48px; }
  .hero-float-card { left: 12px; right: 12px; bottom: -24px; max-width: none; }
  .credencial { padding: 90px 0; }
  .footer-top { flex-direction: column; }
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 78px 0 0 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  padding: 24px;
  gap: 4px;
  overflow-y: auto;
}
.mobile-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  padding: 16px 6px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 20px; }
