:root {
  --ink: #151515;
  --muted: #667085;
  --paper: #ffffff;
  --soft: #f7f5f0;
  --line: rgba(21, 21, 21, 0.1);
  --gold: #f3d327;
  --gold-dark: #d1aa47;
  --red: #bd1f24;
  --green: #233d2e;
  --blue: #155f98;
  --shadow: 0 24px 80px rgba(17, 24, 39, 0.16);
  --font: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  line-height: 1.6;
}

body.loading,
body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--green);
  color: #fff;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.door {
  position: absolute;
  top: 0;
  width: 50.5%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 30%, rgba(0, 0, 0, 0.18)), #13261b;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.door-left {
  left: 0;
  border-right: 1px solid rgba(243, 211, 39, 0.55);
}

.door-right {
  right: 0;
  border-left: 1px solid rgba(243, 211, 39, 0.55);
}

.preloader.open .door-left {
  transform: translateX(-101%);
}

.preloader.open .door-right {
  transform: translateX(101%);
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
  padding: 2rem;
}

.preloader-content img {
  width: min(220px, 64vw);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.35));
}

.preloader-content strong {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
}

.preloader-content span {
  color: rgba(255, 255, 255, 0.78);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 1rem clamp(1rem, 4vw, 3rem);
}

.navbar {
  width: min(1180px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

.site-header.scrolled .navbar {
  border-color: rgba(21, 21, 21, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 92px;
  height: 44px;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.7vw, 1.35rem);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a:not(.nav-cta) {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--red);
}

.nav-cta,
.hero-cta,
.primary-btn,
.card-btn,
.mobile-cta {
  position: relative;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.nav-cta {
  padding: 0.78rem 1.25rem;
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -55%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: shimmer 3.2s infinite;
}

@keyframes shimmer {
  0% { left: -55%; }
  48%, 100% { left: 132%; }
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 23px;
  height: 2px;
  background: #fff;
  border-radius: 99px;
}

.mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1200;
  width: min(350px, 88vw);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem;
  background: #111;
  color: #fff;
  box-shadow: -22px 0 70px rgba(0, 0, 0, 0.36);
  transform: translateX(105%);
  transition: transform 0.35s ease;
}

.mobile-panel.open {
  transform: translateX(0);
}

.mobile-panel img {
  width: 170px;
  margin: 2.5rem auto 1rem;
}

.mobile-panel a:not(.mobile-cta) {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.mobile-cta {
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
}

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 8rem 1rem 7rem;
  isolation: isolate;
  color: #fff;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.36) 48%, rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5));
}

.hero-content {
  width: min(980px, 100%);
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.hero-logo {
  width: min(190px, 45vw);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.45));
}

.hero-kicker {
  margin: 0;
  min-height: 1.6em;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.kicker-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 0.16em;
  border-radius: 99px;
  background: currentColor;
  color: transparent;
  vertical-align: -0.08em;
  animation: blink 0.8s steps(2, start) infinite;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 {
  max-width: 960px;
  font-size: clamp(3.2rem, 7.6vw, 7.4rem);
  font-weight: 900;
  text-wrap: balance;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.36);
}

.typing-line {
  min-height: 1.6em;
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.32);
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  margin-left: 0.18em;
  border-radius: 99px;
  background: var(--gold);
  color: transparent;
  vertical-align: -0.08em;
  animation: blink 0.8s steps(2, start) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-subtitle {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.03rem, 1.8vw, 1.35rem);
  font-weight: 700;
}

.hero-cta {
  margin-top: 1.35rem;
  min-width: min(390px, 92vw);
  padding: 1rem 1.8rem;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.hero-cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 170px;
  z-index: -1;
}

.hero-wave path:first-child {
  fill: rgba(255, 255, 255, 0.22);
}

.hero-wave path:last-child {
  fill: var(--paper);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.section-heading {
  width: min(840px, 100%);
  margin: 0 auto clamp(2.4rem, 4.5vw, 4rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.section-heading h2,
.proof-copy h2,
.contact-info h2 {
  color: var(--blue);
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
  font-weight: 900;
}

.section-heading p:not(.eyebrow) {
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.benefits {
  background: #fff;
}

.benefit-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2.2rem);
}

.benefit-grid article {
  text-align: center;
}

.benefit-grid img,
.benefit-icon {
  width: 118px;
  height: 118px;
  margin: 0 auto 1.15rem;
}

.benefit-grid img {
  object-fit: contain;
}

.benefit-icon {
  fill: none;
  stroke: #050505;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-grid h3 {
  min-height: 3.1em;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.benefit-grid p {
  margin: 1rem 0 0;
  color: #777;
  font-size: 0.98rem;
}

.therapies {
  background:
    linear-gradient(180deg, #f8f7f4, #fff),
    var(--soft);
}

.therapy-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.therapy-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(17, 24, 39, 0.08);
}

.therapy-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.therapy-card div {
  padding: 1.3rem 1.3rem 0.7rem;
}

.therapy-card h3 {
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 900;
  text-align: center;
}

.therapy-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.card-btn {
  margin: 1.15rem 1.3rem 1.3rem;
  padding: 0.85rem 1rem;
}

.therapy-wide {
  grid-column: span 3;
  grid-template-columns: 1.1fr 1fr auto;
  grid-template-rows: auto;
  align-items: center;
}

.therapy-wide img {
  height: 100%;
  min-height: 340px;
  aspect-ratio: auto;
}

.therapy-wide .card-btn {
  width: 190px;
  margin-right: 1.3rem;
}

.therapy-gallery {
  padding: clamp(1.5rem, 4vw, 2.8rem) clamp(1rem, 5vw, 4rem);
  background: linear-gradient(180deg, #fff, #f8f7f4);
}

.gallery-viewport {
  width: min(980px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background: #151515;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.14);
}

.gallery-track {
  display: flex;
  transition: transform 0.55s ease;
  will-change: transform;
}

.gallery-photo {
  min-width: 100%;
  height: clamp(340px, 36vw, 460px);
  margin: 0;
  overflow: hidden;
  background: radial-gradient(circle at center, #242424, #111);
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.gallery-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(189, 31, 36, 0.26);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.gallery-dots button.active {
  width: 30px;
  background: var(--red);
}

.proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: stretch;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.proof-copy,
.testimonial-card,
.contact-info,
.map-wrap {
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.proof-copy {
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.proof-copy h2 {
  color: #fff;
}

.proof-copy .eyebrow {
  text-align: center;
}

.proof-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  text-align: left;
}

.stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.stats div {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--gold);
  font-size: 1.08rem;
}

.stats span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
}

.testimonial-card {
  padding: clamp(1.6rem, 4vw, 3rem);
  overflow: hidden;
  background: linear-gradient(135deg, #fff, #fff7d3);
}

.testimonial-card h2 {
  max-width: 760px;
  margin: 0 auto;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}

.testimonial-carousel {
  margin-top: 1.4rem;
  width: calc(100% + clamp(3.2rem, 8vw, 6rem));
  margin-left: calc(clamp(1.6rem, 4vw, 3rem) * -1);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding: 0.2rem 0 0.3rem;
  animation: testimonial-marquee 68s linear infinite;
  will-change: transform;
}

.testimonial-carousel:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-item {
  width: clamp(270px, 30vw, 380px);
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 auto;
  padding: 1.25rem;
  border: 1px solid rgba(21, 21, 21, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: #4b5563;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.testimonial-item p {
  margin: 0;
  font-weight: 700;
}

.testimonial-item span {
  display: block;
  margin-top: 1rem;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
}

@keyframes testimonial-marquee {
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

.contact {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.4rem;
}

.contact-info {
  padding: clamp(1.6rem, 4vw, 2.6rem);
}

.contact-info p {
  color: var(--muted);
  font-weight: 700;
}

.contact-info .eyebrow {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.hours-card {
  margin: 1.4rem 0;
  padding: 1.1rem;
  border-radius: 18px;
  background: #f8f7f4;
}

.hours-card h3 {
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-size: 1.15rem;
}

.hours-card dl {
  margin: 0;
}

.hours-card div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.hours-card div:last-child {
  border-bottom: 0;
}

.hours-card dt {
  font-weight: 900;
}

.hours-card dd {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.primary-btn {
  padding: 0.9rem 1.4rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.contact-actions .primary-btn {
  flex: 1 1 180px;
}

.map-wrap {
  overflow: hidden;
  min-height: 500px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.4rem 1rem 2rem;
  background: #111;
  color: #fff;
  font-weight: 800;
}

.footer img {
  width: 110px;
}

.floating-actions {
  position: fixed;
  right: clamp(1rem, 2vw, 1.35rem);
  bottom: 1.25rem;
  z-index: 1050;
  display: grid;
  gap: 0.75rem;
}

.float-btn {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

.float-btn svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.instagram {
  background: radial-gradient(circle at 30% 110%, #feda75 0 17%, #fa7e1e 28%, #d62976 50%, #962fbf 72%, #4f5bd5 100%);
}

.whatsapp {
  background: #25d366;
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.42), 0 16px 34px rgba(0, 0, 0, 0.25); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 16px 34px rgba(0, 0, 0, 0.25); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 16px 34px rgba(0, 0, 0, 0.25); }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .therapy-grid,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

  .therapy-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .therapy-wide img {
    min-height: auto;
    aspect-ratio: 1.25 / 1;
  }

  .therapy-wide .card-btn {
    width: auto;
    margin: 1.15rem 1.3rem 1.3rem;
  }

  .map-wrap {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.75rem;
  }

  .navbar {
    min-height: 66px;
    padding: 0.55rem 0.65rem 0.55rem 0.8rem;
    background: rgba(255, 255, 255, 0.2);
  }

  .brand img {
    width: 78px;
    height: 38px;
  }

  .brand span {
    font-size: 0.94rem;
  }

  .hero {
    min-height: 92svh;
    padding: 7.4rem 1rem 7rem;
  }

  .hero-logo {
    width: 150px;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .typing-line {
    font-size: 1.32rem;
  }

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

  .hero-cta {
    min-width: 100%;
    font-size: 0.95rem;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .benefit-grid h3 {
    min-height: auto;
  }

  .therapy-grid {
    gap: 1rem;
  }

  .therapy-card {
    border-radius: 18px;
  }

  .therapy-gallery {
    padding: 1.15rem 1rem 1.6rem;
  }

  .gallery-viewport {
    border-radius: 18px;
  }

  .gallery-photo {
    height: min(112vw, 560px);
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    border-radius: 22px;
  }

  .testimonial-carousel {
    width: calc(100% + 3.2rem);
    margin-left: -1.6rem;
  }

  .testimonial-track {
    gap: 0.85rem;
    animation-duration: 88s;
  }

  .testimonial-item {
    width: min(82vw, 330px);
    min-height: 186px;
    padding: 1.1rem;
  }

  .hours-card div {
    align-items: flex-start;
  }

  .footer {
    justify-content: flex-start;
    padding: 1rem 5rem 1.2rem 1rem;
  }

  .footer img {
    width: 82px;
  }

  .float-btn {
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .testimonial-track {
    transform: none !important;
  }

  .gallery-track {
    transition-duration: 0.01ms !important;
  }
}
