/* ============================================
   Swiss Dental Pro — Design System CSS
   Premium Dental Website Template
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --deep-navy: #0F2027;
  --navy-mid: #1a2f3a;
  --alpine-white: #FAFBFD;
  --medical-teal: #0D9488;
  --teal-light: #14b8a6;
  --teal-dark: #0f766e;
  --warm-ivory: #F5F0EB;
  --soft-sage: #E8EDEA;
  --slate-gray: #64748B;
  --swiss-gold: #C9A84C;
  --gold-light: #d4b85c;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --success: #22C55E;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 80px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,32,39,0.06);
  --shadow-md: 0 4px 12px rgba(15,32,39,0.08);
  --shadow-lg: 0 8px 30px rgba(15,32,39,0.12);
  --shadow-xl: 0 16px 48px rgba(15,32,39,0.16);

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--alpine-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-display); color: var(--deep-navy); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-body); color: var(--deep-navy); }
p { color: var(--text-secondary); margin-bottom: var(--space-md); }
.text-teal { color: var(--medical-teal); }
.text-gold { color: var(--swiss-gold); }

/* --- Section Label --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--medical-teal);
  margin-bottom: var(--space-lg);
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--medical-teal);
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: var(--space-md) auto 0;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- Section --- */
.section {
  padding: var(--space-4xl) 0;
}
.section--ivory { background: var(--warm-ivory); }
.section--sage { background: var(--soft-sage); }
.section--navy { background: var(--deep-navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.8); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 32, 39, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition-base);
}
.nav.scrolled {
  background: rgba(15, 32, 39, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__logo-icon {
  width: 40px;
  height: 40px;
}
.nav__logo-text {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--white);
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition-fast);
  position: relative;
}
.nav__link:hover, .nav__link.active {
  color: var(--white);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--medical-teal);
  transition: width var(--transition-base);
}
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--medical-teal);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}
.nav__cta:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,148,136,0.4);
}

/* Mobile menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--deep-navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(15,32,39,0.85) 0%, rgba(15,32,39,0.4) 60%, rgba(13,148,136,0.15) 100%);
}
.hero__content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: calc(var(--nav-height) + 60px) var(--space-lg) 60px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--medical-teal);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
}
.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}
.hero h1 em {
  font-style: italic;
  color: var(--medical-teal);
}
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}
.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  letter-spacing: 0.3px;
}
.btn--primary {
  background: var(--medical-teal);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,148,136,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}
.btn--dark {
  background: var(--deep-navy);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--gold {
  background: var(--swiss-gold);
  color: var(--white);
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--white);
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border-color);
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}
.stat__number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--medical-teal);
  line-height: 1;
}
.stat__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
  font-weight: 500;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border-color);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--medical-teal), var(--teal-light));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(13,148,136,0.1), rgba(13,148,136,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}
.service-card h3 { margin-bottom: var(--space-sm); font-size: 1.15rem; }
.service-card p { font-size: 0.92rem; color: var(--text-secondary); margin-bottom: var(--space-md); }
.service-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--medical-teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}
.service-card__link:hover { gap: 10px; }

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-slow);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.team-card__photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: linear-gradient(135deg, var(--deep-navy) 0%, #1a3a4a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.team-card__photo-initials {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.15);
  letter-spacing: 4px;
  user-select: none;
}
.team-card__photo-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(13,148,136,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card__photo-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--medical-teal);
  stroke-width: 1.5;
  opacity: 0.9;
}
.team-card__photo-icon svg path,
.team-card__photo-icon svg circle {
  fill: none;
  stroke: var(--medical-teal);
}
.team-card__info { padding: var(--space-lg); }
.team-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--deep-navy);
}
.team-card__role {
  font-size: 0.85rem;
  color: var(--medical-teal);
  font-weight: 500;
  margin-top: 4px;
}
.team-card__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.5;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #1a3a4a 50%, var(--teal-dark) 100%);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(13,148,136,0.1);
}
.cta-banner h2 { color: var(--white); margin-bottom: var(--space-md); }

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.contact-info-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(13,148,136,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--medical-teal);
  font-size: 1.2rem;
}
.contact-info-item h4 { margin-bottom: 2px; }
.contact-info-item p { font-size: 0.92rem; margin: 0; }

/* Form */
.form-group { margin-bottom: var(--space-lg); }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--transition-fast);
  font-size: 0.95rem;
  color: var(--text-primary);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--medical-teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

/* Map */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 300px;
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* --- Hours Table --- */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
}
.hours-table td:first-child { font-weight: 500; color: var(--text-primary); }
.hours-table td:last-child { text-align: right; color: var(--text-secondary); }

/* --- Footer --- */
.footer {
  background: var(--deep-navy);
  color: rgba(255,255,255,0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}
.footer__brand-desc { font-size: 0.9rem; margin-top: var(--space-md); line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer h4 { color: var(--white); font-size: 0.9rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: var(--space-lg); }
.footer__links li { margin-bottom: var(--space-sm); }
.footer__links a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color var(--transition-fast); }
.footer__links a:hover { color: var(--medical-teal); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* --- Service Detail Page --- */
.page-hero {
  background: var(--deep-navy);
  padding: calc(var(--nav-height) + 60px) 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: var(--space-md); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 0.85rem;
}
.breadcrumb a { color: var(--medical-teal); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

.service-detail { padding: var(--space-4xl) 0; }
.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.service-detail__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-detail__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service-detail__content h2 { margin-bottom: var(--space-lg); }
.service-detail__content p { font-size: 1.05rem; line-height: 1.8; }

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.service-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.service-feature__check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(13,148,136,0.1);
  color: var(--medical-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 2px;
}
.service-feature span { font-size: 0.95rem; color: var(--text-secondary); }

/* --- FAQ Accordion --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  background: var(--white);
}
.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: background var(--transition-fast);
}
.faq-item__question:hover { background: var(--soft-sage); }
.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(13,148,136,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--medical-teal);
  flex-shrink: 0;
  transition: transform var(--transition-base);
  font-size: 0.9rem;
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}
.faq-item.open .faq-item__answer { max-height: 300px; }
.faq-item__answer p {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- Animations (GSAP targets) --- */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }

/* --- SVG Service Icons --- */
.service-card__icon svg {
  width: 28px;
  height: 28px;
  fill: var(--medical-teal);
}

/* --- Demo Banner --- */
.demo-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: linear-gradient(135deg, var(--deep-navy), var(--teal-dark));
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(13,148,136,0.3);
  backdrop-filter: blur(10px);
  animation: pulseGlow 3s ease-in-out infinite;
}
.demo-banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--medical-teal);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: var(--shadow-xl); }
  50% { box-shadow: 0 16px 48px rgba(13,148,136,0.25); }
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  color: var(--deep-navy);
  font-size: 1.1rem;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--medical-teal);
  color: var(--white);
  border-color: var(--medical-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .service-detail__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15,32,39,0.98);
    backdrop-filter: blur(20px);
    padding: var(--space-2xl) var(--space-xl);
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: 999;
  }
  .nav__links.open {
    transform: translateX(0);
  }
  .nav__hamburger { display: flex; }
  .nav__link { font-size: 1.1rem; padding: 8px 0; }
  .nav__cta { margin-top: var(--space-md); justify-content: center; }
  .hero { min-height: 90vh; }
  .hero__content { padding-top: calc(var(--nav-height) + 40px); max-width: 100%; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .stat__number { font-size: 2.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .section { padding: var(--space-3xl) 0; }
  .service-features { grid-template-columns: 1fr; }
  .page-hero { padding: calc(var(--nav-height) + 40px) 0 40px; }
  .page-hero h1 { font-size: 1.8rem; }
  .demo-banner { bottom: 16px; right: 16px; left: 16px; justify-content: center; font-size: 0.75rem; }
  .scroll-top { bottom: 72px; right: 16px; }
  .cta-banner { padding: var(--space-3xl) 0; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .container { padding: 0 var(--space-md); }
  .hero__badge { font-size: 0.7rem; }
}

/* --- Prefers Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}
