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

/* --- Brand Identity System --- */
:root {
  --color-primary: #6C355E;      /* Púrpura Imperial */
  --color-primary-rgb: 108, 53, 94;
  --color-secondary: #B52A27;    /* Carmesí Vital */
  --color-secondary-rgb: 181, 42, 39;
  --color-text-dark: #4B4747;    /* Gris Metalizado */
  --color-text-light: #6E6A6A;
  --color-bg-light: #EDECEB;     /* Blanco Neutro */
  --color-bg-white: #FFFFFF;
  --color-success: #2E7D32;
  
  /* Glassmorphism & UI Tokens */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-bg-dark: rgba(108, 53, 94, 0.05);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-border-dark: rgba(108, 53, 94, 0.1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.025);
  --shadow-md: 0 10px 15px -3px rgba(108, 53, 94, 0.08), 0 4px 6px -2px rgba(108, 53, 94, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(108, 53, 94, 0.12), 0 10px 10px -5px rgba(108, 53, 94, 0.04);
  --shadow-premium: 0 30px 60px -15px rgba(108, 53, 94, 0.15);
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

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

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

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

.text-center {
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background-color: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
  color: var(--color-primary);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-bg-white);
  box-shadow: 0 8px 20px rgba(181, 42, 39, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(108, 53, 94, 0.3);
}

.btn-secondary {
  background-color: var(--color-bg-white);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(108, 53, 94, 0.15);
}

.btn-glass {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--color-bg-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
  background-color: var(--color-bg-white);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.2);
}

/* --- Header / Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(108, 53, 94, 0.05);
}

.header.scrolled .nav-link {
  color: var(--color-text-dark);
}

.header.scrolled .nav-link:hover {
  color: var(--color-primary);
}

.header.scrolled .logo-img {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  transition: var(--transition-smooth);
}

.header.scrolled .nav-container {
  padding: 0.8rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

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

.nav-link {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-bg-white);
  letter-spacing: 0.2px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-bg-white);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

.header.scrolled .mobile-menu-btn span {
  background-color: var(--color-primary);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(135deg, rgba(108, 53, 94, 0.8), rgba(20, 20, 20, 0.85)), url('../assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-bg-white);
  padding-top: 80px;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--color-bg-white), transparent);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.2s;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-bg-white);
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.hero-title span {
  color: var(--color-secondary);
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(181, 42, 39, 0.3);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 400;
  color: rgba(237, 236, 235, 0.9);
  margin-bottom: 3rem;
  line-height: 1.5;
  max-width: 680px;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* --- Hero Social Buttons --- */
.hero-social {
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
  justify-content: center;
}

.hero-social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.hero-social-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-social-btn.facebook:hover {
  background-color: #1877F2;
  border-color: #1877F2;
  color: var(--color-bg-white);
}

.hero-social-btn.instagram:hover {
  background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
  border-color: #DC2743;
  color: var(--color-bg-white);
}

.hero-social-btn.tiktok:hover {
  background-color: #010101;
  border-color: #00f2fe;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5), 0 0 20px rgba(254, 44, 85, 0.5);
  color: var(--color-bg-white);
}

.hero-social-btn.whatsapp:hover {
  background-color: #25D366;
  border-color: #25D366;
  color: var(--color-bg-white);
}

.hero-social-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* --- Brand Story Section (Meaning of CERO) --- */
.brand-story {
  background-color: var(--color-bg-white);
  position: relative;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.brand-story-text {
  opacity: 0;
  transform: translateX(-30px);
  transition: var(--transition-slow);
}

.brand-story-text.active {
  opacity: 1;
  transform: translateX(0);
}

.brand-story-explanation {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.brand-story-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.color-block {
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-bg-light);
  transition: var(--transition-smooth);
}

.color-block:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.color-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 2px solid var(--color-bg-white);
  box-shadow: var(--shadow-sm);
}

.color-badge.purple { background-color: var(--color-primary); }
.color-badge.crimson { background-color: var(--color-secondary); }
.color-badge.white { background-color: var(--color-bg-white); border: 2px solid var(--color-bg-light); }
.color-badge.black { background-color: #111111; }

.color-block h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.color-block p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

.brand-story-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.9);
  transition: var(--transition-slow);
}

.brand-story-visual.active {
  opacity: 1;
  transform: scale(1);
}

.brand-logo-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--color-bg-white);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(108, 53, 94, 0.05);
}

.brand-logo-container img {
  filter: drop-shadow(0 8px 16px rgba(108, 53, 94, 0.1));
  width: 100%;
}

.brand-logo-caption {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.4;
  border-top: 1px solid var(--color-bg-light);
  padding-top: 1rem;
}

/* --- About Us Section --- */
.about {
  background-color: var(--color-bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.about-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateX(-30px);
  transition: var(--transition-slow);
}

.about-left.active {
  opacity: 1;
  transform: translateX(0);
}

.about-card {
  background-color: var(--color-bg-white);
  padding: 2.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  border: 1px solid rgba(108, 53, 94, 0.03);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-primary);
}

.about-card.vision::before {
  background-color: var(--color-secondary);
}

.about-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.about-card p {
  color: var(--color-text-light);
  font-size: 0.98rem;
}

.about-right {
  background-color: var(--color-bg-white);
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(30px);
  transition: var(--transition-slow);
}

.about-right.active {
  opacity: 1;
  transform: translateX(0);
}

.about-right h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--color-bg-light);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.value-item {
  padding: 1.2rem;
  background-color: rgba(108, 53, 94, 0.02);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(108, 53, 94, 0.05);
  transition: var(--transition-smooth);
}

.value-item:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  transform: translateY(-2px);
}

.value-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  transition: var(--transition-smooth);
}

.value-item:hover h4 {
  color: var(--color-bg-white);
}

.value-item p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.4;
  transition: var(--transition-smooth);
}

.value-item:hover p {
  color: rgba(255, 255, 255, 0.85);
}

/* --- Services Section --- */
.services {
  background-color: var(--color-bg-white);
}

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

.service-card {
  background: var(--color-bg-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(108, 53, 94, 0.05);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.active {
  opacity: 1;
  transform: translateY(0);
}

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

.service-icon-wrapper {
  padding: 2rem 2rem 1rem 2rem;
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: var(--glass-bg-dark);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 1px solid var(--glass-border-dark);
  transition: var(--transition-smooth);
}

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

.service-body {
  padding: 0 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.service-description {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  flex-grow: 1;
}

.service-btn {
  align-self: flex-start;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-btn svg {
  transition: var(--transition-smooth);
}

.service-card:hover .service-btn svg {
  transform: translateX(4px);
}

/* --- Mascot Section (Doctor CERO) --- */
.mascot-banner {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  position: relative;
  overflow: hidden;
}

.mascot-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(181, 42, 39, 0.15);
}

.mascot-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: center;
}

.mascot-img-container {
  position: relative;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.mascot-img-container.active {
  opacity: 1;
  transform: translateY(0);
}

.mascot-img {
  max-height: 380px;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
  transition: var(--transition-smooth);
}

.mascot-img:hover {
  transform: translateY(-5px) rotate(1deg);
}

.mascot-text {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.mascot-text.active {
  opacity: 1;
  transform: translateY(0);
}

.mascot-title {
  color: var(--color-bg-white);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.mascot-quote-bubble {
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  position: relative;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.mascot-quote-bubble::after {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px 15px 10px 0;
  border-style: solid;
  border-color: transparent var(--color-bg-white) transparent transparent;
}

.mascot-quote-bubble h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}

.mascot-quote-bubble p {
  font-size: 0.95rem;
  line-height: 1.5;
  font-style: italic;
}

.mascot-tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mascot-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.tip-number {
  background-color: var(--color-secondary);
  color: var(--color-bg-white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mascot-tip p {
  font-size: 0.88rem;
  color: rgba(237, 236, 235, 0.9);
}

/* --- Medical Team Section --- */
.team {
  background-color: var(--color-bg-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.team-card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(108, 53, 94, 0.05);
  transition: var(--transition-smooth);
  opacity: 0;
  transform: translateY(30px);
}

.team-card.active {
  opacity: 1;
  transform: translateY(0);
}

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

.team-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 320px;
  background-color: var(--color-bg-light);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.team-info {
  padding: 2rem;
  text-align: center;
}

.team-name {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.9rem;
  color: var(--color-secondary);
  font-family: var(--font-title);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.team-exp {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

/* --- Facilities Section --- */
.facilities {
  background-color: var(--color-bg-light);
  overflow: hidden;
}

.gallery-slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.95);
  transition: var(--transition-slow);
}

.gallery-slider-container.active {
  opacity: 1;
  transform: scale(1);
}

.gallery-slider {
  position: relative;
  height: 480px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(108, 53, 94, 0.05);
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: flex-end;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 2;
}

.gallery-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slide-caption {
  position: relative;
  z-index: 3;
  width: 100%;
  background: linear-gradient(to top, rgba(108, 53, 94, 0.95), transparent);
  padding: 3rem 3rem 2rem 3rem;
  color: var(--color-bg-white);
}

.gallery-slide-caption h3 {
  color: var(--color-bg-white);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.gallery-slide-caption p {
  font-size: 0.95rem;
  color: rgba(237, 236, 235, 0.9);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: var(--color-bg-white);
  color: var(--color-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: none;
  transition: var(--transition-smooth);
}

.gallery-nav:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
}

.gallery-nav-prev { left: -25px; }
.gallery-nav-next { right: -25px; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-text-light);
  opacity: 0.3;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.gallery-dot.active {
  background-color: var(--color-primary);
  opacity: 1;
  width: 25px;
  border-radius: 10px;
}

/* --- Testimonials Section --- */
.testimonials {
  background-color: var(--color-bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.testimonial-card {
  background-color: var(--color-bg-white);
  padding: 2.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(108, 53, 94, 0.03);
  position: relative;
  transition: var(--transition-smooth);
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.active {
  opacity: 1;
  transform: translateY(0);
}

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

.stars-rating {
  color: #FFB300;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--color-text-dark);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

.patient-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.patient-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

.patient-details h4 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.1rem;
}

.patient-details p {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* --- Appointment Booking Section --- */
.booking {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  position: relative;
}

.booking::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(108, 53, 94, 0.95), rgba(181, 42, 39, 0.85));
  z-index: 1;
}

.booking .container {
  position: relative;
  z-index: 2;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.booking-info h2 {
  color: var(--color-bg-white);
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.booking-info p {
  color: rgba(237, 236, 235, 0.9);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.booking-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.booking-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.booking-feature-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.booking-feature-item p {
  margin-bottom: 0;
  font-weight: 500;
  font-size: 0.95rem;
}

.booking-form-wrapper {
  background-color: var(--color-bg-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-premium);
  color: var(--color-text-dark);
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.booking-form-wrapper.active {
  opacity: 1;
  transform: translateY(0);
}

.booking-form-wrapper h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  border: 1.5px solid var(--color-bg-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: rgba(108, 53, 94, 0.01);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.booking-form .btn {
  width: 100%;
  margin-top: 1rem;
}

/* --- Contact & Footer --- */
.contact-footer-group {
  background-color: var(--color-bg-light);
  padding-top: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.2rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(108, 53, 94, 0.05);
}

.contact-detail-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.contact-detail-text p {
  font-size: 0.92rem;
  color: var(--color-text-light);
}

.map-wrapper {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(108, 53, 94, 0.05);
  height: 100%;
  min-height: 380px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid rgba(108, 53, 94, 0.08);
  padding: 4rem 0 2rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  font-size: 1.15rem;
  color: var(--color-text-dark);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.footer-links-col h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background-color: var(--color-secondary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  background-color: var(--color-bg-white);
  border: 1px solid rgba(108, 53, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-bg-light);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

/* --- Services Detail Modals --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--color-bg-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  max-width: 600px;
  width: 90%;
  box-shadow: var(--shadow-premium);
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-light);
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--color-secondary);
}

.modal-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.modal-text {
  font-size: 1rem;
  color: var(--color-text-dark);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* --- Interactive Accordion (Misión / Visión) --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border-radius: var(--border-radius-md);
  background-color: var(--color-bg-white);
  border: 1px solid rgba(108, 53, 94, 0.05);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.accordion-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  user-select: none;
}

.accordion-icon {
  font-size: 1.2rem;
  transition: var(--transition-smooth);
  color: var(--color-secondary);
}

.accordion-item.active {
  box-shadow: var(--shadow-md);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 1.5rem;
}

.accordion-item.active .accordion-body {
  padding-bottom: 1.5rem;
}

.accordion-body p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- CSS Animations on Scroll classes --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .brand-story-grid, .about-grid, .mascot-grid, .booking-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
  .section-padding {
    padding: 4rem 0;
  }

  /* Mobile Navigation Menu - High Contrast & Stylized */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: linear-gradient(180deg, #46173B 0%, #290822 100%) !important;
    flex-direction: column;
    padding: 5.5rem 1.8rem 2.5rem 1.8rem;
    align-items: stretch;
    gap: 0.6rem;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.5);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1002;
    overflow-y: auto;
  }

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

  /* High contrast white text for mobile links */
  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link,
  .header.scrolled .nav-menu .nav-link,
  .header .nav-menu .nav-link {
    color: #FFFFFF !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    padding: 0.75rem 1rem !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  .nav-menu .nav-link:hover,
  .header.scrolled .nav-menu .nav-link:hover {
    color: #FFD54F !important;
    background: rgba(255, 255, 255, 0.12) !important;
    padding-left: 1.3rem !important;
  }

  .nav-menu .nav-link-cta {
    width: 100%;
    margin-top: 0.5rem;
    display: block;
  }

  .nav-menu .nav-link-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1003;
    background: rgba(108, 53, 94, 0.1);
    border-radius: 8px;
    padding: 8px;
  }

  .mobile-menu-btn span {
    background-color: var(--color-primary);
  }

  .header.scrolled .mobile-menu-btn span {
    background-color: var(--color-primary);
  }

  /* Hero Mobile */
  .hero {
    text-align: center;
    min-height: auto;
    padding: 7rem 0 4rem 0;
  }

  .hero-title {
    font-size: 2.35rem;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

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

  .hero-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .hero-pill {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Cards Adaptability */
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  /* About / Values Cards */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-right {
    padding: 2rem 1.4rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-height: 420px;
  }

  /* Brand Story Colors */
  .brand-story-colors {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .brand-logo-container {
    max-width: 100%;
    padding: 1.8rem 1.4rem;
  }

  /* Mascot Mobile */
  .mascot-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .mascot-img-container img {
    max-width: 220px;
    margin: 0 auto;
  }

  .mascot-quote-bubble::after {
    left: 50%;
    top: -15px;
    transform: translateX(-50%);
    border-width: 0 12px 15px 12px;
    border-color: transparent transparent var(--color-bg-white) transparent;
  }

  .mascot-tips-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Services Mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Team Mobile */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Testimonials Mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Facilities Slider Mobile */
  .gallery-slider {
    height: 280px;
  }

  .gallery-slide-caption {
    padding: 1.5rem 1rem 1rem 1rem;
  }

  .gallery-slide-caption h3 {
    font-size: 1.2rem;
  }

  .gallery-slide-caption p {
    font-size: 0.85rem;
  }

  /* Footer Mobile */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .booking-form-card {
    padding: 1.6rem 1.1rem;
  }

  .specialty-chip {
    padding: 0.75rem 0.9rem;
  }

  .live-pass-card {
    padding: 1.5rem 1.1rem;
  }

  .contact-detail-item {
    flex-direction: column;
    gap: 0.6rem;
  }

  .whatsapp-sticky {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 52px;
    height: 52px;
  }

  .whatsapp-sticky svg {
    width: 26px;
    height: 26px;
  }
}

/* --- Floating WhatsApp Button --- */
.whatsapp-sticky {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--color-bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1999;
  transition: var(--transition-smooth);
}

.whatsapp-sticky:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
  color: var(--color-bg-white);
}

.whatsapp-sticky svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ==========================================================================
   INSTITUTIONAL MODERN ENHANCEMENTS - CERO DOLOR
   ========================================================================== */

/* --- Institutional Top Bar --- */
.inst-topbar {
  background: linear-gradient(90deg, #441A3A 0%, #6C355E 50%, #8E2320 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1001;
}

.inst-topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.inst-topbar-left, .inst-topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.topbar-item svg, .topbar-item i {
  width: 14px;
  height: 14px;
  color: #F8D7DA;
}

.topbar-link {
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.topbar-link:hover {
  color: #FFC107;
  text-decoration: underline;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.topbar-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transition: var(--transition-smooth);
}

.topbar-social-icon:hover {
  background: white;
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Adjust header when topbar exists */
.header {
  top: 36px;
}

@media (max-width: 991px) {
  .inst-topbar-left span.hide-mobile {
    display: none;
  }
  .header {
    top: 34px;
  }
}

@media (max-width: 768px) {
  .inst-topbar {
    display: none;
  }
  .header {
    top: 0;
  }
}

/* --- Hero Trust Badges & Pills --- */
.hero-trust-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}

.hero-pill i, .hero-pill svg {
  width: 16px;
  height: 16px;
  color: #FFD54F;
}

/* --- Social Icons Modern Styling --- */
.hero-social-btn.facebook:hover {
  background-color: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.hero-social-btn.tiktok:hover {
  background-color: #000000;
  border-color: #EE1D52;
  box-shadow: 0 8px 20px rgba(238, 29, 82, 0.4);
}

.hero-social-btn.whatsapp:hover {
  background-color: #25D366;
  border-color: #25D366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.hero-social-btn.maps:hover {
  background-color: #EA4335;
  border-color: #EA4335;
  box-shadow: 0 8px 20px rgba(234, 67, 53, 0.4);
}

.hero-social-btn.ref:hover {
  background-color: var(--color-primary);
  border-color: var(--color-secondary);
  box-shadow: 0 8px 20px rgba(108, 53, 94, 0.4);
}

/* --- DYNAMIC BOOKING SECTION --- */
.booking-section-wrapper {
  background: #F9F6F9 !important;
  position: relative;
  overflow: hidden;
}

.booking-section-wrapper::before {
  display: none !important;
}

.dynamic-booking-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
}

.booking-interactive-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}

.booking-form-card {
  background: var(--color-bg-white);
  border-radius: var(--border-radius-lg);
  padding: 2.8rem;
  box-shadow: 0 20px 45px rgba(108, 53, 94, 0.08);
  border: 1px solid rgba(108, 53, 94, 0.08);
  position: relative;
}

.booking-form-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.form-step-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.9rem;
  margin-top: 1.5rem;
}

.form-step-title:first-of-type {
  margin-top: 0;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Specialty Selection Chips */
.specialty-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.specialty-chip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 2px solid #EAE6EB;
  background: #FAF8FA;
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
}

.specialty-chip:hover {
  border-color: rgba(108, 53, 94, 0.4);
  background: #FFF;
  transform: translateY(-2px);
}

.specialty-chip.active {
  border-color: var(--color-secondary);
  background: rgba(181, 42, 39, 0.05);
  box-shadow: 0 4px 12px rgba(181, 42, 39, 0.12);
}

.specialty-chip-icon {
  font-size: 1.4rem;
}

.specialty-chip-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--color-text-dark);
  line-height: 1.2;
}

.specialty-chip.active .specialty-chip-text strong {
  color: var(--color-secondary);
}

.specialty-chip-text small {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* Time Slots */
.time-slot-group {
  margin-top: 0.8rem;
}

.time-slot-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 0.4rem;
  display: block;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.slot-btn {
  padding: 0.55rem 0.4rem;
  background: #FAF8FA;
  border: 1.5px solid #E5DFE5;
  border-radius: 8px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

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

.slot-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 3px 8px rgba(108, 53, 94, 0.25);
}

/* Live Ticket Pass Card */
.live-pass-card {
  background: linear-gradient(135deg, #5B214D 0%, #3B1231 100%);
  color: white;
  border-radius: var(--border-radius-lg);
  padding: 2.2rem;
  box-shadow: 0 25px 50px rgba(91, 33, 77, 0.25);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.live-pass-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 42, 39, 0.35) 0%, transparent 70%);
}

.pass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}

.pass-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pass-brand img {
  height: 34px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.pass-brand-text span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.pass-brand-text strong {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: white;
}

.pass-badge {
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.4);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pass-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pass-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pass-field-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.65);
}

.pass-field-value {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
}

.pass-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pass-footer {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.pass-security-seal {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #81C784;
}

.pass-cta-note {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.9rem;
  border-radius: 10px;
  margin-top: 1.2rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  gap: 0.6rem;
}

/* WhatsApp Submit Button */
.btn-book-wa {
  width: 100%;
  padding: 1.1rem 1.8rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transition: var(--transition-smooth);
  margin-top: 1.5rem;
}

.btn-book-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.45);
  background: linear-gradient(135deg, #2ae06c 0%, #169b8b 100%);
}

.btn-book-wa svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Quick Copy Mini Button */
.btn-mini-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(108, 53, 94, 0.08);
  border: 1px solid rgba(108, 53, 94, 0.15);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 0.4rem;
  transition: var(--transition-smooth);
}

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

@media (max-width: 991px) {
  .booking-interactive-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .specialty-chips {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .booking-form-card {
    padding: 1.8rem 1.4rem;
  }
  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row-2 {
    grid-template-columns: 1fr !important;
  }
}


