/* ==========================================
   Vital Saúde — Modern Website Styles
   Cores: #0090C0 (primário), #090B20 (fundo escuro)
   ========================================== */

:root {
  --primary: #0090C0;
  --primary-dark: #0078a0;
  --primary-light: #e0f4fc;
  --accent: #f0a830;
  --text: #1a1a2e;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #090B20;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Dark Mode */
[data-theme="dark"] {
  --primary: #0090C0;
  --primary-dark: #00a8e0;
  --primary-light: rgba(0,144,192,0.15);
  --accent: #f0a830;
  --text: #e5e7eb;
  --text-light: #9ca3af;
  --text-muted: #6b7280;
  --bg: #0f111a;
  --bg-alt: #161825;
  --bg-dark: #090B20;
  --border: #2a2d3e;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -1px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.5), 0 4px 6px -2px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.6), 0 10px 10px -5px rgba(0,0,0,0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s ease, color 0.3s ease;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   Theme Toggle
   ========================================== */

.theme-toggle {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text);
  font-size: 18px;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.1);
}

.theme-toggle .fa-moon { display: none; }
.theme-toggle .fa-sun { display: block; }

[data-theme="dark"] .theme-toggle .fa-moon { display: block; }
[data-theme="dark"] .theme-toggle .fa-sun { display: none; }

/* Logo theme switching */
.logo .logo-dark { display: block; }
.logo .logo-light { display: none; }
[data-theme="dark"] .logo .logo-dark { display: none; }
[data-theme="dark"] .logo .logo-light { display: block; }

.footer-logo.logo-dark { display: none !important; }
.footer-logo.logo-light { display: block !important; }

/* ==========================================
   Buttons
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(0,144,192,0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,144,192,0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

.btn-light {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow);
}

[data-theme="dark"] .btn-light {
  background: var(--bg-alt);
  color: var(--primary);
}

.btn-light:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
}

[data-theme="dark"] .btn-light:hover {
  background: var(--border);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-full { width: 100%; }

/* ==========================================
   Top Bar
   ========================================== */

.top-bar {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  padding: 10px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-left i { opacity: 0.7; font-size: 13px; }

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 13px;
  transition: var(--transition);
}

.wa-btn:hover {
  background: #1ebe57;
  transform: translateY(-1px);
}

/* ==========================================
   Navigation
   ========================================== */

.navbar {
  background: var(--bg);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img { height: 48px; width: auto; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-menu a.active { color: var(--primary); }

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================
   Hero
   ========================================== */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/banner1.jpg') center/cover no-repeat;
  animation: heroBgFade 20s infinite;
}

@keyframes heroBgFade {
  0%, 25% { background-image: url('../images/banner1.jpg'); }
  33%, 58% { background-image: url('../images/banner2.jpg'); }
  66%, 91% { background-image: url('../images/banner3.jpg'); }
  100% { background-image: url('../images/banner1.jpg'); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,11,32,0.88) 0%, rgba(0,144,192,0.5) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content { max-width: 700px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ==========================================
   Section Headers
   ========================================== */

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

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

[data-theme="dark"] .section-tag {
  background: rgba(0,144,192,0.2);
  color: #4dc9f0;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ==========================================
   Services
   ========================================== */

.services {
  padding: 100px 0;
  background: var(--bg);
}

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

.service-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

[data-theme="dark"] .service-card:hover {
  border-color: rgba(0,144,192,0.3);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  color: var(--primary);
}

[data-theme="dark"] .service-icon {
  background: rgba(0,144,192,0.15);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

/* ==========================================
   Stats
   ========================================== */

.stats {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #0078a0 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item { color: white; }

.stat-number {
  display: block;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.85;
  font-weight: 500;
}

/* ==========================================
   Plans
   ========================================== */

.plans {
  padding: 100px 0;
  background: var(--bg-alt);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.plan-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
}

.plan-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  color: var(--text);
}

.plan-price {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.plan-desc {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.plan-features li:last-child { border-bottom: none; }

.plan-features li i {
  color: var(--primary);
  font-size: 14px;
}

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

.extra-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.extra-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.extra-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.extra-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================
   About Preview & About Section
   ========================================== */

.about-preview {
  padding: 100px 0;
  background: var(--bg);
}

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

.about-preview-img img,
.about-img img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  object-fit: cover;
  max-height: 500px;
}

.about-preview-content h2,
.about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text);
}

.about-preview-content p,
.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-section {
  padding: 100px 0;
  background: var(--bg);
}

/* ==========================================
   COVID Section
   ========================================== */

.covid-section {
  padding: 100px 0;
  background: var(--bg-alt);
}

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

.covid-img img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.covid-badge {
  display: inline-block;
  background: #fee2e2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.covid-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.covid-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.covid-list {
  list-style: none;
}

.covid-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text);
}

.covid-list li i {
  color: var(--primary);
  font-size: 8px;
}

/* ==========================================
   Why Choose
   ========================================== */

.why-choose {
  padding: 100px 0;
  background: var(--bg);
}

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

.why-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.why-card:hover {
  background: var(--bg);
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 22px;
}

[data-theme="dark"] .why-icon {
  background: rgba(0,144,192,0.15);
}

.why-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================
   CTA Banner
   ========================================== */

.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #0078a0 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.cta-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cta-form input {
  flex: 1;
  min-width: 240px;
  padding: 16px 24px;
  border-radius: 50px;
  border: none;
  font-size: 15px;
  outline: none;
  box-shadow: var(--shadow);
  font-family: var(--font);
}

.cta-form input::placeholder { color: var(--text-muted); }

/* ==========================================
   Page Header
   ========================================== */

.page-header {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0d1a3a 100%);
  text-align: center;
  color: white;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

/* ==========================================
   Values Section
   ========================================== */

.values-section {
  padding: 100px 0;
  background: var(--bg-alt);
}

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

.value-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

[data-theme="dark"] .value-card:hover {
  border-color: rgba(0,144,192,0.3);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 20px;
  font-size: 26px;
}

[data-theme="dark"] .value-icon {
  background: rgba(0,144,192,0.15);
}

.value-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================
   Products Section
   ========================================== */

.products-section {
  padding: 80px 0 100px;
  background: var(--bg);
}

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

.product-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  height: 200px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-placeholder {
  display: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

.product-info {
  padding: 20px;
}

.product-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--text);
}

.product-price {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ==========================================
   Contact Section
   ========================================== */

.contact-section {
  padding: 80px 0 100px;
  background: var(--bg);
}

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

.contact-info-col h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.contact-info-col > p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

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

[data-theme="dark"] .contact-detail-icon {
  background: rgba(0,144,192,0.15);
}

.contact-detail h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-detail p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.contact-social p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.contact-form {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  background: var(--bg-alt);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

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

.form-group textarea { resize: vertical; }

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

.map-section {
  padding: 0 0 100px;
  background: var(--bg);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ==========================================
   Footer
   ========================================== */

.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo { height: 48px; width: auto; margin-bottom: 20px; }

.footer-col > p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.footer-col h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover { color: white; }

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: white;
  font-size: 18px;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact i {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 14px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ==========================================
   Floating Buttons (WhatsApp + Back to Top)
   ========================================== */

.float-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
  color: white;
  font-size: 28px;
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: var(--bg-alt);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  z-index: 998;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,0.7); }
}

/* ==========================================
   Animations
   ========================================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 1024px) {
  .services-grid,
  .plans-grid,
  .why-grid,
  .values-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .about-preview-grid,
  .about-grid,
  .covid-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-preview-img,
  .about-img,
  .covid-img { order: -1; }

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

@media (max-width: 768px) {
  .top-bar-left { display: none; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    padding: 80px 32px;
    gap: 24px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-menu.open { right: 0; }

  .hero-cta { flex-direction: column; }

  .hero-cta .btn { width: 100%; }

  .services-grid,
  .plans-grid,
  .why-grid,
  .values-grid,
  .products-grid,
  .stats-grid,
  .plans-extra {
    grid-template-columns: 1fr;
  }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }

  .footer-social { justify-content: center; }

  .cta-form { flex-direction: column; }

  .cta-form input { min-width: auto; }

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

  .contact-form { padding: 24px; }

  .nav-right { gap: 16px; }
}

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

  .service-card,
  .plan-card,
  .value-card,
  .why-card,
  .product-card,
  .extra-card {
    padding: 24px;
  }

  .stats { padding: 60px 0; }

  .services,
  .plans,
  .about-preview,
  .about-section,
  .covid-section,
  .why-choose,
  .values-section,
  .products-section {
    padding: 60px 0;
  }
}
