/* ==========================================================
   JB ROZA FLOORING — style.css
   Color scheme: #1a1a1a (primary dark) | #C9A84C (gold) | #f8f6f3 (bg)
   Fonts: Clash Display (headings) | Satoshi (body)
   ========================================================== */

/* ----------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ---------------------------------------------------------- */
:root {
  /* Brand colors */
  --color-dark:     #1a1a1a;
  --color-gold:     #C9A84C;
  --color-gold-lt:  #e2c47a;
  --color-gold-dk:  #a87e30;
  --color-bg:       #f8f6f3;
  --color-bg-alt:   #f0ece5;
  --color-white:    #ffffff;
  --color-text:     #1a1a1a;
  --color-text-mid: #4a4a4a;
  --color-text-muted: #7a7265;
  --color-border:   rgba(26,26,26,0.12);
  --color-border-gold: rgba(201,168,76,0.35);

  /* Section dark */
  --color-section-dark-bg:  #111111;
  --color-section-dark-text: #f0ece5;

  /* Section gold-light */
  --color-gold-light-bg: #faf5ea;

  /* Typography */
  --font-heading: 'Clash Display', 'Georgia', serif;
  --font-body:    'Satoshi', 'Inter', sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-hero: 4.5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1.5rem;
  --header-h:      72px;
  --radius-sm:     4px;
  --radius:        8px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-full:   9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow:     0 4px 16px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.07);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.15);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.28);

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    150ms;
  --dur:         250ms;
  --dur-slow:    400ms;
}

/* Dark mode tokens */
[data-theme="dark"] {
  --color-bg:           #111111;
  --color-bg-alt:       #1a1a1a;
  --color-white:        #1e1e1e;
  --color-text:         #f0ece5;
  --color-text-mid:     #c8c4bc;
  --color-text-muted:   #8a857c;
  --color-border:       rgba(255,255,255,0.10);
  --color-border-gold:  rgba(201,168,76,0.25);
  --color-gold-light-bg:#1c1a14;
  --color-section-dark-bg: #0a0a0a;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.3);
  --shadow:     0 4px 16px rgba(0,0,0,0.4);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.6);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); font-weight: 600; }

p {
  color: var(--color-text-mid);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   LAYOUT UTILITIES
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-16);
  background-color: var(--color-bg);
  transition: background-color var(--dur) var(--ease);
}

.section-dark {
  background-color: var(--color-section-dark-bg);
  color: var(--color-section-dark-text);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--color-section-dark-text);
}

.section-dark p {
  color: rgba(240,236,229,0.75);
}

.section-gold-light {
  background-color: var(--color-gold-light-bg);
  transition: background-color var(--dur) var(--ease);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.section-header p {
  max-width: 600px;
  margin-inline: auto;
  font-size: var(--text-lg);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(201,168,76,0.10);
  border: 1px solid var(--color-border-gold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-dark .section-tag,
.section-tag.light {
  color: var(--color-gold-lt);
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.25);
}

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.625rem var(--space-5);
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur-fast) var(--ease-spring);
  text-align: center;
  white-space: nowrap;
  line-height: 1.4;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background-color: var(--color-gold-dk);
  border-color: var(--color-gold-dk);
  box-shadow: 0 6px 32px rgba(201,168,76,0.40);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text);
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: var(--color-border);
  color: var(--color-text);
}

.section-dark .btn-ghost {
  color: var(--color-section-dark-text);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.55);
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.10);
  border-color: var(--color-white);
}

.btn-lg {
  font-size: var(--text-base);
  padding: 0.875rem var(--space-8);
  border-radius: var(--radius-lg);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ----------------------------------------------------------
   HEADER / NAV
   ---------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition:
    background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    backdrop-filter var(--dur) var(--ease);
}

.header.scrolled {
  background-color: rgba(248,246,243,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border), var(--shadow-sm);
}

[data-theme="dark"] .header.scrolled {
  background-color: rgba(17,17,17,0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: var(--header-h);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  text-decoration: none;
}

.logo svg {
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text);
  line-height: 1.2;
  transition: color var(--dur) var(--ease);
}

.hero .logo-text,
.section-dark .logo-text {
  color: var(--color-white);
}

.logo-sub {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--color-gold);
  margin-top: 1px;
}

/* Nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-1);
  margin-inline: auto;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-mid);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-links a:hover {
  color: var(--color-text);
  background-color: var(--color-border);
}

/* Nav actions */
.nav-actions {
  display: none;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background-color: var(--color-border);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  margin-left: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  transition: background-color var(--dur) var(--ease);
}

.hamburger:hover {
  background-color: var(--color-border);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5) var(--container-pad) var(--space-6);
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transition: background-color var(--dur) var(--ease);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-3) var(--space-2);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--dur) var(--ease);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background-color: var(--color-bg-alt); }

.mobile-menu .btn-ghost { border: none; justify-content: flex-start; }
.mobile-menu .btn-primary { justify-content: center; margin-top: var(--space-2); }

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: calc(var(--header-h) + var(--space-12)) var(--space-16);
  background-color: var(--color-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 70% 50%, rgba(201,168,76,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 60% 60% at 5% 80%, rgba(201,168,76,0.08) 0%, transparent 55%),
    linear-gradient(150deg, #1a1a1a 0%, #0d0d0d 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(255,255,255,0.025) 59px,
      rgba(255,255,255,0.025) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(255,255,255,0.025) 59px,
      rgba(255,255,255,0.025) 60px
    );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.30);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 7vw, var(--text-hero));
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: var(--space-6);
}

.gold-text {
  color: var(--color-gold);
}

.hero-desc {
  font-size: var(--text-lg);
  color: rgba(240,236,229,0.75);
  max-width: 540px;
  margin-bottom: var(--space-8);
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(240,236,229,0.55);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.4);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ----------------------------------------------------------
   TRUST BAR
   ---------------------------------------------------------- */
.trust-bar {
  background-color: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding-block: var(--space-5);
}

[data-theme="dark"] .trust-bar {
  background-color: #0d0d0d;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-6) var(--space-10);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(240,236,229,0.80);
  white-space: nowrap;
}

.trust-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   SERVICES
   ---------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition:
    transform var(--dur) var(--ease-spring),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-gold);
}

.service-card.featured {
  background: linear-gradient(135deg, var(--color-dark) 0%, #2a2210 100%);
  border-color: var(--color-gold-dk);
  color: #f0ece5;
}

.service-card.featured h3,
.service-card.featured p {
  color: #f0ece5;
}

.service-card.featured p {
  color: rgba(240,236,229,0.75);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--color-border-gold);
  color: var(--color-gold);
  margin-bottom: var(--space-5);
  transition: background-color var(--dur) var(--ease);
}

.service-card.featured .service-icon {
  background: rgba(201,168,76,0.18);
  border-color: rgba(201,168,76,0.40);
}

.service-card:hover .service-icon {
  background: rgba(201,168,76,0.20);
}

.service-card h3 {
  margin-bottom: var(--space-3);
}

.service-card p {
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}

.service-link:hover {
  gap: var(--space-3);
  color: var(--color-gold-lt);
}

/* ----------------------------------------------------------
   GALLERY
   ---------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.gallery-item {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-item.gi-large {
  aspect-ratio: 16 / 9;
}

.gallery-item.gi-tall {
  aspect-ratio: 3 / 4;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.10) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
}

/* ----------------------------------------------------------
   HOW IT WORKS — STEPS
   ---------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: start;
}

.step {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.step:hover {
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: rgba(201,168,76,0.18);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.04em;
}

.step h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.step p {
  font-size: var(--text-sm);
}

.step-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  color: var(--color-gold);
  font-weight: 300;
  align-self: center;
}

/* ----------------------------------------------------------
   REVIEWS
   ---------------------------------------------------------- */
.stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.star {
  color: var(--color-gold);
  font-size: var(--text-xl);
}

.rating-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.review-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--color-border-gold);
}

.review-stars {
  font-size: var(--text-lg);
  color: var(--color-gold);
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}

.review-card p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-dk), var(--color-gold-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-dark);
  flex-shrink: 0;
}

.reviewer strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.reviewer span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ----------------------------------------------------------
   QUOTE FORM / SCHEDULE
   ---------------------------------------------------------- */
.form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

.form-info {
  max-width: 520px;
}

.form-info .section-tag {
  margin-bottom: var(--space-4);
}

.form-info h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-5);
}

.form-info p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.contact-item:hover {
  color: var(--color-gold);
}

.contact-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

/* Forms */
.quote-form,
.schedule-form {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.schedule-form {
  background-color: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.schedule-form h3 {
  font-size: var(--text-2xl);
  color: var(--color-section-dark-text);
  margin-bottom: var(--space-6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.schedule-form .form-group label {
  color: rgba(240,236,229,0.85);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.5;
  transition:
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.schedule-form .form-group input,
.schedule-form .form-group select,
.schedule-form .form-group textarea {
  background-color: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--color-section-dark-text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background-color: var(--color-white);
}

.schedule-form .form-group input:focus,
.schedule-form .form-group select:focus {
  background-color: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237a7265' stroke-width='2'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input[type="date"] {
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

/* Schedule layout */
.schedule-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

.schedule-info h2 {
  font-size: var(--text-4xl);
  color: var(--color-section-dark-text);
  margin-bottom: var(--space-5);
}

.schedule-info p {
  color: rgba(240,236,229,0.70);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.footer {
  background-color: var(--color-dark);
  color: rgba(240,236,229,0.70);
  padding-top: var(--space-16);
}

[data-theme="dark"] .footer {
  background-color: #0a0a0a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  color: rgba(240,236,229,0.55);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  max-width: 280px;
  line-height: 1.65;
}

.footer-brand .logo-text {
  color: #ffffff;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(240,236,229,0.45);
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(240,236,229,0.65);
  transition: color var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact a {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-gold);
  transition: color var(--dur) var(--ease);
}

.footer-contact a:hover {
  color: var(--color-gold-lt);
}

.footer-contact p {
  font-size: var(--text-sm);
  color: rgba(240,236,229,0.50);
}

.footer-bottom {
  padding-block: var(--space-5);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom span {
  font-size: var(--text-xs);
  color: rgba(240,236,229,0.35);
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------
   MODAL
   ---------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background-color: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92) translateY(12px);
  transition: transform var(--dur-slow) var(--ease-spring);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.25));
  border: 2px solid var(--color-gold);
  font-size: var(--text-3xl);
  color: var(--color-gold);
  margin-bottom: var(--space-5);
}

.modal h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.modal p {
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
}

/* ----------------------------------------------------------
   RESPONSIVE — 768px (tablet)
   ---------------------------------------------------------- */
@media (min-width: 768px) {

  :root {
    --container-pad: 2rem;
    --header-h: 80px;
  }

  h2 { font-size: var(--text-4xl); }

  /* Nav */
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
  .nav-links { display: flex; }
  .nav-actions { display: flex; }

  /* Hero */
  .hero-ctas { flex-wrap: nowrap; }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item.gi-large {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-2);
  }

  .step-arrow {
    display: flex;
    padding: 0 var(--space-2);
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Forms */
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }

  .schedule-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1;
  }
}

/* ----------------------------------------------------------
   RESPONSIVE — 1024px (desktop)
   ---------------------------------------------------------- */
@media (min-width: 1024px) {

  :root {
    --container-pad: 2.5rem;
  }

  .section {
    padding-block: var(--space-24);
  }

  /* Services: 3 cols */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Gallery: masonry-like grid */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
  }

  .gallery-item {
    aspect-ratio: unset;
  }

  .gallery-item.gi-large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    aspect-ratio: unset;
  }

  .gallery-item.gi-tall {
    grid-row: span 2;
  }

  /* Steps: 4-column grid with arrows */
  .steps-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  }

  /* Reviews: 4 cols */
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer: 4 cols */
  .footer-inner {
    grid-template-columns: 2.5fr 1fr 1fr 1.2fr;
  }
}

/* ----------------------------------------------------------
   DARK MODE OVERRIDES
   ---------------------------------------------------------- */
[data-theme="dark"] .service-card,
[data-theme="dark"] .step,
[data-theme="dark"] .review-card,
[data-theme="dark"] .quote-form {
  background-color: #1e1e1e;
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .service-card.featured {
  background: linear-gradient(135deg, #0d0d0d 0%, #1e1800 100%);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  background-color: #111111;
  border-color: rgba(255,255,255,0.12);
  color: #f0ece5;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
  background-color: #1a1a1a;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
  color: rgba(240,236,229,0.35);
}

[data-theme="dark"] .mobile-menu {
  background-color: #111111;
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .modal {
  background-color: #1e1e1e;
}

[data-theme="dark"] .header.scrolled {
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 16px rgba(0,0,0,0.5);
}

/* ----------------------------------------------------------
   FOCUS VISIBLE (accessibility)
   ---------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
