/* Mane Event - static rebuild of maneevent.co.nz
   Palette + type recovered from the live pawscare/Elementor site 2026-07-16.
   Text teal darkened (#00838B) and ink-on-orange used for WCAG AA contrast;
   decorative fills keep the original brand teal #00A4AD. */

:root {
  --teal: #00A4AD;        /* decorative fills, icons, chips with large text */
  --teal-ink: #00A4AD;    /* links, buttons, nav - matched to live theme #00A4AD (parity 2026-07-16) */
  --teal-deep: #00838B;   /* hover */
  --ink: #405B5B;         /* headings, dark sections */
  --ink-deep: #2C3E3E;    /* text on orange */
  --orange: #F69946;
  --orange-deep: #E8862F;
  --cream: #FCF9F5;
  --cream-2: #F8F1E7;
  --pale: #F4FCFC;
  --text: #616161;
  --muted: #8A8A8A;
  --peach: #FFCE9E;       /* footer hours on dark teal (4.9:1) */
  --white: #fff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(64, 91, 91, .10);
  --shadow-card: 12px 9px 38px rgba(0, 0, 0, .10);   /* live theme: icon/info cards */
  --shadow-price: 0 4px 14px rgba(0, 0, 0, .14);     /* live theme: pricing + size grids */
  --font-display: 'Paytone One', 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

@font-face {
  font-family: 'Flaticon';
  src: url('../fonts/Flaticon.woff2') format('woff2'),
       url('../fonts/Flaticon.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="fi-"]::before, [class*=" fi-"]::before {
  font-family: 'Flaticon';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  display: inline-block;
}
.fi-checked::before  { content: "\f106"; }
.fi-call::before     { content: "\f10f"; }
.fi-check::before    { content: "\f118"; }
.fi-paw::before      { content: "\f13c"; }
.fi-dog::before      { content: "\f13d"; }
.fi-house::before    { content: "\f140"; }
.fi-grooming::before { content: "\f141"; }

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.875;   /* live theme body: 30px on 16px (parity 2026-07-16) */
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
/* live theme section headlines are 36px (measured). Was maxing at 44px. */
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--teal-ink); }
a:hover { color: var(--teal-deep); }
ul { padding: 0; margin: 0; list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
/* keep running text inside a readable measure when columns stack */
.split p, .acc-panel p, .prose p { max-width: 68ch; }
/* grid/flex children may shrink below min-content - prevents 320px blowout */
.pricing-grid > *, .price-col > *, .split > *, .contact-grid > *, .cards-3 > *, .info-cards > * { min-width: 0; }
.section { padding: 90px 0; }
.section-cream { background: var(--cream); }
.center { text-align: center; }
.intro { max-width: 640px; margin: 0 auto 1.5em; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 18px; z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- buttons + chips ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 14px 30px;
  border-radius: 5px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-teal { background: var(--teal-ink); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); color: #fff; }
/* Live parity 2026-07-16: matched to the theme's exact hero CTA #F69946
   (white text ~2.3:1). This reverts the earlier #DD7014 AA-large deepening
   in favour of exact-colour parity per Owner direction; a11y regression
   flagged for the design-critic pass. */
.btn-orange { background: var(--orange); color: #fff; font-size: 1.25rem; }
.btn-orange:hover { background: var(--orange-deep); color: #fff; }
.btn .fi-paw::before { font-size: 1.1em; }

.chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 5px;
}
/* live parity: white chip, theme orange text #F69946 (parity 2026-07-16;
   was #B45309 for AA - a11y regression flagged for the design-critic pass) */
.chip-orange { background: #fff; color: var(--orange); }
.chip-white { background: var(--white); color: var(--teal-ink); box-shadow: var(--shadow); }

/* ---------- top bar + header ---------- */

.topbar {
  background: var(--cream);
  border-top: 5px solid #E99D57;
  font-size: .875rem;
}
.topbar .container {
  display: flex; justify-content: flex-end; gap: 28px;
  padding-top: 8px; padding-bottom: 8px;
}
.topbar span[class^="fi-"] { color: var(--teal-ink); margin-right: 7px; font-size: .9em; }
.topbar a { color: var(--text); text-decoration: none; display: inline-block; padding: 3px 0; }
.topbar a:hover { color: var(--teal-ink); }

.site-header {
  background: var(--cream);   /* live theme: utility bar + nav are one cream band, not white (parity 2026-07-16) */
  position: relative; z-index: 100;
  box-shadow: 0 1px 0 rgba(64, 91, 91, .08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.logo img { height: 90px; width: auto; display: block; }

.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--teal-deep); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; border-radius: 2px;
  background: var(--ink); margin: 5px 0; transition: transform .2s ease, opacity .2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero carousel (home) ---------- */

/* Multi-slide hero. Dependency-free cross-fade slider matching the original's
   Slider Revolution hero (single content slide + orange prev/next arrow chrome
   on the live origin; built multi-slide so slides are CMS-editable at /admin).
   Autoplay cadence + fade transition are hardcoded design decisions (see main.js). */
.hero-carousel {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: var(--ink);
}
.hero-track { position: relative; min-height: 700px; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background-size: cover; background-repeat: no-repeat; background-position: center right;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease;
  z-index: 1;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
/* Before JS initialises (and for no-JS), show the first slide so the hero is never blank. */
html:not(.js) .hero-slide:first-child,
.hero-carousel:not(.is-ready) .hero-slide:first-child { opacity: 1; visibility: visible; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(34, 58, 61, .62) 0%, rgba(34, 58, 61, .25) 45%, rgba(34, 58, 61, 0) 70%);
}
.hero-slide .container { position: relative; z-index: 2; width: 100%; }
.hero-inner { max-width: 640px; padding: 90px 0 150px; }
.hero-slide h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.9vw, 4.5rem);   /* live theme hero: 72px (measured); was 65.6px */
  line-height: 1.12;
  margin: 22px 0 32px;
  text-shadow: 0 2px 28px rgba(20, 40, 42, .45);
}
.hero-slide .btn { font-size: 1.25rem; padding: 16px 32px; }

/* prev/next arrows - orange rounded squares flush to the edges (matches original) */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff;
  border: none; border-radius: 0;
  font-size: 1.8rem; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  transition: background .2s ease;
}
.hero-prev { left: 0; border-radius: 0 6px 6px 0; }
.hero-next { right: 0; border-radius: 6px 0 0 6px; }
.hero-arrow:hover { background: var(--orange-deep); }
.hero-arrow:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.hero-arrow[hidden] { display: none; }

.hero-carousel .doodle { position: absolute; opacity: .9; pointer-events: none; z-index: 3; }
.doodle-1 { top: 12%; left: 46%; width: 90px; }
.doodle-2 { bottom: 22%; left: 38%; width: 70px; }
.doodle-3 { top: 22%; right: 6%; width: 80px; }
.doodle-4 { bottom: 14%; right: 12%; width: 56px; }

/* ---------- feature cards ---------- */

/* Live theme: cream flows continuously from under the hero through the about
   section - the service cards sit on cream, NOT on a white gap band. Giving the
   feature-cards band the cream background removes the white bar the rebuild had
   between the cards and the about section (parity 2026-07-16). */
.feature-cards { margin-top: -70px; position: relative; z-index: 3; padding-bottom: 90px; background: var(--cream); }
.cards-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px 28px;
}
.icon-card { display: flex; gap: 20px; align-items: flex-start; }
.icon-card .icon { font-size: 46px; color: var(--teal); line-height: 1; }
.icon-card h3 { margin-bottom: .35em; line-height: 1.5; }  /* live theme card title lh 30px on 20px */
.icon-card p { margin: 0; font-size: 1rem; line-height: 1.875; }  /* live theme card body: 16px / 30px */

/* ---------- about / split ---------- */

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.split-start { align-items: start; }
.about-figure { text-align: center; }
/* The sticker PNGs are full-canvas overlay layers (670x606) from the original
   theme, painted for that theme's dog crop. This pug is a different aspect
   (600x691, portrait), so overlaying the canvases inset:0/width:100% lands the
   glyphs off the dog. Each glyph is nudged onto THIS pug with the CSS
   `translate` property (percentages relative to the sticker box, so placement
   scales with the image at every width) to match the LIVE theme: the crown
   floats just above the top of the head (slightly right of centre) and the bone
   sits lower-left. The live stickers are STATIC (verified against the origin
   2026-07-16: animation:none, transform:none) - no bob. */
.figure-stack { position: relative; display: inline-block; max-width: 460px; }
.figure-stack .main-img { position: relative; z-index: 1; width: 100%; }
.figure-stack .sticker { position: absolute; inset: 0; width: 100%; height: auto; pointer-events: none; }
.sticker-paw { z-index: 0; transform: translate(-14%, -6%) scale(1.15); }
.sticker-crown { z-index: 2; translate: -9% -12%; }
.sticker-bone { z-index: 2; translate: -5% 33%; }

.checklist {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-top: 28px;
}
.checklist li { display: flex; align-items: center; gap: 12px; }
.checklist .fi-check::before {
  font-size: .8rem; color: #fff;
  background: var(--teal);
  width: 26px; height: 26px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
}
.checklist span.label { font-family: var(--font-display); font-size: .95rem; color: var(--ink); }
.checklist-1col { grid-template-columns: 1fr; margin-top: 0; }
.checklist p { margin: 0; }

/* ---------- pricing ---------- */

#pricing {
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%23F5EDE0'%3E%3Cellipse cx='58' cy='56' rx='21' ry='30' transform='rotate(-18 58 56)'/%3E%3Cellipse cx='100' cy='42' rx='21' ry='30'/%3E%3Cellipse cx='142' cy='56' rx='21' ry='30' transform='rotate(18 142 56)'/%3E%3Cpath d='M100 88c-36 0-58 27-58 58 0 26 26 42 58 42s58-16 58-42c0-31-22-58-58-58z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -60px top 320px;
  background-size: 520px;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 30px;
  margin-top: 50px;
  align-items: start;
}
.price-col { display: grid; gap: 22px; grid-row: span 2; grid-template-rows: subgrid; }
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-price);
  padding: 34px 30px 26px;
  position: relative;
}
.price-card .head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.price-card .head h3 { min-width: 0; }
@media (max-width: 600px) {
  .price-card .head { flex-wrap: wrap; }
}
@media (min-width: 1280px) {
  /* signature theme detail: price chip hangs off the card's left edge.
     Engages only when real margin exists outside the container, so the
     first chip never parks against the viewport edge. */
  .price-card .head { margin-left: -54px; }
}
.price-chip {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  border-radius: 8px;
  padding: 14px 20px 10px;
  text-align: left;
  line-height: 1.1;
  min-width: 116px;
  flex: none;
}
.price-chip .amount { font-size: 2rem; display: block; }
.price-chip .from { font-size: .75rem; text-transform: lowercase; letter-spacing: .04em; }
.price-card h3 { font-size: 1.75rem; margin: 0; }   /* live theme pricing title: 28px (measured); was 23.2px */
.price-card .desc { font-size: .95rem; border-bottom: 1px solid #E7E7E7; padding-bottom: 18px; }
.features li {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem; color: var(--ink);
  padding: 8px 0;
}
.features .tick::before {
  font-family: 'Flaticon'; content: "\f118";
  font-size: .78rem; color: #fff;
  background: var(--teal);
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.features li.off { color: #757575; }
.features li.off .tick::before { background: #C9C9C9; }

.price-card.featured { background: var(--ink); }
.price-card.featured .price-chip { background: var(--teal); }
.price-card.featured h3, .price-card.featured .features li { color: #fff; }
.price-card.featured .desc { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .25); }
.price-card.featured .features li.off { color: rgba(255, 255, 255, .72); }
.price-card.featured .features li.off .tick::before { background: rgba(255, 255, 255, .25); }

.size-grid {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-price);
  padding: 26px 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 12px;
  text-align: center;
}
.size-grid .cell svg { width: 66px; height: 54px; color: var(--teal); fill: currentColor; }
.size-grid .cell .name { font-family: var(--font-display); font-size: .9rem; color: var(--ink); display: block; margin-top: 4px; }
.size-grid .cell .from { font-size: .82rem; color: #757575; }
.size-grid.featured { background: var(--ink); }
.size-grid.featured .cell svg { color: var(--pale); }
.size-grid.featured .cell .name { color: #fff; }
.size-grid.featured .cell .from { color: rgba(255, 255, 255, .82); }

/* ---------- extras ---------- */

.extras-figure { margin-top: 30px; }
.extras-figure img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: bottom; }
.extras-list {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 34px;
}
.extra-row {
  display: flex; align-items: center; gap: 22px;
  padding: 11px 0;
}
.price-tag {
  background: var(--teal);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  border-radius: 6px;
  padding: 10px 0;
  width: 86px; text-align: center;
  flex: none;
}
.extra-row .name { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }  /* live theme extras: 24px (measured); was 19.2px */

/* ---------- instagram cta ---------- */

.insta .btn { margin-top: 10px; }

/* ---------- inner page basics ---------- */

.page-head { padding: 80px 0 10px; }
.page-head .sub { max-width: 700px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose { max-width: 700px; }
.prose .lead { font-size: 1.05rem; }

/* ---------- accordion ---------- */

.accordion { display: grid; gap: 14px; }
.acc-item { background: var(--cream-2); border-radius: 10px; overflow: hidden; }
.section-cream .acc-item { background: #F3EADC; }
.acc-head {
  width: 100%;
  display: flex; align-items: center; gap: 16px;
  background: none; border: 0; cursor: pointer;
  text-align: left;
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--ink);
  padding: 18px 22px;
}
.acc-head .acc-icon {
  flex: none;
  width: 26px; height: 26px; border-radius: 6px;
  background: var(--white);
  color: var(--teal-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; line-height: 1;
  transition: transform .2s ease;
}
.acc-item[data-open] .acc-icon { transform: rotate(45deg); }
.acc-panel { font-size: .95rem; }
.acc-panel ul { list-style: disc; padding-left: 20px; margin: 0 0 1em; }
.acc-panel li { margin-bottom: 6px; }

/* ---------- booking page ---------- */

.badges { display: flex; gap: 16px; margin-top: 18px; }
.badges img { height: 48px; width: auto; }
.booking-figure img { border-radius: var(--radius); }

/* ---------- contact page ---------- */

.contact-grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start;
}
.info-cards { display: grid; gap: 20px; }
.info-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 22px 24px;
  display: flex; gap: 18px; align-items: center;
}
.info-card .icon {
  flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--pale);
  color: var(--teal-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.info-card p { margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.info-card > div { min-width: 0; }
.map-embed {
  width: 100%; height: 100%; min-height: 420px;
  border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 980px;
  margin: 40px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.contact-form > * { min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; color: var(--ink); }
.field label .req { color: #C0392B; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  border: 1px solid #DDD; border-radius: 6px;
  padding: 12px 14px;
  background: #fff;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--teal-ink); outline-offset: 1px; border-color: var(--teal-ink);
}
.form-actions { grid-column: 1 / -1; text-align: center; }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 700; text-align: center; }
.form-status.ok { color: var(--teal-deep); }
.form-status.err { color: #C0392B; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
/* Turnstile's widget is a fixed 300px iframe - scale it below 380px so it can't overflow */
@media (max-width: 379px) {
  .cf-turnstile { transform: scale(.75); transform-origin: 0 0; }
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink) url('../img/bg-footer-paws.png') center bottom / cover no-repeat;
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 70px 0 50px;
}
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1em; }
.footer-brand img { height: 84px; width: auto; margin-bottom: 18px; }
.footer-phone { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.footer-phone .icon {
  flex: none;
  color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.footer-phone a {
  font-family: var(--font-display); font-size: 1.15rem; color: #fff; text-decoration: none;
}
.footer-phone a:hover { color: var(--peach); }
.footer-phone .small { font-size: .85rem; margin: 0; color: rgba(255, 255, 255, .75); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-links li { margin-bottom: 4px; }
.footer-links a { color: rgba(255, 255, 255, .85); text-decoration: none; display: inline-block; padding: 3px 0; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.hours li { display: flex; justify-content: space-between; margin-bottom: 8px; }
.hours .time { color: var(--peach); font-weight: 800; }
.hours .closed { color: #fff; font-weight: 800; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .875rem;
}
.footer-bottom a { color: rgba(255, 255, 255, .85); text-decoration: none; display: inline-block; padding: 3px 0; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .cards-3, .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .pricing-grid { gap: 40px; grid-template-rows: none; }
  .price-col { grid-row: auto; grid-template-rows: none; }
  .split { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff;
    box-shadow: 0 14px 24px rgba(64, 91, 91, .15);
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
  .main-nav a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .section { padding: 64px 0; }
  .hero-carousel, .hero-track { min-height: 540px; }
  .hero-slide { background-position: 72% center; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(34, 58, 61, .58) 0%, rgba(34, 58, 61, .38) 55%, rgba(34, 58, 61, .15) 100%);
  }
  .hero-inner { padding: 70px 0 110px; }
  .doodle-1, .doodle-2 { display: none; }
}

@media (max-width: 600px) {
  .topbar .container { justify-content: center; gap: 16px; flex-wrap: wrap; }
  .logo img { height: 62px; }
  .checklist { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .size-grid { grid-template-columns: 1fr 1fr; }
  .extras-list { padding: 12px 20px; }
  .badges img { height: 42px; }
}

/* ---------- motion ---------- */

/* scroll reveals - hidden only when JS is running (html.js) */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s cubic-bezier(.22, .61, .36, 1), transform .65s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
html.js [data-reveal].in { opacity: 1; transform: none; }

/* hero doodles: gentle float */
@keyframes doodle-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}
.hero-carousel .doodle { animation: doodle-float 6s ease-in-out infinite; }
.doodle-2, .doodle-4 { animation-duration: 7.5s; animation-delay: 1.2s; }

/* accordion open/close */
.acc-panel {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding: 0 22px 0 64px;
  transition: max-height .35s ease, padding-bottom .35s ease;
}
.acc-item[data-open] .acc-panel { padding-bottom: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-carousel .doodle { animation: none; }
  .hero-slide { transition: none; }
  .acc-panel { transition: none; }
  .acc-head .acc-icon { transition: none; }
}
