/* HERO */
.hero {
  position: relative;
  min-height: max(680px, calc(100vh - 68px));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background: #0c1720;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0c1720;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s ease, transform 6s ease;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide.fisio { background-image: url('../../assets/images/fisioterapia.jpg'); }
.hero-slide.psico { background-image: url('../../assets/images/psicologia.jpg'); }

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,15,22,.88) 0%, rgba(5,15,22,.68) 42%, rgba(5,15,22,.30) 72%, rgba(5,15,22,.42) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - 68px);
  padding-top: 100px;
  padding-bottom: 150px;
}

.hero-copy { max-width: 680px; }

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  padding: 9px 13px;
  border-radius: 999px;
}

.hero .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #13b47d;
  box-shadow: 0 0 0 5px rgba(19,180,125,.18);
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.01;
  letter-spacing: -.045em;
  margin-top: 24px;
  max-width: 760px;
  text-shadow: 0 3px 22px rgba(0,0,0,.18);
}

.hero h1 .blue { color: #6FE0D8; }
.hero h1 .green { color: var(--brand-2); }

.hero-typewriter { min-height: 3.4em; }

.tw-cursor {
  display: inline-block;
  margin-left: 3px;
  animation: twBlink .8s steps(1) infinite;
}

@keyframes twBlink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.hero p.lead {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,.84);
  max-width: 58ch;
}

.hero .actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .btn {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero .btn:hover {
  border-color: #fff;
  background: rgba(255,255,255,.18);
}

.hero .btn.solid {
  background: var(--brand-gradient);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(47,166,160,.35);
}

.hero .btn.solid:hover {
  filter: brightness(1.08);
  border-color: transparent;
}

.hero-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}

.hero-info::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #13b47d;
  box-shadow: 0 0 0 5px rgba(19,180,125,.16);
}

.hero-side {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(10,20,28,.36);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: .2s;
}

.hero-arrow:hover {
  background: rgba(255,255,255,.18);
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 4px;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.45);
  padding: 0;
  transition: .25s;
}

.hero-dots button.active {
  width: 28px;
  background: #fff;
}

.hero-caption {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(7,16,24,.42);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 16px 18px;
  backdrop-filter: blur(12px);
  min-width: 190px;
}

.hero-caption .small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.65);
  font-weight: 700;
}

.hero-caption strong {
  display: block;
  font-size: 20px;
  margin-top: 5px;
}

.hero-caption span {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  margin-top: 4px;
}

/* HERO PEQUEÑO */
.hero-small {
  position: relative;
  min-height: 25vh;
  height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding: 0;
  background: #0c1720;
}

.hero-small .hero-bg-small {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.hero-small .hero-bg-small::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,23,32,0.92) 0%, rgba(12,23,32,0.4) 60%, rgba(12,23,32,0.1) 100%);
  z-index: 1;
}

.hero-small .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-small .hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-small .hero-title .highlight { color: #28c58f; }
.hero-small .hero-title .celestesalud { color: #1699cc; }

.hero-small .hero-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(40,197,143,0.05);
  top: -80px;
  right: -60px;
  z-index: 1;
  pointer-events: none;
}

.hero-small .hero-decoration-2 {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(47,94,224,0.05);
  bottom: -50px;
  left: -40px;
  z-index: 1;
  pointer-events: none;
}

.hero-title-outside {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 8px 0;
  color: var(--ink);
  text-align: left;
}

.hero-title-outside .highlight { color: #28c58f; }
.hero-title-outside .celestesalud { color: #1699cc; }