/* =====================================================================
   Kinzonu Pet World — mobile-first stylesheet
   Base styles = phones. Then:
     @media (min-width: 768px)  tablet
     @media (min-width: 1024px) desktop
   ===================================================================== */

:root {
  /* Brand */
  --red: #c4122f;
  --red-2: #a10e26;
  --red-soft: #fde8eb;
  --red-light: #ff7a8e;
  --purple: #4b2380;
  --purple-2: #6b3fa8;
  --charcoal: #221d27;

  /* Neutrals */
  --cream: #fbf8f6;
  --tint: #f6f0ee;
  --ink: #1f1a26;
  --muted: #5f5868;
  --line: #ebe2df;
  --card: #ffffff;

  /* Type */
  --serif: "Lora", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-sm: .875rem;   /* 14px: smallest UI text */
  --text-base: 1rem;    /* 16px */
  --text-md: 1.0625rem; /* 17px */

  /* Spacing scale */
  --s-1: 8px;
  --s-2: 12px;
  --s-3: 16px;
  --s-4: 24px;
  --s-5: 32px;
  --s-6: 48px;
  --s-7: 64px;
  --gutter: 20px;
  --section-y: 72px;

  /* Shape */
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px -12px rgba(75, 35, 128, .22);
  --shadow-soft: 0 6px 20px -14px rgba(31, 26, 38, .25);
  --nav-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: var(--text-base); line-height: 1.65; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }

.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { font-size: var(--text-sm); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-2); margin-bottom: var(--s-2); }
.lead { font-size: var(--text-md); color: var(--muted); max-width: 34em; }
.fine { font-size: var(--text-sm); color: var(--muted); margin-top: var(--s-3); }
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons (min 52px tall on touch) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn .i { width: 20px; height: 20px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--red-2); }
.btn-ghost { border-color: var(--red); color: var(--red); background: transparent; }
.btn-sm { min-height: 44px; padding: .55em 1.1em; font-size: .9375rem; }
.btn-block { width: 100%; }
main .btn { width: 100%; }                 /* full-width CTAs on phones */
.hero-actions { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-4); }

/* ---------- Concept bar ---------- */
.concept-bar { display: flex; align-items: center; justify-content: center; gap: var(--s-2); padding: 10px var(--gutter); background: var(--ink); color: #f1eee7; font-size: var(--text-sm); text-align: center; }
.concept-bar button { background: none; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; min-width: 32px; min-height: 32px; }
.concept-bar.hidden { display: none; }
.cb-long { display: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 246, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav-inner { position: relative; display: flex; align-items: center; gap: var(--s-4); height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--purple); }
.brand span { line-height: 1.1; }
.brand small { display: block; margin-top: -2px; font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav-toggle { display: block; margin-left: auto; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--ink); }
.nav-links { display: none; position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); flex-direction: column; padding: var(--s-1) var(--gutter) var(--s-3); background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.nav-links.open { display: flex; }
.nav-links a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: var(--text-md); color: var(--ink); }
.nav-links a:last-child { border-bottom: 0; }
.nav-links a:hover { color: var(--red); }
.nav-cta { display: none; }

/* ---------- Hero (phone: photo-led) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: var(--s-3) 0 var(--s-6); }
.hero::before { content: ""; position: absolute; inset: -12px; z-index: -2; background: var(--bg-img, url("assets/store-interior.webp")) center / cover no-repeat; filter: blur(3px) saturate(.9); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 248, 246, .92); }
.hero-grid { display: grid; gap: var(--s-4); }
.hero-art { order: -1; position: relative; }
.hero h1 { margin-bottom: .4em; }
.hero h1 em { font-style: italic; color: var(--red); }
.hero .eyebrow { margin-bottom: var(--s-1); }
.hero .lead { margin-bottom: 0; }
.lead-more, .hero-tags, .hero .btn-ghost, .blob, .float-card, .photo-frame figcaption { display: none; }

.photo-frame { position: relative; margin: 0; overflow: hidden; border-radius: 22px; box-shadow: 0 18px 40px -16px rgba(29, 16, 41, .45); }
.photo-frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 22%; }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 12, 24, .55), transparent 45%); pointer-events: none; }
.photo-chip { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: .5em .95em; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: var(--text-sm); font-weight: 700; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); }
.photo-chip .i { width: 16px; height: 16px; color: var(--red); }

.hero-tags { list-style: none; padding: 0; margin: var(--s-4) 0 0; flex-wrap: wrap; gap: var(--s-1); }
.hero-tags li { padding: .4em .95em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: var(--text-sm); font-weight: 600; color: var(--muted); }
.float-card { position: absolute; align-items: center; gap: 8px; padding: .6em 1em; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-size: .9375rem; font-weight: 700; white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.float-card .i { width: 18px; height: 18px; color: var(--red); }
.fc-1 { top: 10%; left: -4%; }
.fc-2 { bottom: 16%; right: -2%; animation-delay: -1.5s; }
.fc-3 { bottom: 2%; left: 8%; animation-delay: -3s; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; }
.blob { position: absolute; inset: 6%; border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; background: radial-gradient(circle at 30% 30%, #ffe3e8, #f19aaa 75%); animation: morph 12s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes morph { 50% { border-radius: 58% 42% 44% 56% / 42% 58% 42% 58%; } }

/* ---------- Trust strip ---------- */
.strip { padding: var(--s-5) 0; background: #fff; border-block: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-3); text-align: center; }
.strip strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--red); line-height: 1.3; }
.strip span { display: block; margin-top: 2px; font-size: var(--text-sm); color: var(--muted); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--charcoal); color: #f4f1f5; }
.section-head { max-width: 640px; margin-bottom: var(--s-5); }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); font-size: var(--text-md); }
.section-head.light .eyebrow { color: var(--red-light); }
.section-head.light p:last-child { color: rgba(244, 241, 245, .78); }
.split { display: grid; gap: var(--s-5); }
.split > div > p:not(.eyebrow) { color: var(--muted); }

/* ---------- Swipe rows (phones): services, before/after, gallery ---------- */
.cards, .ba-grid, .gallery {
  display: grid; grid-auto-flow: column; gap: var(--s-3);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) var(--s-3);
  scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.cards::-webkit-scrollbar, .ba-grid::-webkit-scrollbar, .gallery::-webkit-scrollbar { display: none; }
.cards > *, .ba-grid > *, .gallery > * { scroll-snap-align: start; }
.cards { grid-auto-columns: 82%; }
.ba-grid { grid-auto-columns: 88%; }
.gallery { grid-auto-columns: 62%; }
.swipe-hint { display: flex; align-items: center; gap: 6px; margin-top: var(--s-1); font-size: var(--text-sm); font-weight: 600; color: var(--muted); }

/* ---------- Service cards ---------- */
.card { display: flex; flex-direction: column; padding: var(--s-4); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); }
.card .link { margin-top: auto; }
.icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--s-3); border-radius: var(--radius-sm); background: var(--red-soft); color: var(--red); }
.icon .i { width: 26px; height: 26px; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--red); text-decoration: none; }
.card-accent { background: var(--red); border-color: var(--red); color: #fff; }
.card-accent p { color: rgba(255, 255, 255, .9); }
.card-accent .icon { background: rgba(255, 255, 255, .18); color: #fff; }
.card-accent .link { color: #fff; }

/* ---------- Grooming menu ---------- */
.menu { padding: var(--s-1) var(--s-4); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.menu-item { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-4) 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item h4 { margin-bottom: .25em; }
.menu-item p { margin: 0; color: var(--muted); }
.price { align-self: flex-start; padding: .25em .8em; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: var(--text-sm); font-weight: 700; white-space: nowrap; }

/* ---------- Before & after ---------- */
.ba { margin-top: var(--s-7); }
.ba-head { margin-bottom: var(--s-4); }
.ba-head h3 { font-size: 1.5rem; margin-bottom: .2em; }
.ba-head p { margin: 0; color: var(--muted); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-1); }
.ba-pair .ph { aspect-ratio: 1; }
.ba-caption { grid-column: 1 / -1; margin: var(--s-1) 0 0; font-size: var(--text-sm); font-weight: 600; color: var(--muted); }

/* ---------- Photo slots (branded stand-ins until assets/ has the file) ---------- */
.ph { position: relative; display: grid; place-items: center; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .9), transparent 55%), linear-gradient(135deg, var(--red-soft), var(--tint) 70%); box-shadow: inset 0 0 0 1px var(--line); }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-photo { box-shadow: none; }
.ph.has-photo .ph-art { display: none; }
.ph-art { display: grid; justify-items: center; gap: var(--s-1); padding: var(--s-3); text-align: center; color: var(--red); }
.ph-art .i { width: 40px; height: 40px; stroke-width: 1.4; opacity: .75; }
.ph-art span { font-size: var(--text-sm); font-weight: 600; color: var(--muted); }
.ph-tag { position: absolute; top: 10px; left: 10px; z-index: 1; padding: .3em .7em; border-radius: 999px; background: #fff; color: var(--ink); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .3); }
.ph-tag-red { background: var(--red); color: #fff; }
.ph-dark { background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .1), transparent 55%), linear-gradient(135deg, rgba(255, 122, 142, .18), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ph-dark .ph-art { color: var(--red-light); }
.ph-dark .ph-art span { color: rgba(244, 241, 245, .7); }
.ph-hotel { width: 100%; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.ph-hotel.has-photo { box-shadow: var(--shadow); }

/* ---------- Pet hotel ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 var(--s-4); }
.checks li { position: relative; padding-left: 36px; margin-bottom: var(--s-3); color: var(--muted); }
.checks li strong { color: var(--ink); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-size: .8rem; font-weight: 700; }

/* ---------- Store ---------- */
.store-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--tint); box-shadow: var(--shadow); }
.store-photo img { width: 100%; height: 100%; object-fit: cover; }
.store-photo.missing img { display: none; }
.store-photo.missing::after { content: "Store interior photo"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 600; }
.store-photo .badge { position: absolute; left: 14px; bottom: 14px; padding: .45em .9em; border-radius: 10px; background: #fff; font-size: var(--text-sm); font-weight: 700; box-shadow: var(--shadow); }
.brands { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-1); padding: 0; margin: 0 0 var(--s-4); }
.brands li { padding: .4em .95em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: var(--text-sm); font-weight: 600; }

/* ---------- Academy ---------- */
.academy-top { display: grid; gap: var(--s-4); margin-bottom: var(--s-5); }
.academy-top .section-head { margin-bottom: 0; }
.perks { list-style: none; display: grid; gap: var(--s-2); padding: 0; margin: 0 0 var(--s-5); }
.perks li { display: flex; align-items: center; gap: var(--s-2); font-weight: 600; }
.perks .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--red-light); }
.courses { display: grid; gap: var(--s-2); }
.course { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-4) 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s, border-color .2s; }
.course.reveal { transition: opacity .7s ease, transform .7s ease, background .2s, border-color .2s; }
.course:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 122, 142, .5); }
.course-num { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1; color: var(--red-light); }
.level { display: block; margin-bottom: 4px; font-size: var(--text-sm); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 241, 245, .65); }
.course h3 { font-size: 1.2rem; margin-bottom: .3em; }
.course p { margin: 0; color: rgba(244, 241, 245, .75); }
.academy-cta { display: grid; gap: var(--s-3); margin-top: var(--s-5); padding: var(--s-4); border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.academy-cta p { margin: 0; }

/* ---------- Team (phone: rows) ---------- */
.team-grid { display: grid; gap: var(--s-2); }
.member { display: grid; grid-template-columns: 88px 1fr; align-items: center; column-gap: var(--s-3); padding: var(--s-3); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ph-round { grid-row: span 2; width: 88px; aspect-ratio: 1; margin: 0; border-radius: 50%; }
.ph-round .ph-art .i { width: 30px; height: 30px; }
.member h3 { align-self: end; margin: 0; font-size: 1.125rem; }
.member p { align-self: start; margin: 2px 0 0; color: var(--muted); font-size: .9375rem; }

/* ---------- Gallery ---------- */
.gallery-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); }
.gallery-head .section-head { margin-bottom: 0; }
.gallery .ph { aspect-ratio: 1; border-radius: 16px; background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .9), transparent 55%), linear-gradient(135deg, #fff, var(--red-soft)); }
.gallery .ph:nth-child(even) { background: radial-gradient(circle at 70% 80%, rgba(255, 255, 255, .8), transparent 55%), linear-gradient(135deg, var(--red-soft), #fff); }
.gallery .ph.has-photo { background: none; }
.gallery .ph-art .i { width: 30px; height: 30px; opacity: .45; }
.gallery:not(:has(.has-photo)) .ph:nth-child(n+5) { display: none; } /* one row of stand-ins until real photos */

/* ---------- Booking steps ---------- */
.how-grid { display: grid; gap: var(--s-6); }
.how-intro > p:not(.eyebrow) { color: var(--muted); font-size: var(--text-md); }
.timeline { list-style: none; display: grid; gap: var(--s-3); padding: 0; margin: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: calc(-1 * var(--s-3)); width: 2px; background: repeating-linear-gradient(to bottom, var(--red) 0 6px, transparent 6px 12px); opacity: .35; }
.tl-node { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--red); color: var(--red); box-shadow: 0 0 0 6px var(--cream); }
.tl-node .i { width: 20px; height: 20px; }
.timeline li:first-child .tl-node { background: var(--red); color: #fff; }
.tl-body { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s; }
.timeline li:hover .tl-body { transform: translateX(4px); box-shadow: var(--shadow); }
.tl-step { display: block; margin-bottom: 6px; font-size: var(--text-sm); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.tl-body h3 { margin-bottom: .35em; }
.tl-body p { margin: 0 0 var(--s-3); color: var(--muted); }
.tl-tag { display: inline-flex; align-items: center; gap: 6px; padding: .4em .9em; border-radius: 999px; background: var(--tint); color: var(--ink); font-size: var(--text-sm); font-weight: 600; }
.tl-tag .i { width: 14px; height: 14px; color: var(--red); stroke-width: 2.5; }

/* ---------- Booking form ---------- */
.contact-list { display: grid; gap: var(--s-2); margin-top: var(--s-4); }
.contact-list a { display: flex; align-items: center; gap: var(--s-2); min-height: 60px; padding: 10px var(--s-3); border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.contact-list a:hover { border-color: var(--red-2); }
.contact-list a span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--red-soft); color: var(--red); }
.contact-list a span .i { width: 20px; height: 20px; }
.form { display: grid; gap: var(--s-3); padding: var(--s-4) 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.form .row { display: grid; gap: var(--s-3); }
.form label { display: grid; gap: 6px; font-size: .9375rem; font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; min-height: 50px; padding: .75em .95em; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; }
.form textarea { min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red-2); background: #fff; }
.form-error { min-height: 1em; margin: 0; color: #b4233a; font-size: var(--text-sm); }

/* ---------- Visit ---------- */
address { margin-bottom: var(--s-4); font-style: normal; font-size: var(--text-md); }
.hours { padding: var(--s-3) 20px; border-radius: var(--radius-sm); background: var(--tint); }
.hours h4 { margin-bottom: .25em; }
.hours p { margin: 0; color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-top: var(--s-4); }
.socials a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: var(--text-sm); font-weight: 600; text-decoration: none; }
.map { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--tint); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { padding: var(--s-5) 0 calc(var(--s-5) + 72px); background: #1d1029; color: #c9cfcc; font-size: var(--text-sm); text-align: center; }
.footer-inner { display: grid; justify-items: center; gap: var(--s-3); }
.footer .brand { color: #fff; }
.footer p { margin: 0; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }


/* =====================================================================
   Tablet ≥ 768px
   ===================================================================== */
@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 88px; --nav-h: 72px; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.1rem; }

  main .btn { width: auto; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .concept-bar { padding: 8px var(--gutter); }
  .cb-long { display: inline; }
  .cb-short { display: none; }

  .photo-frame img { aspect-ratio: 16 / 9; }
  .hero .lead { max-width: 36em; }

  .strip-grid { grid-template-columns: repeat(4, 1fr); }

  /* swipe rows become grids */
  .cards, .ba-grid, .gallery { grid-auto-flow: row; overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none; }
  .cards { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ba-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
  .swipe-hint { display: none; }

  .menu-item { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: var(--s-4); }
  .price { align-self: center; }
  .ba-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-1) var(--s-4); }

  .perks { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
  .academy-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 22px 28px; }

  .team-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
  .member { display: block; padding: 0; background: none; border: 0; text-align: center; }
  .ph-round { width: 160px; margin: 0 auto 18px; box-shadow: 0 0 0 6px #fff, var(--shadow); }
  .ph-round .ph-art .i { width: 40px; height: 40px; }
  .member p { margin-top: .25em; }

  .gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3) var(--s-5); margin-bottom: var(--s-5); }

  .timeline { gap: 18px; }
  .timeline li { grid-template-columns: 56px 1fr; gap: 20px; }
  .timeline li:not(:last-child)::after { left: 27px; top: 56px; bottom: -18px; }
  .tl-node { width: 56px; height: 56px; }
  .tl-node .i { width: 24px; height: 24px; }
  .tl-body { padding: 22px 24px; }

  .form { padding: var(--s-5); }
  .form .row { grid-template-columns: 1fr 1fr; }

  .footer { padding-bottom: var(--s-5); text-align: left; }
  .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .wa-float { right: 20px; bottom: 20px; width: 58px; height: 58px; }
}


/* =====================================================================
   Desktop ≥ 1024px
   ===================================================================== */
@media (min-width: 1024px) {
  :root { --section-y: 104px; }
  h1 { font-size: clamp(3.2rem, 4.6vw, 4rem); }
  h2 { font-size: clamp(2.2rem, 3vw, 2.6rem); }
  h3 { font-size: 1.3rem; }
  .section-head { margin-bottom: var(--s-6); }

  /* Nav: inline links + CTA */
  .nav-toggle { display: none; }
  .nav-links { display: flex; position: static; flex-direction: row; gap: 28px; margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav-links a { min-height: 0; border: 0; font-size: var(--text-base); color: var(--muted); }
  .nav-cta { display: inline-flex; }

  /* Hero: two columns, tilted photo, decorations back on */
  .hero { padding: 56px 0 80px; }
  .hero::after { background: linear-gradient(90deg, rgba(251, 248, 246, .97) 0%, rgba(251, 248, 246, .92) 45%, rgba(251, 248, 246, .72) 100%); }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-6); align-items: center; }
  .hero-art { order: 0; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; }
  .hero .lead { font-size: 1.15rem; }
  .lead-more { display: inline; }
  .hero .btn-ghost { display: inline-flex; }
  .hero-tags { display: flex; }
  .blob { display: block; }
  .float-card { display: inline-flex; }
  .photo-frame { position: absolute; top: 4%; left: 50%; width: 58%; padding: 10px; overflow: visible; background: #fff; transform: translateX(-50%) rotate(-3deg); box-shadow: 0 24px 50px -18px rgba(29, 16, 41, .45); }
  .photo-frame::after, .photo-chip { display: none; }
  .photo-frame img { aspect-ratio: 335 / 520; object-position: top; border-radius: 14px; }
  .photo-frame figcaption { display: block; padding-top: 8px; font-size: var(--text-sm); font-weight: 600; color: var(--muted); text-align: center; }

  .split { grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 28px; }
  .menu { padding: var(--s-2) 28px; }

  .academy-top { grid-template-columns: 1.1fr .9fr; gap: var(--s-6); align-items: center; margin-bottom: 40px; }
  .perks { margin-bottom: 28px; }
  .courses { grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
  .course { padding: var(--s-4); }

  .ph-round { width: 180px; }
  .how-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s-7); align-items: center; }
  .map { aspect-ratio: 4 / 3.4; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.swipe-hint .i { width: 16px; height: 16px; color: var(--red); }
