/* ================================================================
   SevaSaathi Design System
   Static Site — WhatsApp-first Cleaning Service Platform
   Tier 2 & 3 Cities in India
   Colors: Saffron + Deep Green + Warm Cream
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  /* Primary - Saffron Orange */
  --primary: #E8722A;
  --primary-light: #F4954F;
  --primary-dark: #C55A1A;
  --primary-glow: rgba(232, 114, 42, 0.25);

  /* Secondary - Deep Green */
  --secondary: #1B7A4E;
  --secondary-light: #2AA06A;
  --secondary-dark: #135C3A;

  /* WhatsApp brand green (used only for WhatsApp CTAs) */
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --whatsapp-glow: rgba(37, 211, 102, 0.3);

  /* Accent */
  --accent: #F5C842;
  --accent-light: #FFE08A;

  /* Neutrals */
  --bg: #FFF9F0;
  --bg-card: #FFFFFF;
  --bg-dark: #1A1A2E;
  --bg-section: #FFF3E4;
  --text: #2D2A26;
  --text-light: #7A7368;
  --text-muted: #B5AD9F;
  --border: #E8DFD3;
  --border-light: #F2EDE6;

  /* Status */
  --success: #2AA06A;
  --warning: #F5C842;
  --danger: #E05252;
  --info: #4A90D9;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(45, 42, 38, 0.06);
  --shadow-md: 0 4px 20px rgba(45, 42, 38, 0.1);
  --shadow-lg: 0 8px 40px rgba(45, 42, 38, 0.12);
  --shadow-glow: 0 4px 30px var(--primary-glow);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Typography */
  --font-main: 'Outfit', sans-serif;
  --font-hindi: 'Noto Sans Devanagari', sans-serif;
}

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

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

/* Keep anchored sections clear of the sticky navbar */
section[id] { scroll-margin-top: 84px; }

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--text-light); }
.text-center { text-align: center; }
.text-hindi { font-family: var(--font-hindi); }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ── Navbar ── */
.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 20px;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
}

.navbar-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: var(--shadow-glow);
}

.navbar-logo span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.navbar-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-light);
  transition: var(--transition);
}

.navbar-links a:hover {
  color: var(--primary);
  background: var(--primary-glow);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.lang-toggle button {
  padding: 4px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.lang-toggle button.active {
  background: var(--primary);
  color: white;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

/* 3D pressed-edge buttons: a solid darker edge below that collapses on press */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 5px 0 var(--primary-dark), 0 10px 30px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--primary-dark), 0 14px 34px var(--primary-glow);
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--primary-dark), 0 4px 12px var(--primary-glow);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: white;
  box-shadow: 0 5px 0 var(--secondary-dark), 0 10px 24px rgba(27, 122, 78, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--secondary-dark), 0 14px 28px rgba(27, 122, 78, 0.3);
}

.btn-secondary:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--secondary-dark), 0 4px 10px rgba(27, 122, 78, 0.3);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; border-radius: var(--radius-md); }
.btn-block { width: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  padding: 8px 16px;
}

.btn-ghost:hover {
  background: var(--bg-section);
  color: var(--text);
}

/* WhatsApp CTA button — used everywhere in place of "checkout" */
.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: white;
  box-shadow: 0 5px 0 #0e6e62, 0 10px 30px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 7px 0 #0e6e62, 0 14px 34px var(--whatsapp-glow);
}

.btn-whatsapp:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #0e6e62, 0 4px 12px var(--whatsapp-glow);
}

.btn-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Floating WhatsApp action button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  z-index: 900;
  animation: floatPulse 2.6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.whatsapp-float svg { width: 32px; height: 32px; }

.whatsapp-float:hover {
  transform: scale(1.08) rotateY(10deg);
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.7); }
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

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

.card-body { padding: 24px; }

/* ── Service Card (3D tilt) ── */
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

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

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  transform: translateZ(30px);
  transition: var(--transition-bounce);
  box-shadow: 0 6px 16px rgba(45, 42, 38, 0.08);
}

.service-card:hover .service-icon {
  transform: translateZ(45px) scale(1.12) rotate(-6deg);
  box-shadow: 0 14px 26px rgba(45, 42, 38, 0.15);
}

.service-card h3 { margin-bottom: 8px; font-size: 1.15rem; transform: translateZ(20px); }

.service-card .service-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.service-card .service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.service-price { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.service-price small { font-size: 0.75rem; font-weight: 400; color: var(--text-light); }

.service-duration {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.service-card .btn { width: 100%; }

/* ── Hero Section ── */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(27, 122, 78, 0.1) 0%, transparent 70%);
  z-index: 0;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content { max-width: 650px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-glow), rgba(245, 200, 66, 0.15));
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease;
}

.hero h1 { margin-bottom: 20px; animation: fadeInUp 0.6s ease 0.1s both; }

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2rem; font-weight: 800; color: var(--primary); }
.hero-stat .label { font-size: 0.85rem; color: var(--text-light); }

/* ── 3D WhatsApp phone mockup (pure CSS, no images) ── */
.hero-visual {
  position: relative;
  z-index: 1;
  perspective: 1400px;
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.7s ease 0.25s both;
}

.phone-3d {
  width: 280px;
  height: 560px;
  background: linear-gradient(160deg, #232333, #14141f);
  border-radius: 42px;
  padding: 14px;
  box-shadow:
    0 40px 80px -20px rgba(20, 20, 35, 0.45),
    0 15px 35px -10px rgba(232, 114, 42, 0.25);
  transform: rotateY(-18deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: floatPhone 5s ease-in-out infinite;
}

.phone-3d:hover {
  transform: rotateY(-6deg) rotateX(2deg) translateY(-6px);
}

@keyframes floatPhone {
  0%, 100% { transform: rotateY(-18deg) rotateX(6deg) translateY(0); }
  50% { transform: rotateY(-18deg) rotateX(6deg) translateY(-14px); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #E5DDD5;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateZ(20px);
}

.phone-notch {
  background: var(--whatsapp-dark);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  color: white;
  flex-shrink: 0;
}

.phone-notch .avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.phone-notch .who strong { display: block; font-size: 0.85rem; }
.phone-notch .who span { font-size: 0.7rem; opacity: 0.8; }

.phone-chat {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.78rem;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  animation: fadeIn 0.6s ease both;
}

.chat-bubble.in {
  background: white;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-bubble.out {
  background: #DCF8C6;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.phone-input {
  height: 52px;
  background: #F0F0F0;
  margin: 0 12px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--text-muted);
  font-size: 0.8rem;
  gap: 8px;
  flex-shrink: 0;
}

/* Floating 3D badge chips around the phone */
.floating-chip {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transform-style: preserve-3d;
}

.floating-chip.chip-1 {
  top: 8%;
  left: -6%;
  animation: chipFloat 4s ease-in-out infinite;
}

.floating-chip.chip-2 {
  bottom: 12%;
  right: -8%;
  animation: chipFloat 5s ease-in-out infinite reverse;
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0) translateZ(40px); }
  50% { transform: translateY(-16px) translateZ(40px); }
}

/* ── Sections ── */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-section); }

.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--text-light); max-width: 500px; margin: 0 auto; }

/* ── How It Works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
  perspective: 800px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transform-style: preserve-3d;
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  will-change: transform;
}

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

.step-number {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-bounce);
  transform: translateZ(35px);
}

.step:hover .step-number { transform: translateZ(35px) rotateY(360deg); }

.step h3 { transform: translateZ(20px); }

.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-light); font-size: 0.9rem; }

/* ── Testimonials ── */
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  transform-style: preserve-3d;
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.testimonial-card .author-avatar { transform: translateZ(25px); }
.testimonial-card .stars { transform: translateZ(15px); }

.testimonial-card .stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-card .quote { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; font-style: italic; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }

.testimonial-card .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-card .author-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-card .author-location { font-size: 0.8rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  color: var(--text);
}

.faq-question:hover { background: var(--bg-section); }
.faq-question .faq-icon { font-size: 1.2rem; transition: var(--transition); color: var(--primary); }
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 24px 18px; color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }

/* ── Footer ── */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

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

.footer-brand h3 { color: white; font-size: 1.5rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 300px; }
.footer h4 { color: white; font-size: 1rem; margin-bottom: 16px; }

.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-primary { background: var(--primary-glow); color: var(--primary); }
.badge-secondary { background: rgba(27, 122, 78, 0.1); color: var(--secondary); }

/* ── Empty state (services not yet loaded) ── */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .empty-icon { font-size: 3.5rem; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { margin-bottom: 8px; color: var(--text-light); }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll-in animation is opt-in: elements stay visible unless JS adds
   .anim-ready to <body>, so content never hides if JS fails to run. */
body.anim-ready .animate-fade-in {
  animation: fadeIn 0.5s ease both;
  animation-play-state: paused;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 20px; }
  .phone-3d { width: 240px; height: 480px; }
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
    animation: fadeInUp 0.25s ease;
  }

  .navbar-links.open { display: flex; }

  /* Bigger tap targets in the mobile menu */
  .navbar-links a {
    padding: 14px 16px;
    font-size: 1rem;
    text-align: center;
  }

  .navbar-links .btn-whatsapp {
    margin-top: 8px;
    padding: 14px 16px;
  }

  .lang-toggle {
    justify-content: center;
    margin: 8px auto 0;
  }

  .lang-toggle button { padding: 8px 18px; font-size: 0.9rem; }

  .mobile-menu-btn { display: block; }
  .hero { padding: 40px 0; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { gap: 20px; justify-content: center; }
  .section { padding: 44px 0; }
  .section-title { margin-bottom: 32px; }
  .grid { gap: 16px; }
  .steps { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand p { max-width: none; }

  .whatsapp-float {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 56px;
    height: 56px;
  }
  .whatsapp-float svg { width: 30px; height: 30px; }
  .floating-chip { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.9rem; }
  .hero h1 br { display: none; }
  .hero p { font-size: 1rem; }
  .hero-stat .number { font-size: 1.5rem; }
  .hero-stats { margin-top: 32px; }

  /* Full-width, easy-thumb CTAs */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn,
  .flex-center.gap-2 { flex-direction: column; }
  .hero-actions .btn,
  .flex-center.gap-2 .btn { width: 100%; }
  .btn-lg { padding: 15px 24px; font-size: 1rem; }

  .phone-3d { width: 210px; height: 420px; }
  .chat-bubble { font-size: 0.72rem; }

  .service-card { padding: 22px; }
  .step { padding: 26px 20px; }
  .testimonial-card { padding: 22px; }
  .faq-question { padding: 16px 18px; font-size: 0.95rem; }
  .faq-answer p { padding: 0 18px 16px; }
}

/* Respect users who turn off motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Utility Classes ── */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.w-full { width: 100%; }
.hidden { display: none !important; }
