/* ==========================================================================
   Proline Garage Doors — style.css
   Premium black & gold design system. No frameworks, no dependencies.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0b0b0d;            /* page background */
  --coal: #131317;           /* raised surfaces */
  --surface: #1a1b21;        /* cards */
  --paper: #f7f5f0;          /* light sections */
  --paper-ink: #17171a;      /* text on light */
  --gold: #c9a227;
  --gold-light: #e8cd7e;
  --gold-deep: #9a7b24;
  --gold-grad: linear-gradient(135deg, #e8cd7e 0%, #c9a227 55%, #9a7b24 100%);
  --text: #eceae4;
  --muted: #a8a59c;
  --muted-dark: #5d5b55;
  --line: rgba(201, 162, 39, 0.25);
  --line-soft: rgba(255, 255, 255, 0.08);
  --font-head: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --radius: 14px;
  --container: 1180px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --ease-door: cubic-bezier(0.77, 0, 0.18, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
ul[class], ol[class] { list-style: none; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { max-width: 68ch; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: #000; padding: 0.6rem 1rem; font-weight: 600;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.02em; padding: 0.9rem 1.7rem; border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn--gold { background: var(--gold-grad); color: #141005; box-shadow: 0 6px 22px rgba(201, 162, 39, 0.28); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201, 162, 39, 0.42); color: #000; }
.btn--outline { border: 1px solid var(--gold); color: var(--gold-light); background: transparent; }
.btn--outline:hover { background: rgba(201, 162, 39, 0.12); color: #fff; transform: translateY(-2px); }
.btn--dark { background: #101014; border: 1px solid var(--line-soft); color: var(--text); }
.btn--dark:hover { border-color: var(--gold); color: #fff; }
.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.85rem; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }

/* ---------- Top bar ---------- */
.topbar { background: #000; border-bottom: 1px solid var(--line-soft); font-size: 0.82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 0.45rem; }
.topbar__note { color: var(--muted); }
.topbar__note span { color: var(--gold); font-size: 0.6rem; vertical-align: middle; margin-right: 0.3rem; }
.topbar__links { display: flex; gap: 1.25rem; align-items: center; }
.topbar__emergency { color: var(--gold-light); font-weight: 600; }
.topbar__phone { color: #fff; font-weight: 600; font-family: var(--font-head); }
.topbar__phone:hover { color: var(--gold-light); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 13, 0.92);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s ease;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   create a containing block and trap the fixed mobile nav drawer inside it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.8rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; position: relative; z-index: 95; }
.brand__mark { width: 46px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.16em; color: #fff; }
.brand__tag { font-size: 0.58rem; letter-spacing: 0.42em; color: var(--gold); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav__list { display: flex; align-items: center; gap: 0.25rem; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.8rem; font-size: 0.92rem; font-weight: 500; color: var(--text);
  border-radius: 6px; transition: color 0.2s ease, background 0.2s ease;
}
.site-nav__link:hover, .site-nav__link.is-active { color: var(--gold-light); background: rgba(201, 162, 39, 0.08); }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
  background: var(--coal); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.5rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 0.55rem 0.8rem; border-radius: 6px; font-size: 0.9rem; color: var(--text); }
.dropdown a:hover { background: rgba(201, 162, 39, 0.1); color: var(--gold-light); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; position: relative; z-index: 95; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold-light); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (homepage) ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(201, 162, 39, 0.1), transparent 60%),
    linear-gradient(180deg, #0b0b0d 0%, #101014 100%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; padding-block: 5.5rem 4.5rem; }
.hero__kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.hero__kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold-grad); }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { color: var(--muted); font-size: 1.08rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: 0.88rem; color: var(--muted); }
.hero__points li { display: flex; align-items: center; gap: 0.5rem; }
.hero__points svg { width: 16px; height: 16px; stroke: var(--gold); flex-shrink: 0; }

.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: #15161a; }
.hero__media::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 62%; height: 62%;
  border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; opacity: 0.5;
}
.hero__chip {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--coal); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85rem 1.15rem; box-shadow: var(--shadow); display: flex; gap: 0.75rem; align-items: center;
}
.hero__chip strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--gold-light); display: block; line-height: 1; }
.hero__chip span { font-size: 0.75rem; color: var(--muted); }

/* ---------- Interior page hero ---------- */
.page-hero { position: relative; background: linear-gradient(180deg, #000 0%, var(--ink) 100%); border-bottom: 1px solid var(--line-soft); padding-block: 3.8rem 3.2rem; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 90% 10%, rgba(201, 162, 39, 0.09), transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold); }
.page-hero h1 { max-width: 22ch; margin-bottom: 0.9rem; }
.page-hero__sub { color: var(--muted); font-size: 1.06rem; max-width: 62ch; margin-bottom: 1.6rem; }
.page-hero .hero__actions { margin-bottom: 0; }

/* ---------- Sections ---------- */
.section { padding-block: 5rem; }
.section--tight { padding-block: 3.5rem; }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper h2, .section--paper h3 { color: var(--paper-ink); }
.section--paper p { color: #46443f; }
.section--coal { background: var(--coal); border-block: 1px solid var(--line-soft); }

.kicker { display: block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.section__head { max-width: 720px; margin-bottom: 2.8rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker::before, .section__head--center .kicker::after { content: "—"; margin-inline: 0.5rem; opacity: 0.5; }
.section__head p { margin-top: 0.9rem; color: var(--muted); }
.section--paper .section__head p { color: #5d5b55; }
.section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; }

/* ---------- Stats / trust bar ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
.stats__item { background: var(--ink); text-align: center; padding: 2rem 1rem; }
.stats__item strong { display: block; font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats__item span { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Garage-door tiles (signature animation) ---------- */
.doors-toolbar { display: flex; justify-content: flex-end; margin-bottom: 1.4rem; }
.doors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.doors-grid--4 { grid-template-columns: repeat(4, 1fr); }

.door-tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); min-height: 320px;
  isolation: isolate;
}
/* Content revealed behind the door */
.door-tile__reveal {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; gap: 0.6rem;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.1) 0%, var(--surface) 55%);
}
.door-tile__reveal h3 { color: var(--gold-light); }
.door-tile__reveal p { font-size: 0.9rem; color: var(--muted); }
.door-tile__reveal .tile-link { font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: #fff; display: inline-flex; align-items: center; gap: 0.4rem; }
.door-tile__reveal .tile-link::after { content: "→"; color: var(--gold); transition: transform 0.25s ease; }
.door-tile:hover .tile-link::after { transform: translateX(4px); }
.door-tile__icon { width: 44px; height: 44px; stroke: var(--gold); margin-bottom: auto; }

/* The animated door face */
.door-tile__door {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.25)),
    repeating-linear-gradient(180deg, #1d1e24 0px, #1d1e24 42px, #121317 42px, #121317 48px);
  border-bottom: 3px solid; border-image: var(--gold-grad) 1;
  transition: transform 0.85s var(--ease-door);
  will-change: transform;
}
.door-tile__door::before { /* handle */
  content: ""; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 46px; height: 8px; border-radius: 4px; background: var(--gold-grad); opacity: 0.9;
}
.door-tile__door h3 { color: #fff; margin-bottom: 0.3rem; }
.door-tile__door .door-hint { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-family: var(--font-head); font-weight: 600; }
.door-tile:hover .door-tile__door,
.door-tile:focus-within .door-tile__door,
.door-tile.is-open .door-tile__door { transform: translateY(calc(-100% + 12px)); }
.door-tile:hover, .door-tile.is-open { border-color: var(--gold); }

/* ---------- Generic cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.8rem; transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); }
.card__icon { width: 42px; height: 42px; stroke: var(--gold); margin-bottom: 1.1rem; }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.93rem; color: var(--muted); }
.card ul { margin-top: 0.8rem; display: grid; gap: 0.45rem; font-size: 0.9rem; color: var(--muted); }
.card ul li { padding-left: 1.2rem; position: relative; }
.card ul li::before { content: "◆"; position: absolute; left: 0; top: 0; font-size: 0.55rem; color: var(--gold); line-height: 2.4; }
.section--paper .card { background: #fff; border-color: #e7e2d6; }
.section--paper .card p, .section--paper .card ul { color: #5d5b55; }

/* ---------- Media split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split__media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: #15161a; }
.split__body .kicker { margin-bottom: 0.6rem; }
.split__body h2 { margin-bottom: 1rem; }
.split__body p { color: var(--muted); margin-bottom: 1rem; }
.section--paper .split__body p { color: #5d5b55; }
.split--flip .split__media { order: 2; }

.checklist { display: grid; gap: 0.7rem; margin: 1.4rem 0 1.8rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.96rem; color: var(--text); }
.section--paper .checklist li { color: var(--paper-ink); }
.checklist svg { width: 20px; height: 20px; stroke: var(--gold); flex-shrink: 0; margin-top: 0.2rem; }

/* ---------- Numbered steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.7rem; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 700; font-size: 2rem;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.88rem; color: var(--muted); }
.section--paper .step { background: #fff; border-color: #e7e2d6; }
.section--paper .step h3 { color: var(--paper-ink); }
.section--paper .step p { color: #5d5b55; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testimonial { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.testimonial__stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.95rem; }
.testimonial__quote { font-size: 0.96rem; color: var(--text); font-style: italic; }
.testimonial__meta { margin-top: auto; font-size: 0.85rem; color: var(--muted); }
.testimonial__meta strong { color: var(--gold-light); font-style: normal; display: block; font-family: var(--font-head); }
.section--paper .testimonial { background: #fff; border-color: #e7e2d6; }
.section--paper .testimonial__quote { color: #33312c; }

.rating-summary { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-bottom: 2.5rem; }
.rating-summary__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.8rem; display: flex; align-items: center; gap: 1.1rem; }
.rating-summary__card strong { font-family: var(--font-head); font-size: 1.9rem; color: #fff; }
.rating-summary__card .testimonial__stars { display: block; }
.rating-summary__card span { font-size: 0.82rem; color: var(--muted); display: block; }

/* ---------- Service area chips ---------- */
.quadrant { border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); padding: 2rem; margin-bottom: 1.6rem; }
.quadrant__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.quadrant h3 a { color: #fff; }
.quadrant h3 a:hover { color: var(--gold-light); }
.quadrant p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  font-size: 0.82rem; padding: 0.35rem 0.85rem; border-radius: 100px;
  background: rgba(201, 162, 39, 0.08); border: 1px solid var(--line); color: var(--gold-light);
}

/* ---------- FAQ ---------- */
.faq-group { max-width: 820px; margin-inline: auto; }
.faq-group h2 { margin: 2.6rem 0 1.2rem; font-size: 1.35rem; }
.faq-group h2:first-of-type { margin-top: 0; }
details.faq {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 10px;
  margin-bottom: 0.8rem; overflow: hidden; transition: border-color 0.25s ease;
}
details.faq[open] { border-color: var(--line); }
details.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem; font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); transition: transform 0.3s ease; flex-shrink: 0; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq__body { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: 0.95rem; }
details.faq .faq__body a { color: var(--gold-light); }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--gold-light); font-family: var(--font-head); letter-spacing: 0.03em; }
.form-field input, .form-field select, .form-field textarea {
  background: #101014; border: 1px solid var(--line-soft); border-radius: 8px;
  padding: 0.8rem 1rem; color: var(--text); font: inherit; font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a227' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { border-radius: 10px; padding: 1rem 1.3rem; margin-bottom: 1.6rem; font-size: 0.95rem; border: 1px solid; }
.alert--success { background: rgba(76, 175, 80, 0.08); border-color: rgba(76, 175, 80, 0.4); color: #9be29e; }
.alert--error { background: rgba(214, 69, 69, 0.08); border-color: rgba(214, 69, 69, 0.45); color: #f0a3a3; }

.contact-info { display: grid; gap: 1.1rem; }
.contact-info__item { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 10px; padding: 1.1rem 1.3rem; }
.contact-info__item svg { width: 24px; height: 24px; stroke: var(--gold); flex-shrink: 0; margin-top: 0.15rem; }
.contact-info__item strong { display: block; font-family: var(--font-head); color: #fff; font-size: 0.95rem; }
.contact-info__item a, .contact-info__item span { font-size: 0.92rem; color: var(--muted); }
.contact-info__item a:hover { color: var(--gold-light); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, #0b0b0d 0%, #16130a 60%, #1d180b 100%); border-block: 1px solid var(--line); padding-block: 3.6rem; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band__title { margin-bottom: 0.5rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band__text { color: var(--muted); max-width: 52ch; }
.cta-band__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #000; padding: 4rem 0 2rem; border-top: 1px solid var(--line-soft); font-size: 0.92rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.site-footer__brand img { width: 72px; margin-bottom: 1rem; }
.site-footer__brand p { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.9rem; }
.site-footer__badges { color: var(--gold-light) !important; font-size: 0.78rem !important; letter-spacing: 0.04em; }
.site-footer__heading { font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.site-footer nav ul, .site-footer__contact { display: grid; gap: 0.55rem; }
.site-footer nav a, .site-footer__contact a { color: var(--muted); font-size: 0.9rem; }
.site-footer nav a:hover, .site-footer__contact a:hover { color: var(--gold-light); }
.site-footer__contact li { color: var(--muted); }
.site-footer__contact { margin-bottom: 1.2rem; }
.site-footer__bottom { border-top: 1px solid var(--line-soft); padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: var(--muted-dark); }
.site-footer__bottom a { color: var(--muted); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .doors-grid, .doors-grid--4, .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { gap: 2.5rem; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 0; top: 0; z-index: 90; flex-direction: column; justify-content: flex-start;
    background: #08080a; padding: 6.5rem 2rem 2rem; gap: 1.5rem;
    transform: translateX(100%); transition: transform 0.4s var(--ease-door);
    overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav__list { flex-direction: column; align-items: stretch; width: 100%; gap: 0.2rem; }
  .site-nav__link { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 0.85rem 0.6rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: none; box-shadow: none; background: transparent; padding: 0 0 0 1rem; display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .site-nav__cta { width: 100%; }
  .hero__inner, .split, .form-shell { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .hero__inner { padding-block: 3.5rem 3rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
}

@media (max-width: 640px) {
  .doors-grid, .doors-grid--4, .cards, .cards--2, .cards--4, .steps, .testimonials { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding-block: 3.5rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__chip { left: 10px; }
  .door-tile { min-height: 280px; }
  .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.35; }
  .btn--lg { padding: 0.95rem 1.3rem; font-size: 1rem; }
  .hero__actions .btn, .cta-band__actions .btn { width: auto; flex: 1 1 auto; min-width: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
