/* Tidewell Plumbing (concept site by BuiltByAro) — deep teal & signal yellow */
:root {
  --teal-950: #082429;
  --teal-900: #0b2e35;
  --teal-800: #0f3d46;
  --teal-700: #145059;
  --teal-100: #dceef0;
  --ice: #eef6f7;
  --white: #ffffff;
  --yellow: #ffc93c;
  --yellow-hover: #ffd566;
  --yellow-deep: #7a5600;
  --ink: #0b2e35;
  --muted: #4f6468;
  --line: rgba(11, 46, 53, 0.12);
  --on-dark: #eaf4f5;
  --on-dark-muted: #a9c3c7;
  --ok: #17734a;
  --bad: #a33a12;

  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(2.6rem, 1.5rem + 5vw, 5.6rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --max: 76rem;
  --r: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.5, 0.64, 1);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 0.7rem 1.2rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--ice { background: var(--ice); }
.section--dark { background: var(--teal-900); color: var(--on-dark); }
.section--dark p { color: var(--on-dark-muted); }

.demo-bar { position: relative; z-index: 70; background: var(--yellow); color: var(--ink); font-size: 0.85rem; text-align: center; padding: 0.5rem 1rem; font-weight: 600; }
.demo-bar a { text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }

.tag { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.8rem; border-radius: 6px; background: var(--teal-100); color: var(--teal-800); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.section--dark .tag, .hero .tag, .page-hero .tag { background: rgba(255, 201, 60, 0.14); color: var(--yellow); }

.hl { position: relative; z-index: 0; white-space: nowrap; color: var(--ink); padding-inline: 0.12em; }
.hl::before { content: ""; position: absolute; z-index: -1; inset: 0.08em -0.04em 0.02em; background: var(--yellow); border-radius: 0.12em; transform-origin: left; transform: skew(-6deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.3rem; padding: 0.85rem 1.5rem; border-radius: 10px; background: var(--yellow); color: var(--ink); font-weight: 800; letter-spacing: 0.01em; box-shadow: 0 4px 0 #d9a414; transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.2s; touch-action: manipulation; }
.btn:hover { background: var(--yellow-hover); transform: translateY(-2px); box-shadow: 0 6px 0 #d9a414; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #d9a414; }
.btn svg { width: 1.2rem; height: 1.2rem; flex: none; }
.btn--teal { background: var(--teal-800); color: #fff; box-shadow: 0 4px 0 var(--teal-950); }
.btn--teal:hover { background: var(--teal-700); box-shadow: 0 6px 0 var(--teal-950); }
.btn--teal:active { box-shadow: 0 1px 0 var(--teal-950); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(234, 244, 245, 0.3); }
.btn--ghost:hover { background: rgba(234, 244, 245, 0.08); box-shadow: inset 0 0 0 2px #fff; }
.btn--ghost:active { box-shadow: inset 0 0 0 2px #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--teal-900); color: #fff; transition: box-shadow 0.3s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(8, 36, 41, 0.6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; flex: none; }
.brand svg { width: 2.4rem; height: 2.4rem; }
.brand .drop { fill: var(--yellow); }
.brand .wave { fill: none; stroke: var(--teal-900); stroke-width: 3.2; stroke-linecap: round; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.45rem; letter-spacing: -0.04em; line-height: 1; }
.brand-sub { display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); margin-top: 0.2rem; }
.nav { display: none; }
.header-call { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.9rem; padding: 0.5rem 0.9rem; border-radius: 10px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 0.95rem; }
.header-call svg { width: 1.1rem; height: 1.1rem; }
.header-call .num { display: none; }
.menu-btn { width: 2.9rem; height: 2.9rem; border-radius: 10px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(234, 244, 245, 0.25); }
.menu-btn span { display: block; width: 1.2rem; height: 2px; background: #fff; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: #fff; transition: transform 0.35s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.mobile-nav { position: fixed; inset: 0; z-index: 55; background: var(--teal-900); color: #fff; padding: 9rem var(--gutter) 2.5rem; display: flex; flex-direction: column; gap: 0.2rem; transform: translateX(100%); visibility: hidden; transition: transform 0.5s var(--ease), visibility 0s linear 0.5s; }
.mobile-nav.is-open { transform: none; visibility: visible; transition: transform 0.5s var(--ease), visibility 0s; }
.mobile-nav a { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 9vw, 2.6rem); letter-spacing: -0.03em; padding-block: 0.45rem; border-bottom: 1px solid rgba(234, 244, 245, 0.12); }
.mobile-nav a[aria-current="page"] { color: var(--yellow); }
.mobile-nav .btn { margin-top: auto; font-family: var(--sans); font-size: 1rem; letter-spacing: 0; border-bottom: 0; }
body.menu-open { overflow: hidden; }
@media (min-width: 62em) {
  .menu-btn, .mobile-nav { display: none; }
  .nav { display: flex; gap: 0.25rem; }
  .nav a { padding: 0.55rem 0.9rem; border-radius: 8px; font-weight: 600; color: var(--on-dark-muted); transition: color 0.2s, background-color 0.2s; }
  .nav a:hover { color: #fff; background: rgba(234, 244, 245, 0.08); }
  .nav a[aria-current="page"] { color: var(--ink); background: var(--yellow); }
  .header-call .num { display: inline; }
}

/* Hero */
.hero { position: relative; background: var(--teal-900); color: #fff; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(4rem, 3rem + 4vw, 6.5rem); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(234, 244, 245, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(234, 244, 245, 0.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 80% at 80% 30%, #000, transparent); mask-image: radial-gradient(70% 80% at 80% 30%, #000, transparent); }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60em) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } }
.hero h1 { font-size: var(--fs-h1); margin-top: 1.25rem; font-weight: 900; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.04em; }
.hero h1 .ln > span { display: inline-block; }
.hero-lede { margin-top: 1.5rem; font-size: 1.15rem; max-width: 34rem; color: var(--on-dark-muted); }
.hero .btn-row { margin-top: 2rem; }
.trust { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; list-style: none; padding: 0; font-weight: 600; font-size: 0.95rem; }
.trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust svg { width: 1.2rem; height: 1.2rem; color: var(--yellow); flex: none; }
.hero-media { position: relative; }
.hero-media .frame { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before { content: ""; position: absolute; z-index: -1; right: -1.25rem; bottom: -1.25rem; width: 70%; height: 70%; border-radius: 22px; background: var(--yellow); }
.emergency { position: absolute; left: -1rem; bottom: 1.5rem; display: flex; align-items: center; gap: 0.85rem; padding: 0.9rem 1.1rem; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.55); max-width: 18rem; }
.emergency .pulse { position: relative; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: #e2412b; flex: none; }
.emergency .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #e2412b; animation: ping 1.8s var(--ease) 4; }
.emergency strong { display: block; font-family: var(--display); font-size: 1.05rem; letter-spacing: -0.02em; }
.emergency span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 30em) { .emergency { left: 0.5rem; right: 0.5rem; max-width: none; } }

/* Strip */
.strip { background: var(--yellow); color: var(--ink); }
.strip ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; list-style: none; padding: 1.4rem 0; }
@media (min-width: 56em) { .strip ul { grid-template-columns: repeat(4, 1fr); } }
.strip li { display: flex; gap: 0.7rem; align-items: center; font-weight: 700; line-height: 1.3; }
.strip svg { width: 1.6rem; height: 1.6rem; flex: none; }

/* Section heads */
.head { max-width: 46rem; margin-bottom: 3rem; }
.head h2 { font-size: var(--fs-h2); margin-top: 1rem; }
.head p { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.section--dark .head p { color: var(--on-dark-muted); }

/* Service split */
.split2 { display: grid; gap: 1.5rem; }
@media (min-width: 56em) { .split2 { grid-template-columns: 1fr 1fr; } }
.svc-card { position: relative; overflow: hidden; border-radius: 22px; background: var(--ice); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 1.5rem; isolation: isolate; }
.svc-card--dark { background: var(--teal-900); color: #fff; }
.svc-card .ico { width: 3.5rem; height: 3.5rem; border-radius: 14px; display: grid; place-items: center; background: var(--teal-800); color: var(--yellow); }
.svc-card--dark .ico { background: var(--yellow); color: var(--ink); }
.svc-card .ico svg { width: 1.8rem; height: 1.8rem; }
.svc-card h3 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); }
.svc-card > p { color: var(--muted); }
.svc-card--dark > p { color: var(--on-dark-muted); }
.svc-card ul { display: grid; gap: 0.55rem; list-style: none; padding: 0; font-weight: 600; }
@media (min-width: 30em) { .svc-card ul { grid-template-columns: 1fr 1fr; } }
.svc-card li { display: flex; gap: 0.55rem; align-items: flex-start; }
.svc-card li svg { width: 1.15rem; height: 1.15rem; color: var(--teal-700); flex: none; margin-top: 0.2rem; }
.svc-card--dark li svg { color: var(--yellow); }
.svc-card .photo { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; }
.svc-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .photo img { transform: scale(1.05); }

/* Why us */
.why { display: grid; gap: 1.25rem; }
@media (min-width: 48em) { .why { grid-template-columns: repeat(3, 1fr); } }
.why-item { padding: 1.75rem; border-radius: 18px; background: var(--teal-800); }
.why-item .n { font-family: var(--display); font-weight: 900; font-size: 3.2rem; line-height: 1; color: var(--yellow); letter-spacing: -0.05em; }
.why-item h3 { margin-top: 1rem; font-size: 1.35rem; color: #fff; letter-spacing: -0.02em; }
.why-item p { margin-top: 0.5rem; font-size: 0.98rem; }

/* Gallery */
.gal { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.gal > :nth-child(1) { grid-column: span 2; }
.gal figure { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--teal-100); }
@media (min-width: 56em) { .gal { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 15rem; } .gal > :nth-child(1) { grid-row: span 2; } .gal figure { aspect-ratio: auto; } }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gal figure:hover img { transform: scale(1.06); }
.gal figcaption { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.35rem 0.7rem; border-radius: 8px; background: rgba(11, 46, 53, 0.85); color: #fff; font-size: 0.82rem; font-weight: 700; }

/* Prices */
.prices { display: grid; gap: 1.25rem; }
@media (min-width: 56em) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price-card { border-radius: 20px; padding: 2rem; background: #fff; box-shadow: 0 1px 0 var(--line), 0 20px 40px -28px rgba(11, 46, 53, 0.4); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.4s var(--ease); }
.price-card:hover { transform: translateY(-6px); }
.price-card--hot { background: var(--teal-900); color: #fff; border-color: transparent; }
.price-card h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.price-card .p { margin-top: 1rem; font-family: var(--display); font-weight: 900; font-size: 3rem; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-card .p small { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.price-card--hot .p small { color: var(--on-dark-muted); }
.price-card ul { margin-top: 1.25rem; display: grid; gap: 0.5rem; list-style: none; padding: 0; flex: 1; }
.price-card li { display: flex; gap: 0.55rem; }
.price-card li svg { width: 1.15rem; height: 1.15rem; color: var(--teal-700); flex: none; margin-top: 0.22rem; }
.price-card--hot li svg { color: var(--yellow); }
.price-card .btn { margin-top: 1.5rem; }
.small-print { margin-top: 1.5rem; font-size: 0.9rem; color: var(--muted); }

/* Areas & postcode checker */
.areas-grid { display: grid; gap: 2.5rem; }
@media (min-width: 56em) { .areas-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.pc { border-radius: 22px; background: var(--teal-900); color: #fff; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.pc h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.pc p { color: var(--on-dark-muted); margin-top: 0.5rem; }
.pc form { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pc label { width: 100%; font-weight: 700; }
.pc input { flex: 1 1 12rem; min-height: 3.3rem; padding: 0.75rem 1rem; border-radius: 10px; border: 2px solid transparent; background: #fff; color: var(--ink); text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; }
.pc input:focus { outline: none; border-color: var(--yellow); }
.pc-result { display: none; margin-top: 1.25rem; padding: 0.9rem 1.1rem; border-radius: 12px; font-weight: 700; }
.pc-result.on { display: block; animation: pop 0.45s var(--spring); }
.pc-result.good { background: #d9f3e6; color: var(--ok); }
.pc-result.bad { background: #fde7dc; color: var(--bad); }
.towns { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin-top: 1.5rem; }
.towns li { padding: 0.45rem 0.9rem; border-radius: 8px; background: var(--ice); font-weight: 700; font-size: 0.93rem; }

/* Page hero */
.page-hero { background: var(--teal-900); color: #fff; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(234, 244, 245, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(234, 244, 245, 0.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.page-hero h1 { font-size: clamp(2.4rem, 1.5rem + 4vw, 4.6rem); font-weight: 900; margin-top: 1rem; max-width: 18ch; }
.page-hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.08em; }
.page-hero h1 .ln > span { display: inline-block; }
.page-hero p { margin-top: 1.1rem; max-width: 38rem; color: var(--on-dark-muted); font-size: 1.12rem; }

/* CTA */
.cta { border-radius: 26px; background: var(--yellow); color: var(--ink); padding: clamp(2rem, 1.2rem + 3.5vw, 4rem); display: grid; gap: 1.75rem; position: relative; overflow: hidden; isolation: isolate; }
.cta::after { content: ""; position: absolute; z-index: -1; right: -2rem; top: -2rem; width: 16rem; height: 22rem; background: var(--teal-900); clip-path: polygon(58% 0, 20% 55%, 48% 55%, 34% 100%, 82% 38%, 54% 38%); opacity: 0.08; }
.cta h2 { font-size: var(--fs-h2); max-width: 16ch; }
.cta p { font-size: 1.1rem; max-width: 34rem; }
@media (min-width: 56em) { .cta { grid-template-columns: 1.3fr auto; align-items: center; } }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 60em) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; } }
.contact-cards { display: grid; gap: 1rem; }
.c-card { display: flex; gap: 1rem; align-items: center; padding: 1.25rem; border-radius: 16px; background: var(--ice); transition: transform 0.35s var(--ease); }
.c-card:hover { transform: translateY(-3px); }
.c-card .ci { width: 3.2rem; height: 3.2rem; border-radius: 12px; display: grid; place-items: center; background: var(--teal-900); color: var(--yellow); flex: none; }
.c-card .ci svg { width: 1.4rem; height: 1.4rem; }
.c-card small { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.c-card strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.02em; }
.c-card--emergency { background: var(--teal-900); color: #fff; }
.c-card--emergency .ci { background: var(--yellow); color: var(--ink); }
.c-card--emergency small { color: var(--on-dark-muted); }
.hours { margin-top: 1.5rem; border-radius: 16px; border: 1px solid var(--line); padding: 1.25rem 1.5rem; }
.hours h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.hours dl { margin-top: 0.75rem; display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; font-size: 0.97rem; }
.hours dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.form { border-radius: 22px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(11, 46, 53, 0.45); }
.form h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.fields { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
@media (min-width: 40em) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 3.2rem; padding: 0.75rem 1rem; border-radius: 10px; border: 2px solid var(--line); background: var(--ice); font-size: 1rem; transition: border-color 0.2s, background-color 0.2s; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); background: #fff; }
.field .err { display: none; color: var(--bad); font-size: 0.87rem; font-weight: 700; }
.field .err.on { display: block; }
.field [aria-invalid="true"] { border-color: var(--bad); }
.urgency { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.urgency label { position: relative; }
.urgency input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.urgency span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1rem; border-radius: 10px; background: var(--ice); border: 2px solid var(--line); font-weight: 700; font-size: 0.93rem; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.urgency input:checked + span { background: var(--yellow); border-color: var(--yellow); }
.urgency input:focus-visible + span { outline: 3px solid var(--teal-700); outline-offset: 2px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; padding: 0; }
.form-actions { margin-top: 1.75rem; }
.demo-note { display: none; margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: 12px; background: var(--teal-100); font-weight: 600; }
.demo-note.on { display: block; animation: pop 0.45s var(--spring); }
.demo-note a { text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }

/* Footer */
.footer { background: var(--teal-950); color: var(--on-dark-muted); padding-block: 4rem 2rem; margin-top: var(--section); font-size: 0.95rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand-name { color: #fff; }
.footer h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.footer ul { list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: 0.45rem; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(234, 244, 245, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.85rem; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* Sticky mobile call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.6rem max(0.75rem, env(safe-area-inset-right)) max(0.6rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left)); background: var(--teal-950); transform: translateY(110%); transition: transform 0.45s var(--ease); }
.callbar.on { transform: none; }
.callbar .btn { min-height: 3rem; font-size: 0.95rem; padding-inline: 0.75rem; }
@media (min-width: 62em) { .callbar { display: none; } }

/* Motion */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes sweep { from { transform: skew(-6deg) scaleX(0); } to { transform: skew(-6deg) scaleX(1); } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes pop { 0% { opacity: 0; transform: scale(0.94); } 100% { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes revealUp { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
.js .hero h1 .ln > span, .js .page-hero h1 .ln > span { transform: translateY(105%); animation: lineUp 0.85s var(--ease) forwards; animation-delay: calc(80ms + var(--i, 0) * 100ms); }
.js .hero .hl::before { transform: skew(-6deg) scaleX(0); animation: sweep 0.7s var(--ease) 0.75s forwards; }
.js [data-load] { opacity: 0; animation: fadeUp 0.8s var(--ease) forwards; animation-delay: calc(450ms + var(--i, 0) * 100ms); }
.js .hero-media .frame { animation: revealUp 1.1s var(--ease) 0.2s both; }
.js .hero-media::before { opacity: 0; animation: fadeUp 0.8s var(--ease) 0.9s forwards; }
.js .emergency { opacity: 0; animation: slideIn 0.7s var(--spring) 1.2s forwards; }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="pop"] { transform: scale(0.94); transition-timing-function: var(--spring), var(--spring); }
.js [data-reveal="pop"].is-in { transform: none; }
.js .price-card[data-reveal].is-in:hover { transform: translateY(-6px); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .emergency .pulse::after { animation: none; }
}

@media (max-width: 40em) { .hero-media::before { right: -0.5rem; bottom: -0.75rem; } .hero-media { margin-right: 0.5rem; } }
