﻿/* ============================================
   RADIANT DENTAL CARE | Premium Light Theme
   ============================================ */

:root {
  --primary: #2C7A7B;
  --primary-dark: #1E5253;
  --primary-light: #E6F7F7;
  --accent: #E8A87C;
  --accent-dark: #D4895A;
  --text-dark: #1A202C;
  --text-mid: #4A5568;
  --text-light: #718096;
  --bg-white: #FFFFFF;
  --bg-soft: #F7FAFC;
  --bg-warm: #FFF8F0;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --whatsapp: #25D366;
  --whatsapp-dark: #20BD5A;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.section { padding: 100px 0; position: relative; }

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

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

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-dark);
}

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

.highlight { color: var(--primary); }

/* ========== HEADER ========== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

#header.scrolled { box-shadow: var(--shadow-md); }

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.logo-text { line-height: 1.2; }
.logo-title { display: block; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--text-dark); }
.logo-sub { display: block; font-size: 0.7rem; color: var(--text-light); letter-spacing: 2px; text-transform: uppercase; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}

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

.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn-nav {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-nav:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

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

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

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(44,122,123,0.3);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(44,122,123,0.4); }

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

.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 4px 15px rgba(37,211,102,0.3); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-3px); }

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

.btn-submit { padding: 16px 40px; font-size: 1.05rem; margin-top: 8px; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-warm) 50%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.shape {
  position: absolute;
  border-radius: 50%;
}

.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(44,122,123,0.08) 0%, transparent 70%);
  top: -200px; right: -200px;
  animation: float 20s ease-in-out infinite;
}

.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,168,124,0.08) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px; height: 300px;
  border: 2px solid rgba(44,122,123,0.06);
  top: 50%; left: 20%;
  animation: float 15s ease-in-out infinite;
}

.shape-4 {
  width: 200px; height: 200px;
  background: rgba(44,122,123,0.03);
  bottom: 30%; right: 10%;
  animation: float 18s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-3deg); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(44,122,123,0.1);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge i { color: #F6B83D; }

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content p {
  color: var(--text-mid);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.hero-trust i { color: var(--primary); font-size: 0.85rem; }

.hero-visual { display: flex; justify-content: center; }

.hero-img-wrapper { position: relative; width: 100%; max-width: 480px; }

.hero-img-real {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: block;
}

.hero-card {
  position: absolute;
  background: var(--bg-white);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-card i { font-size: 1.8rem; color: var(--primary); }
.hero-card span { font-size: 0.8rem; color: var(--text-light); }
.hero-card strong { font-size: 1.4rem; color: var(--text-dark); display: block; }

.hero-card-1 { bottom: 20px; left: -20px; animation-delay: 0s; }
.hero-card-2 { top: 20px; right: -20px; animation-delay: 3s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
/* ========== TRUST BAND ========== */
.trust-band {
  background: var(--bg-white);
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}

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

.trust-item {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.trust-item:hover { background: var(--bg-soft); transform: translateY(-4px); }

.trust-item i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.trust-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.trust-item span:last-child {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========== ABOUT ========== */
.about { background: var(--bg-soft); }

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

.about-image { position: relative; }

.about-img-real {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.about-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: #fff;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-exp-badge strong { font-size: 2rem; line-height: 1; }
.about-exp-badge span { font-size: 0.7rem; opacity: 0.9; }

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 32px;
}

.about-features span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.about-features i { color: var(--primary); font-size: 0.9rem; }

/* ========== DENTISTS ========== */
.dentist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 420px;
  margin: 0 auto;
}

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

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

.dentist-img {
  background: linear-gradient(135deg, var(--primary-light), #FFF0E0);
  padding: 30px;
  display: flex;
  justify-content: center;
}

.dentist-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-md);
}

.dentist-avatar {
  width: 100px;
  height: 100px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.dentist-info { padding: 24px; }

.dentist-info h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.dentist-title {
  display: block;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.dentist-info p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.dentist-social { display: flex; justify-content: center; gap: 12px; }

.dentist-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

.dentist-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
/* ========== SERVICES ========== */
.services { background: var(--bg-soft); }

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

.service-card {
  background: var(--bg-white);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon { background: var(--primary); color: #fff; }

.service-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

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

.highlight-card {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--bg-warm), var(--bg-white));
}

.service-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
}

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

.gallery-item p {
  text-align: center;
  margin-top: 12px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.ba-container {
  display: flex;
  gap: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ba-box {
  flex: 1;
  padding: 32px 16px;
  text-align: center;
  position: relative;
}

.ba-box span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.ba-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.ba-placeholder i { font-size: 2rem; }

.ba-before { background: #FFF5F5; }
.ba-after { background: var(--primary-light); }
.ba-before span { color: #E53E3E; }
.ba-after span { color: var(--primary); }
.ba-before i { color: #FC8181; }
.ba-after i { color: var(--primary); }

/* ========== TESTIMONIALS ========== */
.testimonials { background: var(--bg-soft); }

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 40px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
}

.testi-stars { margin-bottom: 20px; }
.testi-stars i { color: #F6B83D; font-size: 1.1rem; margin: 0 2px; }

.testimonial-card p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testi-patient {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testi-avatar i { font-size: 2.2rem; color: var(--primary); }

.testi-patient strong { display: block; font-size: 1rem; color: var(--text-dark); }
.testi-patient span { font-size: 0.85rem; color: var(--text-light); }

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.testi-dot.active { background: var(--primary); width: 28px; border-radius: 5px; }
/* ========== BOOKING ========== */
.booking { background: var(--bg-soft); }

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.booking-benefits {
  background: var(--bg-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.booking-benefits h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.booking-benefits ul { list-style: none; }

.booking-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-mid);
}

.booking-benefits li:last-child { border-bottom: none; }
.booking-benefits li i { color: var(--primary); font-size: 1rem; }

.booking-contact-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 28px;
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
}

.booking-contact-card h4 { font-size: 1.1rem; margin-bottom: 16px; }

.booking-contact-card .btn { margin-bottom: 10px; }
.booking-contact-card .btn:last-child { margin-bottom: 0; }
.booking-contact-card .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }
.booking-contact-card .btn-primary:hover { background: var(--accent); color: #fff; }
.booking-contact-card .btn-whatsapp { box-shadow: none; }

.booking-form-wrapper {
  background: var(--bg-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.gform-container {
  width: 100%;
  overflow-y: auto;
  border-radius: var(--radius-sm);
  max-height: 680px;
}

.gform-container::-webkit-scrollbar {
  width: 6px;
}

.gform-container::-webkit-scrollbar-track {
  background: var(--bg-soft);
  border-radius: 3px;
}

.gform-container::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.gform-container::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

.gform-iframe {
  border: none;
  display: block;
  width: 100%;
}

/* ========== INSURANCE ========== */
.insurance { background: var(--bg-white); }

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

.insurance-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--bg-white);
}

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

.insurance-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.insurance-card h4 { margin-bottom: 8px; }
.insurance-card p { color: var(--text-mid); font-size: 0.9rem; }

/* ========== EMERGENCY ========== */
.emergency {
  background: linear-gradient(135deg, #FFF5F5, var(--bg-warm));
}

.emergency-wrapper {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 50px 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.emergency-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #FC8181, #E53E3E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: #fff;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229,62,62,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(229,62,62,0); }
}

.emergency-wrapper h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.emergency-wrapper p {
  color: var(--text-mid);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.emergency-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.emergency-info {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.emergency-info i { color: var(--primary); }

.pulse-animation { animation: pulseBtn 2s ease-in-out infinite; }

@keyframes pulseBtn {
  0%, 100% { box-shadow: 0 4px 15px rgba(44,122,123,0.3); }
  50% { box-shadow: 0 4px 30px rgba(44,122,123,0.5); }
}
/* ========== FAQ ========== */
.faq { background: var(--bg-soft); }

.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: var(--primary); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.faq-question i { transition: var(--transition); color: var(--text-light); font-size: 0.85rem; }

.faq-item.active .faq-question { color: var(--primary); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

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

.blog-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), #FFF0E0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.5;
}

.blog-content { padding: 24px; }

.blog-date {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.blog-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-content p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.blog-link:hover { gap: 12px; }

/* ========== CONTACT ========== */
.contact { background: var(--bg-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  display: flex;
  gap: 16px;
  background: var(--bg-white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.contact-card > i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 4px;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-card p { font-size: 0.9rem; color: var(--text-mid); }

.contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.map-container iframe { display: block; }

.map-actions { display: flex; gap: 12px; }

.map-actions .btn { flex: 1; justify-content: center; font-size: 0.85rem; padding: 12px 20px; }
/* ========== NEWSLETTER ========== */
.newsletter {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 80px 0;
}

.newsletter-wrapper {
  text-align: center;
  color: #fff;
  max-width: 550px;
  margin: 0 auto;
}

.newsletter-wrapper h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 12px;
}

.newsletter-wrapper p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

.newsletter-form .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}

.newsletter-form .btn-primary:hover { background: var(--accent); color: #fff; }

.newsletter-wrapper .highlight { color: var(--accent); }

/* ========== FOOTER ========== */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

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

.footer-col .logo .logo-title { color: #fff; }
.footer-col .logo .logo-sub { color: rgba(255,255,255,0.5); }

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 16px 0;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-col h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 20px;
}

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

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

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact li i { color: var(--accent); margin-top: 4px; }
.footer-contact li a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-contact li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 8px;
}

/* ========== FLOATING ACTION BUTTONS ========== */
.fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
}

.fab-call { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.fab-whatsapp { background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark)); }

.fab:hover { transform: scale(1.1); box-shadow: var(--shadow-xl); }

.fab-tooltip {
  position: absolute;
  right: 70px;
  background: var(--text-dark);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.fab-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--text-dark);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.fab:hover .fab-tooltip { opacity: 1; right: 75px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 3rem; }
  .section-header h2 { font-size: 2.2rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 32px; }
  .hero-buttons, .hero-trust { justify-content: center; }
  .hero-card-1 { left: 10px; }
  .hero-card-2 { right: 10px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-exp-badge { right: 10px; }
  .booking-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dentist-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .blog-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
  .insurance-grid { grid-template-columns: 1fr 1fr; }
  .map-actions { flex-direction: column; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    gap: 0;
  }
  .nav-links.active { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }
}

@media (max-width: 768px) {
  #header { top: 0; }
  .hero { padding: 130px 0 60px; }
  .hero-content h1 { font-size: 2.4rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .about-features { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.8rem; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .emergency-buttons { flex-direction: column; align-items: center; }
  .emergency-info { flex-direction: column; align-items: center; }
  .gallery-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .fab-container { bottom: 16px; right: 16px; }
  .fab { width: 52px; height: 52px; font-size: 1.3rem; }
  .hero-card-1 { bottom: 10px; left: 10px; }
  .hero-card-2 { top: 10px; right: 10px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .insurance-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 2rem; }
  .booking-form-wrapper { padding: 24px 20px; }
  .booking-benefits { padding: 24px 20px; }
}

/* ========== MODAL ========== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px 36px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #68D391, #38A169);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.2rem;
  color: #fff;
}

.modal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.modal-content > p {
  color: var(--text-mid);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.modal-details {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.modal-details p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.modal-details p:last-child {
  margin-bottom: 0;
}

.modal-details i {
  color: var(--primary);
}

.modal-details a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.modal-details a:hover {
  text-decoration: underline;
}
