/* ============================================
   CommercialCabinets.com - Premium CSS Framework
   ============================================ */

/* --- CSS Variables --- */
:root {
  --charcoal: #2c2c2c;
  --charcoal-light: #3a3a3a;
  --charcoal-dark: #1a1a1a;
  --walnut: #5c3a21;
  --walnut-light: #7a5234;
  --walnut-dark: #3e2715;
  --gold: #c9953d;
  --gold-light: #dbb065;
  --gold-dark: #a87a2f;
  --white: #ffffff;
  --off-white: #f8f6f3;
  --light-gray: #e8e4df;
  --mid-gray: #999;
  --text-dark: #2c2c2c;
  --text-light: #f8f6f3;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --shadow-xl: 0 12px 60px rgba(0,0,0,0.22);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1280px;
  --container-narrow: 960px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

/* --- Utilities --- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-walnut { color: var(--walnut); }
.text-white { color: var(--white); }
.bg-charcoal { background-color: var(--charcoal); }
.bg-walnut { background-color: var(--walnut); }
.bg-off-white { background-color: var(--off-white); }
.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 60px 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--mid-gray);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

/* --- Fade-in Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Top Bar --- */
.top-bar {
  background: var(--charcoal-dark);
  color: var(--light-gray);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--gold-light); }
.top-bar a:hover { color: var(--gold); }
.top-bar-left, .top-bar-right { display: flex; gap: 20px; align-items: center; }

/* --- Navbar --- */
.navbar {
  background: var(--charcoal);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 2px solid var(--gold);
}
.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.navbar-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--charcoal-dark);
}
.navbar-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links li { position: relative; }
.nav-links a {
  color: var(--light-gray);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: block;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(201,149,61,0.08);
}

/* Dropdown */
.dropdown .dropdown-toggle::after {
  content: ' \25BE';
  font-size: 0.7rem;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  min-width: 260px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  max-height: 70vh;
  overflow-y: auto;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 0;
}
.dropdown-menu a:hover {
  background: rgba(201,149,61,0.12);
  padding-left: 24px;
}

/* CTA button in nav */
.nav-cta a {
  background: var(--gold);
  color: var(--charcoal-dark) !important;
  font-weight: 700;
  padding: 10px 24px !important;
  border-radius: var(--radius-md) !important;
}
.nav-cta a:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  width: 28px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--charcoal-dark) 0%, var(--charcoal) 50%, var(--walnut-dark) 100%);
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,149,61,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--charcoal-dark) 0%, var(--charcoal) 60%, var(--walnut-dark) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,149,61,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; position: relative; z-index: 2; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; position: relative; z-index: 2; max-width: 640px; }

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
}
.breadcrumbs a { color: var(--walnut); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { color: var(--mid-gray); margin: 0 8px; }
.breadcrumbs .current { color: var(--charcoal); font-weight: 500; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--charcoal-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--charcoal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,149,61,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-2px);
}
.btn-walnut {
  background: var(--walnut);
  color: var(--white);
}
.btn-walnut:hover {
  background: var(--walnut-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92,58,33,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--charcoal-dark);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--walnut);
  padding: 48px 0;
  position: relative;
  z-index: 3;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  color: var(--white);
}
.stat-item h3 {
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}
.stat-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--white);
}
.card-body { padding: 32px; }
.card-body h3 { margin-bottom: 12px; }
.card-body p { color: #666; font-size: 0.95rem; }
.card-body .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
}
.card-body .card-link:hover { gap: 10px; color: var(--walnut); }

/* --- Why Choose Us / Feature List --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(201,149,61,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  border: 1px solid rgba(201,149,61,0.2);
}
.feature-text h4 { margin-bottom: 8px; }
.feature-text p { color: #666; font-size: 0.95rem; margin-bottom: 0; }

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 8px;
  left: 24px;
  line-height: 1;
}
.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--charcoal-dark);
  font-size: 1.1rem;
}
.testimonial-info h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}
.testimonial-info p {
  font-size: 0.85rem;
  color: var(--mid-gray);
  margin-bottom: 0;
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 16px; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--charcoal-dark) 0%, var(--walnut-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201,149,61,0.06) 0%, transparent 60%);
  border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; position: relative; z-index: 2; }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 32px; position: relative; z-index: 2; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { position: relative; z-index: 2; }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: var(--transition);
  color: var(--charcoal);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,149,61,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.sidebar-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
  position: sticky;
  top: 100px;
}
.sidebar-form h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.sidebar-form p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin-bottom: 24px;
}
.sidebar-form .btn { width: 100%; justify-content: center; }
.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  color: #2e7d32;
  font-weight: 500;
}
.form-success.show { display: block; }

/* --- Page Content Layout --- */
.page-content {
  padding: 60px 0 80px;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.content-main h2 { margin-top: 40px; margin-bottom: 16px; }
.content-main h2:first-child { margin-top: 0; }
.content-main p { color: #555; line-height: 1.85; }
.content-main ul {
  margin: 16px 0 24px 20px;
  list-style: none;
}
.content-main ul li {
  position: relative;
  padding: 6px 0 6px 28px;
  color: #555;
  line-height: 1.7;
}
.content-main ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* --- FAQ Accordion --- */
.faq-section { padding: 60px 0 80px; background: var(--off-white); }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--light-gray);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--gold); }
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.active .faq-question::after { content: '\2212'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: #555;
  line-height: 1.8;
}

/* --- Footer --- */
.footer {
  background: var(--charcoal-dark);
  color: var(--light-gray);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-brand h3 span { color: var(--gold); }
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.8;
}
.footer h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}
.footer-contact li strong { color: var(--gold); min-width: 20px; }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--charcoal-dark);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-cards {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-info-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--light-gray);
}
.contact-info-card .icon {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-card h4 { margin-bottom: 4px; font-size: 1.05rem; }
.contact-info-card p { color: #666; font-size: 0.95rem; margin-bottom: 0; }

/* --- About Page --- */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.value-card .icon {
  width: 72px;
  height: 72px;
  background: rgba(201,149,61,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  color: var(--gold);
}
.value-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.value-card p { color: #666; font-size: 0.95rem; margin-bottom: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar-form { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: var(--charcoal);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 24px;
    transition: var(--transition-slow);
    overflow-y: auto;
    gap: 0;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
  }
  .nav-links.open { right: 0; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    border-top: none;
    box-shadow: none;
    padding-left: 16px;
    display: none;
    min-width: 100%;
    background: rgba(255,255,255,0.03);
    border-radius: 0;
  }
  .dropdown.open .dropdown-menu { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item h3 { font-size: 2.2rem; }
  .hero { padding: 80px 0 70px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
  .card-grid, .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 60px 0; }
  .section-padding { padding: 60px 0; }
  .about-values { grid-template-columns: 1fr; }
  .page-hero { padding: 60px 0 40px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 60px 0 50px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item h3 { font-size: 1.8rem; }
  .sidebar-form { padding: 24px; }
  .card-body { padding: 24px; }
  .section-padding { padding: 48px 0; }
}

/* --- Mobile Nav Overlay --- */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* --- Print Styles --- */
@media print {
  .navbar, .top-bar, .footer, .back-to-top, .sidebar-form, .cta-banner { display: none; }
  body { color: #000; background: #fff; }
  .hero, .page-hero { background: #f5f5f5; color: #000; padding: 20px 0; }
}
