/* ============================================
   Label Garage — Design System & Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;

  --accent: #f59e0b;
  --accent-dark: #d97706;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;
  --black: #000000;

  --success: #10b981;
  --error: #ef4444;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--primary-50);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 22px;
  font-weight: 400;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 2px;
  letter-spacing: -0.5px;
}

.logo strong {
  font-weight: 800;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

.logo-icon svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.btn-nav {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  padding: 8px 20px !important;
}

.btn-nav:hover {
  background: var(--primary-dark) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--gray-400);
  color: var(--gray-900);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

.btn-loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--primary-100) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(245,158,11,0.08) 0%, transparent 50%);
  z-index: -1;
}

/* Split hero layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--primary-100);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 50%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 0 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
}

.stat-label {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

/* Hero image stack */
.hero-image-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   SERVICES PREVIEW
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.service-link:hover {
  color: var(--primary-dark);
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
  background: var(--gray-50);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-content .section-tag {
  margin-bottom: 16px;
}

.why-us-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.why-us-content > p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.check-list li {
  display: flex;
  gap: 16px;
}

.check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.check-list li strong {
  display: block;
  font-size: 16px;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.check-list li p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.why-us-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.why-us-image {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.why-us-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   PROCESS
   ============================================ */
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.process-step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 24px;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-100);
  margin-bottom: 16px;
  line-height: 1;
}

.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

.process-connector {
  width: 60px;
  height: 2px;
  background: var(--gray-200);
  margin-top: 30px;
  flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--gray-50);
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card > p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--gray-900);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--gray-400);
}

/* ============================================
   QUOTE FORM SECTION
   ============================================ */
.quote-section {
  background: var(--gray-50);
}

.quote-centered {
  max-width: 780px;
  margin: 0 auto;
}

.quote-centered .section-header {
  margin-bottom: 40px;
}

.quote-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-100);
  background: var(--white);
}

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

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.quote-form-compact {
  max-width: 780px;
  margin: 0 auto;
}

.form-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 12px;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 64px 0 32px;
}

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .logo-icon svg path {
  fill: #93c5fd;
}

.footer-brand > p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-sister {
  font-size: 13px;
  color: var(--gray-500);
}

.footer-sister a {
  color: var(--primary-light);
  font-weight: 500;
}

.footer-sister a:hover {
  color: var(--white);
}

.footer-links h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray-400);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================
   PAGE HEADER (for sub-pages)
   ============================================ */
.page-header {
  padding: 140px 0 60px;
  background: var(--gray-50);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================
   CONTENT SECTIONS (for sub-pages)
   ============================================ */
.content-section {
  padding: 80px 0;
}

.content-section.alt {
  background: var(--gray-50);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.content-text p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.content-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-image-placeholder {
  font-size: 48px;
  color: var(--primary);
  opacity: 0.5;
}

/* Service detail cards */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-detail-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.3s ease;
}

.service-detail-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.service-detail-card .service-icon {
  margin-bottom: 24px;
}

.service-detail-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.service-detail-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 12px;
}

.service-detail-card ul {
  list-style: none;
  padding: 0;
}

.service-detail-card ul li {
  font-size: 14px;
  color: var(--gray-600);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.service-detail-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Materials bar */
.materials-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.material-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.material-item:hover {
  border-color: var(--primary-100);
  box-shadow: var(--shadow-md);
}

.material-item .material-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.material-item strong {
  display: block;
  font-size: 14px;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.material-item span {
  font-size: 12px;
  color: var(--gray-400);
}

/* About page values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
}

.value-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-info-card:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 14px;
  color: var(--gray-500);
}

.contact-info-card a:hover {
  color: var(--primary);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.cta-banner .btn-primary:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  /* Remove backdrop-filter on mobile so it doesn't trap z-index children */
  .navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--white);
    z-index: 1010;
  }

  .navbar.scrolled {
    background: var(--white);
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1012;
  }

  /* Hamburger to X animation */
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Side drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 80vw;
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px 40px;
    box-shadow: -8px 0 30px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 4px;
    z-index: 1011;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  /* Backdrop overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1009;
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  .nav-overlay.visible {
    display: block;
    opacity: 1;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 16px;
  }

  .btn-nav {
    text-align: center;
    margin-top: 12px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 64px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image-stack {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .hero-stats {
    gap: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-us-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-grid.reverse {
    direction: ltr;
  }

  .why-us-image {
    max-width: 100%;
    margin: 0 auto;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .process-connector {
    width: 2px;
    height: 32px;
    margin: 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .materials-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 15px;
  }

  .stat-number {
    font-size: 24px;
  }
}
