/* ========================================================
   LUBSKÁ KALORA — SMOKED BRASS ATELIER
   Source of truth: brainstorm-v3.html (approved mockup)
   Fonts: IBM Plex Sans Condensed / Manrope / JetBrains Mono
   ======================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

/* ========== DARK THEME (default) ========== */
:root {
  --bg: #0e1012; --bg2: #141618; --panel: #191b1e; --panel2: #1e2024;
  --line: rgba(255,255,255,0.05); --line2: rgba(255,255,255,0.09);
  --text: #e8e4dd; --muted: #6b7280; --dim: #3f444d; --steel: #545b65;
  --brass: #b8a070; --brass-light: #cdbf9a; --brass-dark: #8a7550;
  --brass-glow: rgba(184,160,112,0.10);
}

/* ========== LIGHT THEME ========== */
body.theme-light {
  --bg: #f0ece5; --bg2: #f7f4ee; --panel: #ffffff; --panel2: #fafaf8;
  --line: rgba(17,19,21,0.07); --line2: rgba(17,19,21,0.12);
  --text: #111315; --muted: #6b7280; --dim: #b0b5bc; --steel: #8b919a;
  --brass: #a08a5a; --brass-light: #8a7550; --brass-dark: #6b5a3e;
  --brass-glow: rgba(160,138,90,0.08);
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
  position: relative;
  transition: background 0.4s ease, color 0.4s ease;
}

/* Grain texture */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.045; mix-blend-mode: soft-light;
  background:
    repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12) 0 1px, transparent 1px 3px),
    repeating-radial-gradient(circle at 80% 60%, rgba(0,0,0,0.16) 0 1px, transparent 1px 4px);
  background-size: 180px 180px, 220px 220px;
}

.page { position: relative; z-index: 1; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* ========== NAVIGATION ========== */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14,16,18,0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transition: background 0.4s ease;
}
body.theme-light .nav-wrap {
  background: rgba(240,236,229,0.82);
  border-bottom-color: rgba(17,19,21,0.06);
  box-shadow: inset 0 -1px 0 rgba(17,19,21,0.04);
}
.nav {
  max-width: 1200px; margin: 0 auto; padding: 0 48px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; text-decoration: none;
}
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 0.76rem; font-weight: 600; color: var(--muted);
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.14em;
  transition: color 0.25s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.28s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 999px;
  color: #0e1012; font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; text-decoration: none;
  background: linear-gradient(180deg, #d8ccab, var(--brass) 48%, var(--brass-dark));
  border: 1px solid rgba(205,191,154,0.3);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: all 0.25s;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Customer portal button */
.nav-portal {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(205,191,154,0.45);
  color: var(--brass-light); font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; text-decoration: none;
  transition: all 0.25s;
}
.nav-portal::after { display: none; }
.nav-portal:hover {
  border-color: rgba(205,191,154,0.65); color: #e8e4dd;
  background: rgba(184,160,112,0.1);
}

/* Theme toggle */
.theme-toggle {
  background: none; border: 1px solid var(--line); color: var(--steel);
  cursor: pointer; width: 30px; height: 30px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.theme-toggle:hover { border-color: var(--line2); color: var(--text); }

/* Hamburger */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--muted); padding: 8px; transition: color 0.25s;
}
.nav-hamburger:hover { color: var(--text); }
.nav-hamburger svg { width: 22px; height: 22px; }

/* ========== HERO ========== */
.hero {
  padding: clamp(9rem, 16vw, 14rem) 48px clamp(5rem, 8vw, 7rem);
  text-align: center; position: relative; overflow: hidden; isolation: isolate;
  background:
    linear-gradient(180deg, rgba(14,16,18,0.7), rgba(14,16,18,0.85)),
    radial-gradient(circle at 18% 22%, rgba(205,191,154,0.10), transparent 28%),
    url('/assets/img/hero-bg.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease;
}
/* Brass sheen sweep */
.hero::before {
  content: ''; position: absolute; inset: -20%; pointer-events: none;
  background: linear-gradient(105deg,
    transparent 36%, rgba(205,191,154,0.16) 47%,
    rgba(255,255,255,0.04) 50%, rgba(184,160,112,0.14) 53%, transparent 64%);
  filter: blur(8px); mix-blend-mode: screen;
  transform: translateX(-12%) rotate(-6deg);
  animation: brass-sheen 9s ease-in-out infinite alternate;
}
@keyframes brass-sheen {
  to { transform: translateX(12%) rotate(-6deg); opacity: 0.9; }
}
/* Bottom fade */
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 18%, transparent 78%, rgba(0,0,0,0.22));
}
/* Page hero (subpages — smaller) */
.hero--page {
  padding: clamp(7rem, 10vw, 9rem) 48px clamp(3rem, 5vw, 4rem);
}
.hero--page::before { display: none; }

.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--brass); margin-bottom: 36px;
}
.hero-eyebrow::before {
  content: ''; width: 36px; height: 1px;
  background: linear-gradient(90deg, var(--brass), transparent); opacity: 0.5;
}
.hero h1 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.04em; line-height: 1.1;
  max-width: 780px; margin: 0 auto 28px;
  background: linear-gradient(145deg, #e8e4dd 0%, #cdbf9a 40%, #e8e4dd 60%, #a08e68 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: brass-text 10s ease-in-out infinite;
}
body.theme-light .hero h1 {
  background: linear-gradient(145deg, #111315 0%, #8a7550 40%, #111315 60%, #6b5a3e 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
}
@keyframes brass-text {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero--page h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  animation: none;
  background: none; -webkit-text-fill-color: var(--text); color: var(--text);
}
.hero-sub {
  font-size: clamp(0.95rem, 1rem + 0.15vw, 1.08rem);
  color: var(--muted); max-width: 500px;
  margin: 0 auto 48px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* ========== BUTTONS ========== */
.btn-brass {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px;
  color: #0e1012; font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; text-decoration: none;
  background: linear-gradient(180deg, #d8ccab, var(--brass) 48%, var(--brass-dark));
  border: 1px solid rgba(205,191,154,0.35);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.28), inset 0 -1px 0 rgba(0,0,0,0.15);
  transition: all 0.25s;
}
.btn-brass:hover {
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.04);
  box-shadow: 0 14px 32px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.32);
}
.btn-brass svg { width: 16px; height: 16px; stroke: #0e1012; }
.btn-ghost {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 600; color: var(--brass);
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 14px 24px; border: 1px solid rgba(184,160,112,0.2);
  border-radius: 999px; transition: all 0.3s;
}
.btn-ghost:hover { border-color: rgba(184,160,112,0.4); color: var(--brass-light); }

/* ========== BRASS SEPARATOR ========== */
.brass-sep {
  position: relative; height: 1px;
  max-width: 1200px; margin: 0 auto;
}
.brass-sep::before {
  content: ''; position: absolute; left: 50%; top: 0;
  transform: translateX(-50%);
  width: min(260px, 30vw); height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass-light), transparent);
}
.brass-sep::after {
  content: ''; position: absolute; left: 50%; top: -18px;
  transform: translateX(-50%);
  width: min(420px, 50vw); height: 40px;
  background: radial-gradient(circle, rgba(184,160,112,0.08), transparent 68%);
  pointer-events: none;
}

/* ========== STATS ========== */
.stats-section { background: var(--panel); border-bottom: 1px solid var(--line); transition: background 0.4s ease; }
.stats {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 56px 32px; text-align: center; position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 30%);
  box-shadow: inset 0 1px 0 rgba(184,160,112,0.04);
}
.stat::after {
  content: ''; position: absolute; top: 24px; bottom: 24px; right: 0;
  width: 1px; background: rgba(205,191,154,0.10);
}
.stat:last-child::after { display: none; }
.stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--text) 0%, var(--brass-light) 50%, var(--brass-dark) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-number span { -webkit-text-fill-color: var(--brass); }
.stat-label {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--steel); margin-top: 12px;
}

/* ========== SECTIONS ========== */
.section { padding: clamp(5rem, 8vw, 7rem) 48px; transition: background 0.4s ease; }
.section--alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-header { max-width: 1200px; margin: 0 auto 56px; }
.section-eyebrow {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--brass); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::after {
  content: ''; width: 32px; height: 1px; background: var(--brass); opacity: 0.3;
}
.section-title {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.03em;
  color: var(--text); line-height: 1.1;
}

/* ========== SERVICE CARDS ========== */
.services-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.service-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(25,27,30,0.94), rgba(14,16,18,0.98));
  border: 1px solid rgba(184,160,112,0.10);
  border-radius: 16px; padding: 36px 30px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 8px 24px -16px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body.theme-light .service-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,248,0.96));
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.service-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(205,191,154,0.08) 49%, transparent 62%);
  transform: translateX(-130%); transition: transform 0.55s ease;
}
.service-card::after {
  content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205,191,154,0.12), transparent);
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(205,191,154,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 45px -20px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(184,160,112,0.06);
}
.service-card:hover::before { transform: translateX(130%); }
.service-card--primary { border-left: 3px solid var(--brass); }
.service-card--primary .service-glow {
  position: absolute; top: -16px; left: -16px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, var(--brass-glow), transparent 70%);
  pointer-events: none;
}
.service-icon { color: var(--brass-dark); margin-bottom: 18px; }
.service-card h3 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 0.95rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--brass-light);
  margin-bottom: 10px; position: relative; z-index: 1;
}
body.theme-light .service-card h3 { color: var(--brass-dark); }
.service-card p {
  font-size: 0.86rem; color: var(--muted); line-height: 1.65;
  position: relative; z-index: 1;
}

/* ========== SERVICE DETAIL (subpage) ========== */
.service-detail {
  max-width: 800px; margin: 0 auto;
}
.service-detail p {
  font-size: 0.94rem; color: var(--muted); line-height: 1.75; margin-bottom: 16px;
}

/* ========== ABOUT ========== */
.about-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.about-img {
  aspect-ratio: 4/3; border-radius: 10px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, rgba(184,160,112,0.05), transparent 60%), var(--bg);
  border: 1px solid rgba(184,160,112,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--dim); font-size: 0.82rem;
  box-shadow: 0 16px 48px -20px rgba(0,0,0,0.5);
  object-fit: cover;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 20px; line-height: 1.12;
}
.about-text p { font-size: 0.94rem; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 28px; }
.about-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: var(--muted); font-weight: 600;
}
.about-feature::before {
  content: ''; width: 12px; height: 1px; background: var(--brass); flex-shrink: 0;
}

/* ========== EMERGENCY ========== */
.emergency {
  position: relative; overflow: hidden;
  padding: 64px 48px; text-align: center;
  background:
    linear-gradient(90deg, rgba(184,160,112,0.06), transparent 22%),
    linear-gradient(180deg, rgba(25,27,30,0.96), rgba(14,16,18,0.98));
  border-top: 1px solid rgba(205,191,154,0.18);
  border-left: 4px solid var(--brass);
  box-shadow: 0 16px 36px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.03);
}
.emergency::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 400px; height: 180px;
  background: radial-gradient(ellipse, rgba(205,191,154,0.12), transparent 70%);
  pointer-events: none;
}
.emergency::after {
  content: ''; position: absolute; bottom: -60%; right: -10%;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(205,191,154,0.14), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.emergency-content { position: relative; z-index: 1; }
.emergency-badge {
  display: inline-block; padding: 6px 14px;
  border: 1px solid rgba(205,191,154,0.25); border-radius: 999px;
  background: rgba(255,255,255,0.02);
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--brass-light);
  margin-bottom: 16px;
}
.emergency h2 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 1.4rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.02em; margin-bottom: 14px; color: var(--text);
}
.emergency-phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600;
  letter-spacing: 0.06em; color: var(--text);
}
.emergency-note { font-size: 0.76rem; color: var(--steel); margin-top: 10px; letter-spacing: 0.04em; }

/* ========== FOOTER ========== */
.footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(205,191,154,0.03), transparent 18%),
    linear-gradient(180deg, #111315, #0a0b0d);
  border-top: 1px solid rgba(205,191,154,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  padding: 64px 48px 40px;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: min(280px, 36vw); height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass-light), transparent);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1.5fr; gap: 48px;
}
.footer-brand {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 1rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: #e8e4dd; margin-bottom: 12px;
}
.footer-desc { font-size: 0.82rem; color: #3f444d; line-height: 1.7; }
.footer h4 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: #cdbf9a; margin-bottom: 16px;
}
.footer-link {
  display: block; font-size: 0.82rem; color: #3f444d;
  text-decoration: none; line-height: 2.2; transition: color 0.25s;
}
.footer-link:hover { color: #cdbf9a; text-shadow: 0 0 18px rgba(184,160,112,0.12); }
.footer-contact { font-size: 0.82rem; color: #545b65; line-height: 2.2; }
.footer-contact strong { color: #e8e4dd; font-weight: 600; }
.footer-copy {
  max-width: 1200px; margin: 48px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: #3f444d;
}

/* ========== LIGHT THEME REFINEMENTS ========== */
body.theme-light::after {
  opacity: 0.085;
  mix-blend-mode: multiply;
  background:
    repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,0.28) 0 1px, transparent 1px 3px),
    repeating-radial-gradient(circle at 78% 62%, rgba(107,90,62,0.12) 0 1px, transparent 1px 4px);
}

body.theme-light .hero {
  background:
    radial-gradient(circle at 16% 18%, rgba(205,191,154,0.12), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(160,138,90,0.06), transparent 24%),
    linear-gradient(135deg, var(--bg), var(--bg2) 55%, var(--panel));
  border-bottom-color: rgba(107,90,62,0.08);
}

body.theme-light .hero::before {
  inset: -16%;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(255,255,255,0.22) 42%,
    rgba(205,191,154,0.34) 49%,
    rgba(138,117,80,0.18) 52%,
    rgba(255,255,255,0.18) 58%,
    transparent 70%);
  filter: blur(10px);
  mix-blend-mode: multiply;
  opacity: 0.92;
}

body.theme-light .hero::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), transparent 20%, transparent 80%, rgba(107,90,62,0.10)),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.30), transparent 42%);
}

body.theme-light .hero h1 {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: #3d2e1a;
  text-shadow: none;
  animation: none;
}
body.theme-light .hero-sub {
  color: var(--muted);
}
body.theme-light .hero-eyebrow {
  color: #8a7550;
}

body.theme-light .service-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(244,238,229,0.96)),
    linear-gradient(135deg, rgba(205,191,154,0.10), transparent 42%);
  border-color: rgba(160,138,90,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.65),
    0 12px 28px -22px rgba(107,90,62,0.30),
    0 2px 10px rgba(17,19,21,0.05);
}

body.theme-light .service-card::before {
  background: linear-gradient(115deg, transparent 26%, rgba(255,255,255,0.14) 40%, rgba(205,191,154,0.18) 50%, transparent 64%);
}

body.theme-light .service-card::after {
  background: linear-gradient(90deg, transparent, rgba(160,138,90,0.24), transparent);
}

body.theme-light .service-card:hover {
  border-color: rgba(160,138,90,0.30);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.75),
    0 18px 38px -24px rgba(107,90,62,0.34),
    inset 0 0 0 1px rgba(205,191,154,0.16);
}

body.theme-light .service-card--primary .service-glow {
  background: radial-gradient(circle, rgba(205,191,154,0.22), rgba(160,138,90,0.10) 42%, transparent 72%);
}

body.theme-light .service-icon { color: #7a6543; }

body.theme-light .stat {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.32), rgba(240,236,229,0.18) 36%, transparent 100%);
  box-shadow: inset 0 1px 0 rgba(160,138,90,0.08);
}

body.theme-light .stat::after {
  background: linear-gradient(180deg, transparent, rgba(160,138,90,0.14), transparent);
}

body.theme-light .stats-section {
  background: var(--panel);
}
body.theme-light .stat-number {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: var(--text);
}
body.theme-light .stat-number span {
  -webkit-text-fill-color: unset;
  color: #8a7550;
}

body.theme-light .emergency {
  background:
    linear-gradient(90deg, rgba(160,138,90,0.10), transparent 24%),
    linear-gradient(180deg, rgba(255,251,244,0.94), rgba(241,234,223,0.98));
  border-top-color: rgba(160,138,90,0.22);
  border-left-color: #8a7550;
  box-shadow:
    0 18px 36px -26px rgba(107,90,62,0.34),
    inset 0 1px 0 rgba(255,255,255,0.66);
}

body.theme-light .emergency::before {
  background: radial-gradient(ellipse, rgba(205,191,154,0.24), transparent 72%);
}

body.theme-light .emergency::after {
  background: radial-gradient(circle, rgba(160,138,90,0.14), transparent 65%);
  filter: blur(24px);
}

body.theme-light .emergency-badge {
  background: rgba(255,255,255,0.46);
  border-color: rgba(160,138,90,0.24);
  color: #7a6543;
}

body.theme-light .emergency h2,
body.theme-light .emergency-phone {
  color: #231c14;
}

body.theme-light .emergency-note {
  color: #6f675d;
}

body.theme-light .brass-sep::before {
  background: linear-gradient(90deg, transparent, rgba(138,117,80,0.92), transparent);
}

body.theme-light .brass-sep::after {
  background: radial-gradient(circle, rgba(205,191,154,0.20), rgba(160,138,90,0.08) 42%, transparent 72%);
}

/* ========== FORMS ========== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--steel); margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--text); font-family: 'Manrope', sans-serif;
  font-size: 0.9rem; transition: border-color 0.25s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--brass);
  box-shadow: 0 0 0 3px var(--brass-glow);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-message {
  padding: 12px 16px; border-radius: 8px; margin-bottom: 20px;
  font-size: 0.88rem;
}
.form-message--success { background: rgba(52,199,89,0.1); color: #34c759; border: 1px solid rgba(52,199,89,0.2); }
.form-message--error { background: rgba(255,59,48,0.1); color: #ff3b30; border: 1px solid rgba(255,59,48,0.2); }

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0; filter: blur(3px); transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22,1,0.36,1), filter 0.5s ease;
}
.reveal.visible { opacity: 1; filter: none; transform: none; }
.rd1 { transition-delay: 0.06s; } .rd2 { transition-delay: 0.12s; }
.rd3 { transition-delay: 0.18s; } .rd4 { transition-delay: 0.24s; } .rd5 { transition-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; filter: none; transform: none; }
  *, *::before, *::after { animation: none !important; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(14,16,18,0.96); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column; padding: 24px; gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  body.theme-light .nav-links {
    background: rgba(240,236,229,0.96);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.9rem; }
  .nav-links a.nav-cta { text-align: center; width: 100%; justify-content: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero, .section, .emergency { padding-left: 20px; padding-right: 20px; }
  .container { padding: 0 20px; }
  .footer { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; gap: 14px; }
  .footer-copy { flex-direction: column; gap: 4px; text-align: center; }
}
