:root{
  --navy:#071527;
  --blue:#12365f;
  --teal:#2d9ac0;
  --gold:#caa45d;
  --cream:#f4f0e8;
  --ink:#142033;
  --muted:#667085;
  --white:#ffffff;
  --line:rgba(20,32,51,.14);
  --safe-left:env(safe-area-inset-left,0px);
  --safe-right:env(safe-area-inset-right,0px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.55;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
#servicios,#cfo-fractional,#metodo,#experiencia,#contacto{scroll-margin-top:118px}

.site-header{
  position:fixed;top:0;left:0;right:0;z-index:10;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:16px clamp(22px,5vw,72px);
  background:rgba(7,21,39,.90);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  color:var(--white);
  border-bottom:1px solid rgba(255,255,255,.12);
}
.brand{
  display:flex;
  align-items:center;
  justify-content:center;
  width:236px;
  height:74px;
  background:#fff;
  border-radius:18px;
  padding:10px 16px;
  box-shadow:0 12px 34px rgba(0,0,0,.18);
  flex:0 0 auto;
}
.brand img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
.nav{
  display:flex;
  align-items:center;
  gap:26px;
  font-size:14px;
  color:rgba(255,255,255,.84);
  white-space:nowrap;
  min-width:0;
}
.nav a:hover{color:#fff}
.nav-cta{
  padding:10px 16px;border:1px solid rgba(255,255,255,.25);border-radius:999px;
}

.hero{
  position:relative;min-height:760px;padding:165px clamp(22px,5vw,72px) 90px;color:var(--white);
  background:
    linear-gradient(90deg,rgba(7,21,39,.96),rgba(7,21,39,.74),rgba(7,21,39,.42)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.hero-grid{
  position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.55fr);
  gap:56px;align-items:end;max-width:1220px;margin:auto;
}
.eyebrow{margin:0 0 14px;font-size:13px;text-transform:uppercase;letter-spacing:.18em;color:var(--gold);font-weight:800}
.eyebrow.dark{color:var(--blue)}
h1,h2,h3,h4,p{margin-top:0}
h1{font-size:clamp(42px,6vw,78px);line-height:.98;letter-spacing:-.055em;margin-bottom:28px;max-width:940px}
.lead{font-size:clamp(18px,2vw,22px);color:rgba(255,255,255,.82);max-width:840px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:36px}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:15px 22px;font-weight:800}
.btn.primary{background:var(--gold);color:var(--navy)}
.btn.secondary{border:1px solid rgba(255,255,255,.35);color:#fff}
.btn.dark-btn{background:var(--navy);color:#fff;margin-top:14px}
.hero-card{
  padding:28px;border-radius:28px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 30px 80px rgba(0,0,0,.22)
}
.stat{padding:18px 0;border-bottom:1px solid rgba(255,255,255,.16)}
.stat:last-child{border-bottom:0}
.stat span{display:block;font-size:38px;line-height:1;color:var(--gold);font-weight:900;letter-spacing:-.05em}
.stat p{margin:8px 0 0;color:rgba(255,255,255,.82)}

.section{padding:92px clamp(22px,5vw,72px);max-width:1280px;margin:auto}
.intro{display:grid;grid-template-columns:.92fr 1fr;gap:70px;align-items:start}
h2{font-size:clamp(32px,4vw,52px);line-height:1.04;letter-spacing:-.04em;margin-bottom:22px}
.intro p:last-child{font-size:20px;color:#344054}
.section-heading{max-width:840px;margin-bottom:38px}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.card,.cred-card{
  background:rgba(255,255,255,.74);border:1px solid var(--line);border-radius:26px;padding:28px;
  box-shadow:0 24px 70px rgba(20,32,51,.08)
}
.card.highlighted{
  background:linear-gradient(135deg,rgba(7,21,39,.98),rgba(18,54,95,.96));
  color:white;
}
.card.highlighted p{color:rgba(255,255,255,.78)}
.card.highlighted .icon{background:var(--gold);color:var(--navy)}
.card-link{
  display:inline-flex;
  margin-top:18px;
  color:var(--gold);
  font-weight:800;
}
.icon{
  width:48px;height:48px;border-radius:16px;background:var(--navy);color:var(--gold);
  display:grid;place-items:center;font-weight:900;margin-bottom:24px
}
.card h3{font-size:22px;line-height:1.15;margin-bottom:12px}
.card p,.cred-card p{color:#475467;margin-bottom:0}

.fractional{
  width:min(1220px, calc(100% - 44px));
  margin:0 auto 92px;
  padding:58px;
  border-radius:34px;
  background:#fff;
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1fr);
  gap:44px;
  border:1px solid var(--line);
  box-shadow:0 24px 70px rgba(20,32,51,.08);
}
.fractional-text p:last-of-type{font-size:18px;color:#475467}
.fractional-points{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.fractional-points div{
  padding:22px;
  border-radius:22px;
  background:var(--cream);
  border:1px solid var(--line);
}
.fractional-points h3{margin-bottom:8px}
.fractional-points p{color:#475467;margin-bottom:0}

.split{display:grid;grid-template-columns:1fr 1fr;min-height:680px;background:var(--white)}
.split-image{
  min-height:520px;background:
    linear-gradient(rgba(7,21,39,.05),rgba(7,21,39,.2)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1400&q=80") center/cover;
}
.split-content{padding:92px clamp(22px,5vw,72px)}
.timeline{list-style:none;padding:0;margin:34px 0 0;display:grid;gap:22px}
.timeline li{display:grid;grid-template-columns:48px 1fr;gap:18px;align-items:start}
.timeline span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--gold);font-weight:900;color:var(--navy)}
.timeline h3{margin-bottom:6px;font-size:22px}
.timeline p{color:#475467}

.cred-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:20px}
.cred-card.large{grid-row:span 2;background:var(--navy);color:white}
.cred-card.large p{color:rgba(255,255,255,.78)}
.cred-card h3{font-size:32px;letter-spacing:-.03em}
.cred-card h4{font-size:21px;margin-bottom:10px}

.cta{
  width:min(1220px, calc(100% - 44px));
  margin:40px auto 0;padding:58px;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.55fr);gap:40px;align-items:center;
  background:linear-gradient(135deg,var(--navy),var(--blue));border-radius:34px;color:white;
}
.cta p{color:rgba(255,255,255,.78);font-size:18px}
.contact-box{display:grid;gap:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:24px;padding:26px}
.contact-box a{font-weight:800;color:#fff;word-break:break-word}
.contact-box span{color:rgba(255,255,255,.78)}
.footer{
  display:flex;justify-content:space-between;gap:22px;flex-wrap:wrap;
  padding:38px clamp(22px,5vw,72px);color:#667085;font-size:14px
}
.footer p{margin:0}

@media(max-width:1180px){
  .brand{width:210px;height:68px}
  .nav{gap:18px}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cred-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:920px){
  #servicios,#cfo-fractional,#metodo,#experiencia,#contacto{scroll-margin-top:138px}
  .site-header{
    position:sticky;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding:12px 18px 14px;
  }
  .brand{width:210px;height:66px;border-radius:16px}
  .nav{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    gap:12px;
    padding-bottom:2px;
    scrollbar-width:none;
  }
  .nav::-webkit-scrollbar{display:none}
  .nav a{
    flex:0 0 auto;
    padding:8px 10px;
    border-radius:999px;
    background:rgba(255,255,255,.08);
  }
  .nav .nav-cta{border:1px solid rgba(255,255,255,.18)}
  .hero{
    padding:70px 22px 58px;
    min-height:auto;
  }
  .hero-grid,.intro,.split,.cta,.fractional{grid-template-columns:1fr}
  .hero-card{padding:22px}
  .section{padding:62px 22px}
  .intro{gap:22px}
  .cards,.cred-grid,.fractional-points{grid-template-columns:1fr}
  .cred-card.large{grid-row:auto}
  .cta,.fractional{width:calc(100% - 32px);padding:28px;border-radius:26px}
  .split-content{padding:62px 22px}
  .split-image{min-height:320px}
}
@media(max-width:480px){
  .brand{width:188px;height:60px}
  h1{font-size:40px}
  h2{font-size:31px}
  .lead,.intro p:last-child{font-size:17px}
  .btn{width:100%;padding:14px 18px}
  .hero-actions{gap:10px}
  .card,.cred-card{padding:22px;border-radius:22px}
  .fractional,.cta{width:calc(100% - 24px);padding:22px;border-radius:22px}
  .stat span{font-size:32px}
}


.seo-note{
  font-size:17px;
  color:#344054;
  margin-bottom:18px;
  padding:18px 20px;
  border-left:4px solid var(--gold);
  background:rgba(255,255,255,.62);
  border-radius:18px;
}

.whatsapp-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:max-content;
  max-width:100%;
  padding:12px 16px;
  border-radius:999px;
  background:#25D366;
  color:#071527 !important;
  font-weight:900;
  text-align:center;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.whatsapp-link:hover{
  filter:brightness(1.04);
}
.whatsapp-icon{
  display:inline-grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:50%;
}
.whatsapp-icon svg{
  display:block;
  width:24px;
  height:24px;
  fill:#071527;
}
@media(max-width:480px){
  .whatsapp-link{
    width:100%;
  }
}


/* Perfil profesional en sección Experiencia */
.profile-card{
  overflow:hidden;
}
.profile-card-inner{
  display:grid;
  grid-template-columns:156px minmax(0,1fr);
  gap:26px;
  align-items:start;
}
.profile-photo{
  display:block;
  width:156px;
}
.profile-photo img{
  display:block;
  width:156px;
  height:208px;
  object-fit:cover;
  object-position:center top;
  border-radius:18px;
  border:3px solid rgba(255,255,255,.18);
  box-shadow:0 18px 42px rgba(0,0,0,.28);
  background:rgba(255,255,255,.08);
}
.profile-copy h3{
  margin-bottom:20px;
}
.profile-copy p{
  margin-bottom:0;
}
@media(max-width:1180px){
  .profile-card-inner{
    grid-template-columns:138px minmax(0,1fr);
    gap:22px;
  }
  .profile-photo,
  .profile-photo img{
    width:138px;
  }
  .profile-photo img{
    height:184px;
  }
}
@media(max-width:920px){
  .profile-card-inner{
    grid-template-columns:150px minmax(0,1fr);
  }
  .profile-photo,
  .profile-photo img{
    width:150px;
  }
  .profile-photo img{
    height:200px;
  }
}
@media(max-width:560px){
  .profile-card-inner{
    grid-template-columns:1fr;
  }
  .profile-photo,
  .profile-photo img{
    width:100%;
    max-width:260px;
  }
  .profile-photo img{
    height:auto;
    aspect-ratio:3 / 4;
  }
}
