:root {
  /* Paleta oficial inspirada en logo_alivio360.jpeg y hero de referencia */
  --bg-primary: #0b0f14;
  --bg-secondary: #10161e;
  --bg-card: rgba(20, 28, 38, 0.72);
  --bg-card-hover: rgba(27, 38, 52, 0.9);
  --bg-glass: rgba(13, 18, 25, 0.78);

  --brand-blue: #38a3dc;
  --brand-blue-light: #5ec0f5;
  --brand-blue-dark: #2481b4;
  --brand-blue-glow: rgba(56, 163, 220, 0.28);
  --brand-blue-soft: rgba(56, 163, 220, 0.12);

  --brand-grey: #7d7d7d;
  --text-primary: #ffffff;
  --text-secondary: #b0bac5;
  --text-muted: #7b8794;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(56, 163, 220, 0.35);

  --success: #2dd4bf;
  --warning: #fbbf24;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 9999px;

  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-blue: 0 12px 32px rgba(56, 163, 220, 0.28);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Cursor Glow / Ambient Light */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(56, 163, 220, 0.24) 0%,
      rgba(56, 163, 220, 0.1) 35%,
      rgba(56, 163, 220, 0) 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 90;
  transition: width 0.3s, height 0.3s;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Typography Helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--brand-blue);
}

.section-header {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.center .eyebrow::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--brand-blue);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--brand-blue);
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
  background: rgba(11, 15, 20, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(8, 12, 17, 0.9);
  border-bottom-color: rgba(56, 163, 220, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
  group: true;
}

.brand-logo-img-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(56, 163, 220, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(56, 163, 220, 0.18);
  transition: var(--transition);
}

.brand-logo:hover .brand-logo-img-wrap {
  transform: scale(1.05) rotate(-2deg);
  border-color: var(--brand-blue);
  box-shadow: 0 0 25px rgba(56, 163, 220, 0.4);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-title strong {
  font-weight: 600;
  color: #ffffff;
}

.brand-title span {
  color: var(--brand-blue);
  font-weight: 500;
}

.brand-subtitle {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

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

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
  color: #5eead4;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.online-pill:hover {
  background: rgba(45, 212, 191, 0.18);
  transform: translateY(-1px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--success);
  opacity: 0.5;
  animation: pulseRing 2s infinite;
}

.pulse-dot.blue {
  background: var(--brand-blue);
}

.pulse-dot.blue::after {
  background: var(--brand-blue);
}

@keyframes pulseRing {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }

  100% {
    transform: scale(2.3);
    opacity: 0;
  }
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--brand-blue-light);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(56, 163, 220, 0.42);
}

.btn-primary .arrow-icon {
  transition: transform 0.3s ease;
}

.btn-primary:hover .arrow-icon {
  transform: translate(3px, -3px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 163, 220, 0.55);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* ==========================================
   HERO SECTION (Inspired by reference image)
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
  background: radial-gradient(circle at 72% 38%, rgba(56, 163, 220, 0.11) 0%, rgba(11, 15, 20, 0) 55%),
    linear-gradient(180deg, #0b0f14 0%, #0f151d 100%);
}

/* Concentric 360° Orbital Arcs from Reference Image */
.hero-orbitals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(56, 163, 220, 0.12);
  box-shadow: inset 0 0 80px rgba(56, 163, 220, 0.04);
}

.orbital-1 {
  width: 780px;
  height: 780px;
  top: -180px;
  right: -120px;
  border-width: 55px;
  border-color: rgba(52, 155, 210, 0.614);
  animation: floatSlow 14s ease-in-out infinite alternate;
}

.orbital-2 {
  width: 1050px;
  height: 1050px;
  top: -320px;
  right: -250px;
  border: 1.5px solid rgba(56, 163, 220, 0.14);
  animation: rotateSlow 60s linear infinite;
}

.orbital-3 {
  width: 560px;
  height: 560px;
  bottom: -240px;
  left: 32%;
  border-width: 36px;
  border-color: rgba(56, 163, 220, 0.035);
  animation: floatSlow 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-25px, 20px) scale(1.04);
  }
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

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

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: clamp(2.6rem, 5.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}

.hero-title .line-white {
  display: block;
  color: #ffffff;
}

.hero-title .line-blue {
  display: block;
  color: var(--brand-blue);
  background: linear-gradient(90deg, #38a3dc 0%, #68c8fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 590px;
}

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

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  padding: 8px 16px 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h4 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-item h4 span {
  color: var(--brand-blue);
}

.stat-item p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero Visual Showcase Card (Right Column) */
.hero-visual {
  position: relative;
}

.showcase-card {
  background: linear-gradient(145deg, rgba(22, 31, 43, 0.88), rgba(12, 18, 26, 0.94));
  border: 1px solid rgba(56, 163, 220, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(56, 163, 220, 0.12);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.showcase-card:hover {
  transform: translateY(-6px);
}

.showcase-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(56, 163, 220, 0.35), transparent 70%);
  pointer-events: none;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.showcase-brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(56, 163, 220, 0.4);
}

.showcase-brand h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.showcase-brand p {
  font-size: 0.78rem;
  color: var(--brand-blue-light);
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(56, 163, 220, 0.15);
  border: 1px solid rgba(56, 163, 220, 0.35);
  color: var(--brand-blue-light);
  font-size: 0.74rem;
  font-weight: 700;
}

/* Interactive Recovery Radar / Logo Showcase inside Hero Card */
.hero-logo-banner {
  background: #000000;
  border-radius: var(--radius-md);
  padding: 0;
  width: 100%;
  height: 225px;
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(56, 163, 220, 0.25);
  margin-bottom: 20px;
}

.hero-logo-banner img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logo-banner:hover img {
  transform: scale(1.05);
}

@keyframes gentlePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

.quick-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.mode-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  transition: var(--transition);
  cursor: pointer;
}

.mode-box:hover,
.mode-box.active {
  background: rgba(56, 163, 220, 0.12);
  border-color: var(--brand-blue);
}

.mode-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.mode-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(56, 163, 220, 0.16);
  color: var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mode-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(45, 212, 191, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.mode-box h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.mode-box p {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.next-slot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(56, 163, 220, 0.1);
  border: 1px solid rgba(56, 163, 220, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.next-slot-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
}

.next-slot-info strong {
  color: var(--brand-blue-light);
}

.next-slot-link {
  color: #ffffff;
  background: var(--brand-blue);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.next-slot-link:hover {
  background: var(--brand-blue-light);
}

/* Floating Badges around Hero Card */
.float-badge {
  position: absolute;
  background: rgba(15, 22, 32, 0.92);
  border: 1px solid rgba(56, 163, 220, 0.35);
  backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  z-index: 3;
  animation: floatBadge 5s ease-in-out infinite;
}

.float-badge-1 {
  top: -18px;
  left: -28px;
}

.float-badge-2 {
  bottom: 28px;
  right: -24px;
  animation-delay: 2.2s;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.float-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(56, 163, 220, 0.18);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-badge-text strong {
  display: block;
  font-size: 0.84rem;
  color: #fff;
}

.float-badge-text span {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* ==========================================
   SERVICES SECTION (Fondo Blanco - Identidad Alivio 360°)
   ========================================== */
.section {
  padding: 105px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(16, 22, 30, 0.7) 0%, rgba(11, 15, 20, 0.95) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

#servicios {
  background: #ffffff;
  color: #11151c;
  border-top: 1px solid rgba(17, 21, 28, 0.06);
  border-bottom: 1px solid rgba(17, 21, 28, 0.08);
  position: relative;
  overflow: hidden;
}

#servicios::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("imagenes/fisio_360.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

#servicios .eyebrow {
  color: var(--brand-blue-dark);
  transition: var(--transition);
}

#servicios .eyebrow::before,
#servicios .section-header.center .eyebrow::after {
  background: var(--brand-blue);
  box-shadow: none;
  transition: var(--transition);
}

#servicios .section-header:hover .eyebrow {
  color: #000000;
}

#servicios .section-header:hover .eyebrow::before,
#servicios .section-header.center:hover .eyebrow::after {
  background: #000000;
}

#servicios .section-title {
  color: #11151c;
}

#servicios .section-title span {
  color: var(--brand-blue);
  transition: var(--transition);
}

#servicios .section-header:hover .section-title span,
#servicios .section-title span:hover {
  color: #000000;
}

#servicios .section-desc {
  color: #3f4854;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(17, 21, 28, 0.09);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #000000;
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: #000000;
  box-shadow: 0 22px 48px rgba(17, 21, 28, 0.14);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(56, 163, 220, 0.12);
  border: 1px solid rgba(56, 163, 220, 0.28);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: rgba(0, 0, 0, 0.08);
  border-color: #000000;
  color: #000000;
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue-dark);
  background: rgba(56, 163, 220, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  transition: var(--transition);
}

.service-card:hover .service-tag {
  color: #ffffff;
  background: #000000;
}

.service-card h3 {
  font-size: 1.32rem;
  font-weight: 800;
  color: #11151c;
  margin-bottom: 12px;
}

.service-card p {
  color: #525b66;
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #374151;
  font-weight: 500;
}

.service-features li svg {
  color: var(--brand-blue);
  flex-shrink: 0;
  transition: var(--transition);
}

.service-card:hover .service-features li svg {
  color: #000000;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: gap 0.25s ease, color 0.25s ease;
}

.service-card:hover .service-link,
.service-link:hover {
  gap: 13px;
  color: #000000;
}

/* ==========================================
   ONLINE CARE / TELE-REHAB SECTION
   ========================================== */
.online-care-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-card {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: rgba(20, 28, 38, 0.6);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  cursor: pointer;
}

.step-card:hover,
.step-card.active {
  background: rgba(56, 163, 220, 0.1);
  border-color: var(--brand-blue);
  transform: translateX(6px);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 163, 220, 0.14);
  border: 1px solid rgba(56, 163, 220, 0.35);
  color: var(--brand-blue-light);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.step-card:hover .step-num,
.step-card.active .step-num {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 0 18px rgba(56, 163, 220, 0.45);
}

.step-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.step-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Interactive Telehealth Console Mockup */
.telehealth-console {
  background: linear-gradient(160deg, #131c27 0%, #0c1219 100%);
  border: 1px solid rgba(56, 163, 220, 0.3);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.window-dots span:first-child {
  background: #ef4444;
}

.window-dots span:nth-child(2) {
  background: #f59e0b;
}

.window-dots span:nth-child(3) {
  background: #10b981;
}

.console-status {
  font-size: 0.78rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.console-screen {
  background: #080c10;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.posture-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(56, 163, 220, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 163, 220, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.console-stage {
  position: relative;
  z-index: 2;
}

.console-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.biomech-pill {
  background: rgba(56, 163, 220, 0.15);
  border: 1px solid rgba(56, 163, 220, 0.35);
  color: var(--brand-blue-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.metric-box span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.metric-box strong {
  font-size: 1.15rem;
  color: var(--brand-blue-light);
}

.progress-bar-wrap {
  margin-top: 16px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 88%;
  background: linear-gradient(90deg, var(--brand-blue), #2dd4bf);
  border-radius: 99px;
  transition: width 0.5s ease;
}

/* ==========================================
   APPOINTMENT BOOKING SYSTEM (AGENDAMIENTO)
   ========================================== */
.booking-wrapper {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  align-items: start;
}

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

.booking-step-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-step-label span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Modality Toggle */
.modality-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.modality-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
  text-align: left;
  color: var(--text-primary);
  font-family: inherit;
}

.modality-option:hover {
  border-color: rgba(56, 163, 220, 0.45);
}

.modality-option.selected {
  background: rgba(56, 163, 220, 0.14);
  border-color: var(--brand-blue);
  box-shadow: 0 0 25px rgba(56, 163, 220, 0.18);
}

.modality-option-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 163, 220, 0.15);
  color: var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modality-option.selected .modality-option-icon {
  background: var(--brand-blue);
  color: #fff;
}

.modality-option strong {
  display: block;
  font-size: 0.96rem;
}

.modality-option small {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

/* Body Pain Zone Chips */
.pain-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.zone-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.zone-chip:hover {
  border-color: var(--brand-blue);
  color: #fff;
}

.zone-chip.selected {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(56, 163, 220, 0.35);
}

/* Date & Time Grid */
.date-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.date-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition);
  font-family: inherit;
}

.date-btn:hover {
  border-color: var(--brand-blue);
}

.date-btn.selected {
  background: rgba(56, 163, 220, 0.18);
  border-color: var(--brand-blue);
  box-shadow: 0 0 16px rgba(56, 163, 220, 0.25);
}

.date-btn .day-name {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.date-btn .day-num {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 2px 0;
}

.date-btn .month-name {
  display: block;
  font-size: 0.7rem;
  color: var(--brand-blue-light);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.time-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.time-btn:hover {
  border-color: var(--brand-blue);
  color: #fff;
}

.time-btn.selected {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

/* Form Inputs */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

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

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(10, 14, 20, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 13px 16px;
  color: #ffffff;
  font-size: 0.94rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(56, 163, 220, 0.18);
}

/* Summary Sticky Sidebar */
.booking-summary {
  background: linear-gradient(160deg, rgba(22, 32, 45, 0.9), rgba(13, 19, 27, 0.95));
  border: 1px solid rgba(56, 163, 220, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: sticky;
  top: 105px;
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.summary-header img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.summary-row span {
  color: var(--text-muted);
}

.summary-row strong {
  color: #ffffff;
  text-align: right;
}

.summary-highlight {
  background: rgba(56, 163, 220, 0.1);
  border: 1px solid rgba(56, 163, 220, 0.25);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Booking Success Modal / Alert */
.booking-confirmation {
  display: none;
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: #fff;
  animation: fadeInScale 0.4s ease forwards;
}

.booking-confirmation.visible {
  display: block;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================
   TESTIMONIALS & FAQ
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-5px);
}

.stars {
  color: var(--brand-blue-light);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 20px;
}

.patient-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.patient-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.patient-info strong {
  display: block;
  font-size: 0.92rem;
}

.patient-info span {
  font-size: 0.78rem;
  color: var(--brand-blue-light);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
}

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

.contact-item-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}

.contact-item-card:hover {
  border-color: var(--brand-blue);
  transform: translateX(6px);
  background: var(--bg-card-hover);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(56, 163, 220, 0.15);
  color: var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-card h4 {
  font-size: 1.02rem;
  margin-bottom: 2px;
}

.contact-item-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================
   FLOATING ONLINE CARE ASSISTANT WIDGET
   ========================================== */
.floating-assistant {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
}

.assistant-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(56, 163, 220, 0.45);
  transition: var(--transition);
}

.assistant-toggle:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(56, 163, 220, 0.6);
}

.assistant-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  background: #101722;
  border: 1px solid rgba(56, 163, 220, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px) scale(0.96);
  transition: var(--transition);
}

.assistant-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.assistant-header {
  background: linear-gradient(135deg, #162231, #0d141d);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.assistant-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.assistant-header-left img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.assistant-header h4 {
  font-size: 0.92rem;
}

.assistant-header span {
  font-size: 0.72rem;
  color: var(--success);
}

.assistant-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
}

.assistant-body {
  padding: 18px;
  max-height: 290px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.chat-bubble.user {
  background: rgba(56, 163, 220, 0.2);
  border-color: rgba(56, 163, 220, 0.4);
  color: #fff;
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
}

.quick-questions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 18px 18px;
}

.quick-q-btn {
  background: rgba(56, 163, 220, 0.1);
  border: 1px solid rgba(56, 163, 220, 0.28);
  color: var(--brand-blue-light);
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.quick-q-btn:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* Footer */
.footer {
  background: #070a0e;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* Responsive Design */
@media (max-width: 1024px) {

  .hero-grid,
  .online-care-grid,
  .booking-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .float-badge-1,
  .float-badge-2 {
    position: static;
    margin-top: 12px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .online-pill {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0d131b;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 16px;
  }

  .services-grid,
  .testimonials-grid,
  .form-grid,
  .modality-selector {
    grid-template-columns: 1fr;
  }

  .date-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 120px;
  }

  .booking-card {
    padding: 24px 18px;
  }
}