/* ============================================
   Granite-garage floors — Charlotte
   Design tokens
   ============================================ */
:root {
  --bg: #111111;
  --bg-alt: #1a1a1a;
  --surface: #ffffff;
  --surface-2: #f5f5f5;
  --text: #333333;
  --text-light: #666666;
  --text-inverse: #ffffff;
  --accent: #ffcb07;
  --accent-hover: #d3a700;
  --border: #e5e5e5;
  --font-head: "Raleway", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --font-accent: "Montserrat", system-ui, sans-serif;
  --container: 1240px;
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0 0 0.8em;
}
h1 { font-size: clamp(36px, 5.5vw, 72px); }
h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-size: clamp(20px, 1.6vw, 24px); }

p { margin: 0 0 1.1em; }

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

/* ============================================
   Mini header (logo + CTA only)
   ============================================ */
.mini-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mini-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.mini-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-inverse);
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}
.mini-header__logo svg { width: 44px; height: 44px; flex: none; }
.mini-header__logo img { width: 44px; height: 44px; flex: none; object-fit: cover; object-position: center center; border-radius: 6px; display: block; }
.mini-header__logo-text { font-size: 15px; }
.mini-header__logo-text span { display: block; color: var(--accent); font-size: 11px; letter-spacing: 0.2em; margin-top: 3px; }

/* ============================================
   Buttons (angled yellow CTA)
   ============================================ */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 16px 38px 16px 50px;
  border: none;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn--sm { font-size: 14px; padding: 12px 28px 12px 36px; }
.btn--outline {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.btn--outline:hover { background: var(--accent); color: #111; }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  background: #0a0a0a;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.75) 100%);
}
.hero__content {
  position: relative;
  padding: 120px 0 70px;
  color: var(--text-inverse);
  max-width: 900px;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero h1 { color: var(--text-inverse); margin-bottom: 24px; }
.hero__lede {
  font-size: 20px;
  max-width: 620px;
  color: #d9d9d9;
  margin-bottom: 36px;
}

/* ============================================
   Small form strip CTA
   ============================================ */
.cta-strip {
  background: #0d0d0d;
  color: var(--text-inverse);
  padding: 38px 0;
  border-top: 3px solid var(--accent);
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-strip__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 30px);
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.02em;
}
.cta-strip__title span { color: var(--accent); }

/* ============================================
   Section base
   ============================================ */
.section {
  background: var(--surface);
  padding: 90px 0;
}
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--bg); color: var(--text-inverse); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--text-inverse); }
.section--narrow { padding: 70px 0; }

/* Background-image sections */
.section--bg {
  position: relative;
  isolation: isolate;
  color: var(--text-inverse);
  background-color: #0d0d0d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.88) 0%, rgba(8,8,8,0.78) 50%, rgba(8,8,8,0.88) 100%);
  z-index: -1;
}
.section--bg .container { position: relative; z-index: 1; }
.section--bg h1, .section--bg h2, .section--bg h3 { color: var(--text-inverse); }
.section--bg p, .section--bg li { color: #d8d8d8; }
.section--bg strong { color: #fff; }
.section--bg .feature { background: rgba(20,20,20,0.6); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(2px); }
.section--bg .feature h3 { color: var(--accent); }

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}
.section-heading__eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ============================================
   Testimonials block
   ============================================ */
.looks-lasts {
  padding: 100px 0;
  background: var(--surface);
}
.looks-lasts__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}
.looks-lasts__head {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 46px);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 18px;
}
.looks-lasts__head sup { font-size: 0.4em; top: -1em; color: var(--accent); }
.warranty-tag {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  padding: 8px 18px;
  letter-spacing: 0.08em;
  margin-bottom: 26px;
}
.materials-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}
.materials-list li {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-left: 22px;
  position: relative;
  color: #111;
}
.materials-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: var(--accent);
}
.reviews-card {
  background: #0d0d0d;
  color: var(--text-inverse);
  padding: 24px;
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.reviews-card__stars {
  color: var(--accent);
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 6px;
}
.reviews-card__count {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  margin: 0;
}
.reviews-card__count small { font-size: 14px; font-weight: 700; color: var(--accent); display: block; letter-spacing: 0.25em; margin-top: 6px; }
.reviews-slider {
  margin-top: 26px;
  width: 100%;
  min-width: 0;
}
.reviews-slider__viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.reviews-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.review {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-right: 4px;
}
.review p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: #d8d8d8;
  line-height: 1.65;
  font-style: italic;
}
.review__author {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.review__date { font-size: 11px; color: #8a8a8a; margin-left: 10px; }
.reviews-nav {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}
.reviews-nav__btn {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 203, 7, 0.45);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.reviews-nav__btn svg { width: 22px; height: 22px; display: block; }
.reviews-nav__btn:hover { transform: translateX(2px); }
.reviews-nav__btn:hover {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}

/* ============================================
   Content section (full-width text block)
   ============================================ */
.content-block {
  max-width: 900px;
  margin: 0 auto;
}
.content-block h2 { text-align: center; margin-bottom: 30px; }
.content-block h3 { margin-top: 36px; }
.content-block ul { padding-left: 0; list-style: none; }
.content-block ul li {
  position: relative;
  padding: 6px 0 6px 28px;
}
.content-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 2px;
  background: var(--accent);
}
.content-block__cta { text-align: center; margin-top: 40px; }

/* ============================================
   Owner message
   ============================================ */
.owner {
  background: var(--bg);
  color: var(--text-inverse);
  padding: 90px 0;
  position: relative;
}
.owner__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.owner__portrait {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.owner__portrait img { width: 100%; height: 100%; object-fit: cover; }
.owner__portrait::before {
  content: "";
  position: absolute;
  top: 20px; left: 20px;
  width: 100%; height: 100%;
  border: 2px solid var(--accent);
  z-index: -1;
}
.owner__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.owner__title {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.owner__heading {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 50px);
  text-transform: uppercase;
  line-height: 1.02;
  margin-bottom: 24px;
}
.owner p { color: #d0d0d0; font-size: 17px; }

/* ============================================
   Why / feature list columns
   ============================================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.feature {
  padding: 30px 26px;
  background: var(--surface);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-soft);
}
.feature h3 { font-size: 18px; margin-bottom: 10px; }
.feature p { font-size: 15px; color: var(--text-light); margin: 0; }

/* ============================================
   Gallery (Our Work)
   ============================================ */
.gallery {
  background: #0d0d0d;
  color: var(--text-inverse);
  padding: 90px 0;
}
.gallery__main {
  aspect-ratio: 16/9;
  background: #000;
  margin-bottom: 20px;
  overflow: hidden;
}
.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}
.gallery__thumb {
  aspect-ratio: 3/2;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 2px solid transparent;
}
.gallery__thumb:hover { opacity: 1; transform: translateY(-2px); }
.gallery__thumb.is-active { opacity: 1; border-color: var(--accent); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   Process steps
   ============================================ */
.process-steps {
  background: var(--surface-2);
  padding: 90px 0;
}
.steps-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-nav button {
  background: transparent;
  border: 0;
  padding: 24px 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.steps-nav button .num { color: var(--accent); margin-right: 8px; }
.steps-nav button.is-active { color: #111; border-bottom-color: var(--accent); }
.steps-nav button:hover { color: #111; }
.step-panel { display: grid; visibility: hidden; height: 0; overflow: hidden; opacity: 0; }
.step-panel.is-active { visibility: visible; height: auto; overflow: visible; opacity: 1; }
.step-panel {
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.step-panel__image {
  aspect-ratio: 4/3;
  background: #ddd;
  overflow: hidden;
}
.step-panel__image img { width: 100%; height: 100%; object-fit: cover; }
.step-panel h3 { margin-bottom: 16px; }

/* ============================================
   Finishes grid
   ============================================ */
.finishes {
  padding: 90px 0;
  background: var(--surface);
}
.finishes__tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.finishes__tabs button {
  background: transparent;
  border: 0;
  padding: 16px 30px;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #777;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}
.finishes__tabs button.is-active { color: #111; border-color: var(--accent); }
.finish-panel { display: block; visibility: hidden; height: 0; overflow: hidden; opacity: 0; }
.finish-panel.is-active { visibility: visible; height: auto; overflow: visible; opacity: 1; }
.finish-panel__intro { max-width: 760px; margin: 0 auto 32px; text-align: center; color: var(--text-light); }
.finishes__slider {
  position: relative;
  --swatch-gap: 20px;
  --swatch-visible: 3;
}
.finishes__viewport {
  overflow: hidden;
  width: 100%;
}
.finishes__track {
  display: flex;
  gap: var(--swatch-gap);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.finishes__track--center { justify-content: center; }
.finishes__nav {
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  background: var(--accent);
  color: #111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: background 0.18s, transform 0.18s;
  z-index: 2;
}
.finishes__nav svg { width: 24px; height: 24px; }
.finishes__nav:hover { background: var(--accent-hover); transform: translateY(-50%) translateX(3px); }
@media (max-width: 900px) {
  .finishes__slider { --swatch-visible: 2; }
  .finishes__nav { right: 0; width: 42px; height: 42px; }
}
@media (max-width: 520px) {
  .finishes__slider { --swatch-visible: 1; }
}
.finish-swatch {
  margin: 0;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  background: #ccc;
  flex: 0 0 calc((100% - var(--swatch-gap, 20px) * (var(--swatch-visible, 3) - 1)) / var(--swatch-visible, 3));
  min-width: 0;
}
.finish-swatch img { width: 100%; height: 100%; object-fit: cover; }
.finish-swatch__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 26px 10px 14px;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================
   Stats
   ============================================ */
.stats {
  background: var(--bg);
  color: var(--text-inverse);
  padding: 90px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 40px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--accent);
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1;
  margin-bottom: 10px;
}
.stat__label {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #e0e0e0;
}

/* ============================================
   Prefooter CTA
   ============================================ */
.prefooter {
  background: var(--bg);
  color: var(--text-inverse);
  padding: 70px 0;
  border-top: 3px solid var(--accent);
}
.prefooter__inner {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 40px;
  align-items: center;
}
.prefooter__portrait {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
}
.prefooter__portrait img { width: 100%; height: 100%; object-fit: cover; }
.prefooter__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 30px);
  text-transform: uppercase;
  margin: 0 0 6px;
}
.prefooter__phone {
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.02em;
  margin-top: 8px;
  display: inline-block;
}
.prefooter__name { font-weight: 800; letter-spacing: 0.2em; color: var(--accent); font-size: 13px; text-transform: uppercase; }
.prefooter__role { font-size: 11px; color: #999; letter-spacing: 0.25em; text-transform: uppercase; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #0a0a0a;
  color: #b8b8b8;
  padding: 60px 0 30px;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--text-inverse);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #b8b8b8; transition: color 0.18s; }
.footer a:hover { color: var(--accent); }
.footer__brand-text { max-width: 300px; line-height: 1.7; color: #999; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #8a8a8a;
}

/* ============================================
   Cookie banner
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #0a0a0a;
  border-top: 3px solid var(--accent);
  padding: 18px 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #e0e0e0;
  font-size: 14px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner button {
  background: transparent;
  border: 2px solid #555;
  color: #e0e0e0;
  padding: 10px 18px;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.18s;
}
.cookie-banner button:hover { border-color: var(--accent); color: var(--accent); }
.cookie-banner button[data-consent="accept"] {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}
.cookie-banner button[data-consent="accept"]:hover { background: var(--accent-hover); color: #111; border-color: var(--accent-hover); }

/* Cookie modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.7);
  display: grid;
  place-items: center;
  padding: 20px;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal__dialog {
  background: #fff;
  max-width: 500px;
  width: 100%;
  padding: 30px;
}
.cookie-modal h3 { margin: 0 0 16px; }
.cookie-modal__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.cookie-modal__row:first-of-type { border-top: 0; }
.cookie-modal__row h4 { font-size: 13px; margin: 0 0 4px; color: #111; }
.cookie-modal__row p { margin: 0; font-size: 12px; color: var(--text-light); }
.switch { position: relative; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span {
  position: absolute; inset: 0;
  background: #ccc;
  border-radius: 24px;
  cursor: pointer;
  transition: .2s;
}
.switch span::before {
  content: ""; position: absolute;
  height: 18px; width: 18px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
}
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::before { transform: translateX(20px); }
.switch input:disabled + span { opacity: 0.6; cursor: not-allowed; }

/* ============================================
   Forms
   ============================================ */
.form {
  display: grid;
  gap: 16px;
}
.form__row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.form label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  display: block;
  margin-bottom: 6px;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--text);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.form textarea { min-height: 140px; resize: vertical; }

/* ============================================
   Contact page — phone-only, no form
   ============================================ */
.contact-lead {
  max-width: 760px;
  margin: 0 auto 70px;
  text-align: center;
}
.contact-lead h2 { margin-bottom: 18px; }
.contact-lead p { color: var(--text-light); font-size: 17px; }
.contact-phone {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(42px, 6vw, 72px);
  color: #111;
  letter-spacing: 0.01em;
  margin: 28px 0 16px;
  line-height: 1;
}
.contact-phone:hover { color: var(--accent-hover); }
.contact-hours {
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin: 0 0 32px;
}
.contact-hours strong { color: #111; font-family: var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; }
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  padding: 40px 34px;
  background: var(--surface-2);
  border-top: 3px solid var(--accent);
}
.contact-info h3 {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: 0 0 8px;
}
.contact-info p { margin: 0; font-size: 15px; line-height: 1.6; }
.contact-info a { color: #111; font-weight: 700; }
.contact-info a:hover { color: var(--accent-hover); }

/* ============================================
   Legal / article pages
   ============================================ */
.legal {
  padding: 80px 0;
  background: var(--surface);
}
.legal article { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: clamp(30px, 4vw, 50px); text-align: center; color: #111; margin-bottom: 14px; }
.legal .legal__meta { text-align: center; color: var(--text-light); font-size: 13px; margin-bottom: 50px; letter-spacing: 0.12em; text-transform: uppercase; }
.legal h2 { font-size: 22px; margin-top: 44px; color: #111; }
.legal h3 { font-size: 16px; margin-top: 26px; color: #111; }
.legal p, .legal li { font-size: 15px; line-height: 1.75; }
.legal table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 14px 0; }
.legal th, .legal td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal th { background: var(--surface-2); font-family: var(--font-head); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.legal .caps { text-transform: uppercase; font-size: 14px; background: #fff8dc; padding: 16px; border-left: 3px solid var(--accent); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .looks-lasts__grid,
  .owner__grid,
  .step-panel.is-active,
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .prefooter__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .steps-nav { grid-template-columns: 1fr; }
  .steps-nav button { border-bottom: 1px solid var(--border); }
  .form__row { grid-template-columns: 1fr; }
  .materials-list { grid-template-columns: 1fr; }
  .hero__content { padding: 90px 0 50px; }
  .cta-strip__inner { justify-content: center; text-align: center; }
}

@media (max-width: 520px) {
  .stats__grid { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 60px 0; }
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
