/* ==========================================================================
   K.D. WATERPROOFING & PAINTING CONTRACTOR — OFFICIAL WEBSITE STYLES
   Design System: Deep Navy (#0B132B / #0F172A), Luxury Gold (#D4AF37 / #E5C158)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

@font-face {
  font-family: 'Geista Mond';
  src: local('Geista Mond'), local('GeistaMond'), local('GeistaMond-Regular'),
       url('https://cdn.jsdelivr.net/gh/project-fonts/geista-mond@main/GeistaMond.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-dark: #0b132b;
  --bg-card: #1c2541;
  --bg-card-hover: #232f54;
  --bg-surface: #121d3b;
  --accent-gold: #d4af37;
  --accent-gold-light: #f3e5ab;
  --accent-gold-glow: rgba(212, 175, 55, 0.35);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-gold: #e5c158;
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-surface: #edf2f7;
  --accent-gold: #b8860b;
  --accent-gold-light: #fff8dc;
  --accent-gold-glow: rgba(184, 134, 11, 0.2);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-gold: #996515;
  --border-gold: rgba(184, 134, 11, 0.3);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, .font-serif {
  font-family: var(--font-heading);
}

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

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

/* Section Header */
.section-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
}

.text-center {
  text-align: center;
}

/* Buttons & Pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #e5c158 50%, #b8860b 100%);
  color: #0b132b;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.45);
}

.btn-outline-gold {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: #0b132b;
}

.btn-pitchdeck {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: var(--accent-gold-light);
  border: 1px solid var(--accent-gold);
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}

.btn-pitchdeck:hover {
  background: var(--accent-gold);
  color: #0b132b;
}

/* Equalizer Box */
.equalizer-box {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.eq-bar {
  width: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
  animation: eqPulse 0.8s infinite ease-in-out alternate;
}

.eq-bar:nth-child(1) { height: 14px; animation-delay: 0s; }
.eq-bar:nth-child(2) { height: 8px; animation-delay: 0.2s; }
.eq-bar:nth-child(3) { height: 16px; animation-delay: 0.4s; }

@keyframes eqPulse {
  0% { height: 4px; }
  100% { height: 16px; }
}

/* TOP NAVIGATION HEADER */
.top-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(11, 19, 43, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: contain;
  border: 1.5px solid var(--accent-gold);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.45);
  background: #ffffff;
  padding: 3px;
  transition: var(--transition);
}

.brand-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Language Selector */
.lang-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
  border-radius: 30px;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--accent-gold);
  color: #0b132b;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  z-index: 1002;
}

.mobile-nav-toggle:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.drawer-extra {
  display: none;
}

.desktop-only-action {
  display: flex;
}

/* Off-canvas Navigation Backdrop */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem 0;
  background: radial-gradient(circle at 50% 20%, rgba(28, 37, 65, 0.8) 0%, var(--bg-dark) 70%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-light);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Geista Mond', 'Cinzel Decorative', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 20%, #b38728 40%, #fbf5b7 60%, #aa771c 80%, #f5d77f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0px 4px 15px rgba(212, 175, 55, 0.4));
  animation: goldTextureShimmer 6s linear infinite alternate;
  letter-spacing: -0.01em;
}

@keyframes goldTextureShimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.audio-narration-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-gold);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-gold);
}

.hero-visual-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-overlay-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 19, 43, 0.88);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
}

/* METRICS SECTION */
.metrics-section {
  padding: 3.5rem 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
}

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

.metric-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* FOUNDER SECTION */
.founder-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.founder-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.founder-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.founder-badge-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(11, 19, 43, 0.95), transparent);
  padding: 1.5rem 1.25rem 1rem 1.25rem;
  text-align: center;
}

.founder-quote-box {
  background: rgba(212, 175, 55, 0.08);
  border-left: 4px solid var(--accent-gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-gold);
  margin-bottom: 1.5rem;
}

.founder-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.founder-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* PROOF OF DURABILITY SECTION */
.durability-section {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.durability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.durability-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.durability-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-card);
}

/* BEFORE & AFTER IMAGE SLIDER */
.ba-slider-container {
  position: relative;
  height: 240px;
  overflow: hidden;
  user-select: none;
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before {
  z-index: 1;
}

.ba-after {
  z-index: 2;
  width: 50%; /* Initial split */
  overflow: hidden;
}

.ba-after img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 4;
}

.ba-label-before {
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}

.ba-label-after {
  left: 12px;
  background: var(--accent-gold);
  color: #0b132b;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--accent-gold);
  z-index: 5;
  cursor: ew-resize;
}

.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #0b132b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.durability-content {
  padding: 1.5rem;
}

.durability-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-gold);
}

/* SERVICES SECTION */
.services-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: rgba(28, 37, 65, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(35, 47, 84, 0.85);
  border-color: var(--accent-gold);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(212, 175, 55, 0.35);
}

.service-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28, 37, 65, 0) 0%, rgba(28, 37, 65, 0.4) 40%, rgba(28, 37, 65, 0.95) 85%, #1c2541 100%);
  pointer-events: none;
  transition: var(--transition);
}

.service-card:hover .service-img-wrapper::after {
  background: linear-gradient(to bottom, rgba(35, 47, 84, 0) 0%, rgba(35, 47, 84, 0.4) 40%, rgba(35, 47, 84, 0.95) 85%, #232f54 100%);
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 1.25rem 1.75rem 1.75rem 1.75rem;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  margin-top: -1.25rem;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--accent-gold-light);
  letter-spacing: -0.01em;
}

.service-desc {
  color: var(--text-main);
  font-size: 0.93rem;
  line-height: 1.6;
  opacity: 0.92;
}

[data-theme="light"] .service-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(184, 134, 11, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .service-img-wrapper::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 0.95) 85%, #ffffff 100%);
}

[data-theme="light"] .service-card:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 0 0 25px rgba(184, 134, 11, 0.25);
}

/* 6-STEP PROCESS SECTION */
.process-section {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
}

.process-step-num {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--accent-gold);
  color: #0b132b;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* CALCULATOR SECTION */
.calculator-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.calc-form-group {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.calc-input, .calc-select {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.calc-select {
  cursor: pointer;
  color-scheme: dark;
}

[data-theme="light"] .calc-select {
  color-scheme: light;
}

.calc-input:focus, .calc-select:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold-glow);
}

/* Fix dropdown options visibility (prevent white text on white background) */
select.calc-select option,
select option {
  background-color: #1c2541;
  color: #f8fafc;
  padding: 0.6rem 1rem;
  font-size: 1rem;
}

[data-theme="light"] select.calc-select option,
[data-theme="light"] select option {
  background-color: #ffffff;
  color: #0f172a;
}

.calc-result-box {
  display: none;
  margin-top: 2rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
}

.calc-result-amount {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  margin: 0.5rem 0;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 0.92rem;
}

/* INSPECTION FORM SECTION */
.form-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 850px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

/* FOOTER */
.site-footer {
  background: #070c1b;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--accent-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* RESPONSIVE MEDIA QUERIES */

/* Intermediate Laptop View (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
  .nav-links {
    gap: 1.15rem;
  }
  .nav-links a {
    font-size: 0.86rem;
  }
  .brand-sub {
    display: none;
  }
  .btn-pitchdeck {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }
}

/* Tablet & Mobile Off-Canvas Drawer (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid, .founder-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .metrics-grid, .durability-grid, .services-grid, .process-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Header Drawer Menu */
  .desktop-only-action {
    display: none !important;
  }

  .drawer-extra {
    display: block !important;
    width: 100%;
    margin-top: 0.75rem;
  }

  .drawer-extra .btn-pitchdeck {
    width: 100%;
    justify-content: center;
  }

  .drawer-extra .lang-selector {
    width: 100%;
    justify-content: space-around;
    margin-top: 0.5rem;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 310px;
    max-width: 85vw;
    height: 100vh;
    background: #1c2541;
    border-left: 2px solid var(--accent-gold);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5.5rem 1.5rem 2.5rem 1.5rem;
    gap: 0.6rem;
    z-index: 1001;
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, visibility 0.35s ease;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85);
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-links {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    font-size: 1.05rem;
    font-weight: 600;
    display: block;
    width: 100%;
    padding: 0.8rem 0.85rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: var(--transition);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--accent-gold-light);
    background: rgba(212, 175, 55, 0.16);
    border-left: 3px solid var(--accent-gold);
    padding-left: 1.15rem;
  }
}

/* Tablet Portrait & Large Phones (<= 768px) */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0 2.5rem 0;
  }
  .hero-title {
    font-size: clamp(1.35rem, 5.2vw, 2.25rem);
    white-space: nowrap;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero-visual-img {
    height: 280px;
  }
  .founder-img {
    height: 340px;
  }
  .metrics-grid, .durability-grid, .services-grid, .process-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .calculator-card, .form-wrapper {
    padding: 1.75rem 1.25rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
}

/* Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .container {
    width: 92%;
  }
  .hero-title {
    font-size: clamp(1.15rem, 6vw, 1.7rem);
    white-space: nowrap;
  }
  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .brand-sub {
    display: none;
  }
  .brand-title {
    font-size: 1rem;
  }
  .brand-logo {
    width: 44px;
    height: 44px;
    padding: 2px;
  }
  .btn-pitchdeck {
    padding: 0.4rem 0.65rem;
    font-size: 0.75rem;
  }
  .lang-btn {
    padding: 3px 6px;
    font-size: 0.7rem;
  }
  .theme-toggle-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .mobile-nav-toggle {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
  .founder-badges-grid {
    grid-template-columns: 1fr;
  }
  .metric-num {
    font-size: 2.2rem;
  }
  .calc-result-amount {
    font-size: 1.65rem;
  }
  .ba-slider-container {
    height: 190px;
  }
}

