/* ==========================================================================
   STYLE SYSTEM: VOE ODONTOLOGIA ESPECIALIZADA (PREMIUM VISUAL DESIGN)
   ========================================================================== */

/* Custom Variables & Design Tokens */
:root {
  --color-bg: #FCFDFE;          /* Clean Premium White Background */
  --color-primary: #FFFFFF;     /* Pure White Panels */
  --color-secondary: #F0F4F8;   /* Light Sky Blue Accent for structure */
  --color-gold: #3A86C8;        /* Soft Light Blue for Core Elements */
  --color-gold-light: #52B788;  /* Soft Mint Green Accent for tags/icons */
  --color-gold-rgb: 58, 134, 200;
  --color-white: #0B1C3E;       /* Dark Indigo for readable text over white */
  --color-white-premium: #1A2E40;/* Dark Slate for secondary text */
  --color-gray: #E9ECEF;        /* Light Gray */
  --color-gray-dark: #64748B;   /* Slate Gray for descriptions */
  
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-elastic: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --shadow-glow: 0 4px 15px rgba(58, 134, 200, 0.15);
  --shadow-glow-strong: 0 8px 25px rgba(82, 183, 136, 0.25);
  --shadow-premium: 0 10px 30px rgba(10, 28, 62, 0.08);
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(58, 134, 200, 0.1);
  --glass-blur: blur(16px);
}

/* --------------------------------------------------------------------------
   APPOINTMENTS & ADMIN STYLE
   -------------------------------------------------------------------------- */
.appointments-card {
  background: var(--color-primary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: var(--shadow-premium);
  text-align: center;
}

.search-instructions {
  font-size: 13px;
  color: var(--color-gray-dark);
  margin-bottom: 20px;
}

.admin-gear-btn {
  background: transparent;
  color: var(--color-gray-dark);
  font-size: 20px;
  border: none;
  cursor: pointer;
  padding: 5px;
  transition: var(--transition-smooth);
}

.admin-gear-btn:hover {
  color: var(--color-gold);
  transform: rotate(45deg);
}

.input-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.input-wrapper input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: var(--color-secondary);
  border: 1.5px solid rgba(58, 134, 200, 0.15);
  border-radius: 30px;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: var(--transition-smooth);
}

.input-wrapper input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(58, 134, 200, 0.1);
}

.input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gold);
  font-size: 16px;
}

/* Appointment Results */
.appointment-results {
  margin-top: 25px;
  border-top: 1.5px dashed rgba(58, 134, 200, 0.15);
  padding-top: 25px;
  text-align: left;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.patient-name {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-white);
  font-weight: 600;
}

.countdown-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(82, 183, 136, 0.1);
  color: #3b8a65;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(82, 183, 136, 0.2);
}

.countdown-badge.alert-today {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.2);
  animation: pulse-countdown 1.5s infinite;
}

@keyframes pulse-countdown {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

.result-detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--color-white-premium);
}

.result-item i {
  color: var(--color-gold);
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.no-appointment-found {
  color: #e74c3c;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  background: rgba(231, 76, 60, 0.05);
  border: 1px solid rgba(231, 76, 60, 0.15);
  padding: 12px;
  border-radius: 12px;
}

/* Premium Admin Modal Style */
.premium-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(3, 10, 22, 0.6);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: var(--color-bg);
  width: 90%;
  max-width: 440px;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 40px rgba(10, 28, 62, 0.2);
  padding: 24px;
  z-index: 2;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 12px;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-white);
}

.modal-close {
  font-size: 24px;
  color: var(--color-gray-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.modal-instructions {
  font-size: 12px;
  color: var(--color-gray-dark);
  margin-bottom: 15px;
}

/* Form Styles for Admin */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-gold);
}

.form-group input {
  padding: 10px 14px;
  background: var(--color-secondary);
  border: 1px solid rgba(58, 134, 200, 0.15);
  border-radius: 10px;
  color: var(--color-white);
  font-size: 13px;
  outline: none;
}

.form-group input:focus {
  border-color: var(--color-gold);
}

.admin-action-divider {
  margin: 20px 0;
  height: 1px;
  background: var(--glass-border);
}

.admin-appointments-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 5px;
}

.admin-appointment-item {
  background: var(--color-secondary);
  border: 1px solid var(--glass-border);
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.admin-appt-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.admin-appt-info strong {
  color: var(--color-white);
}

.admin-appt-info span {
  color: var(--color-gray-dark);
  font-size: 10px;
}

.btn-delete-appt {
  color: #e74c3c;
  font-size: 14px;
  padding: 6px;
}

.btn-delete-appt:hover {
  color: #c0392b;
}

/* Base Reset & Mobile Optimizations */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  color: var(--color-white-premium);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Hide scrollbars elegantly while allowing full scrolling */
body::-webkit-scrollbar {
  width: 6px;
}
body::-webkit-scrollbar-track {
  background: var(--color-bg);
}
body::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 10px;
}
body::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* --------------------------------------------------------------------------
   GLOBAL STYLES & LAYOUT
   -------------------------------------------------------------------------- */
.app-container {
  max-width: 480px; /* Locked app container width for premium smartphone look on desktop */
  margin: 0 auto;
  background-color: var(--color-bg);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
}

/* Top Sticky Scroll Alert */
.scroll-alert {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: rgba(3, 10, 22, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  color: var(--color-gold-light);
  text-align: center;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  z-index: 1000;
  text-transform: uppercase;
  pointer-events: none;
  animation: pulse-alert 2.5s infinite ease-in-out;
}

@keyframes pulse-alert {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.5; }
}

/* --------------------------------------------------------------------------
   SPLASH SCREEN (CINEMATIC LIGHT THEME)
   -------------------------------------------------------------------------- */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #FFFFFF 0%, #EAF2F8 100%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.splash-logo-container {
  width: 130px;
  height: 130px;
  margin-bottom: 20px;
  border-radius: 50%;
  padding: 10px;
  background: #FFFFFF;
  border: 1.5px solid rgba(58, 134, 200, 0.2);
  box-shadow: var(--shadow-glow);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: splash-pulse 3s infinite ease-in-out;
}

.splash-logo {
  width: 90%;
  height: auto;
  object-fit: contain;
}

.splash-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--color-white);
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--color-white) 30%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash-subtitle {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--color-gold-light);
  text-transform: uppercase;
  margin-bottom: 30px;
}

.splash-loader {
  width: 140px;
  height: 2.5px;
  background: rgba(58, 134, 200, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  border-radius: 4px;
  animation: load-animation 2.2s infinite ease-in-out;
}

@keyframes load-animation {
  0% { width: 0%; left: 0; }
  50% { width: 100%; left: 0; }
  100% { width: 0%; left: 100%; }
}

@keyframes splash-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--shadow-glow);
    border-color: rgba(58, 134, 200, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-strong);
    border-color: rgba(82, 183, 136, 0.5);
  }
}

/* --------------------------------------------------------------------------
   HERO SECTION (LIGHT THEME)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 80px 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at top, #EAF2F8 0%, var(--color-bg) 75%);
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}

.hero-glow {
  position: absolute;
  top: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.1) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-logo-box {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(58, 134, 200, 0.15);
  background: #FFFFFF;
  padding: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-glow);
  margin-bottom: 20px;
}

.hero-logo {
  width: 85%;
  height: auto;
  object-fit: contain;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 5px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--color-white) 40%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 25px;
}

.hero-authority {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 35px;
  font-size: 13px;
  color: var(--color-white-premium);
}

.hero-authority span {
  display: inline-block;
  background: rgba(58, 134, 200, 0.05);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(58, 134, 200, 0.08);
}

/* Hero Stats / Contadores */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--color-primary);
  border: 1px solid var(--glass-border);
  padding: 14px 8px;
  border-radius: 12px;
  box-shadow: var(--shadow-premium);
}

.stat-card.font-mini {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 2px;
}

.stat-number-simple {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 2px;
}

.stat-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gray-dark);
}

.stat-label-cro {
  font-size: 8px;
  color: var(--color-gray-dark);
  line-height: 1.2;
}

/* Buttons Grid */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto; /* Centers the button container block horizontally */
  align-items: center; /* Aligns buttons centrally inside the grid */
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: var(--transition-elastic);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, #296496 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: var(--shadow-glow);
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-glow-strong);
}

.btn-secondary {
  background: var(--color-primary);
  border: 1px solid rgba(58, 134, 200, 0.15);
  color: var(--color-white);
  box-shadow: var(--shadow-premium);
}

.btn-secondary:active {
  background: var(--color-secondary);
  border-color: rgba(58, 134, 200, 0.3);
  transform: scale(0.97);
}

.btn-gold {
  background: transparent;
  color: var(--color-gold-light);
  border: 1.5px solid var(--color-gold-light);
  box-shadow: 0 4px 10px rgba(82, 183, 136, 0.08);
}

.btn-gold:active {
  background: rgba(82, 183, 136, 0.05);
  transform: scale(0.97);
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-30deg);
  animation: shine-button 4s infinite linear;
}

@keyframes shine-button {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* --------------------------------------------------------------------------
   SECTION STYLING
   -------------------------------------------------------------------------- */
section {
  padding: 60px 24px;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  background-color: var(--color-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--color-gold-light);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.about-text .lead-text {
  font-size: 15px;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 14px;
  color: var(--color-gray-dark);
  margin-bottom: 20px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-white-premium);
}

.feature-item i {
  color: var(--color-gold-light);
}

.about-image-box {
  width: 100%;
}

.image-premium-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-premium);
}

.about-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.image-premium-frame:hover .about-img {
  transform: scale(1.05);
}

.frame-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 60%, rgba(240, 244, 248, 0.4));
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   PREMIUM GALLERY (CAROUSEL)
   -------------------------------------------------------------------------- */
.premium-gallery-carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-premium);
  aspect-ratio: 4 / 3;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out, visibility 0.8s;
  transform: scale(1.04);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 20px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 60%, transparent 100%);
  color: var(--color-white);
  text-align: center;
}

.carousel-caption h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.carousel-caption p {
  font-size: 11px;
  color: var(--color-gray-dark);
  font-weight: 500;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.carousel-btn:active {
  background: var(--color-gold);
  color: #FFFFFF;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(58, 134, 200, 0.3);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background: var(--color-gold);
  width: 16px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   SPECIALTIES GRID
   -------------------------------------------------------------------------- */
.specialties-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.specialty-card {
  background: var(--color-primary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition-elastic);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.specialty-card:active {
  border-color: rgba(82, 183, 136, 0.4);
  transform: translateY(-2px);
}

.specialty-featured {
  border: 1.5px solid rgba(82, 183, 136, 0.15);
  background: radial-gradient(circle at top right, rgba(82, 183, 136, 0.04), var(--color-primary));
  box-shadow: 0 10px 25px rgba(58, 134, 200, 0.05);
}

.card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--color-gold-light), #409C73);
  color: #FFFFFF;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 8px;
  border-radius: 4px;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(82, 183, 136, 0.08);
  border: 1px solid rgba(82, 183, 136, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: var(--color-gold-light);
  margin-bottom: 16px;
}

.specialty-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-white);
  margin-bottom: 8px;
}

.specialty-card p {
  font-size: 13px;
  color: var(--color-gray-dark);
  margin-bottom: 16px;
}

.card-benefit {
  font-size: 11px;
  color: #3b8a65;
  font-weight: 600;
  background: rgba(82, 183, 136, 0.06);
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 20px;
}

.btn-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

.btn-card-cta i {
  transition: transform 0.3s ease;
}

.btn-card-cta:active i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   TEAM SECTION
   -------------------------------------------------------------------------- */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.team-card {
  background: var(--color-primary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.team-image-box {
  width: 100%;
  height: 320px;
  position: relative;
  overflow: hidden;
  background-color: var(--color-secondary);
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Align from the top to ensure heads are not cropped */
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* Focus on the top area to keep the face and head visible */
  transition: transform 0.6s ease;
}

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

.team-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(252, 253, 254, 0.95) 0%, rgba(252, 253, 254, 0.1) 65%, transparent 100%);
}

.team-info {
  padding: 24px;
}

.team-info h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-white);
  margin-bottom: 4px;
}

.team-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 12px;
}

.team-desc {
  font-size: 13px;
  color: var(--color-gray-dark);
  margin-bottom: 20px;
  font-style: italic;
}

.btn-card-booking {
  padding: 12px 20px;
  font-size: 11px;
  background: linear-gradient(135deg, var(--color-gold-light) 0%, #409C73 100%);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card {
  background: var(--color-primary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}

.testimonial-card .stars {
  color: var(--color-gold-light);
  font-size: 11px;
  margin-bottom: 12px;
  display: flex;
  gap: 3px;
}

.testimonial-text {
  font-size: 13px;
  font-style: italic;
  color: var(--color-white-premium);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.author-avatar {
  font-size: 28px;
  color: var(--color-gold);
}

.author-info h4 {
  font-size: 13px;
  color: var(--color-white);
}

.author-info span {
  font-size: 10px;
  color: var(--color-gray-dark);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   LIVE SCHEDULE SECTION
   -------------------------------------------------------------------------- */
.live-schedule-card {
  background: radial-gradient(circle at top left, #FFFFFF 0%, var(--color-secondary) 100%);
  border: 1.5px solid rgba(82, 183, 136, 0.2);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.schedule-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.06) 0%, transparent 70%);
  filter: blur(20px);
}

.schedule-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
}

.schedule-header h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-white);
}

/* Status Badge */
.schedule-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: var(--color-gray-dark);
}

/* Open State */
.schedule-status-badge.status-open {
  border-color: rgba(46, 204, 113, 0.3);
  background: rgba(46, 204, 113, 0.05);
  color: #2ecc71;
}
.schedule-status-badge.status-open .status-dot {
  background: #2ecc71;
  box-shadow: 0 0 10px #2ecc71;
  animation: pulse-dot 1.5s infinite;
}

/* Closed State */
.schedule-status-badge.status-closed {
  border-color: rgba(231, 76, 60, 0.3);
  background: rgba(231, 76, 60, 0.05);
  color: #e74c3c;
}
.schedule-status-badge.status-closed .status-dot {
  background: #e74c3c;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.schedule-day {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.schedule-day span {
  color: var(--color-gray-dark);
}

.schedule-day strong {
  color: var(--color-white-premium);
}

.schedule-day strong.closed-label {
  color: var(--color-gold);
}

.schedule-footer {
  font-size: 11px;
  color: var(--color-gray-dark);
  text-align: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 14px;
}

/* --------------------------------------------------------------------------
   LOCATION SECTION
   -------------------------------------------------------------------------- */
.location-card {
  background: var(--color-primary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.map-container {
  width: 100%;
  height: 220px;
  position: relative;
}

.location-info {
  padding: 24px;
  text-align: center;
}

.location-info h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-white);
  margin-bottom: 12px;
}

.location-info p {
  font-size: 13px;
  color: var(--color-gray-dark);
  margin-bottom: 16px;
  line-height: 1.5;
}

.location-info p i {
  color: var(--color-gold);
  margin-right: 6px;
}

.location-info .btn {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   INSTALL SECTION (PWA EXCLUSIVE)
   -------------------------------------------------------------------------- */
.install-card {
  background: radial-gradient(circle at top right, #FFFFFF 0%, var(--color-secondary) 100%);
  border: 1.5px solid rgba(82, 183, 136, 0.2);
  border-radius: 24px;
  padding: 30px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.install-decor-glow {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(58, 134, 200, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.install-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1.5px solid var(--color-gold);
  padding: 6px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-glow);
  margin-bottom: 20px;
}

.install-icon {
  width: 90%;
  height: auto;
}

.install-card h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 12px;
}

.install-card p {
  font-size: 13px;
  color: var(--color-gray-dark);
  margin-bottom: 25px;
}

.ios-instruction-box {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px;
  margin-top: 25px;
  text-align: left;
}

.ios-info-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.ios-steps {
  font-size: 11px;
  color: var(--color-white-premium);
  padding-left: 16px;
}

.ios-steps li {
  margin-bottom: 8px;
}

.ios-steps li i {
  color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   EMOTIONAL SECTION
   -------------------------------------------------------------------------- */
.emotional-section {
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, #FFFFFF 0%, var(--color-secondary) 100%);
}

.emotional-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(82, 183, 136, 0.015) 25%, transparent 25%), 
                    linear-gradient(225deg, rgba(82, 183, 136, 0.015) 25%, transparent 25%);
  background-size: 40px 40px;
  pointer-events: none;
}

.playfair-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-style: italic;
  font-weight: 500;
  color: var(--color-gold);
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.emotional-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 35px;
}

.badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-white-premium);
  background: var(--color-primary);
  border: 1px solid var(--glass-border);
  padding: 10px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  box-shadow: var(--shadow-premium);
}

.badge i {
  color: var(--color-gold-light);
  font-size: 13px;
}

.btn-large {
  max-width: 320px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   FOOTER PREMIUM
   -------------------------------------------------------------------------- */
.footer-premium {
  background-color: var(--color-secondary);
  padding: 50px 24px 30px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 70px;
  height: 70px;
  margin-bottom: 12px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-white);
  letter-spacing: 2px;
}

.footer-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold-light);
  margin-top: 4px;
}

.footer-info {
  font-size: 12px;
  color: var(--color-gray-dark);
  line-height: 1.6;
}

.footer-address {
  margin-bottom: 8px;
}

.footer-phone {
  font-weight: 600;
  color: var(--color-white-premium);
  margin-bottom: 10px;
}

.cro-footer {
  font-size: 10px;
  color: var(--color-gold);
  letter-spacing: 1px;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 1px solid var(--glass-border);
  color: var(--color-white-premium);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-premium);
}

.footer-socials a:active {
  background: var(--color-gold);
  color: #FFFFFF;
  border-color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(58, 134, 200, 0.1);
  padding-top: 20px;
  font-size: 10px;
  color: var(--color-gray-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-btn-install {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.footer-btn-install:active {
  background: rgba(58, 134, 200, 0.05);
}

/* --------------------------------------------------------------------------
   FLOATING CONTROLS
   -------------------------------------------------------------------------- */
.floating-controls {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Float Buttons Wrapper */
.floating-btn-container {
  position: relative;
}

.btn-float {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(10, 28, 62, 0.15);
  transition: var(--transition-elastic);
  position: relative;
  z-index: 10;
}

.btn-float:active {
  transform: scale(0.9);
}

.btn-float-whatsapp {
  background: #25d366;
  color: #FFFFFF;
  animation: pulse-whatsapp 2.5s infinite;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.btn-float-install {
  background: linear-gradient(135deg, var(--color-gold) 0%, #296496 100%);
  color: #FFFFFF;
  animation: pulse-install 3s infinite;
}

@keyframes pulse-install {
  0% { box-shadow: 0 0 0 0 rgba(58, 134, 200, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(58, 134, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 134, 200, 0); }
}

.btn-close-float {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  color: var(--color-white-premium);
  font-size: 11px;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 11;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tooltip-premium {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-gold);
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: var(--shadow-premium);
}

.floating-btn-container:hover .tooltip-premium {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   REVEAL & SCROLL ANIMATIONS
   -------------------------------------------------------------------------- */
.animate-reveal {
  opacity: 0;
  transform: translateY(25px);
  animation: reveal-key 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-reveal.delay-1 { animation-delay: 0.25s; }
.animate-reveal.delay-2 { animation-delay: 0.5s; }
.animate-reveal.delay-3 { animation-delay: 0.75s; }
.animate-reveal.delay-4 { animation-delay: 1.0s; }

@keyframes reveal-key {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* On-scroll revealing class (triggered via JS IntersectionObserver) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   MEDIA QUERY FOR SMALL SCREEN ADAPTATION
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .app-container {
    box-shadow: none;
  }
  .scroll-alert {
    max-width: 100vw;
  }
}
