/* ==========================================================================
   Ponies and Animals 2u — site styles
   Warm meadow theme: cream + meadow green + sunny gold
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/Fredoka-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/Fredoka-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/Fredoka-700.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg: #FBF7EE;
  --bg-tint: #F4EDDC;
  --card: #FFFFFF;
  --ink: #27332A;
  --ink-soft: #5C6B5F;
  --green: #3F7D4E;
  --green-deep: #2E5C3A;
  --green-soft: #E7F0E4;
  --sun: #F2B33D;
  --sun-deep: #D89A22;
  --sun-soft: #FBEED2;
  --pink: #E26D8C;
  --pink-soft: #FBE7ED;
  --line: #E6DDC9;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(46, 92, 58, 0.07);
  --shadow: 0 14px 34px rgba(46, 92, 58, 0.12);
  --font-display: "Fredoka", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

a { color: var(--green-deep); }
a:hover { color: var(--green); }

ul, ol { margin: 0; padding: 0; list-style: none; }

.line-icon { vertical-align: -0.18em; flex: none; }

.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }

::selection { background: var(--sun); color: var(--ink); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-deep); color: #fff; padding: 10px 16px;
  border-radius: 0 0 10px 0; z-index: 100;
}
.skip:focus { left: 0; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 22px;
}
.container-narrow { max-width: 780px; }
.center-col { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); color: #fff; box-shadow: var(--shadow-sm); }

.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green);
}
.btn-ghost:hover { background: var(--green-soft); color: var(--green-deep); }

.btn-light { background: #fff; color: var(--green-deep); }
.btn-light:hover { background: var(--sun-soft); color: var(--green-deep); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.btn-sm { padding: 10px 18px; font-size: 0.95rem; }
.btn-lg { padding: 16px 30px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 238, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: 44px; height: 44px; border-radius: 12px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand-two { color: var(--sun-deep); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.primary-nav > a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
}
.primary-nav > a:hover { color: var(--green-deep); }
.primary-nav > a.active { color: var(--green-deep); }
.primary-nav > a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: var(--sun);
}
.nav-phone {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  color: var(--green-deep) !important;
  font-weight: 600 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 84px;
  background:
    radial-gradient(1100px 500px at 85% -10%, var(--green-soft) 0%, transparent 60%),
    radial-gradient(800px 420px at -10% 110%, var(--sun-soft) 0%, transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: start;
}
.nowrap { white-space: nowrap; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--green-deep);
  background: var(--green-soft);
  border: 1px solid #D8E5D2;
  padding: 7px 15px;
  border-radius: 999px;
  margin: 0 0 18px;
}

.lede {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 34em;
}
.accent { color: var(--green); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero-chips .line-icon { color: var(--green); }

.hero-media { position: relative; }
.hero-media > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-card {
  position: absolute;
  left: -22px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  max-width: 340px;
}
.hero-card strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.hero-card strong .line-icon { color: var(--green); }
.hero-card span { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section-tint { background: var(--bg-tint); }

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }

/* ---------- Occasions ---------- */
.occasions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.occasions-grid-3 { grid-template-columns: repeat(3, 1fr); }

.occ-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.occ-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.occ-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--green-soft);
  color: var(--green-deep);
  margin-bottom: 16px;
}
.occ-card:nth-child(3n+2) .occ-icon { background: var(--sun-soft); color: var(--sun-deep); }
.occ-card:nth-child(3n) .occ-icon { background: var(--pink-soft); color: var(--pink); }
.occ-card h3 { margin-bottom: 8px; }
.occ-card p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; }

/* ---------- Feature cards (what we bring) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.feature-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.feature-body { padding: 26px 28px 30px; }
.feature-body h3 { font-size: 1.5rem; }
.feature-body p { color: var(--ink-soft); margin-bottom: 14px; }
.link-more {
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  color: var(--green-deep);
}
.link-more:hover { color: var(--green); }

.addons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.addons-row-wide .addon-card { padding: 30px; }
.addon-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.addon-card .occ-icon { margin-bottom: 0; width: 48px; height: 48px; }
.addon-card h4 { margin-bottom: 5px; }
.addon-card p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--sun);
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green-deep);
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-grid figure:hover img { transform: scale(1.045); }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(23, 38, 27, 0.78));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
}

/* ---------- Area ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.area-grid h2 { margin-bottom: 14px; }
.area-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 44px 52px;
}
.area-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--green-deep);
  line-height: 1.1;
}
.area-plus {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--sun);
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 400px at 110% -20%, rgba(242, 179, 61, 0.28) 0%, transparent 55%),
    var(--green-deep);
  color: #FDFBF5;
  padding: 68px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(253, 251, 245, 0.85); max-width: 34em; }
.cta-band .hero-ctas { margin: 0; }

/* ---------- Page head (inner pages) ---------- */
.page-head {
  padding: 64px 0 30px;
  background:
    radial-gradient(900px 380px at 80% -30%, var(--green-soft) 0%, transparent 60%);
}
.page-head + .section { padding-top: 42px; }
.page-head .lede { margin-top: 10px; }

/* ---------- Split sections ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.split-reverse .split-media { order: 2; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.split-copy .lede { margin-bottom: 14px; }

.note-box {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--sun-soft);
  border: 1px solid #F0DCAE;
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.98rem;
  color: #6B5416;
  margin-top: 18px;
}
.note-box .note-icon { color: var(--sun-deep); margin-top: 2px; }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.value-card h3 { margin-bottom: 8px; }
.value-card p { margin: 0; color: var(--ink-soft); }

/* ---------- Expect list ---------- */
.expect-list { display: grid; gap: 14px; }
.expect-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.expect-list .line-icon { color: var(--green); margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  padding: 16px 0;
  position: relative;
  padding-right: 34px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--sun-deep);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px 36px 40px;
}
.contact-card h2 { font-size: 1.9rem; margin-bottom: 22px; }

.contact-card label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.contact-card input,
.contact-card select,
.contact-card textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #FFFDF8;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 125, 78, 0.18);
}
.contact-card textarea { resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-status { margin-top: 14px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--green-deep); }
.form-status.err { color: #B23B3B; }
.form-fine { margin: 14px 0 0; }

.contact-side { display: grid; gap: 18px; }
.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 26px;
}
.side-card h3 { margin-bottom: 8px; }
.side-card p { color: var(--ink-soft); font-size: 0.99rem; margin-bottom: 14px; }
.side-card .btn { margin-bottom: 4px; }
.side-card p:last-of-type { margin-bottom: 0; }
.side-mail a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  word-break: break-all;
}

.foot-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--green-deep);
  text-decoration: none;
}
.foot-social:hover { color: var(--green); }

/* ---------- FAB + mobile action bar ---------- */
.fab-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
}
.fab-call:hover { background: var(--green-deep); color: #fff; }

.mobile-action-bar { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: #22301F;
  color: #E9EFE4;
  padding: 60px 0 30px;
  margin-top: 0;
}
.site-footer a { color: #E9EFE4; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(233, 239, 228, 0.16);
}
/* Long emails/URLs must not force grid tracks wider than the viewport */
.footer-grid > * { min-width: 0; }
.footer-grid a { overflow-wrap: anywhere; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: rgba(233, 239, 228, 0.78); font-size: 0.98rem; }
.footer-grid h4 {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 14px;
}
.footer-grid ul { display: grid; gap: 9px; }
.footer-grid li { font-size: 0.99rem; }

.footer-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
}
.footer-foot p { margin: 0; }
.muted { color: rgba(233, 239, 228, 0.62); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .occasions-grid, .occasions-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 640px; }
  .hero-card { left: 12px; bottom: -26px; }
  .feature-grid { grid-template-columns: 1fr; }
  .split-grid, .split-reverse { grid-template-columns: 1fr; gap: 34px; }
  .split-reverse .split-media { order: 0; }
  .area-grid { grid-template-columns: 1fr; gap: 36px; }
  .area-badge { flex-direction: row; padding: 30px 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 58px 0; }
  .hero { padding: 44px 0 74px; }

  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px 22px 20px;
    display: none;
  }
  .primary-nav.open { display: flex; }
  .primary-nav > a { padding: 12px 6px; font-size: 1.08rem; border-radius: 10px; }
  .primary-nav > a.active::after { display: none; }
  .primary-nav > a.active { background: var(--green-soft); }
  .primary-nav .btn { margin-top: 10px; }

  .fab-call { display: none; }
  .mobile-action-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }
  .mab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: var(--green-deep);
    background: var(--green-soft);
  }
  .mab-btn + .mab-btn { margin-left: 10px; }
  .mab-call { background: var(--green); color: #fff; }

  body { padding-bottom: 78px; }
  .footer-foot { flex-direction: column; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand-word { display: none; }
  .br-desktop { display: none; }
  .occasions-grid, .occasions-grid-3, .steps, .values-grid, .addons-row, .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-card { padding: 26px 22px 30px; }
  .hero-card { position: static; max-width: none; margin-top: 16px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .area-badge { flex-direction: column; }
}

/* =====================================================
   MOTION LAYER — page transitions, load choreography,
   timed words, scroll reveals.
   Everything is gated behind html.js (set by inline
   script in <head>), so no-JS visitors see a static site.
   ===================================================== */

:root {
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-swift: cubic-bezier(0.77, 0, 0.18, 1);
}

/* Guard: reveal slide-ins never create horizontal scroll */
html { overflow-x: hidden; }
html { overflow-x: clip; }

/* ---------- Page veil (fade out on load, fade in on navigate) ---------- */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-swift);
}
html.js .page-veil { opacity: 1; }
html.js .page-veil.lift { opacity: 0; pointer-events: none; }
html.js body.page-exit .page-veil { opacity: 1; pointer-events: auto; transition-duration: 0.28s; }

/* ---------- Header entrance ---------- */
html.js .site-header { opacity: 0; transform: translateY(-14px); }
html.js body.is-ready .site-header {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease-premium) 0.12s, transform 0.6s var(--ease-premium) 0.12s;
}

/* ---------- Load choreography: [data-load] fades up, staggered via --d ---------- */
html.js [data-load] { opacity: 0; transform: translateY(18px); filter: blur(6px); }
html.js body.is-ready [data-load] {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.7s var(--ease-premium) var(--d, 0s),
              transform 0.7s var(--ease-premium) var(--d, 0s),
              filter 0.7s var(--ease-premium) var(--d, 0s);
}

/* ---------- Hero heading: word-by-word fade ---------- */
.hero h1 .w { display: inline-block; }
html.js .hero h1 .w {
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(8px);
}
html.js body.is-ready .hero h1 .w {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.6s var(--ease-premium) calc(0.22s + var(--i, 0) * 0.07s),
              transform 0.6s var(--ease-premium) calc(0.22s + var(--i, 0) * 0.07s),
              filter 0.6s var(--ease-premium) calc(0.22s + var(--i, 0) * 0.07s);
}

/* ---------- Hero media: slow settle + card lift ---------- */
html.js .hero-media img { opacity: 0; transform: scale(1.05); }
html.js body.is-ready .hero-media img {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.9s var(--ease-premium) 0.2s, transform 1.4s var(--ease-premium) 0.2s;
}
html.js .hero-card { opacity: 0; transform: translateY(16px); }
html.js body.is-ready .hero-card {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-premium) 0.55s, transform 0.7s var(--ease-premium) 0.55s;
}
@media (min-width: 700px) {
  html.js body.is-ready .hero-card { animation: card-float 7s ease-in-out 2.2s infinite alternate; }
}
@keyframes card-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

/* ---------- Timed words (rotator) ---------- */
.rotator { display: inline-block; vertical-align: bottom; overflow: hidden; }
.rot-word { display: inline-block; white-space: nowrap; }
.rot-word.word-out { animation: word-out 0.28s var(--ease-swift) forwards; }
.rot-word.word-in  { animation: word-in 0.45s var(--ease-premium); }
@keyframes word-out { to { opacity: 0; transform: translateY(-0.6em); } }
@keyframes word-in  { from { opacity: 0; transform: translateY(0.6em); } }
.hero-rotator {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--ink-soft);
}
.hero-rotator .rot-word { color: var(--green); }
.cta-band .rot-word { color: var(--sun); }

/* ---------- Scroll reveals: [data-reveal] (+ left/right/zoom variants) ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-premium) var(--d, 0s),
              transform 0.7s var(--ease-premium) var(--d, 0s);
}
html.js [data-reveal="left"]  { transform: translateX(-34px); }
html.js [data-reveal="right"] { transform: translateX(34px); }
html.js [data-reveal="zoom"]  { transform: scale(0.955); }
html.js [data-reveal].in-view { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .page-veil { display: none; }
  html.js [data-load], html.js .hero h1 .w, html.js .hero-media img,
  html.js .hero-card, html.js .site-header, html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
