/* ============================================================
         DESIGN SYSTEM TOKENS — Bastidas v0.2
      ============================================================ */
:root {
  /* Marca */
  --brand-700: #2f5d50;
  --brand-600: #3b7263;
  --brand-500: #4e8c7a;
  --brand-100: #dceae4;
  --brand-050: #f1f7f4;

  /* Tierra / cálido */
  --warm-600: #b8754c;
  --warm-700: #a05a31;
  --warm-300: #e8c9b0;
  --warm-100: #f6ede4;

  /* Acento confianza */
  --accent-500: #9f7e1b;

  /* Neutros */
  --ink-900: #1c2623;
  --ink-700: #3a4641;
  --ink-500: #616d69;
  --line-200: #e2e8e4;
  --ground: #ffffff;
  --ground-alt: #f7faf8;

  /* Semánticos */
  --success-600: #1f6b42;
  --warning-600: #8a6420;
  --danger-600: #b4453a;
  --info-600: #3b7263;

  /* Tipografía */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --fs-display: clamp(2.25rem, 5vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1.4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-caption: 0.75rem;

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-normal: 1.6;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Espaciado */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --section-y: clamp(3rem, 8vw, 6rem);

  /* Radios */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-sm:
    0 1px 2px rgba(28, 38, 35, 0.06), 0 1px 3px rgba(28, 38, 35, 0.08);
  --shadow-md:
    0 4px 12px rgba(28, 38, 35, 0.08), 0 2px 4px rgba(28, 38, 35, 0.06);
  --shadow-lg:
    0 12px 32px rgba(28, 38, 35, 0.12), 0 4px 8px rgba(28, 38, 35, 0.06);

  --maxw-content: 1200px;
  --maxw-prose: 68ch;
}

/* ============================================================
         RESET + BASE
      ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink-900);
  background: var(--ground);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

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

/* ============================================================
         UTILS
      ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw-content);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
         BOTONES
      ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  min-height: 44px;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--brand-700);
  color: #fff;
  border-color: var(--brand-700);
}
.btn-primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-700);
  border-color: var(--brand-700);
}
.btn-secondary:hover {
  background: var(--brand-050);
}

.btn-light {
  background: #fff;
  color: var(--brand-700);
  border-color: #fff;
}
.btn-light:hover {
  background: var(--brand-100);
  border-color: var(--brand-100);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: var(--fs-caption);
  min-height: 36px;
}

/* ============================================================
         SECTION HEADINGS
      ============================================================ */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--ink-900);
  font-optical-sizing: auto;
}

.section-lead {
  font-size: var(--fs-lead);
  color: var(--ink-700);
  line-height: var(--lh-normal);
  max-width: 56ch;
}

.section-header {
  margin-bottom: var(--space-12);
}

.section-header--center {
  text-align: center;
}
.section-header--center .section-lead {
  margin-inline: auto;
}

/* ============================================================
         HEADER / NAV
      ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ground);
  border-bottom: 1px solid var(--line-200);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  text-decoration: none;
}

.logo__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-700);
  letter-spacing: -0.01em;
}

.logo__tagline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: var(--fw-medium);
  color: var(--ink-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.site-nav__link {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  transition:
    color 0.15s,
    background 0.15s;
  white-space: nowrap;
}

.site-nav__link:hover {
  color: var(--brand-700);
  background: var(--brand-050);
}

.site-nav__link:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
}

.site-nav__link--active {
  color: var(--brand-700);
  font-weight: var(--fw-semibold);
  background: var(--brand-050);
}

.site-header__cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  color: var(--ink-900);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(28, 38, 35, 0.55);
  backdrop-filter: blur(2px);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 90vw);
  background: var(--ground);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  gap: var(--space-4);
  overflow-y: auto;
}

.mobile-nav__close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--ink-700);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav__close:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
}

.mobile-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-nav__list a {
  display: block;
  padding: 0.875rem var(--space-4);
  font-size: 1rem;
  font-weight: var(--fw-medium);
  color: var(--ink-700);
  border-radius: var(--radius-md);
  transition:
    background 0.15s,
    color 0.15s;
}

.mobile-nav__list a:hover,
.mobile-nav__list a[aria-current="page"] {
  background: var(--brand-050);
  color: var(--brand-700);
}

.mobile-nav__cta {
  margin-top: var(--space-4);
}

.mobile-nav__cta .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
         HERO SERVICIOS (corto, enfocado)
      ============================================================ */
.page-hero {
  background: var(--ground-alt);
  padding-block: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 80% 20%,
      rgba(78, 140, 122, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(184, 117, 76, 0.05) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  max-width: 700px;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.page-hero__breadcrumb a {
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  color: var(--ink-500);
  transition: color 0.15s;
}
.page-hero__breadcrumb a:hover {
  color: var(--brand-700);
}
.page-hero__breadcrumb a:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 2px;
}

.page-hero__breadcrumb-sep {
  color: var(--line-200);
  font-size: var(--fs-caption);
  user-select: none;
}

.page-hero__breadcrumb-current {
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  color: var(--brand-700);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--ink-900);
  font-optical-sizing: auto;
  margin-bottom: var(--space-6);
}

.page-hero__title em {
  color: var(--brand-700);
  font-style: italic;
}

.page-hero__lead {
  font-size: var(--fs-lead);
  color: var(--ink-700);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-8);
  max-width: 56ch;
}

.page-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ============================================================
         HERO CON IMAGEN — overlay verde + texto blanco (patrón del sitio)
      ============================================================ */
.page-hero--image {
  background: var(--brand-700);
  min-height: 460px;
  display: flex;
  align-items: center;
}
.page-hero--image::before {
  display: none; /* anula los radiales decorativos del hero claro */
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(26, 36, 32, 0.9) 0%,
    rgba(47, 93, 80, 0.78) 45%,
    rgba(47, 93, 80, 0.5) 100%
  );
}
.page-hero--image .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
/* Textos en blanco sobre el overlay verde */
.page-hero--image .page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}
.page-hero--image .page-hero__breadcrumb a:hover {
  color: #fff;
}
.page-hero--image .page-hero__breadcrumb-sep {
  color: rgba(255, 255, 255, 0.4);
}
.page-hero--image .page-hero__breadcrumb-current {
  color: #fff;
}
.page-hero--image .section-label {
  color: var(--brand-100);
}
.page-hero--image .page-hero__title {
  color: #fff;
}
.page-hero--image .page-hero__title em {
  color: var(--brand-100);
}
.page-hero--image .page-hero__lead {
  color: rgba(255, 255, 255, 0.88);
}
/* Botones legibles sobre el overlay verde */
.page-hero--image .btn-primary {
  background: #fff;
  color: var(--brand-700);
  border-color: #fff;
}
.page-hero--image .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}
.page-hero--image .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.page-hero--image .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================================
         SERVICIOS — GRID
      ============================================================ */
.servicios {
  background: var(--ground);
  padding-block: var(--section-y);
}

/* Fila destacados (3 diferenciales) */
.servicios__row-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

/* Fila secundaria (3 complementarios) */
.servicios__row-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* Card base */
.service-card {
  background: var(--ground);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-100);
  transform: translateY(-2px);
}

/* Card diferencial — fondo verde suave */
.service-card--featured {
  background: var(--brand-050);
  border-color: var(--brand-100);
}

.service-card--featured:hover {
  border-color: var(--brand-500);
  background: #edf4f0;
}

/* Icono */
.service-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--ground);
  border: 1px solid var(--line-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-500);
  box-shadow: var(--shadow-sm);
}

.service-card--featured .service-card__icon-wrap {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: #fff;
}

/* Badge DIFERENCIAL */
.service-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-100);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.7rem;
  width: fit-content;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--ink-900);
  font-optical-sizing: auto;
  line-height: var(--lh-snug);
}

.service-card__desc {
  font-size: var(--fs-small);
  color: var(--ink-700);
  line-height: var(--lh-normal);
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--brand-700);
  margin-top: auto;
  transition: gap 0.15s;
  min-height: 44px;
  align-self: flex-start;
}

.service-card__link:hover {
  gap: var(--space-2);
}

.service-card__link:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Link CTA botón para Hidroterapia */
.service-card__link--btn {
  background: var(--brand-700);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: var(--fs-caption);
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    gap 0.15s;
}

.service-card__link--btn:hover {
  background: var(--brand-600);
  box-shadow: var(--shadow-md);
  gap: var(--space-2);
}

.service-card__link--btn:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 3px;
}

/* ============================================================
         BLOQUE ¿NO SABES QUÉ NECESITAS? (valoración)
      ============================================================ */
.valoracion {
  background: var(--warm-100);
  padding-block: var(--section-y);
}

.valoracion__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.valoracion__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.valoracion__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--ink-900);
  font-optical-sizing: auto;
}

.valoracion__title em {
  color: var(--brand-700);
  font-style: italic;
}

.valoracion__desc {
  font-size: var(--fs-lead);
  color: var(--ink-700);
  line-height: var(--lh-normal);
}

.valoracion__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.valoracion__visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.valoracion__step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--ground);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.valoracion__step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  font-optical-sizing: auto;
}

.valoracion__step-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.valoracion__step-title {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--ink-900);
}

.valoracion__step-desc {
  font-size: var(--fs-caption);
  color: var(--ink-500);
  line-height: var(--lh-normal);
}

/* ============================================================
         CTA BAND (CIERRE)
      ============================================================ */
.cta-band {
  background: var(--brand-700);
  padding-block: var(--space-16);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(
    circle at 70% 50%,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cta-band__inner {
  text-align: center;
  position: relative;
}

.cta-band__label {
  display: inline-block;
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-100);
  margin-bottom: var(--space-4);
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: #fff;
  line-height: var(--lh-snug);
  margin-bottom: var(--space-6);
  font-optical-sizing: auto;
}

.cta-band__lead {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-8);
  max-width: 52ch;
  margin-inline: auto;
}

.cta-band__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  align-items: center;
}

.cta-band__contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: center;
  margin-top: var(--space-6);
}

.cta-band__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-small);
}

.cta-band__contact-item a {
  color: #fff;
  font-weight: var(--fw-medium);
}

.cta-band__contact-item a:hover {
  text-decoration: underline;
}

/* ============================================================
         FOOTER
      ============================================================ */
.site-footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.65);
  padding-block: var(--space-12) var(--space-8);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-col__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-col__logo-icon {
  width: 34px;
  height: 34px;
}

.footer-col__logo-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  color: #fff;
  font-optical-sizing: auto;
}

.footer-col__desc {
  font-size: var(--fs-small);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-4);
}

.footer-col__colegiado {
  font-size: var(--fs-caption);
  color: var(--warm-300);
  font-weight: var(--fw-medium);
}

.footer-col__title {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: 0.04em;
}

.footer-col__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col__list a {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
}

.footer-col__list a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-3);
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-500);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.15s;
}
.footer-contact-item a:hover {
  color: #fff;
}

.footer-contact-item--schedule {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-item--schedule span {
  line-height: 1.4;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.site-footer__copyright {
  font-size: var(--fs-caption);
}

.site-footer__legal {
  display: flex;
  gap: var(--space-4);
}

.site-footer__legal a {
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.15s;
}
.site-footer__legal a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
         WHATSAPP FLOAT
      ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 300;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 16px rgba(37, 211, 102, 0.4),
    var(--shadow-md);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  color: #fff;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow:
    0 8px 24px rgba(37, 211, 102, 0.5),
    var(--shadow-lg);
}

.whatsapp-float:focus-visible {
  outline: 2px solid #128c7e;
  outline-offset: 3px;
}

/* ============================================================
         RESPONSIVE — TABLET (max 900px)
      ============================================================ */
@media (max-width: 900px) {
  .servicios__row-featured,
  .servicios__row-secondary {
    grid-template-columns: 1fr 1fr;
  }

  .valoracion__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .site-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ============================================================
         RESPONSIVE — MOBILE (max 600px)
      ============================================================ */
@media (max-width: 600px) {
  .container {
    padding-inline: var(--space-4);
  }
  /* SEM-202: consistencia con SEM-201 — ocultar el CTA del header en
           móvil (se cortaba junto al logo). Reserva accesible vía menú móvil. */
  .site-header__cta {
    display: none;
  }

  .page-hero__ctas {
    flex-direction: column;
  }
  .page-hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .servicios__row-featured,
  .servicios__row-secondary {
    grid-template-columns: 1fr;
  }

  .valoracion__ctas {
    flex-direction: column;
  }
  .valoracion__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band__buttons {
    flex-direction: column;
  }
  .cta-band__buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   FAQ — Acordeón nativo (mismo patrón que hidroterapia/sueño)
============================================================ */
.faq {
  background: var(--ground-alt);
  padding-block: var(--section-y);
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 780px;
  margin-inline: auto;
}
details.faq-item {
  background: var(--ground);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
details.faq-item[open] {
  border-color: var(--brand-100);
}
details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  cursor: pointer;
  list-style: none;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--ink-900);
  transition: background 0.15s;
  user-select: none;
  min-height: 44px;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
details.faq-item summary:hover {
  background: var(--brand-050);
}
details.faq-item summary:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: -2px;
}
.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--brand-500);
  transition: transform 0.2s;
}
details.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}
.faq-item__body {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--fs-body);
  color: var(--ink-700);
  line-height: var(--lh-normal);
}
