/* ============================================================
         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 {
  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;
}

.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;
}

/* Estado activo de la página actual */
.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 {
  background: var(--brand-050);
  color: var(--brand-700);
}
.mobile-nav__list a[aria-current="page"] {
  color: var(--brand-700);
  background: var(--brand-050);
  font-weight: var(--fw-semibold);
}

.mobile-nav__cta {
  margin-top: var(--space-4);
}
.mobile-nav__cta .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
         HERO (CORTO — página interior)
      ============================================================ */
.page-hero {
  background: var(--ground-alt);
  padding-block: clamp(2.5rem, 6vw, 4.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.07) 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;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 700px;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-caption);
  color: var(--ink-500);
}

.page-hero__breadcrumb a {
  color: var(--brand-600);
  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);
  border-radius: 2px;
}

.page-hero__breadcrumb-sep {
  color: var(--line-200);
}

.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;
}

.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);
  max-width: 54ch;
}

/* ============================================================
         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;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.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%;
}
.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.5);
}
.page-hero--image .page-hero__breadcrumb [aria-current="page"] {
  color: #fff;
}
.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);
}

/* ============================================================
         SECCIÓN FILOSOFÍA
      ============================================================ */
.filosofia {
  background: var(--ground);
  padding-block: var(--section-y);
}

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

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

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

.blockquote {
  position: relative;
  padding: var(--space-8);
  background: var(--brand-050);
  border-left: 4px solid var(--brand-700);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.blockquote__mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--brand-100);
  line-height: 1;
  position: absolute;
  top: 0.25rem;
  left: var(--space-4);
  user-select: none;
  pointer-events: none;
  font-optical-sizing: auto;
}

.blockquote__text {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-regular);
  font-style: italic;
  color: var(--ink-900);
  line-height: 1.55;
  position: relative;
  font-optical-sizing: auto;
}

.blockquote__cite {
  display: block;
  margin-top: var(--space-4);
  font-size: var(--fs-small);
  font-style: normal;
  font-weight: var(--fw-semibold);
  color: var(--brand-600);
  letter-spacing: 0.04em;
}

/* Valores / pilares de filosofía */
.filosofia__pillars {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--ground-alt);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
}

.pillar-item__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--brand-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-700);
  flex-shrink: 0;
}

.pillar-item__title {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--ink-900);
  margin-bottom: 2px;
}

.pillar-item__desc {
  font-size: var(--fs-caption);
  color: var(--ink-500);
  line-height: 1.5;
}

/* ============================================================
         SECCIÓN SOBRE JOSÉ BASTIDAS
      ============================================================ */
.sobre-jose {
  background: var(--ground-alt);
  padding-block: var(--section-y);
}

.sobre-jose__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-16);
  align-items: start;
}

.sobre-jose__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  width: 280px;
  flex-shrink: 0;
}

.sobre-jose__portrait {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--brand-100);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.sobre-jose__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  background: var(--ground);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  text-align: center;
  width: 100%;
}

.sobre-jose__badge-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  color: var(--ink-900);
  font-optical-sizing: auto;
}

.sobre-jose__badge-role {
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  color: var(--brand-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sobre-jose__badge-col {
  font-size: var(--fs-caption);
  color: var(--warm-700);
  font-weight: var(--fw-medium);
  font-variant-numeric: tabular-nums;
}

.sobre-jose__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

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

/* Especialidades */
.sobre-jose__especialidades-title {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--ink-900);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.especialidades-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.especialidades-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--ground);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  color: var(--ink-700);
  line-height: 1.45;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}

.especialidades-list li:hover {
  border-color: var(--brand-100);
  box-shadow: var(--shadow-sm);
}

.especialidades-list__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-700);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
         SECCIÓN ¿POR QUÉ ELEGIRNOS?
      ============================================================ */
.por-que {
  background: var(--ground);
  padding-block: var(--section-y);
}

.por-que__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.reason-card {
  background: var(--ground);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative; /* ancla del número-watermark */
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

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

.reason-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-700);
  flex-shrink: 0;
}

/* Número como watermark ornamental anclado a la esquina superior derecha:
   en el flujo (entre icono y título) quedaba como un elemento suelto sin
   jerarquía (cazado en validación móvil 2026-07-02). Token warm-600 +
   opacity → cada dominio (salvia .com / vivo .org) lo pinta con su paleta. */
.reason-card__number {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: var(--fw-bold);
  color: var(--warm-700);
  opacity: 0.75; /* blend efectivo sobre blanco 3.24:1 (WCAG 1.4.3 texto grande) */
  line-height: 1;
  font-optical-sizing: auto;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.reason-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);
}

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

/* ============================================================
         SECCIÓN INSTALACIONES
      ============================================================ */
.instalaciones {
  background: var(--ground-alt);
  padding-block: var(--section-y);
}

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

.instalaciones__image-wrap {
  position: relative;
}

.instalaciones__img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--brand-100);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.instalaciones__img-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: var(--ground);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.instalaciones__img-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.instalaciones__img-badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.instalaciones__img-badge-label {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--ink-900);
}

.instalaciones__img-badge-sub {
  font-size: var(--fs-caption);
  color: var(--ink-500);
}

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

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

/* Features list de instalaciones */
.instalaciones__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.instalaciones__features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-small);
  color: var(--ink-700);
}

.instalaciones__features-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-700);
  flex-shrink: 0;
}

/* ============================================================
         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;
}

.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) {
  .site-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

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

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

  .sobre-jose__profile {
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-6);
  }

  .sobre-jose__portrait {
    width: 160px;
    flex-shrink: 0;
  }

  .sobre-jose__badge {
    width: auto;
    flex: 1;
  }

  .por-que__grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

/* ============================================================
         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;
  }

  .sobre-jose__profile {
    flex-direction: column;
    align-items: stretch;
  }

  .sobre-jose__portrait {
    width: 100%;
    aspect-ratio: 3/2;
  }

  .por-que__grid {
    grid-template-columns: 1fr;
  }

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

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

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