:root {
  --navy: #153f52;
  --navy-deep: #0d3040;
  --blue: #48a9cf;
  --blue-soft: #dceff5;
  --blue-pale: #edf7fa;
  --green: #8fa99a;
  --orange: #e97524;
  --paper: #fffdf9;
  --ink: #183844;
  --white: #ffffff;
  --shadow: 0 22px 58px rgba(21, 63, 82, 0.16);
  --radius: 26px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
cite { font-style: italic; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding-block: 18px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  width: 170px;
  height: 84px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(13, 48, 64, 0.18);
  font-size: 0.96rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--navy-deep);
  box-shadow: 0 16px 34px rgba(13, 48, 64, 0.24);
  transform: translateY(-2px);
}

.button:focus-visible,
summary:focus-visible,
.floating-whatsapp:focus-visible {
  outline: 4px solid rgba(233, 117, 36, 0.5);
  outline-offset: 4px;
}

.button-small {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.88rem;
}

.hero {
  min-height: 790px;
  display: grid;
  align-items: center;
  padding: 135px 0 64px;
  overflow: hidden;
  background: var(--paper) url("assets/hero-background.webp") center bottom / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
}

.hero-copy { position: relative; z-index: 2; }

.book-name {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 26px;
  line-height: 0.84;
  text-transform: uppercase;
}

.book-name strong {
  color: var(--navy);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -0.035em;
}

.book-name span {
  margin-top: 13px;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-style: italic;
  text-transform: none;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.14;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 4.3vw, 4.15rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  letter-spacing: -0.025em;
}

.hero-copy > p:not(.hero-note) {
  max-width: 660px;
  margin: 0 0 30px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.hero-note {
  margin: 13px 0 0;
  color: #3f626f;
  font-size: 0.86rem;
}

.hero-art {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: min(350px, 88%);
  height: auto;
  filter: drop-shadow(0 30px 28px rgba(30, 50, 55, 0.2));
}

.halo {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 239, 245, 0.94) 0 45%, rgba(220, 239, 245, 0) 72%);
}

.story-section,
.fit-section,
.faq-section {
  color: var(--white);
  background: linear-gradient(135deg, #3b9fc8, #52afd0 55%, #4c9fba);
}

.story-section { padding: 90px 0; }

.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark { color: #4d7889; }
.eyebrow.centered { text-align: center; }

.story-copy h2,
.fit-section h2,
.faq-section h2 { color: var(--white); }

.story-copy blockquote {
  margin: 24px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-style: italic;
  line-height: 1.18;
}

.story-copy p:last-child { color: rgba(255, 255, 255, 0.88); }

.video-frame {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  border: 7px solid rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.video-frame::before {
  content: "";
  display: block;
  width: 100%;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  transform: scale(1.065);
  transform-origin: center;
}

.video-horizontal::before { padding-top: 56.25%; }
.video-vertical::before { padding-top: 177.7778%; }
.video-vertical iframe { transform: scale(1.045); }

.author-section { padding: 110px 0; }

.author-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.author-photo {
  position: relative;
  margin: 0;
}

.author-photo::before {
  content: "";
  position: absolute;
  inset: -18px 22px 22px -18px;
  z-index: -1;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
}

.author-photo img {
  width: 100%;
  max-height: 590px;
  object-fit: cover;
  object-position: center 37%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.author-copy p {
  margin: 0 0 16px;
  color: #385963;
  font-size: 1.02rem;
}

.author-copy p:first-of-type:not(.eyebrow) {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.26rem;
}

.fit-section { padding: 92px 0 100px; }
.fit-section h2,
.testimonials-section h2,
.faq-section h2 { text-align: center; }

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.fit-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.fit-card span {
  display: block;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.7);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.fit-card p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.35;
}

.testimonials-section {
  padding: 100px 0 110px;
  background: var(--paper) url("assets/cloud-background.webp") center top / cover no-repeat;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(22px, 4vw, 46px);
  width: min(920px, 100%);
  margin: 46px auto 0;
}

.testimonial-card {
  margin: 0;
  padding: 14px 14px 18px;
  border: 1px solid rgba(72, 169, 207, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(21, 63, 82, 0.12);
}

.testimonial-card .video-frame {
  border-width: 4px;
  border-radius: 17px;
}

.testimonial-card h3 {
  margin: 14px 0 0;
  text-align: center;
  font-size: 1.2rem;
}

.faq-section { padding: 96px 0 105px; }
.faq-wrap { max-width: 900px; }

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  background: rgba(18, 63, 82, 0.92);
}

.faq-list summary {
  position: relative;
  padding: 18px 58px 18px 22px;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  font-size: 1.5rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  margin: 0;
  padding: 0 22px 20px;
  color: rgba(255, 255, 255, 0.88);
}

.closing-section {
  padding: 92px 0 72px;
  background: var(--paper) url("assets/hero-background.webp") center bottom / cover no-repeat;
}

.closing-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
}

.closing-art { display: grid; place-items: center; }
.closing-art img {
  width: min(250px, 76%);
  height: auto;
  filter: drop-shadow(0 26px 25px rgba(30, 50, 55, 0.18));
}

.closing-copy p:not(.eyebrow):not(.hero-note) {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: 1.08rem;
}

.site-footer {
  padding: 35px 0 95px;
  background: #fbfaf6;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(21, 63, 82, 0.12);
  padding-top: 28px;
}

.footer-inner img {
  width: 150px;
  height: 75px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.footer-inner p {
  margin: 0;
  color: #66808a;
  font-size: 0.82rem;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 10px 17px 10px 13px;
  border: 2px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  background: #1e9d60;
  box-shadow: 0 15px 36px rgba(13, 48, 64, 0.28);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.floating-whatsapp svg { width: 27px; height: 27px; }

@media (max-width: 900px) {
  .site-header .button { display: none; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero-grid,
  .story-grid,
  .author-grid,
  .closing-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-art { order: 2; min-height: 430px; }
  .hero-art img { width: min(300px, 76vw); }
  .story-copy { text-align: center; }
  .author-photo { width: min(520px, 92%); margin-inline: auto; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-card { min-height: auto; }
  .closing-art img { width: min(230px, 60vw); }
  .closing-copy { text-align: center; }
  .closing-copy p { margin-inline: auto; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand-logo { width: 142px; height: 70px; }
  .hero { padding-top: 110px; background-position: 56% bottom; }
  .hero-copy { text-align: center; }
  .book-name { align-items: center; }
  .hero-copy > p:not(.hero-note) { margin-inline: auto; }
  .hero-note span { display: block; height: 0; overflow: hidden; }
  .hero-art { min-height: 370px; }
  .halo { width: 390px; height: 390px; }
  .story-section,
  .author-section,
  .fit-section,
  .testimonials-section,
  .faq-section,
  .closing-section { padding-block: 72px; }
  .testimonials-grid {
    grid-template-columns: 1fr;
    width: min(360px, 100%);
    gap: 32px;
  }
  .author-grid { gap: 54px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { right: 14px; bottom: 14px; padding: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-art {
    animation: rise-in 700ms ease both;
  }
  .hero-art { animation-delay: 100ms; }
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
