/* ============================================================
   Conejo Valley Gate & Garage Co. — editorial dark theme
   Palette: warm espresso surfaces + bronze/brass accent.
   Type: Fraunces (display serif) + Inter (body).
   Brand colors live in :root — swap them here.
   ============================================================ */

:root {
  /* Surfaces — warm near-black, not neutral gray */
  --bg: #12100d;
  --bg-deep: #0c0b09;
  --bg-raised: #181511;
  --card: #1e1a15;
  --card-hover: #242019;
  --line: rgba(240, 230, 214, 0.09);
  --line-strong: rgba(240, 230, 214, 0.16);

  /* Type colors */
  --ink: #f2ecdf;
  --ink-soft: #c7bdaa;
  --ink-faint: #93897a;

  /* Accent — bronze / brass */
  --accent: #c9954f;
  --accent-bright: #e6bc7c;
  --accent-deep: #96672c;
  --accent-ink: #1c1306;
  --accent-glow: rgba(201, 149, 79, 0.13);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --container: 1200px;
  --nav-h: 80px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
/* Italic serif accent inside headlines — the signature move of this design */
h1 em, h2 em {
  font-style: italic;
  font-weight: 340;
  color: var(--accent-bright);
}

.accent { color: var(--accent); }

.container {
  width: min(var(--container), 100% - 2.75rem);
  margin-inline: auto;
}

::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              background 0.3s, border-color 0.3s, color 0.3s;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 55%, var(--accent-deep));
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(201, 149, 79, 0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(201, 149, 79, 0.7);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  color: var(--ink);
  border-color: rgba(242, 236, 223, 0.28);
  background: rgba(18, 16, 13, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.btn--full { width: 100%; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none !important; }
  * { animation: none !important; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(12, 11, 9, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  white-space: nowrap;
}
.nav__brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent-bright);
  border: 1px solid rgba(201, 149, 79, 0.35);
}
.nav__brand-mark svg { width: 22px; height: 22px; }
.nav__brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.15;
}
.nav__brand-text em {
  font-style: italic;
  font-weight: 340;
  font-size: 0.85rem;
  color: var(--accent);
}

.nav__links { display: flex; gap: 1.9rem; }
.nav__links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 1rem; }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 149, 79, 0.4);
  background: var(--accent-glow);
  color: var(--accent-bright);
  font-weight: 600;
  font-size: 0.94rem;
  transition: background 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.nav__phone svg { width: 16px; height: 16px; }
.nav__phone:hover {
  background: rgba(201, 149, 79, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px rgba(201, 149, 79, 0.5);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 10px;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO — full-bleed cinematic image
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 5rem) 0 clamp(3.5rem, 8vh, 6rem);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  transform: scale(1.06);
  animation: heroSettle 2.4s var(--ease-out) forwards;
}
@keyframes heroSettle {
  to { transform: scale(1); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(18, 16, 13, 0.88) 22%, rgba(18, 16, 13, 0.45) 55%, rgba(18, 16, 13, 0.55) 100%),
    linear-gradient(105deg, rgba(18, 16, 13, 0.75) 0%, rgba(18, 16, 13, 0.15) 60%);
}

.hero__content { max-width: 860px; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.hero__eyebrow-rule {
  width: 44px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(2.9rem, 8vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero__sub {
  margin-top: 1.6rem;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(242, 236, 223, 0.85);
}

.hero__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__stats {
  margin-top: 3.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.8rem, 4.5vw, 4rem);
  border-top: 1px solid rgba(242, 236, 223, 0.18);
  padding-top: 1.6rem;
}
.hero__stats dt {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
}
.hero__stats dd {
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(199, 189, 170, 0.85);
  margin-top: 0.25rem;
}

/* ============================================================
   CITY MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 1.1rem 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 340;
  font-size: 1.12rem;
  color: var(--ink-faint);
  white-space: nowrap;
}
.marquee__track i {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--accent);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; }

.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section__title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}
.section__sub {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.section__head { max-width: 740px; margin-bottom: clamp(2.8rem, 5.5vw, 4.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .section__sub { margin-inline: auto; }
.section__head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}
.section__head--split .section__sub { max-width: 38ch; margin-top: 0; }

/* ============================================================
   GATES (primary service)
   ============================================================ */
.gates { background: var(--bg); }

.gates__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.gates__media {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.gates__media > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
}
.gates__media-card {
  margin: -3.2rem 1.4rem 0 auto;
  max-width: 320px;
  position: relative;
  padding: 1.5rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.65);
}
.gates__media-card blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 340;
  font-size: 1.12rem;
  color: var(--ink);
  line-height: 1.4;
}
.gates__media-card figcaption {
  margin-top: 0.7rem;
  font-size: 0.83rem;
  color: var(--ink-faint);
}

.gates__list {
  margin-top: 2.8rem;
  border-top: 1px solid var(--line);
}
.gates__item {
  display: flex;
  gap: 1.6rem;
  padding: 1.7rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.35s var(--ease-out);
  border-radius: 4px;
}
.gates__item:hover {
  background: linear-gradient(90deg, var(--accent-glow), transparent 70%);
  padding-left: 1.1rem;
}
.gates__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 340;
  font-size: 1.05rem;
  color: var(--accent);
  line-height: 1.9;
  flex-shrink: 0;
}
.gates__item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}
.gates__item p { font-size: 0.96rem; max-width: 52ch; }

/* ============================================================
   GARAGE DOORS (secondary)
   ============================================================ */
.garage {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}

.garage__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.garage__media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
}

.garage__cards {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.garage-card {
  padding: 1.5rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.35s var(--ease-out),
              opacity 0.8s var(--ease-out);
}
.garage-card:hover { border-color: rgba(201, 149, 79, 0.4); transform: translateY(-4px); }
.garage-card h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.garage-card p { font-size: 0.9rem; }

/* ============================================================
   OUR WORK — asymmetric gallery
   ============================================================ */
.work { background: var(--bg-deep); }

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 1.2rem;
}
.work__item { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.work__item--tall { grid-row: span 2; }
.work__item--wide { grid-column: span 2; }

.work__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}
.work__item:hover img { transform: scale(1.05); filter: brightness(1.06); }

.work__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.4rem 1.2rem;
  background: linear-gradient(to top, rgba(12, 11, 9, 0.92), rgba(12, 11, 9, 0.4) 65%, transparent);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  transform: translateY(8px);
  opacity: 0.92;
  transition: transform 0.45s var(--ease-out), opacity 0.45s;
}
.work__item:hover figcaption { transform: none; opacity: 1; }
/* Placeholder tile — clearly labeled slot awaiting a real project photo */
.work__item--placeholder {
  border: 1px dashed rgba(201, 149, 79, 0.4);
  background: linear-gradient(160deg, rgba(201, 149, 79, 0.07), var(--card) 60%);
}
.work__ph {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.5rem;
  color: var(--accent);
}
.work__ph svg { width: 44px; height: 44px; opacity: 0.7; }
.work__ph p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 340;
  font-size: 1.05rem;
  color: var(--ink-faint);
  text-align: center;
}

.work__item figcaption strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--ink);
}
.work__item figcaption span {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

/* ============================================================
   FAMILY STORY
   ============================================================ */
.story { background: var(--bg); }

.story__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.story__media img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg); /* arched, like a gate */
  border: 1px solid var(--line-strong);
}

.story__text { margin-top: 1.8rem; display: grid; gap: 1.2rem; }
.story__text p { font-size: 1.05rem; max-width: 58ch; }
.story__text em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
}
.story__sign {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 340;
  font-size: 1.3rem;
  color: var(--accent-bright);
}

/* ============================================================
   WHY US
   ============================================================ */
.why {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}
.why-card {
  padding: 2.1rem 2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, background 0.3s,
              opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.why-card:hover { border-color: rgba(201, 149, 79, 0.4); background: var(--card-hover); }
.why-card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.why-card p { font-size: 0.97rem; }

/* ============================================================
   BRANDS
   ============================================================ */
.brands { background: var(--bg); }

.brands__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 118px;
  padding: 1.4rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.35s, background 0.35s, transform 0.35s var(--ease-out);
}
.brand:hover {
  border-color: rgba(201, 149, 79, 0.45);
  background: var(--card-hover);
  transform: translateY(-3px);
}
.brand img {
  height: 30px;
  width: auto;
  max-width: 86%;
  object-fit: contain;
  /* White-silhouette treatment unifies mixed logo styles on the dark bg */
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.4s, filter 0.4s;
}
.brand:hover img { opacity: 1; }
/* Filled-shape marks (Genie pill) would blob out as a silhouette — tint instead */
.brand img.brand__logo--tinted { filter: grayscale(1) brightness(1.2); opacity: 0.7; }
.brand:hover img.brand__logo--tinted { filter: none; opacity: 1; }
.brand span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  transition: color 0.35s;
}
.brand:hover span { color: var(--ink-soft); }

/* Text-only tiles: the brand name IS the logo — elegant bronze serif */
.brand--text span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 340;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--accent);
}
.brand--text:hover span { color: var(--accent-bright); }

.brands__note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-faint);
}
.brands__note a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(201, 149, 79, 0.45);
  transition: color 0.25s, border-color 0.25s;
}
.brands__note a:hover { color: var(--accent-bright); border-color: var(--accent-bright); }

/* ============================================================
   EMERGENCY TIPS + GUARANTEE
   ============================================================ */
.help { background: var(--bg-deep); border-block: 1px solid var(--line); }

.help__layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: stretch;
}

.help-box {
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
}
.help-box h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-bottom: 1.4rem;
}

.help-box--tips { background: var(--card); }
.help-box__list { display: grid; gap: 1rem; }
.help-box__list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.97rem;
}
.help-box__list li::before {
  content: "✦";
  position: absolute;
  left: 0; top: 0.15em;
  font-size: 0.7rem;
  color: var(--accent);
}
.help-box__list strong { color: var(--ink); }
.help-box__list em { font-style: italic; color: var(--accent-bright); }

.help-box__call {
  display: inline-block;
  margin-top: 1.7rem;
  font-weight: 600;
  color: var(--accent-bright);
  border-bottom: 1px solid rgba(201, 149, 79, 0.45);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.help-box__call:hover { color: var(--ink); border-color: var(--ink); }

.help-box--promise {
  background: linear-gradient(165deg, rgba(201, 149, 79, 0.16), var(--card) 60%);
  border-color: rgba(201, 149, 79, 0.35);
}
.promise__list { display: grid; gap: 1.3rem; }
.promise__list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}
.promise__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.promise__list strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  color: var(--ink);
}
.promise__list span { font-size: 0.92rem; color: var(--ink-soft); }

/* ============================================================
   SERVICE AREA
   ============================================================ */
.area {
  background:
    radial-gradient(ellipse 60% 90% at 50% 115%, rgba(201, 149, 79, 0.09), transparent 70%),
    var(--bg);
  text-align: center;
}

.area__cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  max-width: 780px;
  margin-inline: auto;
}
.area__city {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  transition: border-color 0.3s, transform 0.3s var(--ease-out), background 0.3s;
}
.area__city:hover {
  border-color: rgba(201, 149, 79, 0.5);
  transform: translateY(-3px);
  background: var(--card-hover);
}
.area__city--primary {
  border-color: rgba(201, 149, 79, 0.55);
  background: var(--accent-glow);
  color: var(--accent-bright);
}
.area__city svg { width: 18px; height: 18px; }

.area__note {
  margin: 2.4rem auto 0;
  max-width: 60ch;
  color: var(--ink-faint);
  font-size: 0.98rem;
}
.area__note a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(201, 149, 79, 0.45);
  transition: color 0.25s, border-color 0.25s;
}
.area__note a:hover { color: var(--accent-bright); border-color: var(--accent-bright); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--bg-raised); border-top: 1px solid var(--line); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.t-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 2rem 1.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.35s, transform 0.35s var(--ease-out),
              opacity 0.8s var(--ease-out);
}
.t-card:hover { border-color: rgba(201, 149, 79, 0.35); transform: translateY(-4px); }
.t-card--feature {
  grid-column: span 3;
  background: linear-gradient(150deg, rgba(201, 149, 79, 0.13), var(--card) 55%);
  border-color: rgba(201, 149, 79, 0.3);
}
.t-card--feature blockquote p {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 56ch;
}

.t-card__stars { color: var(--accent); letter-spacing: 0.22em; font-size: 1rem; }
.t-card blockquote p { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }

.t-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
}
.t-card__avatar {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid rgba(201, 149, 79, 0.35);
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.t-card figcaption strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.t-card figcaption em { display: block; color: var(--ink-faint); font-size: 0.85rem; font-style: normal; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background:
    radial-gradient(ellipse 50% 60% at 12% 15%, rgba(201, 149, 79, 0.08), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}

.contact__layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact__phone {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.1rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 149, 79, 0.4);
  background: var(--accent-glow);
  transition: background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.contact__phone:hover {
  background: rgba(201, 149, 79, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px rgba(201, 149, 79, 0.5);
}
.contact__phone svg { width: 30px; height: 30px; color: var(--accent); }
.contact__phone em {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.contact__phone strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent-bright);
}

.contact__hours { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.contact__hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}
.contact__hours li span:first-child { color: var(--ink-faint); }
.contact__hours li span:last-child { color: var(--ink); font-weight: 500; }
.contact__hours li span.accent { color: var(--accent); font-weight: 600; }

/* ---------- Form ---------- */
.contact__form {
  padding: clamp(1.7rem, 3vw, 2.5rem);
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 36px 90px -36px rgba(0, 0, 0, 0.75);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.97rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field ::placeholder { color: var(--ink-faint); opacity: 0.7; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 149, 79, 0.18);
}
.form-field input.is-invalid,
.form-field select.is-invalid {
  border-color: #d9544f;
  box-shadow: 0 0 0 3px rgba(217, 84, 79, 0.15);
}

.form-select { position: relative; }
.form-select svg {
  position: absolute;
  right: 0.9rem; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--ink-faint);
  pointer-events: none;
}
.form-select select { padding-right: 2.6rem; cursor: pointer; }
.form-select select:invalid { color: var(--ink-faint); }
.form-select option { background: var(--card); color: var(--ink); }

.form-note {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--ink-faint);
}

.form-success {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.2rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(124, 188, 134, 0.35);
  background: rgba(124, 188, 134, 0.08);
  color: #a8d8b1;
}
.form-success svg { width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px; }
.form-success strong { color: #c8e8ce; }
.form-success p { font-size: 0.92rem; margin-top: 0.15rem; }
.form-success a { color: var(--accent-bright); font-weight: 600; text-decoration: underline; }

.form-error {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.2rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(216, 116, 92, 0.42);
  background: rgba(216, 116, 92, 0.1);
  color: #ecb6a7;
}
.form-error svg { width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px; color: #e08a6f; }
.form-error strong { color: #f3cabd; }
.form-error p { font-size: 0.92rem; margin-top: 0.15rem; }
.form-error a { color: var(--accent-bright); font-weight: 600; text-decoration: underline; }

/* hidden attribute must win over the flex display above */
.form-success[hidden], .form-error[hidden] { display: none; }

/* Honeypot field — visually removed, off-screen, not announced */
.form-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* Submit button while sending / disabled */
.btn:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
}
.footer__name em { font-style: italic; font-weight: 340; color: var(--accent); }
.footer__tag {
  margin-top: 0.7rem;
  font-size: 0.93rem;
  color: var(--ink-faint);
  max-width: 32ch;
}
.footer__phone {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.25s;
}
.footer__phone:hover { color: var(--accent-bright); }

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.footer__col li { font-size: 0.93rem; color: var(--ink-faint); padding: 0.3rem 0; }
.footer__col a { transition: color 0.25s; }
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
  font-size: 0.85rem;
  color: var(--ink-faint);
  text-align: center;
}

/* ============================================================
   MOBILE STICKY CALL BAR
   ============================================================ */
.callbar {
  display: none;
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 90;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 55%, var(--accent-deep));
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 1.02rem;
  box-shadow: 0 12px 36px -8px rgba(201, 149, 79, 0.65);
}
.callbar svg { width: 20px; height: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav__links { gap: 1.3rem; }
  .brands__grid { grid-template-columns: repeat(3, 1fr); }
  .work__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
  .work__item--wide { grid-column: span 2; }
  .help__layout { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .t-card--feature { grid-column: span 2; }
}

@media (max-width: 880px) {
  .gates__layout,
  .garage__layout,
  .story__layout,
  .contact__layout { grid-template-columns: 1fr; }

  .gates__media { position: static; max-width: 560px; }
  .garage__layout { gap: 2.5rem; }
  .garage__media { order: -1; max-width: 560px; }
  .garage__media img { aspect-ratio: 16 / 10; }
  .story__media { max-width: 420px; }

  .section__head--split { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 66px; }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(12, 11, 9, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.4rem 1.2rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.32s var(--ease-out), opacity 0.32s, visibility 0.32s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a {
    padding: 1rem 0.25rem;
    font-size: 1.08rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a::after { display: none; }

  .nav__phone span { display: none; }
  .nav__phone { padding: 0.6rem 0.75rem; border-radius: 12px; }
  .nav__toggle { display: flex; }
  .nav__brand-text { font-size: 0.95rem; }

  .hero { align-items: flex-end; padding-bottom: 6.5rem; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { gap: 1.5rem; }
  .hero__stats dt { font-size: 1.4rem; }

  .work__grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .work__item--tall { grid-row: span 1; }
  .work__item--wide { grid-column: span 1; }
  .work__item figcaption { transform: none; opacity: 1; }

  .garage__cards { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .brands__grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .brand { min-height: 104px; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .t-card--feature { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }

  .gates__media-card { margin: -2.4rem 0.9rem 0 auto; max-width: 290px; }
  .story__media img { border-radius: 160px 160px var(--radius) var(--radius); }

  .callbar { display: flex; }
  body { padding-bottom: 4.6rem; }
  .footer { padding-bottom: 1rem; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .marquee__track { gap: 1.8rem; }
  .hero__title { font-size: clamp(2.5rem, 12vw, 3.2rem); }
}

/* ============================================================
   SEO KICKER (homepage + city hero H1)
   ============================================================ */
.hero__kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1.1rem;
}

/* Service-area cities are now links */
.area__cities a.area__city { cursor: pointer; }
.area__lead { margin-inline: auto; margin-bottom: 2.2rem; }

/* ============================================================
   CITY PAGES — shared components
   ============================================================ */
.hero--city { min-height: clamp(560px, 82vh, 760px); }
.hero--city .hero__content { max-width: 820px; }

/* Breadcrumb */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: rgba(242, 236, 223, 0.7);
  margin-bottom: 1.3rem;
}
.crumb a { color: var(--accent-bright); font-weight: 500; }
.crumb a:hover { color: var(--ink); }
.crumb span[aria-hidden] { opacity: 0.5; }
.crumb [aria-current] { color: var(--ink-soft); }

/* Local intro */
.local { background: var(--bg); }
.local__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.local__text p { margin-top: 1.1rem; font-size: 1.04rem; color: var(--ink-soft); max-width: 60ch; }
.local__text p:first-of-type { margin-top: 1.4rem; }
.local__media img {
  width: 100%;
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
}
.local__media figcaption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
  text-align: center;
}

/* Neighborhood chips */
.neigh { background: var(--bg-raised); border-block: 1px solid var(--line); }
.neigh__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.5rem;
}
.neigh__list li {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.93rem;
  color: var(--ink-soft);
  transition: border-color 0.3s, color 0.3s;
}
.neigh__list li:hover { border-color: rgba(201,149,79,0.4); color: var(--ink); }

/* FAQ accordion (native details/summary, no JS) */
.faq { background: var(--bg); }
.faq__wrap { max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  color: var(--ink);
  transition: color 0.25s;
}
.faq__item summary:hover { color: var(--accent-bright); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s var(--ease-out);
}
.faq__item[open] summary::after { content: "\2013"; }
.faq__item p {
  padding: 0 0 1.5rem;
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 70ch;
}

/* Nearby cities */
.nearby { background: var(--bg-deep); border-top: 1px solid var(--line); }
.nearby__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}
.nearby__card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.35s var(--ease-out), background 0.3s;
}
.nearby__card:hover { border-color: rgba(201,149,79,0.42); transform: translateY(-4px); background: var(--card-hover); }
.nearby__card strong { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.nearby__card span { font-size: 0.9rem; color: var(--ink-faint); }
.nearby__card .nearby__go { margin-top: 0.4rem; font-size: 0.86rem; font-weight: 600; color: var(--accent); }
.nearby__card:hover .nearby__go { color: var(--accent-bright); }

@media (max-width: 880px) {
  .local__layout { grid-template-columns: 1fr; }
  .local__media { order: -1; max-width: 560px; }
}
