/* Zebra Smart Home — redesign stylesheet */
:root {
  --ink: #0f0f10;
  --ink-2: #1b1b1e;
  --ink-3: #2a2a2f;
  --paper: #f6f5f0;
  --white: #ffffff;
  --amber: #f2a51c;
  --amber-dark: #c9820a;
  --amber-soft: #fff3dc;
  --muted: #5e5e66;
  --line: #e4e2da;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(15, 15, 16, 0.10);
  --wrap: 1160px;
  --font-head: "Space Grotesk", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", Helvetica, sans-serif;
  --stripes: repeating-linear-gradient(-55deg, var(--ink) 0 14px, var(--white) 14px 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; display: inline-block; flex: none; width: 30px; height: 10px;
  background: repeating-linear-gradient(-55deg, currentColor 0 3px, transparent 3px 7px);
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 16px; }
.placeholder { background: var(--amber-soft); border: 1px dashed var(--amber-dark); border-radius: 6px; padding: 0 8px; color: var(--amber-dark); font-weight: 700; white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 48px;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 10px 24px rgba(242, 165, 28, .32); }
.btn-amber:hover { background: #ffb733; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-3); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: .92rem; min-height: 42px; }
.btn-lg { padding: 18px 34px; font-size: 1.12rem; min-height: 56px; }
.big-phone {
  display: inline-block; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1; color: var(--amber); margin: 8px 0 18px;
  text-decoration: none !important;
}
.big-phone:hover { color: #ffb733; }
.foot-phone { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--amber) !important; letter-spacing: -0.02em; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 16, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .2s;
}
.site-header.scrolled { background: rgba(15, 15, 16, .96); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; color: inherit; }
.brand img { height: 36px; width: auto; filter: invert(1); }
.brand span { font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.brand b { font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #d6d6dc; font-weight: 600; font-size: .98rem;
  padding: 10px 14px; border-radius: 8px; text-decoration: none !important;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--amber); border-radius: 8px 8px 0 0; }
.nav .phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); margin-left: 8px; }
.nav .phone svg { width: 18px; height: 18px; fill: var(--amber); }
.nav .btn { margin-left: 8px; }
.nav .btn-amber {
  background: transparent; color: var(--amber); border-color: rgba(242, 165, 28, .55);
  box-shadow: none;
}
.nav .btn-amber:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.nav-toggle {
  display: none; background: none; border: 2px solid rgba(255,255,255,.3); color: var(--white);
  border-radius: 10px; width: 48px; height: 44px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 4px auto; transition: .2s; }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--white);
  margin-top: -76px; padding-top: 76px;
}
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15,15,16,.94) 0%, rgba(15,15,16,.78) 45%, rgba(15,15,16,.25) 100%),
    linear-gradient(0deg, rgba(15,15,16,1) 0%, rgba(15,15,16,0) 40%);
}
.hero .wrap { min-height: min(86vh, 780px); display: grid; align-content: center; padding: 96px 0 72px; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p { font-size: 1.25rem; color: #d9d9df; max-width: 52ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-note { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 36px; color: #c2c2ca; font-size: .98rem; }
.hero-note b { color: var(--white); display: block; font-family: var(--font-head); font-size: 1.05rem; }

/* Stripe rule */
.stripes { height: 14px; background: var(--stripes); }
.stripes.thin { height: 8px; }

/* Brand strip */
.brands { background: var(--paper); border-bottom: 1px solid var(--line); }
.brands .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 26px 0; }
.brands .label { font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; color: var(--muted); }
.brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.brands li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-family: var(--font-head); }
.brands img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }

/* Sections */
section { padding: 96px 0; }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.bg-ink .lead { color: #c9c9d0; }
.bg-ink .eyebrow { color: var(--amber); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Voice line */
.voice { position: relative; overflow: hidden; }
.voice .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.voice .say {
  font-family: var(--font-head); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.05; color: var(--white);
  transition: opacity .35s ease, transform .35s ease; min-height: 2.1em;
}
.voice .say.fade { opacity: 0; transform: translateY(6px); }
.voice .say::before { content: "“"; color: var(--amber); }
.voice .say::after { content: "”"; color: var(--amber); }
.voice .rooms { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.voice .rooms li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.04);
  font-weight: 600;
}
.voice .rooms svg { width: 26px; height: 26px; stroke: var(--amber); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.voice .rooms small { display: block; color: #b9b9c2; font-weight: 500; }

/* Product cards */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .media { background: var(--white); aspect-ratio: 4/3; display: grid; place-items: center; padding: 22px; border-bottom: 1px solid var(--line); }
.card .media img { max-height: 100%; width: auto; object-fit: contain; }
.card .media.dark { background: var(--ink-2); }
.card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.card .tag { font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-dark); font-weight: 700; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { position: relative; padding: 32px 28px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1;
  color: var(--amber); display: block; margin-bottom: 14px; letter-spacing: -0.04em;
}
.steps h3 { margin-bottom: .4em; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Pricing band */
.price-band { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 40px 48px; border-radius: 24px; background: var(--ink); color: var(--white); }
.price-band h2 { color: var(--white); margin-bottom: .3em; }
.price-band p { color: #c9c9d0; margin: 0; max-width: 56ch; }
.price-band .rate { text-align: center; padding: 22px 32px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.price-band .rate b { display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 1; color: var(--amber); }
.price-band .rate small { display: block; color: #c9c9d0; margin-top: 8px; font-size: .95rem; }
.rates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 340px; }
.rates li { padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.rates b { display: block; font-family: var(--font-head); font-size: 1.9rem; line-height: 1; color: var(--white); letter-spacing: -0.03em; }
.rates span { display: block; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #a9a9b3; margin-top: 6px; font-family: var(--font-head); font-weight: 700; }
.rates small { display: block; color: #e2e2e8; font-size: .98rem; margin-top: 8px; font-weight: 600; }
.rates .from { background: var(--amber); border-color: var(--amber); }
.rates .from b, .rates .from span, .rates .from small { color: var(--ink); }

/* CTA */
.cta { text-align: center; }
.cta .wrap { display: grid; justify-items: center; gap: 12px; }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 12px; }
.cta address { font-style: normal; color: #c9c9d0; margin-top: 16px; }
.cta address a { color: var(--white); }

/* Booking options */
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.option { padding: 34px 30px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.option.featured { border-color: var(--ink); box-shadow: var(--shadow); }
.option svg { width: 44px; height: 44px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.option .tag { font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-dark); font-weight: 700; }
.option h3 { margin: 0; }
.option p { margin: 0 0 8px; color: var(--muted); font-size: 1rem; flex: 1; }
.option .btn { align-self: flex-start; }

/* Details list */
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; list-style: none; margin: 0; padding: 0; }
.details li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.details svg { width: 24px; height: 24px; flex: none; stroke: var(--amber-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.details b { display: block; font-family: var(--font-head); }
.details span { color: var(--muted); font-size: 1rem; }

/* County list */
.counties { display: grid; gap: 28px 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.county-group h3 { display: flex; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 14px; }
.county-group h3 small { font-family: var(--font-body); font-weight: 600; font-size: .85rem; color: var(--amber-dark); letter-spacing: .04em; text-transform: uppercase; }
.county-group ul { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 24px; font-size: .98rem; line-height: 1.5; }
.county-group li { break-inside: avoid; padding: 2px 0; color: var(--ink-3); }
@media (max-width: 1000px) { .counties { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .county-group ul { columns: 2; } }

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: var(--white); padding: 84px 0 64px; margin-top: -76px; padding-top: 160px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; }
.page-hero .lead { color: #c9c9d0; }
.page-hero .eyebrow { color: var(--amber); }

/* Footer */
.site-footer { background: var(--ink); color: #c9c9d0; }
.site-footer .wrap { padding: 64px 0 36px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.site-footer h4 { color: var(--white); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #e6e6ec; }
.site-footer a:hover { color: var(--amber); }
.site-footer p { font-size: 1rem; }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .92rem; color: #9a9aa3; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-3, .steps, .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .voice .wrap { grid-template-columns: 1fr; gap: 36px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .price-band { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .grid-3, .grid-2, .steps, .options, .details, .site-footer .cols { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--ink); padding: 12px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--amber); border-radius: 8px; }
  .nav .btn { margin: 10px 0 0; }
  .hero .wrap { padding: 72px 0 56px; min-height: 0; }
  .hero-note { gap: 16px 28px; }
  .price-band { padding: 28px 24px; }
  .price-band > * { min-width: 0; }
  .price-band .rate { padding: 18px 16px; }
  .price-band .rate b { font-size: clamp(1.5rem, 7vw, 2.4rem); }
  .rates { min-width: 0; }
  .rates b { font-size: 1.6rem; }
  .page-hero { padding-top: 130px; padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .voice .say { transition: none; }
}
