/* HyCure Aesthetics site styles. Tokens follow website/PLAN.md section 4.
   Hover lifts use `translate`; reveals would use `transform`, so the two never fight.
   No inline styles anywhere: the Content-Security-Policy allows only this file. */

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --radius-lg: 28px; --radius: 22px; --radius-sm: 14px;
  --header-h: 68px;
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wa: #128C4B;
}

/* Day: home, services, legal */
.theme-day {
  color-scheme: light;
  --bg: #FBF8F3; --bg-alt: #EEF5F2; --surface: #FFFFFF; --surface-2: #F6FAF8;
  --line: rgba(20, 60, 54, .12); --line-strong: rgba(20, 60, 54, .22);
  --text: #14201E; --text-2: #33433F; --muted: #5C6B67;
  --accent: #1E6760; --accent-strong: #174F4A; --on-accent: #FFFFFF;
  --accent-soft: rgba(30, 103, 96, .08); --accent-line: rgba(30, 103, 96, .30);
  --grad-text: linear-gradient(100deg, #2D9F92, #1E6760 55%, #174F4A);
  --card-shadow: 0 1px 2px rgba(20, 60, 54, .04), 0 18px 38px -28px rgba(20, 60, 54, .35);
  --header-bg: rgba(255, 255, 255, .88);
  --input-bg: #FFFFFF;
}

/* Studio: bridal, dark bands, every footer */
.theme-studio, .band-studio, .site-footer {
  color-scheme: dark;
  --bg: #081614; --bg-alt: #0C1D1A; --surface: #10231F; --surface-2: #163029;
  --line: rgba(214, 240, 232, .10); --line-strong: rgba(214, 240, 232, .20);
  --text: #F3FAF7; --text-2: #D5E4DF; --muted: #A3B8B2;
  --accent: #7AD0BC; --accent-strong: #5EBFA7; --on-accent: #06211D;
  --accent-soft: rgba(122, 208, 188, .12); --accent-line: rgba(122, 208, 188, .32);
  --grad-text: linear-gradient(100deg, #C6F0E5, #7AD0BC 50%, #5EBFA7);
  --card-shadow: none;
  --header-bg: rgba(8, 22, 20, .82);
  --input-bg: #0C1D1A;
}

/* Bridal: Studio with champagne gold */
.theme-bridal {
  --accent: #E3C58A; --accent-strong: #D2AE68; --on-accent: #1F1608;
  --accent-soft: rgba(227, 197, 138, .12); --accent-line: rgba(227, 197, 138, .34);
  --grad-text: linear-gradient(100deg, #F6E7C6, #E3C58A 50%, #C79D52);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--text-2); background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--text); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 1.2rem + 2.3vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; }
h1 em, h2 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); background: var(--bg); }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.band-studio { background: var(--bg); color: var(--text-2); }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 38rem; }
.section-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: 2.5rem; }
.section-top p { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .7rem 1.4rem; border-radius: 16px; border: 1px solid transparent; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: translate .25s var(--ease), background .2s, border-color .2s; }
.btn:hover { translate: 0 -2px; background: var(--accent-strong); }
.btn.secondary { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn.secondary:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn.wa { background: var(--wa); color: #fff; }
.btn.wa:hover { background: #0E7A41; }
.btn.small { min-height: 44px; padding: .5rem 1rem; border-radius: 12px; font-size: .95rem; }
.btn svg { width: 20px; height: 20px; flex: none; }
.text-link { color: var(--accent); font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--accent-line); padding-bottom: 2px; }
.text-link:hover { border-bottom-color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; border-radius: 10px; font-weight: 700; color: var(--text-2); text-decoration: none; }
.nav a:hover { background: var(--accent-soft); color: var(--text); }
.nav a[aria-current] { color: var(--accent); }
.nav .only-menu { display: none; }
.menu-btn { display: none; min-height: 44px; padding: 0 1rem; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: inherit; font-weight: 800; cursor: pointer; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); background: radial-gradient(60rem 30rem at 100% -10%, var(--accent-soft), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero .lead { margin-top: 1.4rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.hero-note { position: absolute; left: -14px; bottom: 22px; max-width: 250px; padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(20, 60, 54, .5); font-size: .9rem; line-height: 1.4; color: var(--text-2); }
.hero-note strong { display: block; color: var(--text); }
.page-hero { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); }

/* Trust strip */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust li { padding: 1.1rem 1.25rem; border-left: 1px solid var(--line); font-size: .93rem; line-height: 1.4; color: var(--muted); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust strong { display: block; color: var(--text); font-size: 1rem; }

/* Cards */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 1.5rem; transition: translate .3s var(--ease), border-color .2s; }
.card:hover { translate: 0 -4px; border-color: var(--accent-line); }
.door { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.door img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.door-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.door-body p { color: var(--muted); }
.door-body .text-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 0; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 5px; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.tags li { padding: .25rem .7rem; border-radius: 999px; background: var(--accent-soft); color: var(--text-2); font-size: .82rem; font-weight: 700; }

/* Offers */
.offer { display: flex; flex-direction: column; gap: .8rem; }
.offer .price { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1; }
.offer .price small { font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: .4rem; }
.offer ul, .checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; color: var(--text-2); }
.offer li, .checks li { position: relative; padding-left: 1.6rem; line-height: 1.45; }
.offer li::before, .checks li::before { content: ''; position: absolute; left: 0; top: .42em; width: .95rem; height: .55rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); rotate: -45deg; scale: .8; transform-origin: left; }
.offer .btn { margin-top: auto; }

/* Doctor and visit */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.split .lead { margin-top: 1.1rem; }
.quals { margin-top: 1.1rem; font-weight: 700; color: var(--text); }
.notice { margin-top: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--text-2); font-size: .95rem; }
.facts { display: grid; gap: 1.1rem; margin: 1.5rem 0 0; }
.facts div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.facts dt { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); padding-top: .2rem; }
.facts dd { margin: 0; color: var(--text-2); }

/* Franchise band */
.franchise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; }
.franchise .card { background: var(--surface); }
.franchise .from { font-size: 1.6rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }

/* Services menu */
.anchor-bar { position: sticky; top: var(--header-h); z-index: 30; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.anchor-bar .wrap { display: flex; gap: .4rem; overflow-x: auto; padding-block: .6rem; scrollbar-width: none; }
.anchor-bar .wrap::-webkit-scrollbar { display: none; }
.anchor-bar a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 .95rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .9rem; font-weight: 700; text-decoration: none; color: var(--text-2); background: var(--surface); }
.anchor-bar a:hover { border-color: var(--accent); color: var(--accent); }
.anchor-bar .sep { flex: none; align-self: center; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); padding: 0 .4rem 0 .6rem; }
.menu-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2.5rem; align-items: start; }
.menu-half + .menu-half { margin-top: 3.5rem; }
.menu-half > h2 { margin-bottom: .6rem; }
.menu-half > p { color: var(--muted); max-width: 40rem; margin-bottom: 1.75rem; }
.cat { margin-top: 2rem; }
.cat h3 { display: flex; align-items: baseline; gap: .75rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line-strong); }
.cat h3 small { font-size: .8rem; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.rows .name { color: var(--text); font-weight: 600; line-height: 1.35; }
.rows .name small { display: block; font-weight: 600; font-size: .78rem; color: var(--accent); }
.add { flex: none; min-width: 76px; min-height: 40px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.add:hover { border-color: var(--accent); color: var(--accent); }
.add[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.clinic { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); }
.clinic .rows li { border-bottom-color: var(--line-strong); }

/* Booking tray */
.tray { position: sticky; top: calc(var(--header-h) + 72px); max-height: calc(100dvh - var(--header-h) - 88px); overflow: auto; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 1.4rem; display: grid; gap: 1.1rem; }
.tray h2 { font-size: 1.35rem; letter-spacing: -.02em; }
.tray-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.tray-list li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 44px; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .95rem; }
.tray-list button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.tray-list button:hover { background: var(--accent-soft); color: var(--text); }
.tray-empty { color: var(--muted); font-size: .95rem; }
.field { display: grid; gap: .4rem; }
.field > span, .field legend { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field input[type='date'] { width: 100%; min-height: 48px; padding: 0 .9rem; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--input-bg); color: var(--text); font: inherit; font-size: 1rem; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; margin-top: .4rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); font-size: .9rem; font-weight: 700; color: var(--text-2); cursor: pointer; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.preview { margin: 0; padding: .9rem 1rem; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--line-strong); font: inherit; font-size: .88rem; line-height: 1.5; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.tray .btn { width: 100%; }
.tray .btn[aria-disabled='true'] { opacity: .5; pointer-events: none; }
.tray-foot { font-size: .85rem; color: var(--muted); }

/* Bridal */
.bridal-hero .hero-media img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.pkg { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.75rem; }
.pkg.lead-pkg { border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-soft), transparent 40%), var(--surface); }
.pkg .kicker { font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.pkg h3 { font-size: 1.5rem; }
.pkg .price { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1; }
.pkg .price small { display: block; margin-top: .5rem; font-size: .92rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.pkg h4 { margin: .4rem 0 .5rem; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pkg .btn { margin-top: auto; }
/* Bridal gallery: one row that scrolls sideways, by swipe, trackpad or arrow keys. */
.gallery { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .9rem; scrollbar-width: thin; scrollbar-color: var(--accent-line) transparent; }
.gallery figure { flex: 0 0 clamp(210px, 23.5%, 290px); margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery-hint { margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.figure-note { margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.split img.tall { aspect-ratio: 4 / 5; object-position: 50% 0; }
.gallery figcaption { margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.addons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.addons li { padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; }
.addons small { display: block; font-weight: 600; color: var(--muted); }

/* Footer */
.site-footer { background: var(--bg); color: var(--muted); padding-block: 3.5rem 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.site-footer img { height: 44px; width: auto; margin-bottom: 1rem; }
.site-footer h2 { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; }

/* Phone bar */
.phone-bar { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: .6rem clamp(12px, 4vw, 20px) calc(.6rem + env(safe-area-inset-bottom)); background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-strong); }
.phone-bar .btn { min-height: 52px; padding-inline: .5rem; }
.phone-bar.single { grid-template-columns: minmax(0, 1fr); }
.phone-bar.single .btn { max-width: 520px; width: 100%; margin-inline: auto; }

@media (max-width: 1080px) {
  body:has(.phone-bar.single:not([hidden])) .site-footer { padding-bottom: calc(2rem + 80px); }
  .phone-bar.single { display: grid; }
  .menu-layout { grid-template-columns: minmax(0, 1fr); }
  .tray { position: static; max-height: none; overflow: visible; }
  .rows { column-gap: 1.5rem; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .site-header .nav-cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem clamp(16px, 4vw, 48px) 1rem; background: var(--bg); border-bottom: 1px solid var(--line-strong); box-shadow: 0 24px 40px -30px rgba(0, 0, 0, .5); }
  .nav.open { display: flex; }
  .nav a { display: flex; min-height: 52px; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 .25rem; font-size: 1.05rem; }
  .nav .only-menu { display: block; }
  .nav .only-menu .btn { width: 100%; margin-top: .75rem; border-bottom: 0; border-radius: 16px; justify-content: center; }
  .nav .only-menu .btn:not(.secondary) { color: var(--on-accent); }
  .nav .only-menu .btn.wa { color: #fff; }
  .nav .only-menu .btn.secondary { border: 1px solid var(--line-strong); }
  .hero-grid, .split, .section-top { grid-template-columns: minmax(0, 1fr); }
  .section-top { gap: .9rem; margin-bottom: 2rem; }
  .hero-note { left: 12px; bottom: 12px; }
  .grid3, .pkgs { grid-template-columns: minmax(0, 1fr); }
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .trust li:nth-child(-n+2) { border-top: 0; }
  .trust li:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .door img { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .site-footer { padding-bottom: calc(2rem + 80px); }
  .rows, .franchise, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .gallery { gap: .75rem; }
  .gallery figure { flex-basis: 62%; }
  .actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .site-footer a { min-height: 44px; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .brand img { height: 34px; }
  .phone-bar { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.phone-bar[hidden] { display: none !important; }

/* Recent work strip: stills that open the clip on Instagram, until clips are hosted on the site. */
.reels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .9rem; list-style: none; margin: 0; padding: 0; }
.reels a { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: #fff; transition: translate .3s var(--ease), border-color .2s; }
.reels a:hover { translate: 0 -4px; border-color: var(--accent-line); }
.reels img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.reels span { position: absolute; inset: auto 0 0 0; padding: 2.4rem .8rem .7rem; background: linear-gradient(to top, rgba(4, 16, 14, .88), rgba(4, 16, 14, 0)); font-size: .88rem; font-weight: 800; line-height: 1.25; }
.reels + .actions { margin-top: 1.75rem; }
@media (max-width: 960px) { .reels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .7rem; padding-bottom: .5rem; }
  .reels li { flex: 0 0 46%; scroll-snap-align: start; }
}

/* Offers: a two-column list inside a card, and a sub-heading between two rows of cards. */
.offer ul.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
.sub { margin: 2.75rem 0 1.25rem; font-size: 1.15rem; color: var(--text); }
@media (max-width: 640px) { .offer ul.cols2 { grid-template-columns: minmax(0, 1fr); } }

/* Utilities that replace the sample's inline styles */
.gap-top { margin-top: 1.1rem; }
.flush-top { padding-top: 0; }
.focus-top img, img.focus-top { object-position: 50% 15%; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; padding: .7rem 1rem; background: var(--accent); color: var(--on-accent); font-weight: 800; border-radius: 0 0 12px 0; }
.skip:focus { left: 0; }

/* Prose pages (privacy, 404) */
.prose { max-width: 46rem; font-size: 1.05rem; line-height: 1.8; }
.prose h2 { font-size: 1.5rem; letter-spacing: -.02em; margin: 2.2rem 0 .6rem; }
.prose p + p { margin-top: 1rem; }
.prose ul { padding-left: 1.2rem; margin: .8rem 0; display: grid; gap: .4rem; }
.prose a { color: var(--accent); font-weight: 700; }

/* Franchise page */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.steps li { padding: 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; }
.steps small { display: block; font-weight: 600; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split figure { margin: 0; }

/* Film clip: plays muted while on screen; the button pauses it. Without JavaScript the browser's own controls show. */
.clip { position: relative; width: min(100%, 380px); margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #06100E; }
.clip video { display: block; width: 100%; height: auto; aspect-ratio: 478 / 680; object-fit: cover; cursor: pointer; }
.clip-toggle { position: absolute; right: .75rem; bottom: .75rem; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(4, 16, 14, .72); color: #fff; font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; }
.clip-toggle:hover { background: rgba(4, 16, 14, .9); }
.clip-toggle[hidden] { display: none; }
