/* Enrique Rodríguez y Asociados - Custom styles */
:root{
  --navy:#0b2545; --navy-deep:#061a36; --gold:#c8a45c; --gold-soft:#d9bc7a;
  --surface:#f8f9fa; --ink:#2d3748; --border:#e6e8ec;
}
*{box-sizing:border-box;border-color:var(--border)}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:'Inter',system-ui,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.5}
h1,h2,h3{font-family:'Cormorant Garamond',Georgia,serif;letter-spacing:-.01em;margin:0}
a{color:inherit;text-decoration:none}
img,video{display:block;max-width:100%}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
input,select,textarea{font:inherit}

/* color helpers */
.text-navy{color:var(--navy)} .text-gold{color:var(--gold)} .text-white{color:#fff}
.bg-navy{background:var(--navy)} .bg-navy-deep{background:var(--navy-deep)}
.bg-gold{background:var(--gold)} .bg-surface{background:var(--surface)} .bg-white{background:#fff}
.border-gold{border-color:var(--gold)} .border-border{border-color:var(--border)}

.eyebrow{text-transform:uppercase;letter-spacing:.25em;font-size:.75rem;color:var(--gold);font-weight:600}
.section-title{font-family:'Cormorant Garamond',serif;font-size:clamp(1.875rem,3.2vw,2.75rem);color:var(--navy);font-weight:600;line-height:1.15}

.btn-gold{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:linear-gradient(135deg,var(--gold) 0%,var(--gold-soft) 100%);color:#1a1a1a;font-weight:600;padding:.95rem 1.75rem;border-radius:.5rem;box-shadow:0 10px 25px -10px rgba(200,164,92,.6);transition:transform .25s,box-shadow .25s,filter .25s;letter-spacing:.02em}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 18px 35px -10px rgba(200,164,92,.7);filter:brightness(1.05)}
.btn-outline-light{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:1.5px solid rgba(255,255,255,.85);color:#fff;font-weight:500;padding:.95rem 1.75rem;border-radius:.5rem;transition:all .25s}
.btn-outline-light:hover{background:rgba(255,255,255,.12);border-color:var(--gold);color:var(--gold-soft)}

/* layout helpers */
.container{max-width:80rem;margin:0 auto;padding:0 1.5rem}
.container-sm{max-width:64rem;margin:0 auto;padding:0 1.5rem}
.container-xs{max-width:48rem;margin:0 auto;padding:0 1.5rem}
.section{padding:6rem 0}
.section-sm{padding:5rem 0}
.text-center{text-align:center}
.grid{display:grid;gap:1.5rem}
.flex{display:flex} .items-center{align-items:center} .items-start{align-items:flex-start}
.justify-center{justify-content:center} .justify-between{justify-content:space-between}
.gap-2{gap:.5rem} .gap-3{gap:.75rem} .gap-4{gap:1rem} .gap-5{gap:1.25rem} .gap-6{gap:1.5rem} .gap-8{gap:2rem} .gap-10{gap:2.5rem}
.flex-col{flex-direction:column} .flex-wrap{flex-wrap:wrap}
.relative{position:relative} .absolute{position:absolute} .fixed{position:fixed} .sticky{position:sticky}
.inset-0{inset:0} .top-0{top:0}
.z-50{z-index:50} .z-10{z-index:10}
.w-full{width:100%} .h-full{height:100%}
.rounded{border-radius:.5rem} .rounded-lg{border-radius:.75rem} .rounded-xl{border-radius:1rem} .rounded-2xl{border-radius:1.25rem} .rounded-full{border-radius:9999px}
.overflow-hidden{overflow:hidden}
.shadow{box-shadow:0 4px 12px rgba(0,0,0,.05)} .shadow-lg{box-shadow:0 15px 35px -10px rgba(0,0,0,.18)} .shadow-2xl{box-shadow:0 25px 60px -20px rgba(11,37,69,.4)}

/* header */
header.site-header{position:fixed;top:0;left:0;right:0;z-index:50;transition:all .35s ease;background:transparent}
header.site-header.scrolled{background:rgba(255,255,255,.85);backdrop-filter:saturate(180%) blur(14px);-webkit-backdrop-filter:saturate(180%) blur(14px);box-shadow:0 6px 20px rgba(11,37,69,.08)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:1.1rem 1.5rem;max-width:80rem;margin:0 auto;transition:padding .3s}
header.site-header.scrolled .header-inner{padding:.65rem 1.5rem}
.brand{display:flex;align-items:center;gap:.75rem}
.brand img{height:48px;width:auto;transition:height .3s}
header.site-header.scrolled .brand img{height:40px}
.nav-links{display:none;gap:1.75rem}
.nav-links a{font-size:.9rem;font-weight:500;color:var(--navy);transition:color .2s}
.nav-links a:hover{color:var(--gold)}
.nav-cta{display:none}
.nav-toggle{display:inline-flex;padding:.5rem;color:var(--navy)}
.mobile-menu{display:none;background:#fff;border-top:1px solid var(--border)}
.mobile-menu.open{display:block}
.mobile-menu .inner{display:flex;flex-direction:column;gap:.5rem;padding:1rem 1.5rem}
.mobile-menu a{padding:.75rem 0;color:var(--navy);font-weight:500;border-bottom:1px solid var(--border)}

@media (min-width:1024px){.nav-links{display:flex}.nav-toggle{display:none}}
@media (min-width:768px){.nav-cta{display:inline-flex;padding:.6rem 1rem;font-size:.85rem}}

/* hero */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;text-align:center}
.hero video,.hero .poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero .overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(6,26,54,.85) 0%,rgba(11,37,69,.7) 50%,rgba(6,26,54,.9) 100%)}
.hero .glow{position:absolute;inset:0;opacity:.2;mix-blend-mode:overlay;background:radial-gradient(circle at 25% 30%,rgba(200,164,92,.4),transparent 50%)}
.hero .content{position:relative;z-index:10;max-width:64rem;padding:6rem 1.5rem 4rem}
.hero h1{font-size:clamp(2.2rem,5.5vw,4.5rem);font-weight:600;line-height:1.1;margin:1.25rem 0}
.hero h2{font-family:'Inter',sans-serif;font-size:clamp(1rem,1.5vw,1.25rem);color:rgba(255,255,255,.85);max-width:50rem;margin:0 auto 2.5rem;font-weight:400;line-height:1.6}
.hero .ctas{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}
.scroll-arrow{position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.6);animation:floaty 4s ease-in-out infinite}

/* section heads */
.sec-head{text-align:center;max-width:48rem;margin:0 auto 3.5rem}
.sec-head p{font-size:1.1rem;color:rgba(45,55,72,.78);line-height:1.7;margin:1rem 0 0}

/* cards */
.cards-3{grid-template-columns:1fr}
.cards-2{grid-template-columns:1fr}
@media (min-width:768px){.cards-2{grid-template-columns:1fr 1fr}.cards-3{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1024px){.cards-3-md{grid-template-columns:repeat(3,1fr)}}
.areas-grid{grid-template-columns:1fr}
@media (min-width:640px){.areas-grid{grid-template-columns:1fr 1fr}}
@media (min-width:1024px){.areas-grid{grid-template-columns:repeat(3,1fr)}}

.card{background:#fff;padding:2rem;border-radius:.85rem;border:1px solid var(--border);transition:transform .5s cubic-bezier(.22,1,.36,1),box-shadow .5s,border-color .3s;height:100%}
.card:hover{transform:translateY(-8px);box-shadow:0 25px 50px -20px rgba(11,37,69,.25);border-color:var(--gold)}
.card h3{font-size:1.45rem;color:var(--navy);font-weight:600;margin:0 0 .75rem}
.card p{color:rgba(45,55,72,.78);line-height:1.65;margin:0;font-size:.95rem}
.icon-circle{width:3.5rem;height:3.5rem;border-radius:9999px;background:rgba(200,164,92,.12);display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem;transition:all .3s}
.card:hover .icon-circle{background:rgba(200,164,92,.22);transform:scale(1.08)}
.icon-circle svg{width:28px;height:28px;color:var(--gold)}
.icon-square{width:3rem;height:3rem;border-radius:.6rem;background:rgba(11,37,69,.06);display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem;transition:all .3s}
.icon-square svg{width:24px;height:24px;color:var(--navy);transition:color .3s}
.card:hover .icon-square{background:rgba(200,164,92,.16);transform:rotate(6deg)} .card:hover .icon-square svg{color:var(--gold)}

/* stats */
.stats{padding:5rem 0;position:relative;overflow:hidden;color:#fff}
.bg-pan-navy{background:linear-gradient(120deg,#061a36 0%,#0b2545 30%,#102f5a 50%,#0b2545 70%,#061a36 100%);background-size:300% 300%;animation:bgPan 18s ease infinite}
.stats .deco{position:absolute;inset:0;opacity:.2;background:radial-gradient(circle at 20% 50%,var(--gold),transparent 40%),radial-gradient(circle at 80% 50%,var(--gold),transparent 40%)}
.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;text-align:center;position:relative}
@media (min-width:1024px){.stats-grid{grid-template-columns:repeat(4,1fr)}}
.stat-num{font-family:'Cormorant Garamond',serif;font-size:clamp(2.5rem,5vw,3.75rem);font-weight:600;color:var(--gold)}
.stat-label{margin-top:.5rem;font-size:.95rem;color:rgba(255,255,255,.75);max-width:200px;margin-left:auto;margin-right:auto;line-height:1.35}

/* parallax */
.parallax{position:relative;height:420px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.parallax.short{height:380px}
.parallax .bg{position:absolute;inset:0;background-size:cover;background-position:center}
@media (min-width:768px){.parallax .bg{background-attachment:fixed}}
.parallax .veil{position:absolute;inset:0;background:rgba(6,26,54,.75)}
.parallax p{position:relative;z-index:10;font-family:'Cormorant Garamond',serif;font-size:clamp(1.5rem,3vw,2.5rem);color:#fff;line-height:1.3;text-shadow:0 4px 30px rgba(0,0,0,.6);max-width:56rem;padding:0 1.5rem;text-align:center;margin:0}

/* leader / why */
.split{display:grid;grid-template-columns:1fr;gap:3rem;align-items:center}
@media (min-width:1024px){.split{grid-template-columns:1fr 1fr}}
.portrait-wrap{position:relative}
.portrait-wrap::before{content:"";position:absolute;inset:-1rem;background:rgba(200,164,92,.15);border-radius:1.25rem;z-index:-1}
.portrait-wrap img{width:100%;border-radius:.85rem;box-shadow:0 25px 50px -20px rgba(11,37,69,.4);aspect-ratio:4/5;object-fit:cover;transition:transform .7s}
.portrait-wrap img:hover{transform:scale(1.02)}
.lead-copy p{font-size:1.05rem;line-height:1.75;color:rgba(45,55,72,.85);margin:1.25rem 0 2rem}

.why-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1.25rem}
.why-list li{display:flex;gap:1rem;align-items:flex-start}
.check-circle{flex:none;width:2.5rem;height:2.5rem;border-radius:9999px;background:rgba(200,164,92,.15);display:flex;align-items:center;justify-content:center;margin-top:.15rem}
.check-circle svg{width:20px;height:20px;color:var(--gold)}
.why-list h3{font-size:1.1rem;color:var(--navy);font-weight:600;margin:0 0 .25rem}
.why-list p{color:rgba(45,55,72,.78);line-height:1.6;margin:0;font-size:.95rem}
.why-img{position:relative}
.why-img::before{content:"";position:absolute;inset:-1rem;background:rgba(11,37,69,.05);border-radius:1.25rem;z-index:-1}
.why-img img{width:100%;border-radius:.85rem;box-shadow:0 25px 60px -20px rgba(11,37,69,.4);aspect-ratio:16/10;object-fit:cover;transition:transform .7s}
.why-img img:hover{transform:scale(1.02)}

/* testimonials */
.testi{display:flex;flex-direction:column;height:100%}
.stars{display:flex;gap:.15rem;margin-bottom:1rem;color:var(--gold)}
.stars svg{width:18px;height:18px;fill:currentColor}
.testi p.quote{font-style:italic;color:rgba(45,55,72,.88);line-height:1.65;margin:0 0 1.25rem;flex:1}
.testi-foot{display:flex;align-items:center;gap:.75rem;padding-top:1rem;border-top:1px solid var(--border)}
.avatar{width:3rem;height:3rem;border-radius:9999px;background:linear-gradient(135deg,var(--navy),var(--navy-deep));color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Cormorant Garamond',serif;font-weight:600;flex:none}
.testi-name{font-weight:600;color:var(--navy)}
.testi-meta{font-size:.75rem;color:rgba(45,55,72,.6)}

/* FAQ */
.faq-item{border:1px solid var(--border);border-radius:.85rem;background:#fff;transition:all .25s;margin-bottom:.75rem}
.faq-item.open{border-color:var(--gold);background:rgba(200,164,92,.04);box-shadow:0 6px 18px rgba(11,37,69,.06)}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;text-align:left;padding:1.25rem 1.5rem;font-family:'Cormorant Garamond',serif;font-size:1.15rem;color:var(--navy);font-weight:600}
.faq-q svg{flex:none;color:var(--gold);transition:transform .3s}
.faq-item.open .faq-q svg{transform:rotate(180deg)}
.faq-a{max-height:0;opacity:0;overflow:hidden;transition:max-height .5s ease,opacity .4s}
.faq-item.open .faq-a{max-height:600px;opacity:1}
.faq-a p{padding:0 1.5rem 1.5rem;color:rgba(45,55,72,.8);line-height:1.7;margin:0}

/* contact */
.contact-grid{display:grid;grid-template-columns:1fr;gap:2.5rem;align-items:start}
@media (min-width:1024px){.contact-grid{grid-template-columns:1fr 1fr}}
.form-card{background:#fff;padding:2rem;border-radius:1.25rem;border:1px solid var(--border);box-shadow:0 15px 40px -15px rgba(11,37,69,.18)}
.form-card label{display:block;font-size:.85rem;color:var(--navy);font-weight:500;margin-bottom:.35rem}
.form-card input,.form-card select,.form-card textarea{width:100%;padding:.85rem 1rem;border:1px solid var(--border);border-radius:.6rem;background:#fff;outline:none;transition:border-color .2s,box-shadow .2s}
.form-card input:focus,.form-card select:focus,.form-card textarea:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(200,164,92,.2)}
.form-card textarea{resize:vertical}
.form-row{display:grid;gap:1rem;grid-template-columns:1fr;margin-bottom:1rem}
@media (min-width:640px){.form-row.cols-2{grid-template-columns:1fr 1fr}}
.form-group{margin-bottom:1rem}
.contact-info{background:var(--navy);color:#fff;padding:2rem;border-radius:1.25rem;box-shadow:0 15px 40px -15px rgba(11,37,69,.18)}
.contact-info h3{font-family:'Cormorant Garamond',serif;font-size:1.5rem;color:var(--gold);margin:0 0 1.25rem}
.contact-info .row{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1.25rem}
.contact-info .row svg{flex:none;color:var(--gold);margin-top:.2rem}
.contact-info .label{font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.6)}
.map-card{border-radius:1.25rem;overflow:hidden;border:1px solid var(--border);box-shadow:0 15px 40px -15px rgba(11,37,69,.18);height:300px;margin-top:1.5rem}
.map-card iframe{width:100%;height:100%;border:0}
.success{margin-top:1rem;text-align:center;background:#ecfdf3;color:#067647;padding:.75rem;border-radius:.6rem;font-size:.9rem}

/* footer */
footer{background:var(--navy-deep);color:rgba(255,255,255,.7);padding:3.5rem 0}
footer .links{display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:center;font-size:.9rem;margin:1.5rem 0}
footer a:hover{color:var(--gold)}
footer .divider{height:1px;background:rgba(255,255,255,.1);margin:1.5rem auto;max-width:48rem}
footer .copyright{font-size:.8rem;color:rgba(255,255,255,.5);text-align:center}
footer .logo{height:80px;margin:0 auto 1.25rem;filter:brightness(0) invert(1);opacity:.9}

/* whatsapp */
.wa{position:fixed;right:1.25rem;bottom:1.25rem;width:3.5rem;height:3.5rem;border-radius:9999px;background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 18px 40px -10px rgba(37,211,102,.5);transition:transform .25s;z-index:9999;animation:wa-pulse 2s infinite}
.wa:hover{transform:scale(1.1)}
.wa svg{width:28px;height:28px;fill:currentColor}

/* animations */
@keyframes wa-pulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.55)}70%{box-shadow:0 0 0 18px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
.fade-up{animation:fadeUp .9s cubic-bezier(.22,1,.36,1) both}
@keyframes letterIn{0%{opacity:0;transform:translateY(40px) rotateX(-40deg);filter:blur(8px)}100%{opacity:1;transform:translateY(0) rotateX(0);filter:blur(0)}}
.letter{display:inline-block;opacity:0;animation:letterIn .7s cubic-bezier(.22,1,.36,1) forwards;transform-origin:50% 100%;will-change:transform,opacity,filter}
@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}
.shimmer-gold{background:linear-gradient(90deg,var(--gold) 0%,#fff5d6 25%,var(--gold) 50%,#fff5d6 75%,var(--gold) 100%);background-size:200% auto;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:shimmer 5s linear infinite}
[data-reveal]{opacity:0;transform:translateY(40px);transition:opacity .9s cubic-bezier(.22,1,.36,1),transform .9s cubic-bezier(.22,1,.36,1);will-change:opacity,transform}
[data-reveal="left"]{transform:translateX(-40px)}
[data-reveal="right"]{transform:translateX(40px)}
[data-reveal="zoom"]{transform:scale(.92)}
[data-reveal].is-visible{opacity:1;transform:translate(0,0) scale(1)}
@keyframes floaty{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(-8px)}}
@keyframes bgPan{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  [data-reveal]{opacity:1!important;transform:none!important}
  .letter{opacity:1!important}
}

/* spacing utility */
.mb-3{margin-bottom:.75rem} .mb-4{margin-bottom:1rem} .mb-5{margin-bottom:1.25rem} .mb-6{margin-bottom:1.5rem} .mb-8{margin-bottom:2rem}
.mt-4{margin-top:1rem} .mt-6{margin-top:1.5rem} .mt-8{margin-top:2rem}
.full-btn{width:100%;padding:1.1rem}
