/* ===== CSS RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0a1a3a;
  --navy-light: #0f2550;
  --blue: #1a5fb4;
  --blue-light: #2d7ce0;
  --cyan: #2ba8a8;
  --cyan-light: #7edddd;
  --orange: #e8610c;
  --orange-light: #f47a2e;
  --gold: #d4a853;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== FOCUS-VISIBLE (Accessibility) ===== */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Custom Scrollbar - Minimal & Blue */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-light);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
ul { list-style: none; }

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

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 26, 58, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: var(--transition);
}
.navbar.scrolled .nav-logo img { height: 40px; }
.nav-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-logo-text span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-links a.active {
  color: var(--cyan);
}
.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-light)) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(232, 97, 12, 0.4);
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232, 97, 12, 0.5) !important;
  background: linear-gradient(135deg, var(--orange-light), var(--orange)) !important;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  transition: var(--transition);
  vertical-align: middle;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10, 26, 58, 0.97);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.1);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: rgba(94, 206, 206, 0.15);
  color: var(--cyan);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 40%, #0d2d5e 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26, 95, 180, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(94, 206, 206, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(232, 97, 12, 0.08) 0%, transparent 40%);
}
.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-accent {
  display: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}
.hero-content {
  animation: fadeInLeft 1s ease forwards;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(94, 206, 206, 0.12);
  border: 1px solid rgba(94, 206, 206, 0.25);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 50px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(232, 97, 12, 0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(232, 97, 12, 0.5);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: all var(--transition);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat h3 {
  color: var(--cyan);
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}
.hero-stat p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-top: 4px;
}
.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease 0.3s forwards;
  opacity: 0;
}
.hero-image-wrapper {
  position: relative;
  overflow: hidden;
}
.hero-image-wrapper img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}
.hero-image-wrapper video {
  width: 100%;
  height: 650px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.hero-image-wrapper video:hover {
  transform: scale(1.03);
}
.hero-image-overlay {
  display: none;
}
.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
.hero-floating-card .hfc-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.hero-floating-card .hfc-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}
.hero-floating-card .hfc-value span {
  color: var(--orange);
}

/* ===== SECTION STYLING ===== */
.section {
  padding: 100px 0;
}
.section-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}
.section-light {
  background: var(--gray-50);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-dark .section-tag { color: var(--cyan); }
.section-header h2 {
  font-size: 2.6rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-dark .section-header h2 { color: var(--white); }
.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
}
.about-image-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--cyan);
  border-radius: var(--radius-md);
  opacity: 0.3;
}
.about-content h2 {
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.about-content h2 span { color: var(--orange); }
.about-content p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.about-feature:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.about-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.about-feature-icon.blue { background: rgba(26, 95, 180, 0.1); }
.about-feature-icon.orange { background: rgba(232, 97, 12, 0.1); }
.about-feature-icon.cyan { background: rgba(94, 206, 206, 0.1); }
.about-feature-icon.green { background: rgba(34, 197, 94, 0.1); }
.about-feature h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.about-feature p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.benefits-grid {
  grid-template-columns: repeat(4, 1fr);
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--white);
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-image img {
  transform: scale(1.08);
}
.service-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(255,255,255,1), transparent);
}
.service-card-body {
  padding: 28px;
}
.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.service-card-link:hover { gap: 12px; }
.service-card-link::after { content: '\2192'; }

/* ===== SPECIALTIES ===== */
.specialties-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}
.specialties-intro p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
}
.specialties-highlight {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(232, 97, 12, 0.3);
}
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.specialty-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}
.specialty-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.specialty-card:hover img {
  transform: scale(1.1);
}
.specialty-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 26, 58, 0.9) 0%, rgba(10, 26, 58, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}
.specialty-card:hover .specialty-card-overlay {
  background: linear-gradient(to top, rgba(10, 26, 58, 0.95) 0%, rgba(10, 26, 58, 0.4) 60%, rgba(10, 26, 58, 0.1) 100%);
}
.specialty-card h3 {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.specialty-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--transition);
}
.specialty-card:hover p {
  transform: translateY(0);
  opacity: 1;
}
.specialty-card .btn-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 12px;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--transition) 0.1s;
}
.specialty-card:hover .btn-small {
  transform: translateY(0);
  opacity: 1;
}

/* ===== TREATMENT ===== */
.treatment-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: center;
}
.treatment-product {
  position: relative;
  text-align: center;
}
.treatment-product-bg {
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, rgba(94, 206, 206, 0.08), rgba(26, 95, 180, 0.08));
  border-radius: 50%;
  filter: blur(40px);
}
.treatment-product img {
  position: relative;
  width: 320px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  animation: float 5s ease-in-out infinite;
}
.treatment-content h2 {
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.treatment-content h2 span { color: var(--orange); }
.treatment-content > p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 30px;
}
.treatment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.treatment-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
}
.treatment-badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.treatment-badge-icon.green { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.treatment-badge-icon.blue { background: rgba(26, 95, 180, 0.15); color: var(--blue); }
.treatment-badge-icon.orange { background: rgba(232, 97, 12, 0.15); color: var(--orange); }
.treatment-steps {
  display: grid;
  gap: 16px;
}
.treatment-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.treatment-step:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.treatment-step-number {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}
.treatment-step h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.treatment-step p {
  font-size: 0.88rem;
  color: var(--gray-500);
}

/* ===== DOCTOR ===== */
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.doctor-content { color: var(--white); }
.doctor-content h2 {
  font-size: 2.4rem;
  margin-bottom: 8px;
}
.doctor-content .doctor-title {
  color: var(--cyan);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.doctor-content p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  font-size: 1rem;
}
.doctor-credentials {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}
.doctor-credential {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cyan);
  transition: var(--transition);
}
.doctor-credential:hover {
  background: rgba(255,255,255,0.08);
  border-left-color: var(--orange);
}
.doctor-credential span {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.doctor-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.doctor-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 200px;
}
.doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.doctor-img:hover img { transform: scale(1.08); }
.doctor-img:first-child {
  grid-column: span 2;
  height: 260px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 97, 12, 0.2);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  color: var(--gray-200);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-card blockquote {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-author-info h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}
.testimonial-author-info p {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ===== TOURISM ===== */
.tourism-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.tourism-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  cursor: pointer;
}
.tourism-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.tourism-card:hover img {
  transform: scale(1.1);
}
.tourism-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 26, 58, 0.95) 0%, rgba(10, 26, 58, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}
.tourism-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 97, 12, 0.9);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  width: fit-content;
}
.tourism-card h3 {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.tourism-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ===== CLINIC / LOCATION ===== */
.clinic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.clinic-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-md);
}
.clinic-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.clinic-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.clinic-info h2 {
  font-size: 2rem;
  color: var(--navy);
}
.clinic-info h2 span { color: var(--orange); }
.clinic-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.clinic-info-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.clinic-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.clinic-info-icon.blue { background: rgba(26, 95, 180, 0.1); }
.clinic-info-icon.orange { background: rgba(232, 97, 12, 0.1); }
.clinic-info-icon.green { background: rgba(34, 197, 94, 0.1); }
.clinic-info-icon.cyan { background: rgba(94, 206, 206, 0.1); }
.clinic-info-item h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.clinic-info-item p {
  color: var(--gray-500);
  font-size: 0.9rem;
}
.clinic-info-item a {
  color: var(--blue);
  font-weight: 500;
  transition: color var(--transition);
}
.clinic-info-item a:hover { color: var(--orange); }
.clinic-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}
.clinic-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.clinic-gallery img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* ===== CLINIC PHOTO GALLERY (masonry) ===== */
.clinic-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.clinic-masonry-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.clinic-masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.clinic-masonry-item:hover img {
  transform: scale(1.08);
}
.clinic-masonry-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 14px;
  background: linear-gradient(to top, rgba(10,26,58,0.8), transparent);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}
.clinic-masonry-item:hover .clinic-masonry-label {
  opacity: 1;
  transform: translateY(0);
}
.clinic-masonry-wide {
  grid-column: span 2;
}
.clinic-masonry-tall {
  grid-row: span 2;
}
@media (max-width: 768px) {
  .clinic-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }
  .clinic-masonry-wide { grid-column: span 2; }
  .clinic-masonry-tall { grid-row: span 1; }
}
@media (max-width: 480px) {
  .clinic-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .clinic-masonry-wide { grid-column: span 1; }
}

/* ===== CONTACT CTA ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy), #0d2d5e);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(94, 206, 206, 0.1), transparent 70%);
}
.cta-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.cta-content p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* ===== FOOTER ===== */
.footer {
  background: #050e20;
  padding: 60px 0 0;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
}
.footer-brand .footer-imagotipo {
  height: 120px;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
  font-size: 1.1rem;
}
.footer-social a:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
}
.footer-column h4 {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-column a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  padding: 6px 0;
  transition: var(--transition);
}
.footer-column a:hover {
  color: var(--cyan);
  padding-left: 6px;
}
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 26, 58, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s ease;
  box-shadow: var(--shadow-xl);
}
.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}
.modal-header {
  position: sticky;
  top: 0;
  background: var(--white);
  padding: 24px 32px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.modal-header h2 {
  font-size: 1.4rem;
  color: var(--navy);
}
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-500);
  transition: var(--transition);
}
.modal-close:hover {
  background: var(--gray-200);
  color: var(--navy);
}
.modal-body {
  padding: 32px;
}
.modal-body p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}
.modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.modal-gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.modal-ba-section {
  margin: 28px 0;
}
.modal-ba-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.modal-ba-label.before {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.modal-ba-label.after {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}
.modal-ba-caption {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-style: italic;
  margin-top: 8px;
}
.modal-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 24px 0;
}

/* ===== WHATSAPP FLOATING ===== */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}


/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background: var(--blue);
  transform: translateY(-3px);
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 3px;
  margin-left: 4px;
  border: 1px solid rgba(255,255,255,0.15);
}
.lang-toggle button {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  background: transparent;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.lang-toggle button.active {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(26,95,180,0.4);
}

/* ===== ENHANCEMENT: About photo overlay ===== */
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 26, 58, 0.08), rgba(26, 95, 180, 0.12));
  border-radius: var(--radius-lg);
  pointer-events: none;
}

/* ===== ENHANCEMENT: Service card top accent ===== */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--cyan));
  z-index: 2;
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.service-card:hover::before {
  transform: scaleX(1);
}

/* ===== ENHANCEMENT: Specialty card glow on hover ===== */
.specialty-card {
  border: 2px solid transparent;
  transition: all 0.4s ease;
}
.specialty-card:hover {
  border-color: rgba(94, 206, 206, 0.5);
  box-shadow: 0 0 30px rgba(94, 206, 206, 0.2), 0 0 60px rgba(94, 206, 206, 0.1);
}

/* ===== ENHANCEMENT: Testimonial card gradient top border ===== */
.testimonial-card {
  border-top: 3px solid transparent;
  background-image: linear-gradient(var(--white), var(--white)), linear-gradient(90deg, var(--blue), var(--orange));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* ===== ENHANCEMENT: CTA sparkles ===== */
.cta-section .sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: sparkleFloat 4s ease-in-out infinite;
}
@keyframes sparkleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 1; transform: translateY(-20px) scale(1); }
  80% { opacity: 0.5; transform: translateY(-80px) scale(0.5); }
}

/* ===== ENHANCEMENT: Wave dividers ===== */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 50px;
}
.wave-divider.wave-dark-to-light {
  background: var(--navy);
}
.wave-divider.wave-light-to-dark {
  background: transparent;
}

/* ===== ENHANCEMENT: Typing effect ===== */
.typing-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.typing-label {
  white-space: nowrap;
}
.typing-text {
  color: var(--cyan);
  font-weight: 600;
  font-style: normal;
  border-right: 2px solid var(--cyan);
  padding-right: 4px;
  animation: blink 0.8s step-end infinite;
  min-width: 180px;
}
@keyframes blink {
  50% { border-color: transparent; }
}

/* ===== ENHANCEMENT: Counter animation ===== */
.hero-stat h3 {
  font-variant-numeric: tabular-nums;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 1; }
  .hero-visual { order: 0; max-width: 500px; margin: 0 auto; }
  .hero h1 { font-size: 2.6rem; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-floating-card { left: 50%; transform: translateX(-50%); bottom: -15px; }
  .about-grid { grid-template-columns: 1fr; }
  .treatment-grid { grid-template-columns: 1fr; }
  .doctor-grid { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .clinic-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 26, 58, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255,255,255,0.05);
    margin-top: 8px;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .specialties-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .tourism-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 2rem; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ===== CAMPAIGN ORB (floating circle beside hero video) ===== */
.hero-campaign-orb {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(232, 97, 12, 0.5);
  transition: all 0.3s ease;
  z-index: 5;
}
.hero-campaign-orb:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(232, 97, 12, 0.6);
}
/* Pulse rings */
.hco-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0;
  animation: orbPulse 2.5s ease-out infinite;
}
.hco-pulse-2 {
  animation-delay: 1.2s;
}
@keyframes orbPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}
/* Inner content */
.hco-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding: 10px;
}
.hco-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 50px;
}
.hco-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.hco-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
}
@media (max-width: 1024px) {
  .hero-campaign-orb {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 20px auto 0;
  }
}
@media (max-width: 480px) {
  .hero-campaign-orb {
    width: 150px;
    height: 150px;
  }
  .hco-title { font-size: 0.85rem; }
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-grid input::placeholder,
.contact-form-grid textarea::placeholder {
  color: rgba(255,255,255,0.4);
}
.contact-form-grid select option {
  background: var(--navy);
  color: white;
}
@media (max-width: 768px) {
  .contact-form-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .contact-form-grid .form-row {
    grid-template-columns: 1fr !important;
  }
}

/* ===== BOOKING WIDGET ===== */
.booking-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 26, 58, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 16px;
}
.booking-overlay.active {
  opacity: 1;
  visibility: visible;
}
.booking-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.booking-overlay.active .booking-modal {
  transform: translateY(0) scale(1);
}
.booking-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1;
}
.booking-close:hover {
  background: var(--gray-200);
  color: var(--navy);
}
.booking-step h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 4px;
  padding-right: 36px;
}
.booking-step > p {
  color: var(--gray-500);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.booking-back {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.booking-back:hover {
  color: var(--orange);
}

/* Calendar */
.booking-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.booking-calendar-nav button {
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--navy);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-calendar-nav button:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
}
.booking-calendar-nav button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.booking-calendar-nav span {
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  text-transform: capitalize;
}
.booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.booking-calendar-grid .cal-header {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  padding: 8px 0;
}
.booking-calendar-grid .cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  color: var(--gray-300);
  cursor: default;
  transition: var(--transition);
  border: none;
  background: none;
}
.booking-calendar-grid .cal-day.has-slots {
  color: var(--navy);
  cursor: pointer;
  font-weight: 600;
}
.booking-calendar-grid .cal-day.has-slots:hover {
  background: rgba(232, 97, 12, 0.1);
  color: var(--orange);
}
.booking-calendar-grid .cal-day.selected {
  background: var(--orange);
  color: var(--white);
}
.booking-calendar-grid .cal-day.today {
  box-shadow: inset 0 0 0 2px var(--blue);
}
.booking-calendar-grid .cal-day.empty {
  visibility: hidden;
}

/* Loading spinner */
.booking-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.booking-loading::after {
  content: '';
  width: 32px;
  height: 32px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: bookingSpin 0.7s linear infinite;
}
@keyframes bookingSpin {
  to { transform: rotate(360deg); }
}

/* Time slots */
.booking-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.booking-slot-pill {
  padding: 10px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.booking-slot-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.booking-slot-pill.selected {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.booking-no-slots {
  color: var(--gray-400);
  text-align: center;
  padding: 24px 0;
  font-size: 0.95rem;
}

/* Form */
#bookingForm input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 12px;
  transition: var(--transition);
  font-family: inherit;
}
#bookingForm input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.15);
}
#bookingForm input::placeholder {
  color: var(--gray-400);
}
.booking-summary {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.booking-summary strong {
  color: var(--orange);
}
.booking-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
}
.booking-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Success */
.booking-success {
  text-align: center;
  padding: 16px 0;
}
.booking-checkmark {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}
.booking-success h2 {
  padding-right: 0;
  color: #22c55e;
  margin-bottom: 8px;
}
.booking-success > p {
  color: var(--gray-500);
  margin-bottom: 24px;
}
.booking-details {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
  font-size: 0.95rem;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.booking-details strong {
  color: var(--orange);
}

/* Step transition */
.booking-step {
  animation: bookingFadeIn 0.3s ease;
}
@keyframes bookingFadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Mobile */
@media (max-width: 480px) {
  .booking-modal {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
    max-height: 95vh;
  }
  .booking-step h2 {
    font-size: 1.25rem;
  }
  .booking-calendar-grid .cal-day {
    font-size: 0.8rem;
  }
  .booking-slot-pill {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}
