:root {
  --navy: #1b2a4a;
  --graphite: #2b2b2b;
  --gold: #3a6b58;
  --ink: #2b2b2b;
  --muted: #5b6472;
  --border: #e4e8ef;
  --secondary: #f4f6f9;
  --white: #fff;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', 'Trebuchet MS', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.container { width: min(1152px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; color: var(--white); background: rgba(27, 42, 74, .96); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; line-height: 1.1; letter-spacing: .02em; }
.brand small { display: block; margin-top: 3px; color: rgba(255,255,255,.6); font-size: 11px; font-weight: 400; letter-spacing: 0; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; color: var(--white); background: var(--gold); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; gap: 32px; margin-left: auto; }
.main-nav a { color: rgba(255,255,255,.7); font-size: 14px; font-weight: 600; transition: color .2s; }
.main-nav a:hover { color: var(--white); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 8px 14px; border: 0; border-radius: 7px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-1px); }
.button-gold { color: var(--white); background: var(--gold); }
.button-gold:hover { background: #2f5949; }
.button-navy { color: var(--white); background: var(--navy); }
.button-navy:hover { background: #263b66; }
.button-large { min-height: 44px; padding: 11px 17px; }
.menu-toggle { display: none; color: var(--white); background: none; border: 0; font-size: 24px; cursor: pointer; }
.hero { position: relative; overflow: hidden; min-height: 510px; color: var(--white); background: var(--navy); }
.hero-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,42,74,.98) 0%, rgba(27,42,74,.93) 48%, rgba(27,42,74,.68) 100%), url('public/barrio-privado-hero.png') center/cover; }
.hero-content { position: relative; display: flex; align-items: center; min-height: 510px; padding: 80px 16px; }
.hero-copy { max-width: 700px; }
.eyebrow, .kicker { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.06); text-transform: none; letter-spacing: 0; }
.icon { color: #80b39a; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin: 22px 0 0; font-family: var(--serif); font-size: clamp(38px, 5vw, 62px); line-height: 1.08; letter-spacing: -.02em; }
.hero-copy > p { max-width: 610px; margin: 24px 0 0; color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.7; }
.hero-copy .button { margin-top: 36px; }
.stats-section { border-bottom: 1px solid var(--border); background: var(--secondary); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 32px 16px; }
.stat { display: flex; align-items: flex-start; gap: 14px; padding: 12px 8px; }
.stat-icon, .pillar-icon, .feature-icon { display: grid; flex: 0 0 auto; place-items: center; }
.stat-icon { width: 44px; height: 44px; color: var(--gold); border-radius: 8px; background: rgba(58,107,88,.08); font-size: 22px; }
.stat strong { display: block; color: var(--gold); font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.stat div span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.section { padding: 80px 0; }
.pillars-section { background: linear-gradient(110deg, rgba(20,35,54,.78), rgba(20,35,54,.68)), url('public/edificio.jpg') center 48% / cover; }
.section-heading { max-width: 720px; margin: 0 auto; text-align: center; }
.section-heading h2, .differentiators-section h2 { margin: 10px 0 0; color: var(--navy); font-family: var(--serif); font-size: clamp(32px, 4vw, 44px); line-height: 1.15; }
.pillars-section .section-heading h2 { color: var(--white); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.pillar { min-height: 250px; padding: 30px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); box-shadow: 0 2px 10px rgba(27,42,74,.04); transition: box-shadow .2s, transform .2s; }
.pillar:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(27,42,74,.1); }
.pillar-icon { width: 48px; height: 48px; color: var(--white); border-radius: 8px; background: var(--navy); font-size: 22px; }
.pillar-icon svg { width: 20px; height: 20px; }
.pillar h3 { margin: 22px 0 10px; color: var(--navy); font-size: 18px; }
.pillar p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.pillar::after { content: ''; display: block; width: 40px; height: 4px; margin-top: 22px; border-radius: 99px; background: var(--gold); transition: width .2s; }
.pillar:hover::after { width: 64px; }
.differentiators-section { color: var(--white); background: var(--navy); }
.differentiators-section h2 { color: var(--white); }
.differentiators-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.intro-copy { max-width: 560px; margin: 18px 0 0; color: rgba(255,255,255,.7); line-height: 1.7; }
.differentiators-list { display: grid; gap: 28px; margin: 38px 0 0; padding: 0; list-style: none; }
.differentiators-list li { display: flex; gap: 16px; }
.feature-icon { width: 44px; height: 44px; color: #8bbba3; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: rgba(255,255,255,.05); font-size: 20px; }
.differentiators-list h3 { margin: 0; font-size: 16px; }
.differentiators-list p { margin: 5px 0 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.6; }
.differentiators-image { aspect-ratio: 4 / 3; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: url('public/barrio-club-house.png') center/cover; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.contact-section { background: var(--secondary); }
.contact-container { max-width: 768px; }
.section-heading > p:last-child { margin: 16px auto 0; max-width: 650px; color: var(--muted); line-height: 1.7; }
.contact-card { margin-top: 48px; padding: 40px; border: 1px solid var(--border); border-radius: 16px; background: var(--white); box-shadow: 0 2px 10px rgba(27,42,74,.04); }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; color: var(--navy); font-size: 14px; font-weight: 700; }
.field input, .field select { width: 100%; min-height: 43px; padding: 10px 14px; color: var(--ink); border: 1px solid var(--border); border-radius: 6px; background: var(--white); font: inherit; font-size: 14px; outline: none; }
.field input:focus, .field select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,42,74,.12); }
.field input::placeholder { color: #8b94a2; }
.success-message { padding: 40px 10px; text-align: center; }
.success-icon { display: grid; width: 48px; height: 48px; margin: 0 auto; place-items: center; color: var(--gold); border: 2px solid var(--gold); border-radius: 50%; font-size: 28px; }
.success-message h3 { margin: 16px 0 8px; color: var(--navy); font-size: 21px; }
.success-message p { max-width: 440px; margin: 0 auto; color: var(--muted); font-size: 14px; }
.site-footer { color: var(--white); background: var(--graphite); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 56px 16px; }
.footer-brand small { color: rgba(255,255,255,.5); }
.footer-grid > div > p { max-width: 300px; margin: 16px 0 0; color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.7; }
.footer-grid h3 { margin: 2px 0 16px; color: rgba(255,255,255,.8); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.footer-list { display: grid; gap: 12px; margin: 0; padding: 0; color: rgba(255,255,255,.6); font-size: 14px; list-style: none; }
.institutional-note { display: flex; gap: 12px; padding: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(255,255,255,.05); color: #8bbba3; }
.institutional-note p { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.6; }
.copyright { padding: 24px 16px; color: rgba(255,255,255,.4); border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; text-align: center; }
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 20; display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; color: var(--white); border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: var(--gold); box-shadow: 0 10px 28px rgba(19,38,31,.24), 0 2px 6px rgba(0,0,0,.12); transition: transform .2s, background .2s, box-shadow .2s; }
.whatsapp-float:hover { transform: translateY(-2px); background: #2f5949; box-shadow: 0 13px 32px rgba(19,38,31,.3), 0 3px 8px rgba(0,0,0,.14); }
.whatsapp-float:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; box-shadow: 0 0 0 6px var(--navy), 0 10px 28px rgba(19,38,31,.24); }
.whatsapp-float svg { width: 24px; height: 24px; flex: 0 0 auto; fill: currentColor; }
.whatsapp-label { font-size: 14px; font-weight: 700; line-height: 1; }

@media (max-width: 800px) {
  .main-nav { display: none; position: absolute; top: 64px; right: 16px; left: 16px; flex-direction: column; gap: 0; padding: 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: var(--navy); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .stats-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .differentiators-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1152px); }
  .section, .hero-content { padding-top: 64px; padding-bottom: 64px; }
  .hero-content, .hero { min-height: 0; }
  h1 { font-size: 40px; }
  .stats-grid, .pillars-grid, .contact-form, .footer-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .contact-card { padding: 24px 18px; }
  .field-full { grid-column: auto; }
  .contact-form .field-full:last-child { grid-column: auto; }
  .contact-form .button { width: 100%; }
  .whatsapp-float { right: 16px; bottom: 16px; min-height: 50px; padding: 0 15px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
}
