@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600&display=swap');

/* ============================================================
   Ápice Integral — Premium wellness clinic stylesheet
   Soft cream atmosphere · glassmorphism · animated color washes
   ============================================================ */

:root {
  /* Brand */
  --primary: #E66547;
  --primary-light: #F08066;
  --primary-dark: #CE5236;
  --primary-pale: #FDF3F0;
  --secondary: #818D3C;
  --secondary-dark: #556B2F;
  --secondary-pale: #F0F2EB;
  --beige: #C5B090;
  --beige-light: #F1EDE4;
  --dark: #1E232A;

  /* Neutrals / surfaces */
  --white: #FFFFFF;
  --cream: #FBF8F3;
  --surface: #FBF8F3;
  --surface-raised: #FFFFFF;
  --texto: #2C333D;
  --texto-light: #5A6473;
  --texto-muted: #8D96A3;
  --border: rgba(44, 51, 61, 0.10);
  --border-strong: rgba(44, 51, 61, 0.18);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #F08066 0%, #E66547 55%, #CE5236 100%);
  --grad-secondary: linear-gradient(135deg, #93A047 0%, #818D3C 55%, #556B2F 100%);
  --grad-warm: linear-gradient(135deg, var(--primary-pale) 0%, var(--secondary-pale) 100%);
  --grad-dark: linear-gradient(150deg, #262C34 0%, #1E232A 60%, #171B21 100%);

  /* Typography — LOCKED */
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Radii — generous, premium */
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-btn: 14px;
  --radius-pill: 999px;

  /* Shadows — soft depth */
  --shadow-xs: 0 2px 8px rgba(30, 35, 42, 0.05);
  --shadow-sm: 0 6px 20px rgba(30, 35, 42, 0.07);
  --shadow-md: 0 16px 40px rgba(30, 35, 42, 0.10);
  --shadow-lg: 0 28px 68px rgba(30, 35, 42, 0.14);
  --shadow-primary: 0 14px 34px rgba(230, 101, 71, 0.34);
  --shadow-primary-hover: 0 20px 44px rgba(230, 101, 71, 0.42);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6);

  /* Motion */
  --ease: cubic-bezier(0.4, 0.14, 0.16, 1);
  --transition: 0.4s cubic-bezier(0.4, 0.14, 0.16, 1);
  --transition-fast: 0.24s cubic-bezier(0.4, 0.14, 0.16, 1);

  --max-w: 1200px;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--texto);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  isolation: isolate;
}

/* Soft radial atmosphere fixed behind everything */
body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: '';
  pointer-events: none;
  background:
    radial-gradient(circle at 6% 8%, rgba(230, 101, 71, 0.10), transparent 32rem),
    radial-gradient(circle at 96% 22%, rgba(129, 141, 60, 0.09), transparent 36rem),
    radial-gradient(circle at 30% 96%, rgba(197, 176, 144, 0.10), transparent 34rem),
    radial-gradient(circle at 82% 82%, rgba(230, 101, 71, 0.06), transparent 30rem);
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button,
[role='button'] {
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6,
p, ul, ol, blockquote {
  margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.6em;
  color: var(--dark);
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  margin-bottom: 1em;
}

strong {
  font-weight: 600;
  color: var(--texto);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

::selection {
  color: var(--white);
  background: var(--primary);
}

:focus-visible {
  outline: 3px solid rgba(230, 101, 71, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout primitives ---------- */
.container {
  width: min(100% - 48px, var(--max-w));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(76px, 8vw, 120px) 0;
}

.section-alt {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(251, 248, 243, 0.4)),
    var(--surface-raised);
  border-block: 1px solid var(--border);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-header {
  max-width: 720px;
  margin: 0 auto clamp(44px, 6vw, 72px);
  text-align: center;
}

/* ---------- Eyebrow / titles ---------- */
.section-label,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  color: var(--secondary-dark);
  background: var(--secondary-pale);
  box-shadow: var(--shadow-inset);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-label::before {
  width: 18px;
  height: 2px;
  content: '';
  border-radius: 2px;
  background: var(--primary);
}

.section-title {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.section-desc {
  max-width: 660px;
  margin-inline: auto;
  color: var(--texto-light);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

/* ---------- Text gradients ---------- */
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
}

.text-gradient-alt {
  background: var(--grad-secondary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--secondary-dark);
}

/* ---------- Animated blur blobs ---------- */
.blur-shape {
  position: absolute;
  z-index: -1;
  width: clamp(220px, 30vw, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  will-change: transform;
  animation: floatBlob 16s var(--ease) infinite alternate;
}

.shape-orange {
  background: radial-gradient(circle at 35% 35%, rgba(240, 128, 102, 0.85), rgba(230, 101, 71, 0.15) 70%);
}

.shape-green {
  background: radial-gradient(circle at 35% 35%, rgba(147, 160, 71, 0.7), rgba(129, 141, 60, 0.12) 70%);
  animation-duration: 20s;
  animation-delay: -4s;
}

.shape-beige {
  background: radial-gradient(circle at 35% 35%, rgba(197, 176, 144, 0.7), rgba(197, 176, 144, 0.1) 70%);
  animation-duration: 24s;
  animation-delay: -8s;
}

@keyframes floatBlob {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(24px, -34px, 0) scale(1.08); }
  100% { transform: translate3d(-20px, 26px, 0) scale(0.96); }
}

/* ============================================================
   HEADER — sticky glass
   ============================================================ */
header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(251, 248, 243, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: background var(--transition-fast), border-color var(--transition-fast),
    box-shadow var(--transition-fast), height var(--transition-fast);
}

header.sticky,
header.scrolled {
  border-color: var(--border);
  background: rgba(251, 248, 243, 0.86);
  box-shadow: 0 8px 30px rgba(30, 35, 42, 0.08);
}

.header-container {
  display: flex;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 56px;
  object-fit: contain;
  transition: transform var(--transition);
}

.brand:hover img {
  transform: scale(1.04);
}

.brand-text {
  display: none;
}

.brand-name {
  color: var(--dark);
  font-family: var(--font-title);
  font-size: 1.24rem;
  font-weight: 700;
}

.brand-tagline {
  margin-top: 3px;
  color: var(--texto-muted);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  list-style: none;
}

.nav-links a {
  position: relative;
  padding: 8px 2px;
  color: var(--texto-light);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: '';
  border-radius: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--primary);
}

.nav-links a.nav-active {
  font-weight: 600;
}

.nav-links a:hover::after,
.nav-links a.nav-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-btn {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: var(--shadow-xs);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--dark);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
.btn-reservar,
.btn-siguiente,
.btn-volver,
.btn-white {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  padding: 13px 28px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: color var(--transition-fast), background var(--transition-fast),
    border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.btn:hover,
.btn-reservar:hover,
.btn-siguiente:hover,
.btn-volver:hover,
.btn-white:hover {
  transform: translateY(-3px);
}

.btn:active,
.btn-reservar:active,
.btn-siguiente:active {
  transform: translateY(-1px);
}

/* Primary — gradient coral with shine sweep */
.btn-primary,
.btn-reservar,
.btn-siguiente {
  border-color: transparent;
  color: var(--white) !important;
  background: var(--grad-primary);
  background-size: 160% 160%;
  box-shadow: var(--shadow-primary);
}

.btn-primary::after,
.btn-reservar::after,
.btn-siguiente::after {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  content: '';
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
}

.btn-primary:hover,
.btn-reservar:hover,
.btn-siguiente:hover {
  box-shadow: var(--shadow-primary-hover);
}

.btn-primary:hover::after,
.btn-reservar:hover::after,
.btn-siguiente:hover::after {
  left: 130%;
}

/* Secondary — outlined pill */
.btn-secondary {
  border-color: var(--secondary);
  border-radius: var(--radius-pill);
  color: var(--secondary-dark);
  background: transparent;
}

.btn-secondary:hover {
  color: var(--white);
  background: var(--grad-secondary);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(85, 107, 47, 0.28);
}

/* Ghost — text link with underline */
.btn-ghost {
  min-height: auto;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  color: var(--dark);
  background: transparent;
  box-shadow: none;
}

.btn-ghost::before {
  position: absolute;
  right: 4px;
  bottom: 2px;
  left: 4px;
  height: 2px;
  content: '';
  border-radius: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.btn-ghost:hover {
  color: var(--primary);
  transform: none;
}

.btn-ghost:hover::before {
  transform: scaleX(1);
}

/* White — for dark backgrounds */
.btn-white {
  border-color: transparent;
  border-radius: var(--radius-btn);
  color: var(--primary);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  color: var(--primary-dark);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.btn-volver {
  border-color: var(--border-strong);
  border-radius: var(--radius-btn) !important;
  color: var(--texto-light);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.btn-volver:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-siguiente {
  border-radius: var(--radius-btn) !important;
}

.btn:disabled,
.btn-siguiente:disabled,
.btn[disabled] {
  border-color: #DADCDF;
  color: var(--texto-muted) !important;
  background: #E7E8EA !important;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn:disabled::after,
.btn-siguiente:disabled::after {
  display: none;
}

.btn-block {
  width: 100%;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-full,
.hero-sec {
  position: relative;
  min-height: min(94vh, 860px);
  padding: calc(var(--header-h) + 76px) 0 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 78% 30%, rgba(240, 128, 102, 0.14), transparent 42%),
    radial-gradient(circle at 12% 82%, rgba(129, 141, 60, 0.12), transparent 46%),
    linear-gradient(180deg, var(--cream), rgba(251, 248, 243, 0.4));
  border-bottom: 1px solid var(--border);
}

/* Big soft washes drifting behind hero */
.hero-full::before,
.hero-sec::before {
  position: absolute;
  z-index: 0;
  top: -12%;
  right: -8%;
  width: min(52vw, 620px);
  aspect-ratio: 1;
  content: '';
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(240, 128, 102, 0.4), transparent 68%);
  filter: blur(50px);
  animation: floatBlob 18s var(--ease) infinite alternate;
}

.hero-full::after,
.hero-sec::after {
  position: absolute;
  z-index: 0;
  bottom: -18%;
  left: -6%;
  width: min(42vw, 480px);
  aspect-ratio: 1;
  content: '';
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(129, 141, 60, 0.32), transparent 68%);
  filter: blur(52px);
  animation: floatBlob 22s var(--ease) infinite alternate-reverse;
}

.hero-full .container,
.hero-sec .container {
  position: relative;
  z-index: 1;
}

.hero-content,
.hero-copy {
  max-width: 660px;
}

.hero-brand-mark {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--secondary-dark);
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-xs);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1,
.hero-full h1,
.hero-sec h1 {
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero-content > p,
.hero-copy > p,
.hero-full .hero-copy p {
  max-width: 600px;
  margin-bottom: 32px;
  color: var(--texto-light);
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
}

.hero-bullets {
  display: grid;
  max-width: 580px;
  margin: 0 0 34px;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--texto);
  font-size: 1rem;
  font-weight: 500;
}

.hero-bullets li::before {
  content: none;
  display: none;
}

.hero-bullets svg {
  display: block;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  color: var(--secondary-dark);
  background: var(--secondary-pale);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.hero-visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--grad-warm);
  box-shadow: var(--shadow-lg);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: '';
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.hero-media .hero-img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.hero-img {
  width: 100%;
  max-height: 560px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* Floating glass stat cards over hero image */
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-md);
  animation: floatCard 6s var(--ease) infinite alternate;
}

.float-card .fc-icon {
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--grad-primary);
  flex: 0 0 40px;
}

.float-card .fc-num {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.float-card .fc-label {
  color: var(--texto-muted);
  font-size: 0.74rem;
  font-weight: 500;
}

.float-card.fc-tl { top: 6%; left: -4%; animation-delay: -1s; }
.float-card.fc-br { bottom: 8%; right: -5%; animation-delay: -3s; }
.float-card.fc-bl { bottom: 20%; left: -8%; animation-delay: -2s; }

.float-card.fc-alt .fc-icon {
  background: var(--grad-secondary);
}

@keyframes floatCard {
  0%   { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(-16px) rotate(1deg); }
}

/* Legacy compat */
.floating-container {
  display: none;
}

/* ============================================================
   TRUST STRIP / BANNER
   ============================================================ */
.trust-strip,
.trust-banner {
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.trust-strip .container,
.trust-flex,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.trust-item,
.trust-point {
  display: none;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(230, 101, 71, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 101, 71, 0.28);
  box-shadow: var(--shadow-md);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  color: var(--primary);
  background: var(--primary-pale);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-card strong {
  display: block;
  margin: 0 0 2px;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.25;
}

.trust-card p {
  margin: 0;
  color: var(--texto-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.trust-item::before,
.trust-point::before {
  content: none;
  display: none;
}

.trust-item + .trust-item,
.trust-point + .trust-point {
  border-left: 0;
}

/* ============================================================
   GLASS / ELEVATED CARDS (shared base)
   ============================================================ */
.glass-card {
  position: relative;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-md), var(--shadow-inset);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-inset);
}

.service-card,
.team-card,
.price-card,
.testimonial-card,
.mvv-card,
.porque-card,
.servicio-card,
.psicologo-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-card:hover,
.team-card:hover,
.price-card:hover,
.mvv-card:hover,
.porque-card:hover,
.servicio-card:hover,
.psicologo-card:hover {
  border-color: rgba(230, 101, 71, 0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-visual {
  position: relative;
}

.about-shape-bg {
  position: absolute;
  z-index: -1;
  inset: 8% -6% -6% 8%;
  border-radius: var(--radius-lg);
  background: var(--grad-secondary);
  opacity: 0.14;
}

.about-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--grad-warm);
  box-shadow: var(--shadow-lg);
}

.about-frame::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: '';
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.about-frame::after {
  position: absolute;
  z-index: -1;
  right: -22px;
  bottom: -22px;
  width: 62%;
  height: 62%;
  content: '';
  border-radius: var(--radius-lg);
  background: var(--grad-primary);
  opacity: 0.16;
  filter: blur(4px);
}

.about-frame .about-img,
.about-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.about-frame .about-img {
  border-radius: 0;
  box-shadow: none;
}

.about-bullets {
  display: grid;
  margin: 32px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.about-bullet-item {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--secondary-pale);
  border: 1px solid var(--border);
}

.about-bullet-item h3,
.about-bullet-item h4 {
  margin-bottom: 6px;
  color: var(--secondary-dark);
  font-size: 1.12rem;
}

.about-bullet-item p {
  margin: 0;
  color: var(--texto-light);
  font-size: 0.92rem;
}

/* ============================================================
   SERVICES — editorial list
   ============================================================ */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-strong);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 20px 26px 24px;
  border-bottom: 1px solid var(--border);
  color: inherit;
  border-radius: var(--radius-md);
  transition: background var(--transition), transform var(--transition), padding var(--transition);
}

.service-row::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  content: '';
  border-radius: 3px;
  background: var(--grad-primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}

.service-row:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateX(6px);
}

.service-row:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.service-row h3 {
  margin: 0 0 4px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  transition: color var(--transition);
}

.service-row p {
  margin: 0;
  color: var(--texto-light);
}

.service-row:hover h3 {
  color: var(--primary);
}

.service-meta {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.94rem;
  white-space: nowrap;
}

/* Services as cards */
.service-icon,
.servicio-icon,
.porque-icon,
.mvv-icon {
  position: relative;
  display: inline-flex;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--grad-primary);
  font-size: 1.35rem;
  box-shadow: 0 10px 22px rgba(230, 101, 71, 0.3);
  transition: transform var(--transition);
}

.service-card:hover .service-icon,
.servicio-card:hover .servicio-icon,
.porque-card:hover .porque-icon,
.mvv-card:hover .mvv-icon {
  transform: rotate(-6deg) scale(1.06);
}

.mvv-icon {
  background: var(--grad-secondary);
  box-shadow: 0 10px 22px rgba(85, 107, 47, 0.28);
}

.service-card {
  overflow: hidden;
  padding: clamp(26px, 3vw, 34px);
}

.service-card::after {
  position: absolute;
  top: -40%;
  left: -60%;
  width: 60%;
  height: 180%;
  content: '';
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease);
  pointer-events: none;
}

.service-card:hover::after {
  left: 140%;
}

.service-card h3 {
  font-size: 1.34rem;
}

.service-card p {
  color: var(--texto-light);
}

.service-tag,
.tag,
.tag-item,
.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  color: var(--secondary-dark);
  background: var(--secondary-pale);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.tag-item {
  color: var(--primary);
  background: var(--primary-pale);
}

/* ============================================================
   PROCESS / PROOF
   ============================================================ */
.proof-block {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.proof-step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.proof-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.proof-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--white);
  background: var(--grad-primary);
  box-shadow: 0 10px 22px rgba(230, 101, 71, 0.3);
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
}

.proof-step h3 {
  font-size: 1.32rem;
}

.proof-step p {
  margin: 0;
  color: var(--texto-light);
}

/* ============================================================
   CHARTS SECTION
   ============================================================ */
.charts-sec {
  position: relative;
  padding: clamp(76px, 8vw, 116px) 0;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background:
    radial-gradient(circle at 88% 12%, rgba(230, 101, 71, 0.08), transparent 40%),
    var(--secondary-pale);
}

.chart-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 36px;
}

.clinical-chart-box {
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md), var(--shadow-inset);
}

.chart-title-lbl,
.chart-subtitle-lbl {
  text-align: center;
}

.chart-title-lbl {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.chart-subtitle-lbl {
  margin-bottom: 28px;
  color: var(--texto-muted);
  font-size: 0.82rem;
}

.chart-bars {
  display: flex;
  height: 240px;
  padding: 0 6px;
  border-bottom: 2px solid var(--border);
  align-items: flex-end;
  justify-content: space-around;
  gap: 12px;
}

.chart-bar-item {
  position: relative;
  display: flex;
  height: 100%;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.bar-fill {
  position: relative;
  z-index: 2;
  width: 44px;
  max-width: 100%;
  height: 0;
  border-radius: 10px 10px 0 0;
  background: var(--grad-primary);
  box-shadow: 0 -4px 16px rgba(230, 101, 71, 0.28);
  transition: height 1.3s var(--ease);
}

.chart-bar-item:nth-child(even) .bar-fill {
  background: var(--grad-secondary);
  box-shadow: 0 -4px 16px rgba(85, 107, 47, 0.24);
}

.bar-val {
  position: absolute;
  top: -28px;
  left: 50%;
  color: var(--dark);
  font-size: 0.76rem;
  font-weight: 700;
  transform: translateX(-50%);
}

.bar-lbl {
  margin-top: 10px;
  color: var(--texto-muted);
  font-size: 0.74rem;
  font-weight: 500;
  text-align: center;
}

.metrics-column {
  display: grid;
  gap: 14px;
}

.metric-row-item {
  display: flex;
  padding: 20px;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.metric-row-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.metric-circle-box {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  place-items: center;
}

.metric-circle-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.metric-circle-svg .circle-track {
  fill: none;
  stroke: var(--secondary-pale);
  stroke-width: 5;
}

.circle-bar {
  fill: none;
  stroke: var(--primary);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  transition: stroke-dashoffset 1.4s var(--ease);
}

.metric-row-item:nth-child(even) .circle-bar {
  stroke: var(--secondary);
}

.circle-pct {
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
}

.metric-text-box h4 {
  margin-bottom: 3px;
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.metric-text-box p {
  margin: 0;
  color: var(--texto-muted);
  font-size: 0.78rem;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  border-top: none;
}

.team-card {
  padding: 38px 28px;
  text-align: center;
}

.team-card::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 4px;
  content: '';
  border-radius: 0 0 4px 4px;
  background: var(--grad-primary);
  transform: translateX(-50%);
  transition: width var(--transition);
}

.team-card:hover::before {
  width: 60%;
}

.team-avatar,
.user-avatar {
  display: flex;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  color: var(--primary);
  background: var(--primary-pale);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform var(--transition);
}

.team-card .user-avatar,
.team-card .team-avatar,
.team-avatar {
  margin: 0 auto 22px;
}

.team-card:hover .user-avatar,
.team-card:hover .team-avatar {
  transform: scale(1.06);
}

.user-avatar.avatar-alt {
  color: var(--secondary-dark);
  background: var(--secondary-pale);
}

.team-role {
  margin-bottom: 8px;
  color: var(--secondary-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-cop {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
}

.team-desc {
  margin: 0;
  color: var(--texto-light);
  font-size: 0.9rem;
}

/* ============================================================
   TESTIMONIALS / QUOTES
   ============================================================ */
.testimonials-sec {
  background:
    radial-gradient(circle at 15% 20%, rgba(230, 101, 71, 0.06), transparent 40%),
    var(--primary-pale);
}

.testimonials-slider,
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.testimonial-card {
  padding: 38px;
}

.quote-icon {
  height: 40px;
  margin-bottom: 16px;
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 3.4rem;
  line-height: 1;
}

.testimonial-text {
  margin-bottom: 24px;
  color: var(--dark);
  font-family: var(--font-title);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.5;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-user .user-avatar {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.user-info h4,
.user-info p {
  margin-bottom: 2px;
}

.user-info p {
  color: var(--texto-muted);
  font-size: 0.82rem;
}

/* Blockquote-styled quotes */
.quote-block {
  position: relative;
  margin: 0;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.quote-block:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.quote-block::before {
  position: absolute;
  top: 12px;
  left: 24px;
  content: '\201C';
  color: var(--primary);
  opacity: 0.28;
  font-family: var(--font-title);
  font-size: 4.5rem;
  line-height: 1;
}

.quote-block > p {
  position: relative;
  margin-bottom: 20px;
  color: var(--dark);
  font-family: var(--font-title);
  font-size: clamp(1.18rem, 2.2vw, 1.5rem);
  font-style: italic;
  line-height: 1.45;
}

.quote-block > footer {
  color: var(--texto-muted);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.price-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--primary-pale), var(--surface-raised) 42%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(230, 101, 71, 0.2);
  transform: scale(1.045);
  z-index: 2;
}

.price-card.popular:hover {
  transform: scale(1.045) translateY(-6px);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  padding: 7px 18px;
  color: var(--white);
  background: var(--grad-primary);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.price-card h3 {
  font-size: 1.4rem;
}

.price-value {
  display: flex;
  margin: 22px 0;
  align-items: baseline;
  gap: 5px;
}

.currency {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 700;
}

.amount {
  color: var(--dark);
  font-family: var(--font-title);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
}

.period {
  color: var(--texto-muted);
  font-size: 0.85rem;
}

.price-features {
  margin: 0 0 32px;
  padding: 0;
  flex: 1;
  list-style: none;
}

.price-features li {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  gap: 11px;
  color: var(--texto-light);
  font-size: 0.92rem;
}

.price-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--secondary-dark);
  background: var(--secondary-pale);
  font-size: 0.7rem;
  font-weight: 700;
  flex: 0 0 22px;
}

.price-features svg {
  width: 20px;
  flex: 0 0 20px;
  color: var(--secondary);
}

/* Pricing editorial table (home) */
.price-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-strong);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 26px 20px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: background var(--transition), transform var(--transition);
}

.price-row:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(5px);
}

.price-row h3,
.price-row p {
  margin: 0;
}

.price-row p {
  color: var(--texto-light);
  font-size: 0.92rem;
}

.price-row.price-featured {
  position: relative;
  background: var(--primary-pale);
  border: 1px solid rgba(230, 101, 71, 0.28);
}

.price-amount {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-container {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.active {
  border-color: rgba(230, 101, 71, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--dark);
  background: transparent;
  font-family: var(--font-title);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-pale);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  flex: 0 0 34px;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity var(--transition);
}

.faq-answer p {
  max-width: 760px;
  padding: 0 26px 24px;
  margin: 0;
  color: var(--texto-light);
}

.faq-item.active .faq-answer {
  max-height: 420px;
  opacity: 1;
}

.faq-item.active .faq-icon {
  color: var(--white);
  background: var(--grad-primary);
  transform: rotate(135deg);
}

/* ============================================================
   CTA band / section
   ============================================================ */
.cta-band,
.cta-sec,
.nosotros-cta {
  position: relative;
  padding: clamp(64px, 8vw, 100px) 0;
  overflow: hidden;
  color: var(--white);
  background: var(--grad-dark);
  text-align: center;
}

.cta-band::before,
.cta-sec::before,
.nosotros-cta::before {
  position: absolute;
  top: -30%;
  left: -10%;
  width: 55%;
  aspect-ratio: 1;
  content: '';
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(230, 101, 71, 0.5), transparent 68%);
  filter: blur(60px);
  animation: floatBlob 18s var(--ease) infinite alternate;
}

.cta-band::after,
.cta-sec::after,
.nosotros-cta::after {
  position: absolute;
  right: -12%;
  bottom: -34%;
  width: 50%;
  aspect-ratio: 1;
  content: '';
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(129, 141, 60, 0.45), transparent 68%);
  filter: blur(64px);
  animation: floatBlob 22s var(--ease) infinite alternate-reverse;
}

.cta-band .container,
.cta-sec .container,
.nosotros-cta .container {
  position: relative;
  z-index: 1;
}

.cta-band h2,
.cta-sec h2,
.nosotros-cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.cta-band p,
.cta-sec p,
.nosotros-cta p {
  max-width: 640px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

.section-cta {
  margin-top: 40px;
  text-align: center;
}

/* ============================================================
   PAGE HERO + result panels
   ============================================================ */
.page-hero,
.reservar-hero {
  position: relative;
  padding: calc(var(--header-h) + 78px) 0 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 82% 20%, rgba(230, 101, 71, 0.12), transparent 44%),
    radial-gradient(circle at 15% 85%, rgba(129, 141, 60, 0.1), transparent 46%),
    var(--grad-warm);
  text-align: center;
}

.page-hero::after,
.reservar-hero::after {
  position: absolute;
  right: 7%;
  bottom: -70px;
  width: 200px;
  height: 200px;
  content: '';
  border: 1.5px solid rgba(230, 101, 71, 0.2);
  border-radius: 50%;
  animation: floatBlob 20s var(--ease) infinite alternate;
}

.page-hero h1,
.reservar-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  letter-spacing: -0.035em;
}

.page-hero p:not(.breadcrumb),
.reservar-hero p:not(.breadcrumb) {
  max-width: 700px;
  margin-inline: auto;
  color: var(--texto-light);
  font-size: 1.12rem;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--texto-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--primary);
}

.page-result {
  min-height: calc(100vh - var(--header-h));
  padding: calc(var(--header-h) + 60px) 24px 80px;
  display: grid;
  place-items: center;
}

.result-panel {
  width: min(100%, 650px);
  padding: clamp(32px, 6vw, 60px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-top: 4px solid var(--texto-muted);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.result-panel.is-success {
  border-top-color: var(--secondary);
}

.result-panel.is-error {
  border-top-color: var(--primary);
}

.result-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.is-success .result-icon {
  color: var(--secondary-dark);
}

.is-error .result-icon,
.field-error {
  color: #B64031;
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ============================================================
   FORMS / CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(360px, 1.15fr);
  align-items: start;
  gap: clamp(32px, 6vw, 72px);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--texto);
  font-size: 0.86rem;
  font-weight: 600;
}

.form-control,
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  outline: 0;
  color: var(--texto);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

textarea.form-control,
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-control::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--texto-muted);
}

.form-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(230, 101, 71, 0.14);
}

.form-control[aria-invalid='true'],
.form-group .has-error,
.has-error {
  border-color: #B64031;
}

.contact-info-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.contact-info-item {
  display: flex;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  align-items: flex-start;
  gap: 15px;
}

.contact-info-item:first-child {
  border-top: 0;
}

.contact-info-icon,
.resumen-icon {
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--grad-secondary);
  box-shadow: 0 6px 16px rgba(85, 107, 47, 0.24);
  flex: 0 0 44px;
}

.contact-info-text h3,
.contact-info-text h4,
.contact-info-text p {
  margin-bottom: 3px;
}

.contact-info-text h3,
.contact-info-text h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.contact-info-text p {
  color: var(--texto-light);
  font-size: 0.92rem;
}

/* ============================================================
   RESERVAR — stepper, panels, calendar, slots, summary
   ============================================================ */
.stepper-wrap {
  position: sticky;
  z-index: 80;
  top: var(--header-h) !important;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.stepper {
  display: flex;
  max-width: 720px;
  margin-inline: auto;
  padding: 20px 24px;
}

.step-item {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.step-item:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 17px;
  left: 50%;
  width: 100%;
  height: 2px;
  content: '';
  background: var(--border-strong);
  transition: background var(--transition);
}

.step-item.done:not(:last-child)::after {
  background: var(--secondary);
}

.step-num {
  position: relative;
  z-index: 1;
  display: flex;
  width: 36px;
  height: 36px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--texto-muted);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--transition);
}

.step-item.active .step-num {
  border-color: var(--primary);
  color: var(--white);
  background: var(--grad-primary);
  box-shadow: 0 0 0 5px var(--primary-pale);
}

.step-item.done .step-num {
  border-color: var(--secondary);
  color: var(--white);
  background: var(--grad-secondary);
}

.step-label {
  margin-top: 8px;
  color: var(--texto-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.step-item.active .step-label {
  color: var(--primary);
}

.step-item.done .step-label {
  color: var(--secondary-dark);
}

.reservar-body {
  display: grid;
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
  padding: 52px 0 88px;
  grid-template-columns: minmax(0, 1fr) 340px !important;
  align-items: start;
  gap: 34px;
}

.step-panel {
  display: none;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  animation: panelIn 0.45s var(--ease);
}

.step-panel.visible {
  display: block;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.step-panel .step-desc {
  margin-bottom: 30px;
  color: var(--texto-light);
}

.servicios-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.servicio-opt,
.modalidad-btn,
.psicologo-opt {
  position: relative;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--texto);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast),
    box-shadow var(--transition-fast), transform var(--transition-fast);
}

.servicio-opt {
  padding: 18px 20px;
  text-align: left;
}

.servicio-opt h4,
.psicologo-opt h4 {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
}

.servicio-opt .precio {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
}

.servicio-opt .dur,
.psicologo-opt .sub {
  color: var(--texto-muted);
  font-size: 0.78rem;
}

.servicio-opt:hover,
.servicio-opt.selected,
.servicio-opt.opt-selected {
  border-color: var(--primary);
  background: var(--primary-pale);
  box-shadow: 0 8px 20px rgba(230, 101, 71, 0.14);
  transform: translateY(-2px);
}

.servicio-opt.selected::after,
.servicio-opt.opt-selected::after {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--grad-primary);
  content: '✓';
  font-size: 0.7rem;
  font-weight: 700;
}

.modalidad-btns {
  display: flex;
  margin-bottom: 26px;
  gap: 14px;
}

.modalidad-btn {
  min-height: 104px;
  padding: 16px;
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.modalidad-btn .icon {
  display: block;
  margin-bottom: 7px;
  font-size: 1.5rem;
}

.modalidad-btn:hover,
.modalidad-btn.selected,
.modalidad-btn.opt-selected {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-pale);
  box-shadow: 0 8px 20px rgba(230, 101, 71, 0.14);
  transform: translateY(-2px);
}

.psicologo-opts {
  display: grid;
  gap: 12px;
}

.psicologo-opt {
  display: flex;
  min-height: 72px;
  padding: 12px 16px;
  align-items: center;
  gap: 13px;
}

.psicologo-opt:hover,
.psicologo-opt.selected,
.psicologo-opt.opt-selected {
  border-color: var(--secondary);
  background: var(--secondary-pale);
  transform: translateY(-2px);
}

.psicologo-opt.selected::after,
.psicologo-opt.opt-selected::after {
  margin-left: auto;
  display: flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--grad-secondary);
  content: '✓';
  font-size: 0.7rem;
  font-weight: 700;
}

.psicologo-avatar2 {
  display: flex;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-pale);
  font-family: var(--font-title);
  font-weight: 700;
  flex: 0 0 46px;
}

/* Calendar */
.cal-nav {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  justify-content: space-between;
}

.cal-nav h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
}

.cal-nav button {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--texto);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cal-nav button:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-pale);
}

.cal-grid,
.cal-weekdays,
#calDays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

#calDays {
  grid-column: 1 / -1;
}

.cal-day-header,
.cal-weekdays > * {
  padding: 8px 2px;
  color: var(--texto-muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.cal-day {
  display: flex;
  min-width: 0;
  aspect-ratio: 1;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cal-day:hover:not(.disabled):not(.empty):not(.pasado) {
  border-color: var(--primary);
  background: var(--primary-pale);
}

.cal-day.selected,
.cal-day.opt-selected {
  border-color: transparent;
  color: var(--white);
  background: var(--grad-primary);
  box-shadow: var(--shadow-primary);
}

.cal-day.today:not(.selected) {
  color: var(--primary);
  font-weight: 700;
  border-color: rgba(230, 101, 71, 0.35);
}

.cal-day.disabled,
.cal-day.pasado {
  color: #C7CACF;
  cursor: default;
}

.cal-day.empty {
  cursor: default;
}

/* Slots */
.slots-grid {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.slot-btn {
  padding: 11px 6px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--texto);
  background: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slot-btn:hover:not(.ocupado) {
  border-color: var(--primary);
  background: var(--primary-pale);
  transform: translateY(-2px);
}

.slot-btn.selected,
.slot-btn.opt-selected {
  border-color: transparent;
  color: var(--white);
  background: var(--grad-primary);
  box-shadow: var(--shadow-primary);
}

.slot-btn.ocupado {
  color: var(--texto-muted);
  background: #ECEDEF;
  cursor: default;
  text-decoration: line-through;
}

.slots-loading {
  padding: 30px;
  color: var(--texto-muted);
  text-align: center;
}

.step-nav {
  display: flex;
  margin-top: 30px;
  gap: 14px;
}

.btn-siguiente {
  flex: 1;
}

.confirmacion-box {
  padding: 22px;
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius-md);
  background: var(--secondary-pale);
}

.confirm-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid rgba(44, 51, 61, 0.09);
  justify-content: space-between;
  gap: 20px;
  font-size: 0.9rem;
}

.confirm-row:last-child {
  border-bottom: 0;
}

/* Summary sidebar */
.resumen-side {
  position: sticky;
  top: calc(var(--header-h) + 90px);
}

.resumen-card,
.resumen-box {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md), var(--shadow-inset);
}

.resumen-card h3,
.resumen-box h3 {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
}

.resumen-item {
  display: flex;
  margin-bottom: 16px;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
}

.resumen-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.resumen-item .label {
  color: var(--texto-muted);
  font-size: 0.72rem;
}

.resumen-item .val {
  font-weight: 600;
}

.resumen-item .val.empty {
  color: var(--texto-muted);
  font-weight: 400;
}

.resumen-precio {
  display: flex;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
}

.resumen-precio .monto {
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
}

.resumen-precio .desde {
  color: var(--texto-muted);
  font-size: 0.74rem;
}

.garantia-box {
  margin-top: 18px;
  padding: 15px;
  border-radius: var(--radius-sm);
  color: var(--secondary-dark);
  background: var(--secondary-pale);
  font-size: 0.8rem;
}

.garantia-box strong {
  display: block;
  color: var(--secondary-dark);
}

.exito-panel {
  padding-block: 54px;
  text-align: center;
}

.exito-panel .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--grad-secondary);
  box-shadow: 0 14px 34px rgba(85, 107, 47, 0.3);
  font-size: 2.8rem;
}

.exito-panel .numero {
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
}

.loading-overlay {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(251, 248, 243, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.loading-overlay.visible {
  display: flex;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   INTERIOR CONTENT PAGES (historia, mvv, porque, servicio)
   ============================================================ */
.historia-sec,
.mvv-sec,
.porque-sec,
.servicios-sec {
  padding: clamp(76px, 8vw, 112px) 0;
}

.historia-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(40px, 7vw, 84px);
}

.historia-visual {
  position: relative;
}

.historia-img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--grad-warm);
  box-shadow: var(--shadow-lg);
}

.historia-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.historia-badge {
  position: absolute;
  right: -20px;
  bottom: 26px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.historia-badge .num {
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.historia-badge .label {
  color: var(--texto-muted);
  font-size: 0.76rem;
}

.historia-content p,
.mvv-card p,
.porque-card p,
.servicio-body p {
  color: var(--texto-light);
}

.mvv-sec {
  border-block: 1px solid var(--border);
  background:
    radial-gradient(circle at 90% 10%, rgba(129, 141, 60, 0.08), transparent 40%),
    var(--surface-raised);
}

.mvv-grid,
.porque-grid {
  display: grid;
  margin-top: 46px;
  gap: 24px;
}

.mvv-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.porque-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mvv-card,
.porque-card {
  padding: 32px;
}

.porque-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.porque-icon,
.mvv-icon {
  margin: 0 0 20px;
  flex: 0 0 60px;
}

.porque-icon {
  margin: 0;
}

.mvv-card h3,
.porque-card h3 {
  font-size: 1.3rem;
}

.valores-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.valores-list li {
  display: flex;
  margin-bottom: 9px;
  align-items: flex-start;
  gap: 10px;
  color: var(--texto-light);
  font-size: 0.9rem;
}

.valores-list .dot {
  width: 8px;
  height: 8px;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--grad-primary);
  flex: 0 0 8px;
}

/* Servicio detail cards */
.servicios-grid {
  margin-top: 0;
}

.servicio-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.servicio-header {
  display: flex;
  padding: 26px;
  align-items: center;
  gap: 16px;
  background: var(--grad-warm);
}

.servicio-header .servicio-icon {
  margin: 0;
  color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.servicio-card:hover .servicio-header .servicio-icon {
  color: var(--white);
  background: var(--grad-primary);
}

.servicio-header h3 {
  margin-bottom: 4px;
  font-size: 1.28rem;
}

.servicio-body {
  padding: 26px;
  flex: 1;
}

.servicio-detalles {
  display: grid;
  margin-bottom: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detalle-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--texto-muted);
  font-size: 0.82rem;
}

.detalle-item svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.detalle-item strong {
  color: var(--texto);
}

.servicio-problemas h4 {
  margin-bottom: 12px;
  color: var(--texto-muted);
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.servicio-footer {
  display: flex;
  padding: 20px 26px;
  border-top: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.precio {
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
}

.precio span {
  color: var(--texto-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
}

/* Psicologo card (interior) */
.psicologo-card {
  padding: 30px;
  text-align: center;
}

.psicologo-card .psicologo-avatar,
.psicologo-card img {
  width: 110px;
  height: 110px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
footer.site-footer {
  position: relative;
  padding: 78px 0 30px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  background: var(--grad-dark);
}

.site-footer::before {
  position: absolute;
  top: -30%;
  right: -8%;
  width: 40%;
  aspect-ratio: 1;
  content: '';
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(230, 101, 71, 0.28), transparent 68%);
  filter: blur(70px);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  margin-bottom: 52px;
  grid-template-columns: 1.7fr 1fr 1fr 1.35fr;
  gap: clamp(28px, 5vw, 60px);
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  margin-bottom: 14px;
  color: var(--white);
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 600;
}

.footer-logo-img,
.footer-brand img {
  width: auto;
  height: 56px;
  margin-bottom: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.footer-col h4,
.footer-col h5,
.footer-grid > div > h4 {
  margin-bottom: 20px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links,
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li,
.footer-col li {
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.footer-links a:hover,
.footer-col a:hover,
.footer-bottom a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  width: min(100% - 48px, var(--max-w));
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

/* ============================================================
   REVEAL / SCROLL ANIMATIONS
   ============================================================ */
.reveal,
.reveal-on-scroll,
.animate-fade-in,
.animate-slide-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.animate-fade-in {
  transform: none;
}

.reveal.revealed,
.reveal-on-scroll.revealed,
.animate-fade-in.revealed,
.animate-slide-up.revealed,
.revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .chart-wrapper {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }

  .price-card.popular {
    transform: none;
  }

  .price-card.popular:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .historia-grid,
  .mvv-grid,
  .porque-grid,
  .proof-block,
  .team-list,
  .quotes-grid,
  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: flex;
  }

  .header-btn {
    display: none;
  }

  nav {
    gap: 12px;
  }

  .nav-links {
    position: fixed;
    z-index: 1001;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(88vw, 380px);
    padding: 36px 30px;
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(251, 248, 243, 0.98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: -20px 24px 60px rgba(30, 35, 42, 0.15);
    transform: translateX(105%);
    transition: transform 0.4s var(--ease);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    display: block;
    padding: 15px 6px;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }

  .nav-links a::after {
    display: none;
  }

  body.nav-open::after {
    position: fixed;
    z-index: 900;
    inset: var(--header-h) 0 0;
    content: '';
    background: rgba(30, 35, 42, 0.4);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  .hero-full,
  .hero-sec {
    min-height: auto;
    padding-top: calc(var(--header-h) + 56px);
  }

  .hero-visual {
    min-height: 360px;
    order: -1;
  }

  .hero-media {
    max-width: 420px;
  }

  .float-card.fc-tl { left: 0; }
  .float-card.fc-br { right: 0; }
  .float-card.fc-bl { left: 0; }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .reservar-body {
    grid-template-columns: 1fr !important;
  }

  .resumen-side {
    position: static;
    order: 2 !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item,
  .trust-point {
    padding-inline: clamp(14px, 3vw, 30px);
  }
}

@media (max-width: 640px) {
  .container,
  .reservar-body,
  .footer-bottom-inner {
    width: min(100% - 32px, var(--max-w));
  }

  .section {
    padding-block: 64px;
  }

  .brand img {
    height: 48px;
  }

  .brand-tagline {
    display: none;
  }

  .hero-full,
  .hero-sec {
    padding: calc(var(--header-h) + 44px) 0 56px;
  }

  .hero-content h1,
  .hero-full h1,
  .hero-sec h1 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .hero-content,
  .hero-content > p,
  .hero-copy,
  .hero-copy > p {
    max-width: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-white {
    width: 100%;
  }

  .hero-actions .btn-ghost {
    align-self: center;
  }

  .hero-visual {
    min-height: 300px;
  }

  .float-card {
    padding: 12px 15px;
  }

  .float-card .fc-num {
    font-size: 1.05rem;
  }

  .trust-item,
  .trust-point {
    width: 100%;
    padding: 12px 0;
    justify-content: flex-start;
    border-left: 0 !important;
    border-bottom: 1px solid var(--border);
  }

  .trust-item:last-child,
  .trust-point:last-child {
    border-bottom: 0;
  }

  .about-bullets,
  .servicios-grid,
  .form-grid,
  .servicio-detalles {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .service-row,
  .price-row {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: start;
  }

  .testimonial-card,
  .price-card,
  .glass-card,
  .quote-block {
    padding: 26px;
  }

  .page-hero,
  .reservar-hero {
    padding: calc(var(--header-h) + 48px) 0 56px;
  }

  .page-hero h1,
  .reservar-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .stepper {
    padding: 15px 10px;
  }

  .step-label {
    max-width: 64px;
    font-size: 0.6rem;
  }

  .reservar-body {
    padding: 30px 0 64px;
  }

  .step-panel {
    padding: 24px 20px;
  }

  .modalidad-btns {
    flex-direction: column;
  }

  .modalidad-btn {
    min-height: 84px;
  }

  .slots-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cal-day {
    font-size: 0.78rem;
  }

  .step-nav {
    flex-wrap: wrap;
  }

  .btn-volver {
    width: 100%;
    order: 2;
  }

  .confirm-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .porque-card {
    padding: 24px;
    flex-direction: column;
  }

  .historia-badge {
    right: 12px;
    bottom: 12px;
    padding: 14px 18px;
  }

  .servicio-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .servicio-footer .btn-reservar,
  .servicio-footer .btn-primary {
    width: 100%;
  }

  .chart-bars {
    height: 200px;
  }

  .bar-fill {
    width: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .blur-shape,
  .float-card,
  .hero-full::before,
  .hero-full::after,
  .hero-sec::before,
  .hero-sec::after,
  .cta-band::before,
  .cta-band::after,
  .cta-sec::before,
  .cta-sec::after {
    animation: none !important;
  }

  .reveal,
  .reveal-on-scroll,
  .animate-fade-in,
  .animate-slide-up {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   INDEX MARKUP COMPAT — float-1/2/3, badge, blur-1/2, fc-title
   ============================================================ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(230, 101, 71, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(129, 141, 60, 0.2);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

.blur-1 {
  top: -8%;
  right: 8%;
  background: radial-gradient(circle at 35% 35%, rgba(240, 128, 102, 0.85), rgba(230, 101, 71, 0.15) 70%);
}

.blur-2 {
  bottom: -12%;
  left: -4%;
  background: radial-gradient(circle at 35% 35%, rgba(147, 160, 71, 0.7), rgba(129, 141, 60, 0.12) 70%);
  animation-duration: 20s;
  animation-delay: -4s;
}

.hero-sec .blur-shape,
.hero-full .blur-shape {
  z-index: 0;
}

.float-card .fc-title {
  display: block;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.float-card .fc-sub {
  display: block;
  margin-top: 2px;
  color: var(--texto-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.float-card.float-1 {
  top: 8%;
  left: -6%;
  animation-delay: -1s;
}

.float-card.float-2 {
  top: 42%;
  right: -8%;
  animation-delay: -2.5s;
}

.float-card.float-2 .fc-icon {
  background: var(--grad-secondary);
}

.float-card.float-3 {
  bottom: 6%;
  left: 8%;
  animation-delay: -4s;
}

.hero-visual {
  position: relative;
}

.circle-bar {
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 1.2s var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.metric-row-item:nth-child(2) .circle-bar { stroke: var(--secondary); }
.metric-row-item:nth-child(3) .circle-bar { stroke: var(--beige); }

.bar-fill {
  height: 0;
  transition: height 1.1s var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 900px) {
  .team-list { grid-template-columns: 1fr; }
  .float-card.float-1 { left: 0; }
  .float-card.float-2 { right: 0; }
  .float-card.float-3 { left: 4%; }
  .trust-grid { grid-template-columns: 1fr; }
}

.hero-badge {
  display: none !important;
}

/* Hide redundant hero brand mark if any old markup remains */
.hero-brand-mark {
  display: none !important;
}

