
:root{
  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --container: 1120px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --dur: 240ms;

  /* default (dark) */
  --bg: #0b0f17;
  --text: #e5e7eb;
  --muted: rgba(229,231,235,.66);
  --muted2: rgba(229,231,235,.52);
  --border: rgba(255,255,255,.14);
  --btn: rgba(255,255,255,.10);
  --btnh: rgba(255,255,255,.14);
  --scrim: rgba(11,15,23,.52);
}

@media (prefers-color-scheme: light){
  :root{
    --bg: #ffffff;
    --text: #111827;
    --muted: rgba(17,24,39,.64);
    --muted2: rgba(17,24,39,.48);
    --border: rgba(17,24,39,.14);
    --btn: rgba(17,24,39,.06);
    --btnh: rgba(17,24,39,.10);
    --scrim: rgba(255,255,255,.55);
  }
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a{color: var(--text); text-decoration:none}
a:hover{opacity:.94}

.container{ width:min(var(--container), calc(100% - 48px)); margin:0 auto; }

.page-overlay{
  position: fixed;
  inset: 0;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  overflow: hidden;
  --overlay-veil: 0;
  --overlay-shift: 0px;
  --overlay-logo: 0;
  --overlay-logo-scale: 0.96;
}
.page-overlay::before{
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,0.14), transparent 60%),
    linear-gradient(120deg, rgba(255,255,255,0.08), transparent 45%);
  opacity: var(--overlay-veil);
  transform: translateY(var(--overlay-shift));
  filter: blur(14px);
}
.page-overlay::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(78px, 18vw, 112px);
  height: clamp(78px, 18vw, 112px);
  transform: translate(-50%, -50%) scale(var(--overlay-logo-scale));
  opacity: var(--overlay-logo);
  background: url("../images/logo-dark.png") center / contain no-repeat;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.28));
}
@media (prefers-color-scheme: light){
  .page-overlay::after{
    background-image: url("../images/logo-light.png");
  }
}

/* Header on hero: transparent. After scroll: becomes solid */
.header{
  position: fixed;
  top:0;
  left:0;
  right:0;
  z-index: 50;
  padding: 10px 0;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.header.is-solid{
  background: color-mix(in oklab, var(--bg), transparent 10%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--border), transparent 10%);
}

.nav{
  height: 56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
}
.brand-mark{
  width: 24px;
  height: 24px;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 10%);
  background: linear-gradient(135deg, color-mix(in oklab, var(--text), transparent 62%), color-mix(in oklab, var(--text), transparent 86%));
}
.brand-name{ font-weight: 600; letter-spacing: -0.02em; font-size: 14px; }

.nav-links{
  display:flex;
  gap: 16px;
  align-items:center;
}
.nav-links a{
  font-size: 13px;
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 999px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-links a:hover{ background: var(--btn); color: var(--text); }
.nav-links a.active{ background: var(--btn); color: var(--text); }

.nav-actions{ display:flex; gap: 10px; align-items:center; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 10%);
  background: var(--btn);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover{ background: var(--btnh); }
.btn:active{ transform: scale(.985); }

.btn-primary{ background: color-mix(in oklab, var(--text), transparent 86%); }
.btn-primary:hover{ background: color-mix(in oklab, var(--text), transparent 82%); }

.btn-tertiary{ background: transparent; border-color: color-mix(in oklab, var(--border), transparent 25%); color: var(--muted); }
.btn-tertiary:hover{ background: var(--btn); color: var(--text); }

.nav-burger{
  display:none;
  border:1px solid color-mix(in oklab, var(--border), transparent 10%);
  background: var(--btn);
  border-radius: 14px;
  padding:10px 10px;
  cursor:pointer;
}
.nav-burger span{
  display:block;
  width:18px;
  height:2px;
  background: var(--text);
  margin:4px 0;
  opacity: .85;
}

.mobile-menu{
  position: fixed;
  top: 70px;
  left: 14px;
  right: 14px;
  z-index: 60;
  border-radius: 18px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 35%);
  background: color-mix(in oklab, var(--bg), white 6%);
  backdrop-filter: none;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  padding: 10px;
}
.mobile-menu a{
  display:block;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--text);
  font-weight: 500;
}
.mobile-menu a:hover{ background: var(--btn); color: var(--text); }
.mobile-menu .btn{ width: 100%; margin-top: 6px; }

/* Hero */
.hero-full{
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero-scrim{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, var(--scrim) 55%, var(--bg) 100%);
}
.hero-center{
  position: relative;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 0 24px;
}
.hero-inner{
  text-align:center;
  max-width: 900px;
}
.hero h1{
  margin:0;
  font-size: clamp(48px, 7vw, 86px);
  letter-spacing: -0.06em;
  line-height: 1.0;
}
.hero-sub{
  margin: 12px auto 0;
  font-size: 16px;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.6;
}

@media (prefers-color-scheme: light){
  .hero-scrim{
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.38) 60%, var(--bg) 100%);
  }
  .hero h1{
    color: #f8fafc;
    text-shadow: 0 8px 26px rgba(0,0,0,0.55);
  }
  .hero-sub{
    color: #e5e7eb;
    text-shadow: 0 4px 16px rgba(0,0,0,0.45);
  }
  .header:not(.is-solid) .brand-name,
  .header:not(.is-solid) .nav-links a{
    color: #f8fafc;
  }
  .header:not(.is-solid) .nav-links a:hover,
  .header:not(.is-solid) .nav-links a.active{
    background: rgba(255,255,255,0.12);
    color: #fff;
  }
  .header:not(.is-solid) .btn{
    color: #f8fafc;
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.12);
  }
  .header:not(.is-solid) .nav-burger span{
    background: #f8fafc;
  }
  .hero .btn{
    color: #f8fafc;
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.14);
  }
  .hero .btn:hover{
    background: rgba(255,255,255,0.22);
  }
}
.hero-cta{
  margin-top: 18px;
  display:flex;
  gap: 10px;
  justify-content:center;
  flex-wrap: wrap;
}
.hero-fade{
  position:absolute;
  left:0; right:0; bottom:-1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

/* Content */
.content{
  padding: 120px 0 110px;
}
.block{
  width:min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 96px;
}
.block-wide{ width:min(980px, calc(100% - 48px)); }
.soluciones .block{
  padding-bottom: 80px;
}
.block h2{
  margin:0 0 14px;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.045em;
}
.micro{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 72ch;
}
.link{
  display:inline-block;
  margin-top: 10px;
  color: var(--text);
  opacity: .9;
  border-bottom: 1px solid color-mix(in oklab, var(--border), transparent 12%);
  padding-bottom: 2px;
}

.center-block{
  text-align: center;
}
.center-block .micro{
  margin-left: auto;
  margin-right: auto;
}
.center-block .btn{
  margin-top: 12px;
}
.center-copy{
  text-align: center;
}
.center-copy .micro{
  margin-left: auto;
  margin-right: auto;
}
.center-copy .link{
  display: inline-block;
}
@media (min-width: 721px){
  .home .center-copy{
    text-align: left;
  }
  .home .center-copy .micro{
    margin-left: 0;
    margin-right: 0;
  }
  .home .about-title{
    text-align: left;
  }
}

.divider{
  width:min(980px, calc(100% - 48px));
  margin: 0 auto 72px;
  height: 1px;
  background: color-mix(in oklab, var(--border), transparent 35%);
}

/* Home: align widths and spacing for consistent symmetry */
.home .content{
  padding: 120px 0 120px;
  display: grid;
  gap: 112px;
}
.home .block,
.home .manifesto{
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0;
}
.home .block-wide{
  width: min(900px, calc(100% - 48px));
}
.home .manifesto-title,
.home .manifesto-sub{
  text-align: center;
}
.home .about-split{
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: start;
}
.home .about-title{
  margin: 0 0 8px;
}
.home .about-copy{
  max-width: 52ch;
  margin-top: 0;
}
.home .about-photo{
  justify-self: end;
  align-self: start;
  width: 375px;
}
.home .about-split.split-reverse .about-photo{
  justify-self: end;
  margin: 0;
}
.home .about-split.split-reverse .about-copy{
  justify-self: start;
}
.home .about-copy .micro:first-child{
  margin-top: 0;
}
.home .center-block .micro{
  max-width: 64ch;
}
.home .center-block .micro + .micro{
  margin-top: 10px;
}
.home .about-copy .micro{
  margin-top: 0;
}
.home .about-photo .profile-img{
  width: 100%;
  max-width: 375px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
}

/* Embed + buttons */
.embed-wrap{
  border-radius: 20px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 15%);
  overflow:hidden;
  background: var(--btn);
}
.btn-row{ margin-top: 12px; display:flex; gap: 10px; flex-wrap: wrap; }

/* Accordion */
.accordion{
  margin-top: 28px;
}
.accordion details{
  border-radius: 18px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 18%);
  background: var(--btn);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.accordion summary{
  cursor:pointer;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.accordion p{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.social-block{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.social-title{
  margin-top: 44px;
  margin-bottom: 12px;
  text-align: center;
}
.social-icons{
  margin-top: 0;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.social-icons a{
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  color: #111;
}
.social-icons a:hover{
  color: #000;
}
.social-icons svg{
  width: 28px;
  height: 28px;
  fill: currentColor;
}
@media (prefers-color-scheme: dark){
  .social-icons a{
    color: #fff;
    background: color-mix(in oklab, var(--bg), black 6%);
  }
  .social-icons a:hover{
    color: #fff;
  }
}

/* About split */
.about-split{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}
.about-photo{
  border-radius: 0;
  overflow: visible;
  border: none;
}
.about-photo img{ width:100%; height:100%; object-fit: cover; display:block; }

/* Footer */
.footer{
  padding: 44px 0;
  border-top: 1px solid color-mix(in oklab, var(--border), transparent 26%);
  background: color-mix(in oklab, var(--bg), transparent 0%);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}
.footer-brand{ display:flex; gap: 10px; align-items:center; margin-bottom: 10px; }
.footer h4{ margin: 0 0 10px; letter-spacing: -0.02em; }
.footer-links{ list-style:none; padding:0; margin:0; }
.footer-links li{ padding: 6px 0; }
.footer-links a{ color: var(--muted); }
.footer-links a:hover{ color: var(--text); }
.fineprint{ color: var(--muted2); font-size: 12.5px; margin-top: 10px; }

/* Reveal (initial) */
.reveal,
.reveal-title{
  opacity:0;
  transform: translateY(28px);
}

@media (max-width: 980px){
  .nav-links{ display:none; }
  .nav-burger{ display:inline-block; }
  .about-split{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .content{ padding-top: 90px; }
}

@media (max-width: 720px){
  .header{
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
  }
  .header.is-solid{
    background: color-mix(in oklab, var(--bg), transparent 65%);
    backdrop-filter: blur(18px) saturate(120%);
    border-bottom: 1px solid color-mix(in oklab, var(--border), transparent 25%);
  }
  .header .brand-logo-dark{ display:block; }
  .header .brand-logo-light{ display:none; }
  .header.is-solid .brand-logo-dark{ display:none; }
  .header.is-solid .brand-logo-light{ display:block; }
  @media (prefers-color-scheme: dark){
    .header.is-solid .brand-logo-dark{ display:block; }
    .header.is-solid .brand-logo-light{ display:none; }
  }
  .header:not(.is-solid) .brand-name{
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,0.35);
  }
  .header.is-solid .brand-name{
    color: var(--text);
    text-shadow: none;
  }
  .hero-full{
    height: 100svh;
    min-height: 560px;
  }
  .hero-bg{
    transform: scale(1.02);
    object-position: center 100%;
  }
  .hero-scrim{
    background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, var(--scrim) 100%, var(--bg) 100%);
  }
  .hero-fade{
    height: 120px;
    filter: none;
    transform: none;
    background: linear-gradient(180deg, transparent, var(--bg));
    opacity: 1;
  }
  .hero h1{
    font-size: clamp(36px, 10vw, 56px);
    letter-spacing: -0.045em;
  }
  .hero-sub{
    font-size: 15px;
    max-width: 34ch;
  }
  .hero-cta{
    flex-direction: column;
    align-items: center;
  }
  .hero-cta .btn{
    width: auto;
    min-width: 180px;
    justify-content: center;
  }
  .btn{
    padding: 8px 12px;
    font-size: 12px;
  }
  .content{
    padding: 24px 0 90px;
  }
  .block,
  .block-wide,
  .manifesto{
    width: calc(100% - 32px);
    margin: 0 auto;
  }
  .block{
    padding: 0 0 72px;
  }
  .block h2{
    font-size: clamp(24px, 7vw, 34px);
  }
  .micro{
    font-size: 14.5px;
  }
  .manifesto{
    padding: 80px 18px;
  }
  .manifesto p{
    font-size: clamp(20px, 6vw, 28px);
  }
  .embed-wrap{
    margin-top: 18px;
  }
  .podcast-intro-text{
    margin: 56px auto 72px;
    text-align: left;
  }
  .podcast-intro-text + h2{
    margin-top: 64px;
  }
  .about-photo .profile-img{
    max-width: 220px;
  }
  .two-col{
    gap: 22px;
  }
  @media (prefers-color-scheme: light){
    .hero-scrim{
      background: linear-gradient(180deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.42) 100%, var(--bg) 100%);
    }
  }
}

@media (max-width: 720px){
  .home .about-photo{
    width: 100%;
  }
  .home .about-photo .profile-img{
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

@media (max-width: 720px){
  .home .content{
    padding: 40px 0 80px;
    gap: 56px;
  }
  .home .manifesto{
    padding: 56px 18px 32px;
    text-align: center;
  }
  .home .manifesto-title{
    text-align: center;
    max-width: 18ch;
    margin: 0 auto 8px;
  }
  .home .manifesto-sub{
    text-align: center;
    margin: 0;
    display: inline-block;
    width: auto;
    max-width: none;
  }
  .home .block{
    padding-bottom: 48px;
  }
  .home .about-split{
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .home .about-copy{
    display: contents;
  }
  .home .about-title{
    margin-bottom: 8px;
    text-align: left;
    order: 0;
    width: 100%;
  }
  .home .about-photo{
    order: 1;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: grid;
    place-items: center;
    text-align: center;
  }
  .home .about-photo .profile-img{
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    width: min(100%, 92vw);
    border-radius: 18px;
  }
  .home .about-split.split-reverse .about-photo{
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
  }
  .home .about-copy{
    text-align: left;
    max-width: none;
  }
  .home .about-copy .micro{
    order: 2;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .home .about-copy .link{
    order: 3;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .home .about-photo .profile-img{
    border-radius: 14px;
  }
  .home .center-block .micro{
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
  }
}

.brand-logo{
  height:26px;
  width:auto;
  display:block;
}
.brand-reg{
  font-size: 0.6em;
  vertical-align: super;
  margin-left: 2px;
  letter-spacing: 0;
}
.brand-reg-hero{
  font-size: 0.45em;
}
.brand-logos{
  display:flex;
  align-items:center;
}
.header .brand-logo-dark{
  display:block;
}
.header .brand-logo-light{
  display:none;
}
.header.is-solid .brand-logo-dark{
  display:none;
}
.header.is-solid .brand-logo-light{
  display:block;
}
@media (prefers-color-scheme: dark){
  .header.is-solid .brand-logo-dark{
    display:block;
  }
  .header.is-solid .brand-logo-light{
    display:none;
  }
}

.block h2{
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), opacity 420ms cubic-bezier(.2,.8,.2,1);
}
.block:hover h2{
  transform: translateY(-2px);
}


/* ===== Premium Editorial Enhancements ===== */

/* Alternating atmospheric backgrounds */
.section-alt {
  position: relative;
  background:
    radial-gradient(1200px 400px at 20% -10%, rgba(255,255,255,0.06), transparent 40%),
    radial-gradient(800px 300px at 90% 10%, rgba(255,255,255,0.04), transparent 45%);
}

@media (prefers-color-scheme: light){
  .section-alt{
    background:
      radial-gradient(1200px 400px at 20% -10%, rgba(0,0,0,0.04), transparent 40%),
      radial-gradient(800px 300px at 90% 10%, rgba(0,0,0,0.03), transparent 45%);
  }
}

/* Editorial separators */
.divider-editorial{
  width: 64px;
  height: 1px;
  margin: 0 auto 72px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: .35;
}

/* Brand signature dot */
.brand-dot{
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background: currentColor;
  margin-left:6px;
  opacity:.6;
}

/* Manifesto section */
.manifesto{
  text-align:center;
  padding: 120px 24px;
}
.manifesto p{
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin: 0 auto;
  opacity:.9;
}

/* Richer text rhythm */
.block h2{
  line-height:1.1;
}
.block h2 span{
  display:block;
}
.block h2 .brand-reg{
  display: inline-block;
}

/* Micro link animation */
.link{
  position:relative;
}
.link::after{
  content:" →";
  display:inline-block;
  transform: translateX(0);
  transition: transform 280ms cubic-bezier(.2,.8,.2,1);
}
.link:hover::after{
  transform: translateX(4px);
}


/* Unified editorial titles */
.block h2{
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.block h2 span{
  display:block;
}

/* Shared manifesto-style title (used for key sections like Podcast intro) */
.manifesto-title{
  text-align:center;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin: 0 auto 48px;
  font-weight: 500;
  opacity: .95;
}
.manifesto-title span{
  display:block;
}

/* ===== Cleanup: remove unintended shadows, gradients, and artifacts ===== */
.section-alt{
  background: none !important;
}

.divider,
.divider-editorial{
  display:none !important;
}

.block::before,
.block::after,
.section-alt::before,
.section-alt::after{
  content:none !important;
  display:none !important;
}

.embed-wrap,
.btn,
.btn-primary{
  box-shadow:none !important;
}

/* Ensure clean white background for listening section */
.block,
.section-alt{
  background: transparent !important;
}


.accordion details summary {
  cursor: pointer;
}

.accordion details > p {
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    max-height 420ms cubic-bezier(.2,.8,.2,1),
    opacity 260ms ease,
    transform 260ms ease;
}

.accordion details[open] > p {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

/* FAQ accordion – smoother open/close (no layout jump) */
.accordion details {
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 520ms cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}

.accordion details[open] {
  grid-template-rows: auto 1fr;
}

.accordion details > p {
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.accordion details[open] > p {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure podcast intro text is visible and well-spaced */
.podcast-intro-text{
  margin: 64px auto 80px;
  max-width: 60ch;
  text-align: center;
}
.podcast-intro-text .micro{
  margin-bottom: 16px;
}
.podcast-intro-text + h2{
  margin-top: 64px;
}

.profile-img{
  display:block;
  width:100%;
  height:auto;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.profile-img-portrait{
  aspect-ratio: auto;
  object-fit: contain;
}
.about .about-photo .profile-img-portrait{
  max-width: 736px;
}
@media (min-width: 901px){
  .about .about-photo .profile-img-portrait{
    width: 100%;
    max-width: 920px;
  }
}

/* About page layout fix: keep photo on the right within the split section */
.about-split{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.about-split.split-reverse{
  grid-template-columns: 0.85fr 1.15fr;
}
.about-split.split-reverse .about-photo{
  order: -1;
}

@media (max-width: 900px){
  .about-split{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-photo{
    order: 1; /* photo after text on mobile */
  }
  .about-split.split-reverse .about-photo{
    order: 1;
  }
  .image-slot{
    min-height: 220px;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 720px){
  .about .about-split{
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .about .about-copy{
    display: contents;
  }
  .about .about-split h2{
    text-align: left;
  }
  .about .about-copy h2{
    order: 0;
    text-align: left;
    width: 100%;
  }
  .about .about-photo{
    order: 1;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: grid;
    place-items: center;
  }
  .about .about-copy .micro{
    order: 2;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .about .profile-img-portrait{
    width: min(100%, 92vw);
    max-width: none;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 18px;
  }
}

@media (max-width: 720px){
  .soluciones .about-split{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .soluciones .about-content{
    display: contents;
  }
  .soluciones .about-title{
    order: 0;
    width: 100%;
    text-align: left;
  }
  .soluciones .about-photo{
    order: 1;
    margin-left: auto;
    margin-right: auto;
  }
  .soluciones .about-copy{
    order: 2;
    text-align: left;
  }
  .soluciones .about-copy .micro{
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .soluciones .about-photo img{
    width: min(100%, 92vw);
  }
  .soluciones .image-slot{
    aspect-ratio: 16 / 9;
    min-height: 200px;
  }
  .soluciones .about-photo img{
    max-width: none;
    width: min(100%, 92vw);
    border-radius: 18px;
  }
}

.soluciones .about-photo{
  width: 100%;
  display: grid;
  place-items: center;
}
.soluciones .about-photo img{
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
}
.soluciones .about-photo .profile-img{
  max-width: 100%;
}
@media (min-width: 721px){
  .soluciones .about-photo{
    max-width: 100%;
  }
  .soluciones .about-split{
    column-gap: 32px;
  }
}
.soluciones .about-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
  row-gap: 12px;
  align-items: start;
}
.soluciones .about-content{
  grid-column: 1;
}
.soluciones .about-title{
  margin: 0;
}
.soluciones .about-photo{
  grid-column: 2;
  justify-self: start;
}
.soluciones .about-split.split-reverse{
  grid-template-columns: 1fr 1fr;
}
.soluciones .about-split.split-reverse .about-content{
  grid-column: 2;
}
.soluciones .about-split.split-reverse .about-photo{
  grid-column: 1;
  justify-self: start;
}
.soluciones .about-split.split-reverse .about-photo img{
  margin-left: 0;
}

@media (max-width: 720px){
  .soluciones .about-split{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .soluciones .about-content{
    display: contents;
  }
  .soluciones .about-title{
    order: 0;
    width: 100%;
    text-align: left;
  }
  .soluciones .about-photo{
    order: 1;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .soluciones .about-copy{
    order: 2;
    text-align: left;
  }
  .soluciones .about-copy .micro{
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .soluciones .about-photo img{
    width: min(100%, 92vw);
  }
}
.services-hero{
  padding-top: 10px;
}
.hero-cards{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.hero-card{
  background: color-mix(in oklab, var(--bg), #fff 92%);
  border: 1px solid color-mix(in oklab, var(--border), transparent 20%);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
  text-align: center;
  transition: transform 300ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms cubic-bezier(.2,.8,.2,1);
}
.hero-card h3{
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.hero-card .micro{
  margin: 0;
  max-width: none;
}
.hero-emoji{
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: color-mix(in oklab, var(--bg), #000 4%);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-size: 24px;
  transition: transform 300ms cubic-bezier(.2,.8,.2,1);
}
.hero-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.12);
}
.hero-card:hover .hero-emoji{
  transform: scale(1.05);
}

@media (max-width: 980px){
  .hero-cards{
    grid-template-columns: 1fr;
  }
  .services-hero > .reveal-title{
    text-align: center;
  }
  .hero-card{
    text-align: center;
    padding: 20px 18px;
  }
  .hero-emoji{
    margin: 0 auto 12px;
  }
}

@media (prefers-color-scheme: dark){
  .hero-card{
    background: color-mix(in oklab, var(--bg), #000 8%);
    border-color: color-mix(in oklab, var(--border), transparent 35%);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  }
  .hero-emoji{
    background: color-mix(in oklab, var(--bg), #fff 6%);
  }
}

.about-photo{
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.image-slot{
  width: 100%;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 18%);
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--bg), black 2%), color-mix(in oklab, var(--bg), black 6%));
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  transition: transform 520ms cubic-bezier(.2,.8,.2,1), box-shadow 520ms cubic-bezier(.2,.8,.2,1);
}

.about-photo:hover .image-slot{
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.18);
}

.about-photo .profile-img{
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  clip-path: none;
  display:block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
  transition:
    transform 700ms cubic-bezier(.2,.8,.2,1),
    box-shadow 700ms cubic-bezier(.2,.8,.2,1),
    filter 700ms cubic-bezier(.2,.8,.2,1);
}

.about-photo:hover .profile-img{
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  filter: saturate(1.06);
}

/* Compact manifesto spacing (About page) */
.manifesto-compact{
  padding-bottom: 40px;
  margin-bottom: 72px;
}
.manifesto-compact .manifesto-title{
  margin-bottom: 8px;
}


/* Refined manifesto subtitle (smaller, lighter) */
.manifesto-compact .manifesto-sub{
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: .01em;
  opacity: .6;
  margin-top: 4px;
  text-align: center;
}

/* Two-column minimal layout */
.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 900px){
  .two-col{
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Mission/Vision: use same title/body system as About bio */
.two-col h2{
  margin: 0 0 10px;
}
.two-col .micro{
  margin: 0;
  max-width: 60ch;
}
