/* =========================================================================
   Merlot — "Fly With Your Dog" SEO Guide — VAR 4 "BIG ANSWER CARDS"
   Palette "Sky Postcard" / Type "Elegant Traveler" — tokens copied
   byte-identical from the approved main-site stylesheet so this page
   reads as the same brand, not a spin-off.
   ========================================================================= */

@font-face {
  font-family: 'DM Serif Display';
  src: url('../assets/fonts/dm-serif-display.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dm-sans.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F4FAFF;
  --sky: #7EC8F2;
  --sunny: #FFD44D;
  --coral: #FF7B54;
  --navy: #1D3A5F;
  --white: #FFFFFF;

  --font-head: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h: 64px;
  --desktop-bp: 861px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

/* =========================================================================
   NAV — logo returns to the main site, nothing else. Kept deliberately thin.
   ========================================================================= */
.nav {
  position: relative;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(244, 250, 255, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  box-shadow: 0 1px 0 rgba(29, 58, 95, 0.08);
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--navy);
  letter-spacing: 0.2px;
}
.nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.72;
}
.nav-back svg { width: 14px; height: 14px; }

/* =========================================================================
   BREADCRUMB
   ========================================================================= */
.crumb {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 22px 0;
  font-size: 11.5px;
  font-weight: 700;
  opacity: 0.5;
}
.crumb a { text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================================
   INTRO — compact banner, eyebrow + h1 + lede, small scene image.
   Not a full-bleed hero: this is a guide page, kept quiet and readable.
   ========================================================================= */
.intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 22px 22px 8px;
}
.eyebrow {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 10.5px;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.intro h1 {
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  max-width: 15ch;
}
.intro-figure {
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(29, 58, 95, 0.12);
}
.intro-figure picture, .intro-figure img { width: 100%; }
.intro-figure img { aspect-ratio: 16 / 11; height: auto; object-fit: cover; object-position: center 30%; }
.intro-copy p {
  font-size: 14.5px;
  line-height: 1.65;
  opacity: 0.86;
  max-width: 62ch;
}
.intro-copy p + p { margin-top: 14px; }

/* =========================================================================
   BRIDGE — text-only breathing room + transition line, used between
   every major block so nothing cuts abruptly into the next section.
   ========================================================================= */
.bridge {
  max-width: 620px;
  margin: 0 auto;
  padding: 34px 22px;
  text-align: center;
}
.bridge-icon {
  width: 22px;
  height: 22px;
  color: var(--coral);
  margin: 0 auto 12px;
}
.bridge p {
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 1.4;
  color: var(--navy);
  opacity: 0.85;
}

/* =========================================================================
   CHAPTERS — the journey, adapted: a numbered vertical run of "Big Answer
   Card" panels (white, rounded-22, soft shadow — same card language as the
   FAQ below) rather than var-3's slim numbered rows. Each chapter carries
   its own coral numeral badge so the step-by-step shape survives, redrawn
   in var-4's material.
   ========================================================================= */
.chapters {
  max-width: 900px;
  margin: 0 auto;
  padding: 4px 22px 8px;
}
.chap-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.chap-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chap-badge {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(255, 123, 84, 0.35);
}
.chap-card {
  background: var(--white);
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: 0 10px 26px rgba(29, 58, 95, 0.08);
}
.chap-card h2 {
  font-size: 20px;
  line-height: 1.24;
  color: var(--navy);
  margin-bottom: 12px;
}
.chap-card h3 {
  font-size: 15.5px;
  line-height: 1.3;
  color: var(--navy);
  margin: 18px 0 8px;
}
.chap-card > h3:first-of-type { margin-top: 18px; }
.chap-card p {
  font-size: 13.5px;
  line-height: 1.66;
  opacity: 0.84;
}
.chap-card p + p { margin-top: 12px; }
.chap-card h3 + p { margin-top: 0; }

.chap-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding: 16px 16px 16px 14px;
  background: rgba(255, 212, 77, 0.22);
  border-radius: 16px;
}
.chap-checks li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.9;
}
.chap-checks li svg {
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  color: var(--coral);
}

.chap-figure {
  border-radius: 16px;
  overflow: hidden;
  margin: 4px 0 16px;
  box-shadow: 0 8px 20px rgba(29, 58, 95, 0.1);
}
.chap-figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 70%; }

/* =========================================================================
   SSS — BIG ANSWER CARDS. No accordion: every answer is visible on load.
   ========================================================================= */
.faq {
  max-width: 1040px;
  margin: 0 auto;
  padding: 4px 22px 8px;
}
.faq-head { margin-bottom: 18px; }
.faq-head h2 { font-size: 24px; line-height: 1.16; margin-bottom: 8px; }
.faq-head p { font-size: 13.5px; line-height: 1.55; opacity: 0.78; max-width: 56ch; }

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-card {
  background: var(--white);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 10px 24px rgba(29, 58, 95, 0.07);
}
.faq-card h3 {
  font-size: 17px;
  line-height: 1.28;
  color: var(--navy);
  margin-bottom: 10px;
}
.faq-card p {
  font-size: 13px;
  line-height: 1.62;
  opacity: 0.82;
}

/* =========================================================================
   CLOSING — kapanis copy + single "Be First to Know" CTA teaser
   ========================================================================= */
.closing {
  position: relative;
  margin-top: 8px;
}
.closing-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.closing-art picture, .closing-art img { width: 100%; height: 100%; }
.closing-art img { object-fit: cover; object-position: center 34%; }

.closing-panel {
  background: var(--navy);
  color: var(--white);
  padding: 30px 22px 36px;
  text-align: center;
}
.closing-panel p.lede {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 58ch;
  margin: 0 auto 22px;
}
.closing-eyebrow {
  color: var(--sunny);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 10.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.closing-panel h2 {
  font-size: 24px;
  line-height: 1.16;
  margin-bottom: 10px;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}
.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sunny);
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  padding: 15px 28px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255, 212, 77, 0.4);
  border: none;
  cursor: pointer;
}

/* =========================================================================
   FOOTER — sade: logo, tagline, one back-link, copyright. No imagery.
   ========================================================================= */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 22px 22px 26px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 19px;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-tagline { font-size: 11.5px; margin-bottom: 14px; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-links a { font-size: 11.5px; font-weight: 700; color: rgba(255, 255, 255, 0.75); }
.footer-copy { font-size: 10.5px; color: rgba(255, 255, 255, 0.42); }

/* =========================================================================
   "BE FIRST TO KNOW" MODAL — self-contained, same pattern as the main site.
   ========================================================================= */
.bf-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(29, 58, 95, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}
.bf-overlay.is-open { opacity: 1; visibility: visible; }
.bf-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: 24px 24px 0 0;
  padding: 30px 22px 26px;
  transform: translateY(16px);
  transition: transform 0.2s ease;
}
.bf-overlay.is-open .bf-modal { transform: translateY(0); }
.bf-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(29, 58, 95, 0.06);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; color: var(--navy);
}
.bf-close svg { width: 16px; height: 16px; }
.bf-eyebrow { color: var(--coral); }
.bf-title { font-size: 22px; margin-bottom: 8px; }
.bf-desc { font-size: 13px; line-height: 1.55; opacity: 0.78; margin-bottom: 18px; }
.bf-field { display: block; margin-bottom: 14px; }
.bf-field-label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.6; margin-bottom: 6px; }
.bf-input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(29, 58, 95, 0.16);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
  background: var(--bg);
}
.bf-input:focus { outline: none; border-color: var(--coral); }
.bf-hp { position: absolute; left: -9999px; }
.bf-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; line-height: 1.5; opacity: 0.75; margin-bottom: 18px; }
.bf-consent input { margin-top: 3px; }
.bf-submit {
  width: 100%;
  background: var(--sunny);
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  padding: 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}
.bf-thanks { font-size: 13px; line-height: 1.6; text-align: center; padding: 8px 0; }
.bf-thin-divider { border: none; border-top: 1px solid rgba(29, 58, 95, 0.1); margin-top: 18px; }
.bf-ig-link { display: block; text-align: center; font-size: 12.5px; font-weight: 700; opacity: 0.7; margin-top: 16px; }

/* =========================================================================
   DESKTOP (>= 861px)
   ========================================================================= */
@media (min-width: 861px) {
  .nav { height: 80px; padding: 0 40px; }
  .nav-logo { font-size: 22px; }
  .crumb { padding: 22px 40px 0; }

  .intro {
    padding: 40px 40px 8px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
    max-width: 1120px;
  }
  .intro-text { grid-column: 1; }
  .intro h1 { font-size: 42px; max-width: 12ch; margin-bottom: 16px; }
  .intro-copy p { font-size: 15px; }
  .intro-figure { grid-column: 2; grid-row: 1 / 3; margin-bottom: 0; }
  .intro-figure img { aspect-ratio: 4 / 5; }

  .bridge { padding: 48px 22px; }
  .bridge p { font-size: 19px; max-width: 520px; margin: 0 auto; }

  .chapters { padding: 8px 40px 12px; max-width: 980px; }

  .chap-list { gap: 24px; }
  .chap-step { flex-direction: row; align-items: flex-start; gap: 20px; }
  .chap-badge { width: 40px; height: 40px; font-size: 17px; margin-top: 24px; }
  .chap-card { flex: 1 1 0; padding: 34px 38px; }
  .chap-card h2 { font-size: 25px; margin-bottom: 14px; }
  .chap-card h3 { font-size: 17px; }
  .chap-card p { font-size: 14.5px; }
  .chap-checks li { font-size: 13.5px; }
  .chap-figure { max-width: 420px; }

  .faq { padding: 8px 40px 12px; max-width: 1120px; }
  .faq-head h2 { font-size: 30px; }
  .faq-head p { font-size: 14.5px; }
  .faq-grid { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .faq-card { flex: 1 1 calc(50% - 10px); padding: 28px 26px; }
  .faq-card h3 { font-size: 18px; }
  .faq-card p { font-size: 13.5px; }

  .closing { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .closing-art { aspect-ratio: auto; height: 100%; }
  .closing-panel { text-align: left; padding: 56px 56px; display: flex; flex-direction: column; justify-content: center; }
  .closing-panel h2 { margin-left: 0; margin-right: 0; font-size: 32px; max-width: 14ch; }
  .closing-panel p.lede { margin: 0 0 24px; }
  .closing-cta { width: fit-content; }

  .footer { padding: 26px 40px 30px; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .footer-brand { text-align: left; }
  .footer-tagline { margin-bottom: 0; }
  .footer-links { margin-bottom: 0; }
  .footer-copy { order: 3; }
}

@media (min-width: 1180px) {
  .faq-card { flex: 1 1 calc(50% - 10px); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.001ms !important; }
}
