/* ==========================================================================
   Clinica Fisioterapia Turia - Landing Demo Premium
   Design System & Styling (Zero-Bloat Vanilla CSS)
   ========================================================================== */

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-soft: #f0f9ff;
  --primary-dark: #0c4a6e;
  --accent: #059669;
  --accent-light: #d1fae5;
  --dark: #0f172a;
  --slate-800: #1e293b;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px -6px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 8px 24px rgba(2, 132, 199, 0.25);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color: var(--dark);
  font-family: var(--font-sans);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

input, textarea, select {
  user-select: auto;
  -webkit-user-select: auto;
}

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

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

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

/* ==========================================================================
   Top Sanitari Bar & Announcement
   ========================================================================== */
.top-bar {
  background: var(--dark);
  color: var(--slate-200);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-item svg {
  width: 14px;
  height: 14px;
  color: #38bdf8;
}

.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38bdf8;
  font-weight: 500;
  transition: var(--transition);
}

.top-contact a:hover {
  color: var(--white);
}

/* ==========================================================================
   Header & Sticky Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), #38bdf8);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.brand-icon svg {
  width: 24px;
  height: 24px;
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  line-height: 1.2;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--slate-600);
  font-weight: 500;
  display: block;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.35);
}

.btn-secondary {
  background: var(--slate-100);
  color: var(--slate-800);
}

.btn-secondary:hover {
  background: var(--slate-200);
}

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

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 64px 0 80px;
  background: radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.6) 0%, rgba(255, 255, 255, 1) 70%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-tag svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), #0369a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--slate-600);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-rating {
  display: flex;
  flex-direction: column;
}

.stars {
  display: flex;
  color: #f59e0b;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.trust-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}

.trust-text span {
  font-weight: 500;
  color: var(--slate-600);
}

.hero-visual {
  position: relative;
}

.hero-card-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.hero-card-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--slate-100);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.badge-icon-box {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.badge-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
}

.badge-info p {
  font-size: 0.8rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section {
  padding: 88px 0;
}

.section-bg-light {
  background-color: var(--slate-50);
}

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

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

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

.service-icon svg {
  width: 28px;
  height: 28px;
}

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

.service-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   Technology / Diatermia Highlight Section
   ========================================================================== */
.tech-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

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

.tech-content h3 {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
}

.tech-content p {
  color: var(--slate-400);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.tech-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--slate-200);
}

.tech-item svg {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  flex-shrink: 0;
}

.tech-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.tech-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ==========================================================================
   Method / 4-Step Process
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  position: relative;
  transition: var(--transition);
}

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 18px;
}

.step-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   Pricing & Bonos Section (Connected with CRM logic)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.pricing-header p {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 24px;
}

.pricing-cost {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.pricing-cost .amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}

.pricing-cost .period {
  font-size: 0.9rem;
  color: var(--slate-600);
}

.pricing-savings {
  display: inline-block;
  background: var(--accent-light);
  color: #065f46;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--slate-800);
  margin-bottom: 12px;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   Team Section (3 Colegiados con Polo Azul Celeste)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: var(--transition);
}

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

.team-photo-wrap {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: var(--slate-100);
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s ease;
}

.team-card:nth-child(2) .team-photo-wrap img,
.team-photo-wrap img[src*="physio_male"] {
  object-position: center top;
}

.team-card:hover .team-photo-wrap img {
  transform: scale(1.04);
}

.team-collegiate-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.team-collegiate-badge svg {
  width: 13px;
  height: 13px;
  color: #38bdf8;
}

.team-body {
  padding: 24px;
}

.team-body h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-body .team-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.team-body p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 16px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pill {
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-800);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   Reviews (Google Trust)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

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

.reviewer-info h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
}

.reviewer-info span {
  font-size: 0.75rem;
  color: var(--slate-400);
}

.google-icon svg {
  width: 22px;
  height: 22px;
}

.review-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-top: 12px;
  flex-grow: 1;
}

/* ==========================================================================
   Interactive Booking Widget (3 Steps)
   ========================================================================== */
.booking-section {
  background: linear-gradient(135deg, var(--primary-soft) 0%, #f0fdf4 100%);
  position: relative;
}

.booking-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.booking-header {
  background: var(--dark);
  color: var(--white);
  padding: 28px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.booking-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.booking-header p {
  font-size: 0.88rem;
  color: var(--slate-400);
}

.wizard-steps {
  display: flex;
  gap: 8px;
}

.wizard-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.wizard-step-dot.active {
  background: var(--primary);
  box-shadow: var(--shadow-glow);
}

.wizard-step-dot.completed {
  background: var(--accent);
}

.booking-content {
  padding: 40px;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.option-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.option-card {
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.option-card:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.option-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.option-card input[type="radio"] {
  accent-color: var(--primary);
  margin-top: 4px;
}

.option-text h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.option-text p {
  font-size: 0.82rem;
  color: var(--slate-600);
}

.option-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--slate-200);
  transition: var(--transition);
}

.option-card.selected .option-avatar {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.option-avatar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.option-card.selected .option-avatar-icon {
  background: var(--primary);
  color: var(--white);
}

.wizard-subheading {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wizard-subheading svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--dark);
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.legal-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--slate-600);
  margin-bottom: 28px;
}

.legal-checkbox input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--slate-200);
}

.faq-question {
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--slate-400);
}

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

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

.faq-answer-inner {
  padding-bottom: 22px;
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: var(--slate-400);
  padding: 72px 0 36px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-col p {
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: #38bdf8;
}

.sanitary-badge-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--slate-200);
}

.sanitary-badge-box strong {
  color: #38bdf8;
  display: block;
  margin-bottom: 4px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
}

/* ==========================================================================
   Floating Action Buttons (WhatsApp & Call)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.floating-btn svg {
  width: 28px;
  height: 28px;
}

.floating-whatsapp {
  background: #25D366;
}

/* ==========================================================================
   Date & Time Picker Slots & Receipt Card
   ========================================================================== */
.date-selector-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.date-tab-btn {
  flex: 1;
  min-width: 105px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.date-tab-btn:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.date-tab-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.15);
}

.date-tab-btn.tab-urgent {
  border-color: #fca5a5;
  background: #fff1f2;
}

.date-tab-btn.tab-urgent:hover {
  background: #ffe4e6;
  border-color: #f43f5e;
}

.date-tab-btn.tab-urgent.active {
  border-color: #e11d48;
  background: #ffe4e6;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.2);
}

.date-tab-btn .tab-day {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--slate-600);
  display: block;
  font-weight: 600;
}

.date-tab-btn .tab-date {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--dark);
}

.time-slots-container {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 16px;
}

.slot-turn-title {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--slate-600);
  letter-spacing: 0.05em;
  margin: 6px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.slot-pill {
  padding: 9px 12px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  user-select: none;
}

.slot-pill:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.slot-pill.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.slot-pill.disabled {
  opacity: 0.38;
  background: var(--slate-100);
  border-color: var(--slate-200);
  color: var(--slate-400);
  cursor: not-allowed;
  text-decoration: line-through;
  pointer-events: none;
}

.slot-pill.available-badge {
  position: relative;
}

.slot-sync-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #059669;
  font-weight: 700;
  margin-top: 4px;
}

.slot-sync-indicator.syncing {
  color: #0284c7;
}

.slot-sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.slot-sync-indicator.syncing .slot-sync-dot {
  background: #0284c7;
  animation: pulse 1s infinite alternate;
}

.selected-appointment-bar {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #166534;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.receipt-card {
  background: var(--white);
  border: 1.5px solid #86efac;
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 520px;
  margin: 0 auto 24px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.1);
}

.receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--slate-100);
  margin-bottom: 14px;
}

.receipt-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--slate-200);
  font-size: 0.88rem;
}

.receipt-row:last-child {
  border-bottom: none;
  padding-top: 12px;
}

.receipt-label {
  color: var(--slate-600);
  font-weight: 600;
}

.receipt-val {
  font-weight: 800;
  color: var(--dark);
  text-align: right;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid, .team-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .option-selector-grid, .form-group-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
