/* ═══════════════════════════════════════════════════════════════
   AL Physics Academy — Main Service Page Styles
   Premium light theme with refined color balance & polish
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ─── Design Tokens ─── */
:root {
  /* Core Backgrounds */
  --bg-primary:      #fafbfd;
  --bg-secondary:    #f3f5f9;
  --bg-tertiary:     #edf0f7;
  --bg-card:         rgba(255,255,255,0.82);
  --bg-glass:        rgba(255,255,255,0.65);
  --border-glass:    rgba(200,210,230,0.45);
  --border-card:     rgba(200,210,230,0.35);

  /* Typography */
  --text-primary:    #111827;
  --text-secondary:  #4b5563;
  --text-muted:      #9ca3af;

  /* Accent Palette — refined warm amber (not burnt orange) */
  --accent:          #d97706;
  --accent-light:    #f59e0b;
  --accent-dark:     #b45309;
  --accent-glow:     rgba(217,119,6,0.10);
  --accent-subtle:   rgba(217,119,6,0.06);

  /* Secondary Accent — cool indigo for balance */
  --indigo:          #4f46e5;
  --indigo-light:    #6366f1;
  --indigo-glow:     rgba(79,70,229,0.10);

  /* Tertiary — teal accent for variety */
  --teal:            #0d9488;
  --teal-glow:       rgba(13,148,136,0.08);

  /* Gradients */
  --gradient-hero:   linear-gradient(160deg, #fafbfd 0%, #eef1f8 35%, #f5f3ff 65%, #fafbfd 100%);
  --gradient-card:   linear-gradient(145deg, rgba(255,255,255,0.92) 0%, rgba(248,250,255,0.6) 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b, #d97706);
  --gradient-heading:linear-gradient(135deg, #111827 30%, #4f46e5 100%);
  --gradient-indigo: linear-gradient(135deg, #6366f1, #4f46e5);

  /* Shadows */
  --shadow-xs:       0 1px 3px rgba(0,0,0,0.04);
  --shadow-sm:       0 2px 8px rgba(0,0,0,0.05);
  --shadow-md:       0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg:       0 16px 48px rgba(0,0,0,0.08);
  --shadow-card:     0 1px 3px rgba(0,0,0,0.03), 0 8px 24px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.04), 0 16px 40px rgba(0,0,0,0.08);
  --shadow-glow:     0 0 24px var(--accent-glow);

  /* Layout */
  --radius-sm:       8px;
  --radius-md:       14px;
  --radius-lg:       20px;
  --radius-xl:       28px;
  --font-heading:    'Outfit', sans-serif;
  --font-body:       'Inter', sans-serif;
  --nav-height:      72px;
  --section-pad:     100px;
  --max-width:       1200px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scale: 1; scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  margin: 0; padding: 0;
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
.section-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 12px;
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subheading {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* ─── Navbar ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.navbar.scrolled {
  background: rgba(250,251,253,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border-glass), var(--shadow-sm);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.3rem;
  color: var(--text-primary);
}
.nav-logo svg, .nav-logo img {
  width: 38px; height: 38px;
  filter: drop-shadow(0 2px 6px rgba(79,70,229,0.15));
}
.nav-logo .logo-accent { color: var(--indigo); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color .3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-indigo);
  border-radius: 2px;
  transition: width .3s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: var(--indigo);
  color: #ffffff !important;
  font-weight: 700; font-size: 0.9rem;
  border-radius: 50px;
  transition: transform .3s, box-shadow .3s, background .3s;
  box-shadow: 0 2px 12px rgba(79,70,229,0.25);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(79,70,229,0.35);
  background: var(--indigo-light);
}
.nav-cta::after { display: none !important; }
.nav-cta svg { width: 16px; height: 16px; }

.mobile-portal-btn {
  display: none !important;
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
  border-radius: 10px;
}

.mobile-portal-btn svg {
  width: 20px;
  height: 20px;
}

/* Mobile Toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative;
  flex-direction: column; justify-content: center; gap: 6px; align-items: center;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* ─── Hero Section ─── */
.hero {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}
#physics-canvas {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: auto;
  z-index: 0;
}
.hero-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: linear-gradient(180deg,
    rgba(250,251,253,0.2) 0%,
    rgba(250,251,253,0.55) 45%,
    rgba(250,251,253,0.95) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-particles .particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--indigo);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 8s ease-in-out infinite;
}
@keyframes float-particle {
  0%   { opacity: 0; transform: translateY(100vh) scale(0); }
  20%  { opacity: 0.6; }
  80%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-100px) scale(1); }
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 960px;
  padding: 0 24px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: var(--indigo-glow);
  border: 1px solid rgba(79,70,229,0.2);
  border-radius: 50px;
  font-size: 0.85rem; color: var(--indigo);
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--indigo);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: var(--text-primary);
}
.hero h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Typewriter rotating text */
.hero h1 .typewriter-line {
  display: block;
  min-height: 1.2em;
}
.hero h1 .typewriter-text {
  background: var(--gradient-indigo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 .typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--indigo);
  margin-left: 4px;
  vertical-align: baseline;
  position: relative;
  top: 0.05em;
  animation: blink-cursor 0.8s step-end infinite;
  border-radius: 2px;
  box-shadow: 0 0 8px var(--indigo-glow);
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}
.hero-sub {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  letter-spacing: 0.5px;
  font-weight: 400;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 1rem;
  cursor: pointer; border: none;
  transition: transform .3s, box-shadow .3s, background .3s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--indigo);
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(79,70,229,0.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(79,70,229,0.4);
  background: var(--indigo-light);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-glass);
  backdrop-filter: none;
}
.btn-outline:hover {
  background: rgba(79,70,229,0.04);
  border-color: var(--indigo);
  color: var(--indigo);
}

/* ─── About Section ─── */
.about {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-image img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform .6s;
}
.about-image:hover img { transform: scale(1.03); }
.about-image::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  pointer-events: none;
}
.about-image .accent-border {
  position: absolute; top: -8px; left: -8px;
  width: 100px; height: 100px;
  border-left: 3px solid var(--indigo);
  border-top: 3px solid var(--indigo);
  border-radius: var(--radius-md) 0 0 0;
  pointer-events: none;
}
.about-text .section-heading { text-align: left; }
.about-content {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
}
.about-content p { margin-bottom: 16px; }
.about-content strong { color: var(--text-primary); font-weight: 600; }
.about-content ul {
  margin: 12px 0;
  padding-left: 0;
}
.about-content li {
  padding: 6px 0 6px 24px;
  position: relative;
}
.about-content li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px;
  background: var(--indigo);
  border-radius: 50%;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.stat-card {
  text-align: center;
  padding: 24px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--indigo-glow);
}
.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-indigo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ─── Services Section ─── */
.services {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  position: relative;
}
.services::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}
.services::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: transform .4s, border-color .4s, box-shadow .4s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-indigo);
  opacity: 0;
  transition: opacity .4s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79,70,229,0.15);
  box-shadow: var(--shadow-card-hover);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px; height: 56px;
  background: var(--indigo-glow);
  border: 1px solid rgba(79,70,229,0.12);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--indigo);
  transition: background .3s, transform .3s;
}
.service-card:hover .service-icon {
  background: rgba(79,70,229,0.15);
  transform: scale(1.08);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
.service-card p strong { color: var(--text-primary); }

/* ─── Gallery Section ─── */
.gallery {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
  transition: box-shadow .4s;
}
.gallery-item:hover {
  box-shadow: var(--shadow-card-hover);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform .4s;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2000;
  background: rgba(250,251,253,0.92);
  backdrop-filter: blur(20px);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity .3s;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img {
  max-width: 90vw; max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 48px; height: 48px;
  background: rgba(0,0,0,0.05);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-primary); font-size: 24px;
  transition: background .3s;
}
.lightbox-close:hover { background: rgba(0,0,0,0.1); }
.lightbox-caption {
  position: absolute; bottom: 32px;
  color: var(--text-secondary);
  font-size: 1rem;
  text-align: center;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(0,0,0,0.05);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-primary); font-size: 20px;
  transition: background .3s;
}
.lightbox-nav:hover { background: rgba(0,0,0,0.1); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ─── Testimonials Section ─── */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  position: relative;
}
.testimonials::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}
.testimonials-track {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 24px;
}
.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  min-width: 380px; max-width: 420px;
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--indigo);
  opacity: 0.25;
  font-family: serif;
  line-height: 1;
  margin-bottom: 12px;
}
.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-indigo);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
  color: #ffffff;
}
.testimonial-info h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}
.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonials-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 24px;
}
.testimonials-dots .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: background .3s, transform .3s;
  border: none;
  opacity: 0.4;
}
.testimonials-dots .dot.active {
  background: var(--indigo);
  transform: scale(1.3);
  opacity: 1;
}

/* ─── Contact Section ─── */
.contact {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-content {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 32px;
}
.contact-content p { margin-bottom: 16px; }
.contact-content strong { color: var(--text-primary); }

.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: border-color .3s, box-shadow .3s, transform .3s;
  box-shadow: var(--shadow-xs);
}
.contact-item:hover {
  border-color: var(--indigo);
  box-shadow: 0 4px 16px rgba(79,70,229,0.1);
  transform: translateX(4px);
}
.contact-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--indigo-glow);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo);
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-text h4 { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.contact-item-text p { color: var(--text-primary); font-size: 1rem; }
.contact-item-text a { color: var(--text-primary); transition: color .3s; }
.contact-item-text a:hover { color: var(--indigo); }

.contact-cta-area { text-align: center; }
.contact-card {
  padding: 48px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
/* Subtle gradient top border for the contact card */
.contact-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--accent-light), var(--teal));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.contact-card p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1rem;
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 16px 36px;
  font-size: 1.05rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
}
.btn-whatsapp:hover { box-shadow: 0 6px 32px rgba(37,211,102,0.35); }
.btn-whatsapp svg { width: 22px; height: 22px; }

/* ─── Footer ─── */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-glass);
  background: var(--bg-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 300px; }
.footer-links h4, .footer-social h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  color: var(--text-secondary);
  padding: 6px 0;
  font-size: 0.95rem;
  transition: color .3s;
}
.footer-links a:hover { color: var(--indigo); }
.footer-socials {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.footer-socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: color .3s, border-color .3s, transform .3s, box-shadow .3s;
}
.footer-socials a:hover {
  color: var(--indigo); border-color: var(--indigo);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(79,70,229,0.15);
}
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ─── Scroll Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ─── Mobile Menu Overlay ─── */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1001;
  background: rgba(250,251,253,0.96);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  padding: 40px;
  text-align: center;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 600;
  color: var(--text-secondary);
  transition: color .3s;
}
.mobile-menu a:hover { color: var(--indigo); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { max-width: 500px; margin: 0 auto; }
  .about-text .section-heading { text-align: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { width: 95%; max-width: 860px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 70px; --nav-height: 64px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta.desktop-only { display: none; }
  .mobile-portal-btn { display: inline-flex !important; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { min-width: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero h1 .typewriter-line { white-space: normal; min-height: 1.2em; }
  .hero-sub { font-size: 1rem; letter-spacing: 0.3px; margin-bottom: 32px; }
  .hero-badge { font-size: 0.8rem; padding: 6px 16px; }
  .hero-ctas .btn { padding: 12px 28px; font-size: 0.95rem; }
  .hero-content { max-width: 100%; padding: 0 20px; }
  .section-heading { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .section-subheading { font-size: 0.95rem; margin-bottom: 40px; }
  .about-content { font-size: 0.95rem; }
  .contact-card { padding: 36px 24px; }
  .contact-card h3 { font-size: 1.3rem; }
  .contact-item { padding: 12px 16px; }
}

@media (max-width: 480px) {
  :root { --section-pad: 50px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 260px; max-width: 100%; }
  .contact-card { padding: 28px 16px; }
  .hero h1 { font-size: clamp(2.1rem, 12vw, 2.8rem); line-height: 1.1; }
  .hero h1 .typewriter-line { min-height: 1.2em; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 28px; }
  .hero-badge { font-size: 0.75rem; padding: 5px 14px; margin-bottom: 20px; }
  .hero-ctas .btn { padding: 12px 24px; font-size: 0.9rem; width: 100%; justify-content: center; }
  .hero-ctas { gap: 10px; }
  .stats-row { gap: 10px; }
  .stat-value { font-size: 1.5rem; }
  .stat-label { font-size: 0.7rem; }
  .stat-card { padding: 14px 8px; }
  .nav-logo { font-size: 1.1rem; }
  .nav-logo svg, .nav-logo img { width: 30px; height: 30px; }
  .service-card { padding: 28px 20px; }
  .about-content { font-size: 0.9rem; line-height: 1.75; }
  .contact-content { font-size: 0.9rem; }
  .testimonial-card { padding: 28px 20px; }
  .testimonial-card blockquote { font-size: 0.9rem; }
  .footer-brand p { font-size: 0.82rem; }
  .lightbox-nav { width: 36px; height: 36px; font-size: 16px; }
  .lightbox-close { width: 36px; height: 36px; font-size: 18px; top: 12px; right: 12px; }
  .lightbox { padding: 16px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.9rem; }
  .hero h1 .typewriter-cursor { width: 2px; height: 0.8em; }
  .hero-badge { font-size: 0.7rem; }
  .section-heading { font-size: 1.4rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* Loading shimmer */
.skeleton {
  background: linear-gradient(90deg, var(--bg-glass) 25%, rgba(255,255,255,0.08) 50%, var(--bg-glass) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
