:root{
  --navy:#0f223a;
  --navy2:#132c49;
  --paper:#f4f5f7;
  --text:#0b1220;

  --gold:#c8a46a;
  --line:rgba(15,34,58,.12);

  --shadow2: 0 12px 28px rgba(15,34,58,.10);
  --container: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--paper);
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

.container{
  width: min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

/* ====== INTRO / SPLASH ====== */
.intro{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: grid;
  place-items: center;
}

.intro.is-hidden{
  display: none;
}

.intro__video{
  width: 100%;
  height: 100%;
  object-fit: contain; /* usa cover si quieres que llene recortando */
}

.intro__skip{
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.35);
  color: #fff;
  backdrop-filter: blur(6px);
  cursor: pointer;
  font-weight: 900;
}
.intro__skip:hover{ filter: brightness(1.06); }

/* ====== TOPBAR ====== */
.topbar{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(15,34,58,.88);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  transition: box-shadow .2s ease, background .2s ease;
}
.topbar.is-scrolled{
  box-shadow: 0 14px 34px rgba(0,0,0,.20);
  background: rgba(15,34,58,.94);
}
.topbar__inner{
  height: 66px;
  display:flex;
  align-items:center;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 240px;
}
.brand__logo{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  object-fit: cover;
}
.brand__text{
  display:flex;
  flex-direction:column;
  line-height: 1.05;
}
.brand__text strong{
  color: rgba(255,255,255,.92);
  font-size: 14px;
  letter-spacing:.2px;
  font-weight: 900;
}
.brand__text span{
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 700;
}

/* Nav desktop */
.nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap: 14px;
}
.nav__link{
  color: rgba(255,255,255,.80);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 10px 10px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.nav__link:hover{
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.95);
  transform: translateY(-1px);
}
.nav__link.is-active{
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.95);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.nav__cta{
  margin-left: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, #ffffff, rgba(200,164,106,.90));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.nav__cta:hover{ filter: brightness(1.03); }

/* Burger */
.menuBtn{
  display:none;
  margin-left:auto;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  cursor:pointer;
}
.menuBtn span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.92);
  margin: 4px auto;
  border-radius: 2px;
}

/* ====== HERO ====== */
.hero{
  position: relative;
  min-height: 560px;
  background: var(--navy);
  overflow:hidden;
}
.hero__media{
  position:absolute;
  inset:0;
  background: url("static/ruben5.jpg") center 28% / cover no-repeat;
  transform: scale(1.03);
}
.hero__shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(15,34,58,.82) 0%, rgba(15,34,58,.62) 45%, rgba(15,34,58,.22) 100%),
    radial-gradient(900px 420px at 20% 30%, rgba(200,164,106,.18), transparent 60%);
}

/* FX (orbes flotantes) */
.hero__fx{ position:absolute; inset:0; pointer-events:none; }
.orb{
  position:absolute;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(200,164,106,.22), transparent 60%);
  filter: blur(8px);
  opacity: .9;
  animation: floatOrb 10s ease-in-out infinite;
}
.orb--a{ top:-120px; left:-120px; animation-duration: 12s; }
.orb--b{ bottom:-140px; right:-120px; animation-duration: 14s; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), transparent 60%); }
.orb--c{ top:110px; right:160px; width: 220px; height: 220px; opacity:.7; animation-duration: 11s; }

@keyframes floatOrb{
  0%,100%{ transform: translate3d(0,0,0); }
  50%{ transform: translate3d(0,-18px,0); }
}

.hero__inner{
  position: relative;
  min-height: 560px;
  display:flex;
  align-items:center;
}
.hero__copy{
  max-width: 680px;
  padding: 34px 0;
  color: #fff;
}
.hero__copy h1{
  margin:0 0 10px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 900;          /* MÁS GRUESO */
  letter-spacing: .5px;
  line-height: 1.05;
  font-size: clamp(34px, 4.7vw, 62px);
  text-shadow: 0 18px 55px rgba(0,0,0,.35);
}
.hero__lead{
  margin: 0 0 18px;
  color: rgba(255,255,255,.86);
  line-height: 1.8;
  font-size: 15.7px;
  font-weight: 650;
}
.hero__actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.hero__note{
  margin: 16px 0 0;
  max-width: 66ch;
  color: rgba(255,255,255,.80);
  line-height: 1.75;
  font-weight: 650;
}
.hero__note strong{ color: rgba(255,255,255,.96); font-weight: 900; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 950;          /* MÁS GRUESO */
  font-size: 12px;
  letter-spacing: .35px;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, filter .25s ease;
}
.btn--light{
  background: #fff;
  color: var(--navy);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}
.btn--outline{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
  color: rgba(255,255,255,.92);
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.lift{ will-change: transform; }
.lift:hover{ transform: translateY(-2px); }

/* Animaciones flotantes suaves */
.floatSoft{ animation: floatSoft 5.4s ease-in-out infinite; }
.floatSoft2{ animation: floatSoft 6.2s ease-in-out infinite; }
@keyframes floatSoft{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}
.floatCard{ animation: floatCard 7s ease-in-out infinite; }
@keyframes floatCard{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}

/* Sections */
.section{ padding: 36px 0; }
.section--paper{ background: var(--paper); }

.kicker{
  margin:0 0 8px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(15,34,58,.78);
  font-weight: 950; /* MÁS GRUESO */
}

.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.sectionHead__sub{
  margin: 4px 0 0;
  color: rgba(11,18,32,.64);
  line-height: 1.65;
  max-width: 60ch;
  font-weight: 650;
}

.link{
  color: rgba(15,34,58,.90);
  font-weight: 950;
  font-size: 13px;
}
.link:hover{ text-decoration: underline; }

/* About grid */
.aboutPro{ padding-top: 6px; }

.aboutGrid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items:start;
}

.profileCard{
  display:grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 28px;
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(15,34,58,.12);
  box-shadow: var(--shadow2);
  position: relative;
  overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.profileCard:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(15,34,58,.14);
}

.profileCard::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(135deg, rgba(200,164,106,.35), rgba(255,255,255,0) 45%);
  pointer-events:none;
}

.profileCard__media{
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(15,34,58,.12);
  box-shadow: 0 14px 28px rgba(15,34,58,.12);
  background:#fff;
}
.profileCard__media img{
  width:100%;
  height: 260px;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.02);
  filter: contrast(1.03) saturate(1.02);
}

.profileQuote{
  margin: 4px 0 10px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 19px;    /* más presencia */
  line-height: 1.5;
  color: rgba(15,34,58,.92);
  font-weight: 800;
}

.profileText{
  margin: 0 0 12px;
  color: rgba(11,18,32,.76);
  line-height: 1.85;
  font-size: 15px;
  font-weight: 650;
}

.profileChips{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.chipP{
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(15,34,58,.05);
  border: 1px solid rgba(15,34,58,.10);
  color: rgba(15,34,58,.84);
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .2px;
  transition: transform .18s ease, background .2s ease;
}
.chipP:hover{
  transform: translateY(-2px);
  background: rgba(200,164,106,.14);
}

.sideStack{ display:grid; gap: 14px; }
.sideCard{
  border-radius: 24px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(15,34,58,.12);
  box-shadow: var(--shadow2);
  padding: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.liftCard:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(15,34,58,.12);
}

.sideCard h3{
  margin:0 0 10px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(15,34,58,.86);
  font-weight: 950; /* más grueso */
}
.sideCard p{
  margin:0;
  color: rgba(11,18,32,.74);
  line-height: 1.8;
  font-weight: 650;
}

.pillList{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.pillList span{
  display:inline-flex;
  align-items:center;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(15,34,58,.12);
  color: rgba(11,18,32,.78);
  font-weight: 900;
  font-size: 12px;
  transition: transform .18s ease, box-shadow .25s ease;
}
.pillList span:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15,34,58,.10);
}

.quoteStrip{
  margin-top: 16px;
  border-radius: 999px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(200,164,106,.16));
  border: 1px solid rgba(15,34,58,.12);
  box-shadow: var(--shadow2);
}
.quoteStrip p{
  margin:0;
  text-align:center;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-style: italic;
  color: rgba(15,34,58,.88);
  font-weight: 850; /* más grueso */
}

/* ====== FOOTER PRO ====== */
.footer--pro{
  padding: 22px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(200,164,106,.14), transparent 55%),
    radial-gradient(900px 520px at 85% 0%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, var(--navy2), var(--navy));
  border-top: 1px solid rgba(255,255,255,.10);
}
.footer--pro::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(200,164,106,.85), transparent);
  opacity: .9;
}

.footer__inner--pro{
  display:grid;
  grid-template-columns: 1.2fr 1fr .9fr;
  gap: 18px;
  align-items:center;
}

.footerBrand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}
.footerBrand__logo{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}
.footerBrand__text strong{
  color: rgba(255,255,255,.92);
  letter-spacing: .2px;
  font-size: 13.5px;
  font-weight: 950;
}
.footerBrand__text span{
  color: rgba(255,255,255,.70);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footerBrand__text small{
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 650;
}

.footerNav{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
  justify-content:center;
}
.footerNav a{
  color: rgba(255,255,255,.74);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .2s ease, transform .18s ease, color .2s ease, border-color .2s ease;
}
.footerNav a:hover{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.10);
  transform: translateY(-1px);
}

.footerRight{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 12px;
}

.footer__social--pro{
  display:flex;
  gap: 10px;
  align-items:center;
}
.socialIcon{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  box-shadow: 0 16px 34px rgba(0,0,0,.16);
  display:grid;
  place-items:center;
  transition: transform .18s ease, background .2s ease, border-color .2s ease;
}
.socialIcon svg{
  width: 18px;
  height: 18px;
  fill: transparent;                 /* para “rellenar” */
  stroke: rgba(255,255,255,.88);
  stroke-width: 1.8;
  transition: fill .25s ease, stroke .25s ease, transform .25s ease;
}
.socialIcon:hover{
  transform: translateY(-2px);
  background: rgba(200,164,106,.16);
  border-color: rgba(200,164,106,.40);
}
.socialIcon:hover svg{
  fill: rgba(200,164,106,.95);
  stroke: rgba(200,164,106,.95);
  transform: scale(1.05);
}

.footerCta{
  color: rgba(255,255,255,.85);
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  transition: transform .18s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.footerCta:hover{
  transform: translateY(-1px);
  background: rgba(200,164,106,.16);
  border-color: rgba(200,164,106,.35);
}

/* ====== Reveal ====== */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}

/* ====== Responsive ====== */
@media (max-width: 980px){
  .aboutGrid{ grid-template-columns: 1fr; }
  .profileCard{ grid-template-columns: 200px 1fr; }
  .profileCard__media img{ height: 240px; }
  .footer__inner--pro{ grid-template-columns: 1fr; text-align:center; }
  .footerRight{ justify-content:center; flex-wrap:wrap; }
  .footerBrand{ justify-content:center; }
}

@media (max-width: 860px){
  .menuBtn{ display:inline-block; }

  .nav{
    position: fixed;
    left: 16px;
    right: 16px;
    top: 74px;
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(15,34,58,.96);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 20px 48px rgba(0,0,0,.30);
  }
  .nav.is-open{ display:flex; }
  .nav__cta{ text-align:center; }

  .hero{ min-height: 620px; }
  .hero__inner{ min-height: 620px; }
}

@media (max-width: 620px){
  .sectionHead{ align-items:flex-start; flex-direction:column; }
  .profileCard{ grid-template-columns: 1fr; }
  .profileCard__media img{ height: 320px; }
  .quoteStrip{ border-radius: 24px; }
}

@media (max-width: 520px){
  .container{ width: calc(100% - 28px); }
  .brand{ min-width: 0; }
  .brand__text span{ display:none; }
}

/* Respeta menos movimiento */
@media (prefers-reduced-motion: reduce){
  .reveal{ transition:none; opacity:1; transform:none; }
  .floatSoft, .floatSoft2, .floatCard, .orb{ animation:none !important; }
}
