/* =============================================================
   1. TOKENS — Custom Properties
   ============================================================= */
:root {
  /* Brand colours */
  --morado:        #743874;
  --morado-dark:   #5c2d5c;
  --morado-light:  rgba(116, 56, 116, 0.10);
  --morado-mid:    rgba(116, 56, 116, 0.20);
  --crema:         #F4F2F0;
  --blanco:        #FFFFFF;
  --texto:         #2C2C2C;
  --texto-muted:   #6B6B6B;
  --texto-light:   #9A9A9A;
  --linea:         rgba(44, 44, 44, 0.10);
  --footer-bg:     #2C2C2C;
  --footer-text:   #E8E8E8;

  /* Typography */
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --section-py:   6rem;
  --container-w:  1200px;
  --gutter:       clamp(1.5rem, 5vw, 2.5rem);
  --nav-h:        80px;

  /* Easings */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:      cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--texto);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; object-fit: cover; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.02em; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--morado); color: var(--blanco); }

:focus-visible {
  outline: 2px solid var(--morado);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem;
  background: var(--morado); color: var(--blanco);
  z-index: 9999; border-radius: 8px;
  font-weight: 500; font-size: .9rem;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Defensive rule for split-text — must not be invisible */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* =============================================================
   4. SCROLL PROGRESS BAR
   ============================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: var(--morado);
  z-index: 10000;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* =============================================================
   5. CUSTOM CURSOR — dual dot + ring (desktop only)
   ============================================================= */
.cursor-dot {
  width: 6px;
  height: 6px;
  background: #743874;
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.1s ease;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(116, 56, 116, 0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  opacity: 0;
  background: transparent;
  transition: width 0.3s ease, height 0.3s ease,
              border-color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.cursor-dot.is-ready,
.cursor-ring.is-ready { opacity: 1; }

.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  border-color: rgba(116, 56, 116, 0.8);
  background: rgba(116, 56, 116, 0.06);
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* =============================================================
   6. TYPOGRAPHY SHARED
   ============================================================= */
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--texto);
  margin-bottom: .75rem;
}

.section-line {
  display: block;
  width: 0;
  height: 2px;
  background: var(--morado);
  margin-bottom: 1.75rem;
  border-radius: 1px;
}

.section-text {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--texto-muted);
  line-height: 1.75;
  max-width: 58ch;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header .section-line { margin-inline: auto; }
.section-header .section-text { margin-inline: auto; }

/* =============================================================
   7. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s var(--ease-out),
              filter .2s var(--ease-out),
              box-shadow .2s var(--ease-out),
              background .2s var(--ease-out),
              color .2s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--morado);
  color: var(--blanco);
  box-shadow: 0 4px 20px rgba(116, 56, 116, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--morado);
  border: 1.5px solid var(--morado);
}

@media (hover: hover) {
  .btn-primary:hover {
    transform: scale(1.02);
    filter: brightness(1.08);
    box-shadow: 0 8px 30px rgba(116, 56, 116, 0.35);
  }
  .btn-outline:hover {
    transform: scale(1.02);
    background: var(--morado);
    color: var(--blanco);
  }
}

/* Ripple */
.btn-ripple { overflow: hidden; }
.ripple {
  position: absolute;
  border-radius: 50%;
  width: 10px; height: 10px;
  background: rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple-anim .7s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: translate(-50%, -50%) scale(30); opacity: 0; }
}

/* Pulse for audience CTA */
.btn-pulse {
  animation: pulse-btn 2.8s ease-in-out infinite;
}
@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 4px 20px rgba(116, 56, 116, 0.25); }
  50%       { box-shadow: 0 4px 32px rgba(116, 56, 116, 0.55); }
}

/* =============================================================
   8. HEADER
   ============================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background .35s var(--ease-out),
              box-shadow .35s var(--ease-out),
              backdrop-filter .35s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(244, 242, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(116, 56, 116, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

.header-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.nav-link {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--texto);
  transition: color .2s var(--ease-out);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--morado);
  transition: width .3s var(--ease-out);
  border-radius: 1px;
}
@media (hover: hover) {
  .nav-link:hover { color: var(--morado); }
  .site-header.hero-mode .nav-link { color: rgba(255,255,255,0.85); }
  .site-header.hero-mode .nav-link:hover { color: #ffffff; }
  .nav-link:hover::after { width: 100%; }
}

.nav-cta {
  margin-left: .5rem;
  padding: .65rem 1.4rem;
  font-size: 0.8rem;
  padding-left: 12px;
  padding-right: 12px;
  white-space: nowrap;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 6px;
  margin-left: auto;
  border-radius: 8px;
  transition: background .2s var(--ease-out);
}
.hamburger-line {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--texto);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle.is-active .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: rgb(255, 255, 255) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform .4s var(--ease-out);
  z-index: 1001 !important;
  padding: 2rem;
}
.nav-mobile.is-open { transform: translateX(0); }

.nav-mobile nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.nav-mobile-link {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--texto);
  transition: color .2s var(--ease-out);
}
@media (hover: hover) {
  .nav-mobile-link:hover { color: var(--morado); }
}

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

/* =============================================================
   9. HERO
   ============================================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(26,10,46,0.5) 0%, rgba(26,10,46,0.0) 25%),
    linear-gradient(to right, rgba(26,10,46,0.75) 0%, rgba(26,10,46,0.4) 50%, rgba(26,10,46,0.1) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 160px 0 120px;
  max-width: 900px;
  text-align: center;
}
.hero-kicker {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c694c6;
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 32px;
}

/* Line-mask reveal wrappers */
.hero-title .line-wrapper {
  overflow: hidden;
  display: block;
}
.hero-title .line {
  display: block;
  will-change: transform, opacity;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-btn-outline {
  border-color: rgba(255,255,255,0.8);
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}
.hero-btn-outline:hover {
  background: rgba(255,255,255,0.2);
  border-color: #ffffff;
}
.hero-photo { display: none; }
@media (max-width: 768px) {
  .hero-inner {
    padding: 120px 0 80px;
  }
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
}

/* =============================================================
   10. SOBRE MÍ
   ============================================================= */
.about-section {
  background: var(--blanco);
  padding-block: var(--section-py);
  overflow: hidden;
}

.about-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.about-photo {
  width: 100%;
  max-width: 420px;
}

.about-photo-wrap {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 20px 60px rgba(116, 56, 116, 0.15);
}
.about-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-text { max-width: 580px; }

.about-text .section-title { margin-bottom: .5rem; }

.about-text .section-text + .section-text { margin-top: 1rem; }

.about-text-2 { margin-top: 1rem; }

/* Formation */
.formation-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.formation-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .95rem;
  color: var(--texto);
  font-weight: 500;
}
.formation-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--morado-light);
}

/* =============================================================
   11. A QUIÉN AYUDO
   ============================================================= */
.audience-section {
  background: linear-gradient(135deg, #f8f0f8 0%, #F4F2F0 100%);
  padding-block: var(--section-py);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
  align-items: start;
  transform-style: flat;
  perspective: none;
}

.audience-card {
  background: #ffffff;
  border: 1px solid rgba(116,56,116,0.1);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  cursor: default;
}
.audience-card:hover {
  box-shadow: 0 12px 48px rgba(116,56,116,0.13);
  border-color: rgba(116,56,116,0.25);
  background: linear-gradient(145deg, #ffffff 0%, rgba(116,56,116,0.02) 100%);
}
.audience-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: #2d1a2d;
  line-height: 1.7;
  margin: 0;
  transition: color 0.35s ease;
}
.audience-card:hover p {
  color: #743874;
}

.audience-cta {
  text-align: center;
}

/* =============================================================
   12. SERVICIOS
   ============================================================= */
.services-section {
  background: var(--blanco);
  padding-top: 60px;
  padding-bottom: var(--section-py);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(116, 56, 116, 0.12);
  border-radius: 20px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(116, 56, 116, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Border slide from bottom on hover */
.service-border-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--morado);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
  border-radius: 0 0 20px 20px;
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 48px rgba(116, 56, 116, 0.20);
    border-color: rgba(116, 56, 116, 0.30);
    background: rgba(255, 255, 255, 0.95);
  }
  .service-card:hover .service-border-bottom {
    transform: scaleX(1);
  }
  .service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--morado-mid);
  }
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--morado-light);
  border-radius: 14px;
  padding: 4px;
  transition: transform .3s var(--ease-out), background .3s var(--ease-out);
}
.service-icon svg {
  display: block;
  flex-shrink: 0;
}

.service-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--texto);
  margin-bottom: .75rem;
}

.service-desc {
  font-size: .95rem;
  color: var(--texto-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--morado);
  transition: gap .2s var(--ease-out), color .2s var(--ease-out);
}
@media (hover: hover) {
  .service-link:hover { gap: .7rem; }
}

/* =============================================================
   13. TERAPIA ONLINE
   ============================================================= */
.online-section {
  background: #F0EBF8;
  padding-block: var(--section-py);
  overflow: hidden;
}

.online-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.online-text {
  max-width: 580px;
}

.online-text .section-title { margin-bottom: .5rem; }
.online-text .section-text { margin-bottom: 2rem; }

/* Advantages */
.online-advantages {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 2rem;
}
.online-advantage {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--texto);
  opacity: 0;
  transform: translateX(-15px);
}
.online-advantage.is-visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}

.advantage-icon { flex-shrink: 0; }

/* Requirements */
.online-requirements {
  background: var(--blanco);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.requirements-title {
  font-weight: 600;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--morado);
  margin-bottom: 1rem;
}
.requirements-list {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.requirement-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .9rem;
  color: var(--texto-muted);
}
.req-icon { flex-shrink: 0; }

/* Online photo */
.online-photo {
  width: 100%;
  max-width: 460px;
}
.online-photo-wrap {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.online-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
}

/* =============================================================
   14. TARIFAS
   ============================================================= */
.pricing-section {
  background: var(--crema);
  padding-top: 60px;
  padding-bottom: var(--section-py);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--blanco);
  border: 1.5px solid var(--linea);
  border-radius: 24px;
  padding: 2.5rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.pricing-featured {
  background: linear-gradient(135deg, #F4F2F0 0%, #f5eaf5 100%);
  border: 2px solid #743874;
  transform: scale(1.03);
  z-index: 1;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--morado);
  color: var(--blanco);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  white-space: nowrap;
}

@media (hover: hover) {
  .pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(116, 56, 116, 0.15);
  }
  .pricing-featured:hover {
    transform: scale(1.03) translateY(-6px);
  }
}

.pricing-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--texto);
  margin-bottom: 1rem;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: 1rem;
}

.pricing-price {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--morado);
  line-height: 1;
}

.pricing-free {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.pricing-saving {
  font-size: .8rem;
  font-weight: 600;
  color: var(--blanco);
  background: var(--morado);
  padding: .25rem .65rem;
  border-radius: 50px;
}

.pricing-desc {
  font-size: .95rem;
  color: var(--texto-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-cta { align-self: flex-start; }

/* =============================================================
   16. FAQ
   ============================================================= */
.faq-section {
  background: var(--blanco);
  padding-top: 60px;
  padding-bottom: var(--section-py);
}

.faq-inner { max-width: 720px; }
.faq-inner .section-header { text-align: left; }
.faq-inner .section-header .section-line { margin-inline: auto; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--linea);
}
.faq-item:first-child { border-top: 1px solid var(--linea); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--texto);
  text-align: left;
  transition: color .2s var(--ease-out);
}
.faq-question:hover { color: var(--morado); }

.faq-icon {
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--morado);
  line-height: 1;
  display: inline-block;
  will-change: transform;
}

.faq-answer {
  overflow: hidden;
  height: 0;
}
.faq-answer p {
  padding: .25rem 0 1.75rem;
  font-size: .95rem;
  color: var(--texto-muted);
  line-height: 1.75;
}

/* =============================================================
   17. CONTACTO
   ============================================================= */
.contact-section {
  background: #F0EBF8;
  padding-block: var(--section-py);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* Form */
.contact-form-wrap {
  max-width: 560px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
.contact-form .form-group,
.contact-form .form-check-wrap {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  position: relative;
}

.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--texto);
  letter-spacing: .02em;
}

.form-input {
  width: 100%;
  padding: .9rem 1rem;
  background: var(--blanco);
  border: 1.5px solid var(--linea);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--texto);
  outline: none;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
  resize: vertical;
}
.form-input::placeholder { color: var(--texto-light); }
.form-input:focus {
  border-color: var(--morado);
  box-shadow: 0 0 0 3px var(--morado-light);
}
.form-input.is-invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.form-textarea { min-height: 130px; }

.form-error {
  font-size: .8rem;
  color: #c0392b;
  display: none;
}
.form-group:has(.is-invalid) .form-error { display: block; }

/* Checkbox */
.form-check-group { gap: .6rem; }
.form-check-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
}
.form-check {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--morado);
  cursor: pointer;
}
.form-check-text { font-size: .875rem; color: var(--texto-muted); line-height: 1.5; }
.form-link { color: var(--morado); text-decoration: underline; }

.btn-submit {
  width: auto !important;
  align-self: flex-start !important;
}

/* Form success */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--blanco);
  border-radius: 20px;
}
.form-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--morado);
  color: var(--blanco);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.form-success h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--texto);
  margin-bottom: .75rem;
}
.form-success p { color: var(--texto-muted); }

/* Contact info */
.contact-info { }

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--morado-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.contact-info-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--morado);
  margin-bottom: .3rem;
}
.contact-info-value {
  font-size: .95rem;
  color: var(--texto);
  display: block;
  transition: color .2s var(--ease-out);
}
a.contact-info-value:hover { color: var(--morado); }

.contact-promise {
  background: var(--blanco);
  border-radius: 16px;
  padding: 1.5rem;
  font-size: .9rem;
  color: var(--texto-muted);
  line-height: 1.65;
  border-left: 3px solid var(--morado);
  font-style: italic;
}

/* =============================================================
   18. FOOTER
   ============================================================= */
.site-footer {
  background: #1a0a2e;
  border-top: 1px solid rgba(116,56,116,0.15);
}
.footer-top {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-top-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-brand img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  width: 180px;
  height: auto;
  margin-bottom: 8px;
}
.footer-tagline {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0;
}
.footer-location {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.footer-phone {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: #c694c6;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-phone:hover {
  color: #ffffff;
}
.footer-social-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-social-label {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s ease;
}
.footer-social a:hover {
  border-color: #c694c6;
  color: #c694c6;
  background: rgba(198,148,198,0.08);
}
.footer-bottom {
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-link {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: rgba(255,255,255,0.8);
}
.footer-copy {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  margin: 0;
}
@media (max-width: 768px) {
  .footer-social-wrap {
    align-items: flex-start;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* =============================================================
   19. SECTION SEPARATORS
   ============================================================= */
.section-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  position: relative;
  z-index: 1;
}
.section-sep::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(116, 56, 116, 0.18);
  box-shadow:
    -20px 0 0 rgba(116, 56, 116, 0.10),
     20px 0 0 rgba(116, 56, 116, 0.10),
    -40px 0 0 rgba(116, 56, 116, 0.05),
     40px 0 0 rgba(116, 56, 116, 0.05);
}
.section-sep--cream { background: var(--crema); }
.section-sep--white { background: var(--blanco); }

/* =============================================================
   20. ANIMATIONS — Shared reveal states
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* GSAP-initialized hidden elements */
.gsap-will-animate {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================
   20. RESPONSIVE — Mobile first, then larger viewports
   ============================================================= */

/* 540px — large phone */
@media (min-width: 540px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 720px — tablet portrait */
@media (min-width: 720px) {
  .about-inner {
    flex-direction: row;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
  }
  .about-photo {
    flex-shrink: 0;
    width: clamp(280px, 38vw, 420px);
  }

  .services-grid { grid-template-columns: repeat(3, 1fr); }

  .online-inner {
    flex-direction: row-reverse;
    align-items: center;
  }
  .online-text { flex: 1; }
  .online-photo {
    flex-shrink: 0;
    width: clamp(260px, 38vw, 420px);
    margin-inline: 0;
  }

  .pricing-grid { grid-template-columns: repeat(3, 1fr); }

  .header-nav { display: flex; }
  .nav-toggle { display: none; }
  .nav-cta { display: inline-flex; }
  .nav-mobile { display: none !important; }
}

/* 960px — tablet landscape / small laptop */
@media (min-width: 960px) {
  :root { --section-py: 7.5rem; }

  /* About photo — más grande */
  .about-photo { width: clamp(380px, 40vw, 460px); }
  .about-photo-wrap { min-height: 520px; }

  .contact-inner {
    grid-template-columns: 3fr 2fr;
    gap: 5rem;
  }

  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 1280px — laptop / desktop */
@media (min-width: 1280px) {
  :root { --section-py: 9rem; }
}

/* =============================================================
   21. FRASE INSPIRACIONAL
   ============================================================= */
.quote-section {
  position: relative;
  background: linear-gradient(135deg, #1a0a2e 0%, #3D1F5C 40%, #5c2d7a 70%, #2d1045 100%);
  overflow: hidden;
  padding: 120px 0;
  text-align: center;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Aurora background effect */
.quote-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(198, 148, 198, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(116, 56, 116, 0.20) 0%, transparent 60%);
  animation: aurora 8s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Decorative oversized quote mark */
.quote-section::after {
  content: '\201C';
  position: absolute;
  top: -40px; left: 5%;
  font-family: var(--serif);
  font-size: 300px;
  color: rgba(198, 148, 198, 0.06);
  line-height: 1;
  pointer-events: none;
}

@keyframes aurora {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(30px, -20px) rotate(5deg); }
}

.quote-block {
  max-width: 800px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.quote-text {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.5vw, 3.25rem);
  font-style: italic;
  font-weight: 500;
  color: #ffffff !important;
  line-height: 1.3;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}

.quote-author {
  display: block;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  color: #c694c6 !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

/* Decorative lines flanking author name */
.quote-author::before,
.quote-author::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: #c694c6;
  vertical-align: middle;
  opacity: 0.6;
}
.quote-author::before { margin-right: 14px; }
.quote-author::after  { margin-left:  14px; }

/* =============================================================
   22. TERAPIA ONLINE — ¿Cómo funciona? + Recuerda
   ============================================================= */
/* Bug 2 fallback: tarjetas siempre visibles aunque GSAP no dispare */
.online-how-card,
.how-arrow,
.online-how-wrap,
.online-remember {
  visibility: visible !important;
}
.online-how-wrap {
  background: var(--blanco);
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 4rem);
  margin-top: clamp(2rem, 5vw, 4rem);
}

.online-how-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--texto);
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.how-connector {
  display: none;
}
.online-how-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 48px;
}
.how-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  min-width: 64px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.how-arrow.animate-in {
  opacity: 1;
}
.how-arrow svg {
  width: 48px;
  height: 24px;
  display: block;
  overflow: visible;
}
.online-how-card {
  padding: 40px 28px;
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(116,56,116,0.08);
  box-shadow: 0 2px 16px rgba(116,56,116,0.04);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  align-self: stretch;
}
.online-how-card.animate-in {
  opacity: 1;
  transform: scale(1);
}
.online-how-card:hover {
  box-shadow: 0 16px 48px rgba(116,56,116,0.14);
  border-color: rgba(116,56,116,0.22);
}
.how-step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #743874, #c694c6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.online-how-card:hover .how-step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(116,56,116,0.3);
}
.online-how-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #2d1a2d;
  margin-bottom: 12px;
}
.online-how-card p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #6b5b6b;
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 768px) {
  .online-how-grid {
    grid-template-columns: 1fr;
  }
  .how-arrow {
    transform: rotate(90deg);
    margin: 8px auto;
  }
}

/* Recuerda box */
.online-remember {
  background: rgba(116, 56, 116, 0.06);
  border-left: 3px solid var(--morado);
  border-radius: 0 14px 14px 0;
  padding: 1.75rem 2rem;
}

.online-remember-title {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--morado);
  margin-bottom: 1rem;
}

.online-remember-list {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.online-remember-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-size: 1rem;
  color: var(--texto-muted);
  line-height: 1.65;
}

.online-remember-item::before {
  content: '·';
  color: var(--morado);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .online-how-grid {
    grid-template-columns: 1fr;
  }
  .online-how-card:not(:last-child)::after {
    display: none;
  }
}

/* =============================================================
   23. TARIFAS — Checklists
   ============================================================= */
.pricing-features {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: var(--texto-muted);
  line-height: 1.4;
}

.pricing-check {
  color: var(--morado);
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}

/* =============================================================
   24. FORMULARIO — Fila Nombre + Apellidos
   ============================================================= */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* =============================================================
   25. CONTACTO — Mapa
   ============================================================= */
.contact-map {
  margin-top: 1.75rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
}

.contact-map iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* =============================================================
   26. ANIMATION FALLBACKS — Bug 3
   Garantiza que elementos con clases de animación nunca queden
   invisibles si GSAP no se dispara correctamente.
   ============================================================= */
.fade-in,
.slide-up,
[data-animate] {
  opacity: 1 !important;
  transform: none !important;
}

/* Regla defensiva ampliada: el sistema .reveal solo oculta si JS añade
   la clase deliberadamente; nunca afecta al contenido base */
.quote-section .reveal,
.online-how-wrap .reveal,
.quote-section [class*="reveal"],
.online-how-wrap [class*="reveal"] {
  opacity: 1 !important;
  transform: none !important;
}

/* =============================================================
   27. SECTION-WAVE — Curved top edge for section transitions
   ============================================================= */
.section-wave {
  clip-path: ellipse(100% 100% at 50% 0%);
  margin-top: -40px;
  padding-top: 80px;
}

/* =============================================================
   28. WHATSAPP FLOAT BUTTON
   ============================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  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.45);
  z-index: 9000;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

@media (hover: hover) {
  .whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.60);
  }
}

/* =============================================================
   29. RESPONSIVE ADJUSTMENTS
   ============================================================= */
@media (max-width: 768px) {
  .header-logo img {
    height: 48px;
  }
}

/* =============================================================
   30. FOOTER SOCIAL ICONS
   ============================================================= */
.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-social a {
  color: #c694c6;
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
}

@media (hover: hover) {
  .footer-social a:hover {
    color: #ffffff;
    transform: translateY(-3px);
  }
}

/* =============================================================
   31. LEGAL PAGES
   ============================================================= */

/* Always show header background on legal pages */
.legal-page .site-header {
  background: rgba(244, 242, 240, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(116, 56, 116, 0.08);
}

.legal-main {
  background: var(--crema);
  padding-top: var(--nav-h);
  padding-block-end: clamp(4rem, 8vw, 7rem);
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  padding-top: clamp(3rem, 6vw, 5rem);
}

.legal-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--texto);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.legal-divider {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--morado);
  border-radius: 1px;
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--morado);
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--morado-dark);
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--texto-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0.5rem 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--texto-muted);
  line-height: 1.75;
  padding-left: 1.25rem;
  position: relative;
}

.legal-content ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--morado);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.6;
}

.legal-content a {
  color: var(--morado);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-meta {
  background: rgba(116, 56, 116, 0.06);
  border-left: 3px solid var(--morado);
  border-radius: 0 14px 14px 0;
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}

.legal-meta p {
  font-size: 0.9rem;
  color: var(--texto-muted);
  line-height: 1.75;
  margin-bottom: 0.35rem;
}

.legal-meta p:last-child { margin-bottom: 0; }

/* =============================================================
   32. REDUCED MOTION — Only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-pulse { animation: none; }
  /* NOTE: hover, tilt, fade, countUp, cursor all still run */
}

/* =============================================================
   33. TESTIMONIALS MARQUEE
   ============================================================= */
.text-center{text-align:center}
.text-white{color:#ffffff}
.section-line.centered{margin-left:auto;margin-right:auto}
.testimonials-section{background:linear-gradient(135deg,#f8f4ff 0%,#ede6f5 40%,#e8dff2 100%);padding:80px 0;overflow:hidden}
.testimonials-section .section-title{color:#2d1a2d}
.testimonials-section .section-line{background:#743874;margin:0 auto 48px}
.marquee-wrapper{overflow:hidden;mask-image:linear-gradient(to right,transparent 0%,black 8%,black 92%,transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0%,black 8%,black 92%,transparent 100%)}
.marquee-track{display:flex;gap:20px;width:max-content;align-items:stretch;animation:mScroll 35s linear infinite}
.marquee-wrapper:hover .marquee-track{animation-play-state:paused}
@keyframes mScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.t-card {
  background: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 32px 28px 28px;
  min-width: 280px;
  max-width: 300px;
  min-height: 200px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 24px rgba(116,56,116,0.08);
  transition: all 0.4s ease;
  border-top: 3px solid transparent;
  background-clip: padding-box;
}
.t-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #743874, #c694c6);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.t-card:hover {
  box-shadow: 0 12px 48px rgba(116,56,116,0.15);
  transform: translateY(-6px);
}
.t-card:hover::before {
  opacity: 1;
}
.t-qmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  color: rgba(116,56,116,0.12);
  line-height: 0.8;
  display: block;
  margin-bottom: 12px;
}
.t-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #2d1a2d;
  line-height: 1.75;
  margin: 0 0 20px;
}
.t-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(116,56,116,0.08);
}
.t-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #743874, #c694c6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  font-family: system-ui, sans-serif;
  flex-shrink: 0;
}
.t-auth span {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #743874;
  letter-spacing: 1px;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* =============================================================
   34. SECCIÓN EL ESPACIO
   ============================================================= */
.space-section {
  position: relative;
  width: 100%;
}
.space-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.space-image-wrap img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: brightness(0.72);
}
.space-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.space-overlay-content {
  text-align: center;
  padding: 40px 24px;
  max-width: 640px;
}
.space-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.space-line {
  display: block;
  width: 48px;
  height: 1.5px;
  background: #c694c6;
  margin: 0 auto 20px;
}
.space-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 32px;
}
.form-security {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #743874;
  font-size: 12px;
  font-family: system-ui, sans-serif;
  opacity: 0.8;
}
@media (max-width: 768px) {
  .space-image-wrap img { height: 480px; object-position: center center; }
}
.faq-section .section-title {
  text-align: center;
}
.faq-section .section-line {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.cookie-tab {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #743874;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 4px;
  transition: background 0.2s ease;
}
.cookie-tab:hover {
  background: rgba(116,56,116,0.08);
}
.active-tab {
  background: rgba(116,56,116,0.12);
}
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-center-label {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.footer-email {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-email:hover {
  color: #c694c6;
}
.footer-cta {
  margin-top: 8px;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #ffffff;
  background: rgba(116,56,116,0.5);
  border: 1px solid rgba(198,148,198,0.4);
  padding: 10px 24px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.footer-cta:hover {
  background: #743874;
  border-color: #743874;
}

.site-header.hero-mode {
  background: transparent;
  backdrop-filter: none;
}
.site-header.hero-mode .header-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.hero-actions .btn-outline {
  border: 1.5px solid rgba(255,255,255,0.85) !important;
  color: #ffffff !important;
  background: rgba(255,255,255,0.1) !important;
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.22) !important;
  border-color: #ffffff !important;
}

@media (max-width: 768px) {
  .footer-top-inner {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 40px;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-social-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .nav-cta {
    font-size: 0.75rem;
    padding: 8px 10px;
    white-space: nowrap;
  }
  .header-inner {
    gap: 8px;
  }
  .online-remember {
    border-radius: 0;
  }
}

.site-header.hero-mode .nav-mobile {
  background: #ffffff !important;
}

.doctoralia-float {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  z-index: 9997;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.doctoralia-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

.online-text .section-line {
  margin-left: auto;
  margin-right: auto;
}


