/* Version 2: soft, airy layout. Palette: #D4F1D5 #AFDDB6 #82BE9C #3D868E #114775 */
:root {
  --mint: #D4F1D5;
  --sage: #AFDDB6;
  --leaf: #82BE9C;
  --lagoon: #3D868E;
  --navy: #114775;

  --cream: #F7FAF6;
  --cream-2: #EEF5EE;
  --white: #FFFFFF;
  --ink: #114775;
  --muted: #4B6A82;
  --line: #DCE8DE;
  --accent: #2F737B;       /* buttons: white text at 5.4:1 */
  --accent-deep: #245E65;

  --tint-mint: #E3F5E4;
  --tint-sage: #E6F0DF;
  --tint-lagoon: #DDECEE;
  --tint-navy: #E1E9F1;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 10vw, 136px);
  --radius: 28px;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
a { color: var(--ink); text-underline-offset: 3px; }
::selection { background: var(--mint); color: var(--navy); }
:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }
section[id], #bienvenida, #suscripcion { scroll-margin-top: 88px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.center { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 72px); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 18px; background: var(--accent); color: var(--white); border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.kicker { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.h-display { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; }
.h-display em { color: var(--lagoon); }
.h-display--md { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.15; }
.h-sub { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; text-wrap: balance; }
.h-sub em { color: var(--lagoon); }
.lead-serif { font-family: var(--serif); font-style: italic; font-size: clamp(23px, 2.4vw, 28px); line-height: 1.4; text-wrap: pretty; }
.prose { display: flex; flex-direction: column; gap: 18px; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 12px 28px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: .01em;
  text-decoration: none; text-align: center;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.btn__icon { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn__yt { width: 28px; height: 20px; flex: none; }
.btn--solid { background: var(--accent); color: var(--white); }
.btn--solid:hover { background: var(--accent-deep); color: var(--white); }
.btn--line { border-color: #C9D9CC; color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: var(--white); }
.btn--block { width: 100%; }
.btn--sm { min-height: 46px; padding: 8px 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }

/* ---------- Icon circles ---------- */
.ico { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 50%; color: var(--ink); }
.ico svg { width: 28px; height: 28px; }
.ico--sm { width: 44px; height: 44px; }
.ico--sm svg { width: 22px; height: 22px; }
.ico--mint { background: var(--tint-mint); }
.ico--sage { background: var(--tint-sage); }
.ico--lagoon { background: var(--tint-lagoon); }
.ico--navy { background: var(--tint-navy); }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(247, 250, 246, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: box-shadow .3s ease; }
.topbar.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.topbar__nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: -.005em; text-decoration: none; color: var(--ink); }
.menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.menu__links { flex: 1; display: flex; justify-content: center; gap: clamp(20px, 3vw, 40px); font-size: 15px; }
.menu__links a { position: relative; padding: 8px 0; text-decoration: none; color: var(--ink); }
.menu__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .35s var(--ease); }
.menu__links a:hover::after, .menu__links a.is-active::after { transform: scaleX(1); }

.menu-toggle { display: none; width: 48px; height: 48px; margin-right: -10px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 24px; height: 1.5px; margin: 0 auto; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.is-open .menu-toggle__bars { background: transparent; }
.is-open .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.is-open .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 8px var(--gutter) 24px; background: var(--cream);
    box-shadow: 0 24px 40px -28px rgba(17, 71, 117, .35);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s var(--ease), visibility 0s .25s;
  }
  .menu__links { flex-direction: column; gap: 0; font-size: 18px; }
  .menu__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu__links a::after { display: none; }
  .is-open .menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(24px, 4vw, 48px) clamp(72px, 8vw, 104px); }
.hero__inner { display: grid; gap: 56px; align-items: center; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero__title { font-family: var(--serif); font-size: clamp(42px, 4.9vw, 68px); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.hero__title em { display: block; color: var(--lagoon); }
.hero .btn { padding-inline: 24px; }
.hero__lead {max-width: 500px; color: var(--muted); font-size: 18px; text-wrap: pretty; }

.hero__media { position: relative; width: 100%; max-width: 560px; justify-self: center; }
.hero__photo { display: block; aspect-ratio: 4 / 5; border-radius: 36px; overflow: hidden; background: var(--mint); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.blob {
  position: absolute; left: -72px; top: 44%;
  width: 216px; height: 196px; margin: 0; padding: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--sage);
  border-radius: 58% 42% 55% 45% / 52% 58% 42% 48%;
  text-align: center; color: var(--navy);
  box-shadow: 0 20px 40px -24px rgba(17, 71, 117, .4);
}
.blob__pre, .blob__post { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.blob__title { font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.05; }
.blob__post::before { content: ""; display: block; width: 22px; height: 1px; margin: 6px auto 8px; background: currentColor; }
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .hero__media { order: 2; justify-self: end; }
}
.hero--solo { padding-block: clamp(48px, 9vw, 128px); }
.hero--solo .hero__inner { grid-template-columns: minmax(0, 760px); }
.hero--solo .hero__title { font-size: clamp(46px, 6.4vw, 92px); }
.hero--solo .hero__lead { max-width: 560px; }
@media (max-width: 959px) { .hero { padding-top: 12px; } .hero__inner { gap: 24px; } .hero__text { gap: 20px; } .hero__photo { aspect-ratio: 16 / 10; border-radius: 28px; } .hero__photo img { object-position: 50% 68%; } }
@media (max-width: 959px) { .blob { left: -8px; top: auto; bottom: 24px; width: 172px; height: 158px; padding: 18px; } .blob__title { font-size: 21px; } .blob__pre, .blob__post { font-size: 11px; } }
@media (max-width: 520px) { .btn-row .btn { width: 100%; } }

/* ---------- Approach + devices ---------- */
.approach__inner { display: grid; gap: 56px; align-items: center; }
.approach__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 480px; }
@media (min-width: 960px) { .approach__inner { grid-template-columns: 0.85fr 1.15fr; } }
@media (max-width: 959px) { .devices { display: none; } }

.devices { position: relative; display: block; width: 100%; max-width: 640px; justify-self: center; aspect-ratio: 640 / 460; color: inherit; text-decoration: none; transition: transform .5s var(--ease); }
.devices:hover { transform: translateY(-4px); }
.devices:hover .screen__btn { background: var(--accent-deep); }
.devices__blob { position: absolute; inset: -6% -4% -2% 6%; background: var(--cream-2); border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%; }
.laptop { position: absolute; left: 0; top: 10%; width: 78%; }
.laptop__screen { padding: 10px; background: #1B2733; border-radius: 16px 16px 4px 4px; }
.laptop__base { height: 14px; margin-inline: -6%; background: linear-gradient(#D7DDE2, #AEB7BF); border-radius: 0 0 14px 14px; box-shadow: 0 24px 40px -20px rgba(17, 40, 60, .45); }
.screen { aspect-ratio: 16 / 10; background: var(--cream); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.screen__bar { display: flex; justify-content: space-between; align-items: center; padding: 7% 7% 0; }
.screen__brand { font-family: var(--serif); font-size: clamp(9px, 1.4vw, 13px); }
.screen__dots { display: flex; gap: 4px; }
.screen__dots i { width: 14px; height: 4px; border-radius: 4px; background: var(--line); }
.screen__body { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: center; padding: 0 7%; }
.screen__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.screen__tag { font-size: clamp(6px, .8vw, 8px); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.screen__title { font-family: var(--serif); font-size: clamp(12px, 2vw, 19px); line-height: 1.1; }
.screen__text { font-size: clamp(6px, .9vw, 9px); line-height: 1.4; color: var(--muted); }
.screen__btn { margin-top: 4px; padding: 4px 10px; border-radius: 99px; background: var(--accent); color: var(--white); font-size: clamp(6px, .85vw, 8px); }
.screen__art { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 6px; background: linear-gradient(160deg, var(--mint), var(--sage)); color: var(--navy); }
.screen__art svg { width: 44%; height: 44%; }

.phone { position: absolute; right: 2%; bottom: 0; width: 27%; aspect-ratio: 9 / 19; padding: 6px; background: #1B2733; border-radius: 30px; box-shadow: 0 30px 50px -24px rgba(17, 40, 60, .55); }
.phone__notch { position: absolute; left: 50%; top: 10px; width: 34%; height: 12px; margin-left: -17%; border-radius: 10px; background: #1B2733; z-index: 1; }
.phone__screen { height: 100%; padding: 28% 9% 0; background: var(--white); border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; }
.phone__hello { font-family: var(--serif); font-size: clamp(11px, 1.6vw, 16px); margin-bottom: 8%; }
.phone__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.phone__list li { display: flex; align-items: center; gap: 7%; padding: 9% 0; border-bottom: 1px solid var(--line); font-size: clamp(5px, .75vw, 8px); line-height: 1.3; color: var(--muted); }
.phone__list li > span:nth-child(2) { flex: 1; min-width: 0; }
.phone__list b { display: block; font-weight: 500; color: var(--ink); }
.phone__ico { display: grid; place-items: center; width: 20%; aspect-ratio: 1; border-radius: 50%; background: var(--tint-mint); color: var(--ink); flex: none; }
.phone__ico svg { width: 70%; height: 70%; }
.phone__check { flex: none; width: 12%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); }
.phone__check.is-done { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--white); }
.phone__tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 10% 0 12%; border-top: 1px solid var(--line); }
.phone__tabs i { width: 10%; aspect-ratio: 1; border-radius: 3px; background: var(--line); }

/* ---------- Generic sections ---------- */
.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.head-split { display: grid; gap: 24px clamp(48px, 7vw, 112px); align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
.head-split > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.head-split--spaced { margin-top: clamp(72px, 9vw, 120px); align-items: start; }
@media (min-width: 900px) { .head-split { grid-template-columns: 1fr 1fr; } }

.photo { display: block; overflow: hidden; border-radius: var(--radius); background: var(--mint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--square { aspect-ratio: 1; }

/* ---------- About ---------- */
.about { display: grid; gap: 56px clamp(48px, 7vw, 112px); align-items: start; }
.about__media { position: relative; width: 100%; max-width: 460px; justify-self: center; }
.about__media .blob { top: auto; bottom: 12%; }
.about__text { display: flex; flex-direction: column; gap: 26px; max-width: 640px; }
@media (min-width: 960px) {
  .about { grid-template-columns: 420px 1fr; }
  .about__media { position: sticky; top: 112px; }
}

/* ---------- Community ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 32px 28px; background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  font-size: 15px; text-wrap: pretty;
  transition: border-color .4s ease, transform .4s var(--ease), box-shadow .4s ease;
}
.card:hover { border-color: var(--sage); transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(17, 71, 117, .35); }
.card .ico { margin-bottom: 14px; }
.card__title { font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.2; }
.card__sub { margin-top: -6px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lagoon); }

.pricing {
  margin-top: clamp(72px, 9vw, 120px);
  display: grid; gap: 20px; align-items: stretch;
  padding: clamp(24px, 4vw, 48px); background: var(--cream-2); border-radius: 36px;
}
.pricing__intro { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 8px; }
.price { display: flex; flex-direction: column; gap: 6px; padding: 30px 26px 26px; background: var(--white); border-radius: 24px; }
.price__region { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.price__amount { font-family: var(--serif); font-size: clamp(30px, 2.6vw, 36px); font-weight: 500; line-height: 1.15; white-space: nowrap; }
.price__per { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.price .btn { margin-top: auto; }
@media (min-width: 960px) { .pricing { grid-template-columns: .8fr 1fr 1fr; } }
.price .btn { padding-inline: 18px; }

/* ---------- Sessions ---------- */
.facts__title { margin-bottom: 28px; }
.facts { margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.fact { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; font-size: 15px; color: var(--muted); }
.fact dt { font-weight: 500; color: var(--ink); }
.fact dd { margin: 0; }

.welcome {
  margin-top: clamp(72px, 9vw, 112px);
  display: grid; gap: 32px clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 5vw, 64px); background: var(--mint); border-radius: 36px;
}
.welcome__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; text-wrap: pretty; }
.welcome__text .muted { color: #2F5672; }
.welcome__tag { padding: 6px 14px; border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.welcome__text .h-sub { max-width: 640px; }
@media (min-width: 900px) { .welcome { grid-template-columns: 1fr auto; } }

/* ---------- Events ---------- */
.section--events { background: var(--cream-2); }
.events { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.event-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 24px; text-wrap: pretty; }
.event-card__info { display: flex; gap: clamp(18px, 3vw, 28px); align-items: flex-start; padding: clamp(22px, 3vw, 32px); }
.event-card__date { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 76px; height: 84px; margin: 0; border-radius: 18px; background: var(--mint); line-height: 1; }
.event-card__day { font-family: var(--serif); font-size: 38px; font-weight: 500; }
.event-card__month { margin-top: 4px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.event-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; font-size: 15px; }
.event-card__meta { margin: 0; font-size: 14px; font-weight: 500; color: var(--lagoon); }
.event-card .btn { margin-top: 6px; }
/* Cards with an image take the whole row: image on the left, shown whole (flyers carry text), details on the right. */
.event-card--img { grid-column: 1 / -1; display: grid; }
.event-card__media { display: flex; align-items: center; justify-content: center; background: var(--cream-2); }
.event-card__img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; }
@media (min-width: 820px) {
  .event-card--img { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
  .event-card--img .event-card__media { align-self: stretch; }
}

/* ---------- Book ---------- */
.book { display: grid; gap: 56px clamp(48px, 7vw, 112px); align-items: center; }
.book__cover { display: block; width: 100%; max-width: 460px; justify-self: center; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 60px -36px rgba(4, 30, 50, .45); }
.book__cover img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }
.book__cover:hover img { transform: scale(1.02); }
.book__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; text-wrap: pretty; }
.book__sub { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--lagoon); }
.book__quote { margin: 8px 0; padding-left: 22px; border-left: 2px solid var(--sage); font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.45; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; font-size: 14px; }
@media (min-width: 960px) { .book { grid-template-columns: 1fr 1.1fr; } }

.book-video { display: grid; gap: 28px clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 8vw, 104px); }
.book-video__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.book-video__player { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--navy); box-shadow: 0 30px 50px -32px rgba(4, 30, 50, .5); }
@media (min-width: 960px) { .book-video { grid-template-columns: 1fr 1.7fr; } }

.get-book {
  margin-top: 32px;
  display: grid; gap: 24px clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 5vw, 56px); background: var(--cream-2); border-radius: 36px;
}
.get-book__text { display: flex; flex-direction: column; gap: 14px; max-width: 640px; text-wrap: pretty; }
@media (min-width: 900px) { .get-book { grid-template-columns: 1fr auto; } }

.book-more { margin-top: clamp(56px, 7vw, 88px); font-size: 17px; color: var(--muted); text-wrap: pretty; }
.book-more a { color: var(--ink); text-underline-offset: 3px; }
.book-more em { font-family: var(--serif); font-size: 20px; }
.book-more .btn__icon { width: 16px; height: 16px; vertical-align: -2px; color: var(--ink); }
.event { margin-top: 32px; display: flex; align-items: center; gap: 20px; padding: 22px 26px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; font-size: 16px; text-wrap: pretty; }
.event strong { font-weight: 600; color: var(--ink); }


/* ---------- Videos ---------- */
.videos { display: grid; gap: 36px 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.video { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--navy); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--navy); cursor: pointer; }
.video__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video__play:hover img { transform: scale(1.03); }
.video__icon { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--accent); box-shadow: 0 12px 30px -10px rgba(4, 30, 50, .6); transition: transform .35s var(--ease); }
.video__icon svg { width: 30px; height: 30px; margin-left: 3px; }
.video__play:hover .video__icon { transform: scale(1.08); }
.video figcaption { font-family: var(--serif); font-size: 23px; line-height: 1.25; padding-inline: 4px; }

/* ---------- Footer ---------- */
.footer { padding-block: 0 36px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 32px; padding-block: clamp(48px, 6vw, 64px) 32px; border-bottom: 1px solid var(--line); }
.footer__tagline { margin-top: 8px; max-width: 340px; font-size: 14px; color: var(--muted); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 1px solid #C9D9CC; font-size: 14px; text-decoration: none; }
.pill:hover { border-color: var(--ink); background: var(--white); }
.footer__legal { padding-top: 24px; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.2fr 1.4fr auto; align-items: start; } }

/* ---------- 404 ---------- */
.notfound { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; min-height: 70vh; justify-content: center; padding-block: 48px 96px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 1s ease, transform 1s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card, .book__cover img { transition: none; }
}
