@font-face { font-family: "Neutra"; src: url("/fonts/neutra-book.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Neutra"; src: url("/fonts/neutra-demi.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Neutra"; src: url("/fonts/neutra-bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --teal: #0bb2b2;
  --navy: #054f86;
  --yellow: #ffc100;
  --yellow-dark: #efaf00;
  --ink: #222;
  --grey: #ececec;
  --head: "Neutra", "Jost", "Futura", "Century Gothic", sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; margin: 0 0 .6em; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.logo img { width: 290px; }
.nav { display: flex; gap: 36px; }
.nav a { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; color: var(--navy); font-size: 17px; }
.nav a:hover { color: var(--yellow-dark); }

/* Buttons */
.btn { display: inline-block; background: var(--yellow); color: #fff; font-family: var(--body); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; border: 0; border-radius: 2px; padding: 12px 52px; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--yellow-dark); }
.secure { font-size: 11px; margin: 12px 0 0; }
.claim { font-family: var(--head); font-weight: 600; font-size: 22px; margin: 0 0 .4em; }

/* Hero */
.hero { background: #c9824f url("/img/hero-bg.jpg") center / cover no-repeat; color: #fff; }
.hero-inner { display: flex; align-items: center; justify-content: flex-end; gap: 70px; min-height: 460px; padding-top: 50px; padding-bottom: 50px; }
.hero-book { width: 190px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); }
.hero-copy { text-align: center; width: 370px; }
.hero h1 { font-size: 38px; }
.hero .sub { font-size: 19px; line-height: 1.5; margin: 0 0 22px; }
.hero .secure { color: rgba(255,255,255,.85); }

/* About */
.about { position: relative; isolation: isolate; overflow: hidden; padding: 80px 0; }
.about-photo { position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: none; z-index: -1; }
.about-copy { max-width: 600px; }
.about h2 { color: var(--teal); font-size: 40px; }
.about p { font-size: 15px; }
.learn { font-weight: 600; }
.learn a { color: var(--yellow-dark); font-weight: 700; text-transform: uppercase; text-decoration: none; }

/* Consult */
.consult { background: var(--navy) url("/img/consult-bg.jpg") center / cover no-repeat; color: #fff; text-align: center; padding: 110px 0; }
.consult h2 { color: var(--teal); font-size: 36px; }
.consult p { font-weight: 600; font-size: 18px; margin: 0; }
.consult a { color: var(--yellow); font-style: italic; font-weight: 700; }

/* Success stories */
.stories { background: var(--grey) url("/img/stories-bg.jpg") right center / cover no-repeat; position: relative; padding: 70px 0; }
.stories::before { content: ""; position: absolute; inset: 0; background: rgba(236,236,236,.9); }
.stories .wrap { position: relative; }
.stories h2 { color: var(--teal); text-align: center; font-size: 36px; margin-bottom: 40px; }
.story { display: flex; gap: 40px; align-items: center; max-width: 900px; margin: 0 auto 40px; }
.story img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex: none; }
.story div { min-width: 0; }
.story p { margin: 0 0 12px; font-size: 15px; }
.story .who { font-family: var(--head); font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; margin: 0; font-size: 14px; }
.story .role { color: var(--navy); font-size: 13px; margin: 0; }

/* Contact */
.contact { background: var(--teal); color: #fff; display: flex; align-items: flex-end; justify-content: center; gap: 60px; padding: 60px max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
.contact-photo { width: 360px; }
.contact-copy { padding-bottom: 60px; }
.contact h2 { font-size: 36px; margin-bottom: .3em; }
.contact .email { color: var(--yellow); font-style: italic; font-weight: 700; text-decoration: none; font-size: 17px; }
.social-head { margin-top: 40px; }
.social { display: flex; gap: 12px; margin-bottom: 30px; }
.social a { width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.social svg { width: 22px; height: 22px; fill: #fff; }
.learn-more a { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.learn-more span { font-family: var(--head); font-weight: 600; text-transform: uppercase; font-size: 22px; letter-spacing: .04em; }
.learn-more img { width: 130px; }

/* Bottom book */
.book { padding: 80px 0; text-align: center; }
.book-inner { display: flex; align-items: center; justify-content: center; gap: 80px; }
.book-inner img { width: 260px; }
.book-inner > div { max-width: 440px; }
.book .claim { color: var(--teal); }
.book h2 { color: var(--navy); font-size: 38px; }
.book .sub { font-weight: 700; font-size: 20px; line-height: 1.5; margin: 0 0 24px; }
.book .secure { color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: #fff; text-align: center; padding: 40px 20px; }
.site-footer img { width: 196px; margin: 0 auto 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; text-transform: uppercase; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--yellow); }
.site-footer p { font-size: 12px; margin: 16px 0 0; }

/* Book popup */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { position: relative; background: #fff; border-radius: 6px; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 32px 24px 20px; text-align: center; }
.modal-box .claim { color: var(--teal); }
.modal-box h2 { color: var(--navy); font-size: 28px; }
.modal-close { position: absolute; top: 6px; right: 10px; border: 0; background: none; font-size: 32px; line-height: 1; cursor: pointer; color: #555; }
.secure.dark { color: #555; }

/* Tablet and phone */
@media (max-width: 900px) {
  .header-inner { flex-direction: column; gap: 10px; padding-top: 14px; padding-bottom: 12px; }
  .logo img { width: 220px; }
  .nav { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .nav a { font-size: 14px; }
  html { scroll-padding-top: 110px; }
  .hero { background-image: none; background: linear-gradient(135deg, #e0a06c, #a85a35); }
  .hero-inner { flex-direction: column; justify-content: center; gap: 24px; min-height: 0; padding-top: 0; padding-bottom: 40px; }
  .hero-inner::before { content: ""; display: block; width: calc(100% + 40px); margin: 0 -20px; aspect-ratio: 511 / 367; background: url("/img/hero-mobile.jpg") center / cover no-repeat; }
  .hero-book { display: none; }
  .hero-copy { width: auto; max-width: 420px; }
  .hero h1, .book h2 { font-size: 30px; }
  .about { padding: 0 0 50px; }
  .about-photo { position: static; width: 100%; height: auto; z-index: auto; margin-bottom: 30px; object-fit: cover; object-position: right; aspect-ratio: 16 / 10; }
  .about { display: flex; flex-direction: column-reverse; }
  .about h2, .consult h2, .stories h2, .contact h2 { font-size: 30px; }
  .consult { padding: 70px 0; }
  .story { flex-direction: column; text-align: center; gap: 16px; }
  .story img { width: 130px; height: 130px; }
  .contact { flex-direction: column-reverse; align-items: center; text-align: center; gap: 20px; padding-top: 50px; }
  .contact-copy { padding-bottom: 0; }
  .social, .learn-more a { justify-content: center; }
  .contact-photo { width: 260px; }
  .book-inner { flex-direction: column; gap: 30px; }
  .book-inner img { width: 200px; }
  .btn { font-size: 19px; padding: 12px 30px; width: 100%; max-width: 360px; }
}
