/* ═══════════════════════════════════════════════════
   NELLY HUERTA · PSICÓLOGA CLÍNICA
   style.css — Estilos principales
   ═══════════════════════════════════════════════════ */

:root {
  --navy:        #1e2d45;
  --navy-light:  #2e4060;
  --fucsia:      #d9479a;
  --fucsia-hover:#c23589;
  --fucsia-light:#e86bb8;
  --fucsia-pale: #fce8f3;
  --blanco:      #fafaf8;
  --crema:       #f4f1eb;
  --texto:       #2a2a2a;
  --texto-suave: #666;
  --borde:       #e0dbd2;
  --sombra:      rgba(0,0,0,0.08);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--blanco);
  color: var(--texto);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── CURSOR ── */
* { cursor: none !important; }
#cursor {
  width: 10px; height: 10px;
  background: var(--fucsia);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.12s ease, background 0.2s, opacity 0.2s;
  mix-blend-mode: multiply;
}
#cursor.hover {
  transform: translate(-50%,-50%) scale(3.5);
  background: var(--fucsia-light);
  opacity: 0.5;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(250,250,248,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  border-color: var(--borde);
  box-shadow: 0 2px 24px var(--sombra);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400;
  color: var(--navy); text-decoration: none;
  letter-spacing: 0.03em;
}
.nav-logo span { color: var(--fucsia); }
.nav-links { display: flex; gap: 2.4rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 0.8rem;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--texto-suave); font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--fucsia) !important;
  color: white !important;
  padding: 0.5rem 1.3rem !important;
  border-radius: 100px !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--navy) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: var(--blanco); border-bottom: 1px solid var(--borde);
  padding: 1.5rem 5%; flex-direction: column; gap: 1.2rem; z-index: 99;
}
.mobile-menu a {
  text-decoration: none; color: var(--texto);
  font-size: 1rem; padding: 0.5rem 0;
  border-bottom: 1px solid var(--borde);
}
.mobile-menu.open { display: flex; }

/* ── BOTONES ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--fucsia); color: white;
  text-decoration: none; padding: 0.9rem 2rem;
  border-radius: 100px; font-size: 0.875rem; font-weight: 500;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(217,71,154,0.28);
}
.btn-primary:hover {
  background: var(--navy); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30,45,69,0.22);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--navy); text-decoration: none; font-size: 0.875rem; font-weight: 500;
  border-bottom: 1px solid var(--navy); padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--fucsia); border-color: var(--fucsia); }

/* ── TIPOGRAFÍA DE SECCIONES ── */
.seccion-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--fucsia);
  font-weight: 500; margin-bottom: 1rem; display: block;
}
.seccion-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300;
  color: var(--navy); line-height: 1.18; margin-bottom: 1.5rem;
}
.seccion-titulo em { font-style: italic; color: var(--fucsia); }

/* ── HERO ── */
#hero {
  min-height: 100vh; padding-top: 70px;
  display: grid; grid-template-columns: 1fr 1fr;
}
.hero-imagen { position: relative; overflow: hidden; }
.hero-imagen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(30,45,69,0.12) 0%, transparent 55%);
}
.hero-badge {
  position: absolute; bottom: 2.5rem; left: 2.5rem;
  background: white; padding: 0.7rem 1.3rem; border-radius: 100px;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
/* Badge Encuadrado sobre la foto */
.hero-encuadrado-badge {
  position: absolute; top: 2.5rem; right: 2.5rem;
  background: white; border-radius: 12px;
  padding: 0.9rem 1.2rem; box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  text-decoration: none; display: flex; align-items: center; gap: 0.7rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--borde);
}
.hero-encuadrado-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.15);
}
.hero-enc-stars { color: #f59e0b; font-size: 0.8rem; letter-spacing: 0.02em; }
.hero-enc-info { font-size: 0.7rem; color: var(--texto-suave); line-height: 1.4; }
.hero-enc-info strong { color: var(--navy); font-size: 0.78rem; display: block; }
.hero-enc-logo { font-size: 0.62rem; color: var(--fucsia); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.hero-texto {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 6% 5rem 7%; background: var(--blanco);
}
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fucsia); font-weight: 500; margin-bottom: 1.5rem;
}
.hero-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5rem); font-weight: 300;
  line-height: 1.06; color: var(--navy); margin-bottom: 0.4rem;
}
.hero-titulo em { font-style: italic; color: var(--fucsia); }
.hero-subtitulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 300; font-style: italic;
  color: var(--texto-suave); margin-bottom: 2rem; line-height: 1.5;
}
.hero-descripcion {
  font-size: 0.95rem; color: var(--texto-suave);
  line-height: 1.9; max-width: 480px; margin-bottom: 2.5rem;
}
.hero-acciones { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-datos {
  margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--borde);
  display: flex; gap: 2.5rem;
}
.hero-dato-numero {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; color: var(--navy); line-height: 1;
}
.hero-dato-numero span { color: var(--fucsia); }
.hero-dato-label {
  font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--texto-suave); text-transform: uppercase; margin-top: 0.2rem;
}

/* ── ACERCA ── */
#acerca {
  background: var(--crema);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0;
}
.acerca-imagenes { position: relative; height: 720px; overflow: hidden; }
.acerca-imagenes img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.acerca-foto-mini {
  position: absolute; bottom: 3rem; right: -2rem;
  width: 190px; height: 240px; border-radius: 4px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18); border: 6px solid white;
}
.acerca-foto-mini img { width: 100%; height: 100%; object-fit: cover; }
.acerca-texto { padding: 6rem 7%; display: flex; flex-direction: column; justify-content: center; }
.acerca-cita {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 300; font-style: italic;
  color: var(--navy); border-left: 3px solid var(--fucsia);
  padding-left: 1.5rem; margin: 2rem 0; line-height: 1.65;
}
.acerca-texto p { font-size: 0.93rem; color: var(--texto-suave); line-height: 1.95; margin-bottom: 1.1rem; }
.credenciales { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 2rem; }
.credencial {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.2rem; background: white;
  border-radius: 8px; border: 1px solid var(--borde);
  transition: border-color 0.2s;
}
.credencial:hover { border-color: var(--fucsia-pale); }
.credencial-icono {
  width: 32px; height: 32px; background: var(--fucsia-pale);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-size: 0.85rem;
}
.credencial-texto { font-size: 0.865rem; color: var(--texto); line-height: 1.45; }
.credencial-texto strong { color: var(--navy); display: block; font-size: 0.78rem; margin-bottom: 0.1rem; }

/* ── SERVICIOS ── */
#servicios { background: var(--blanco); padding: 7rem 5%; }
.servicios-intro { max-width: 600px; margin-bottom: 4rem; }
.servicios-intro p { font-size: 0.93rem; color: var(--texto-suave); line-height: 1.9; }
.servicios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.servicio-card {
  padding: 2.5rem; border: 1px solid var(--borde);
  border-radius: 12px; background: white;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.servicio-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px; background: var(--fucsia);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.servicio-card:hover::before { transform: scaleX(1); }
.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.07);
  border-color: transparent;
}
.servicio-numero {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 300;
  color: var(--fucsia-pale); line-height: 1; margin-bottom: 1.2rem;
}
.servicio-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 500;
  color: var(--navy); margin-bottom: 1rem; line-height: 1.2;
}
.servicio-texto { font-size: 0.875rem; color: var(--texto-suave); line-height: 1.8; }
.servicio-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.5rem; }
.tag {
  display: inline-block; padding: 0.22rem 0.7rem;
  border-radius: 100px; background: var(--fucsia-pale);
  color: var(--fucsia); font-size: 0.7rem;
  letter-spacing: 0.04em; font-weight: 500;
}

/* ── FRANJA FOTOS ── */
#franja {
  height: 460px; display: grid;
  grid-template-columns: 1fr 1fr 1fr; padding: 0;
}
.franja-foto { overflow: hidden; position: relative; }
.franja-foto img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top; transition: transform 0.6s ease;
  filter: brightness(0.88);
}
.franja-foto:nth-child(2) img { object-position: center 20%; }
.franja-foto:hover img { transform: scale(1.04); filter: brightness(1); }

/* ── ENCUADRADO WIDGET ── */
#encuadrado-section { background: var(--crema); padding: 7rem 5%; }
.enc-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center; }
.enc-left {}
.enc-left p { font-size: 0.93rem; color: var(--texto-suave); line-height: 1.9; margin-bottom: 1.5rem; }
.enc-stats { display: flex; gap: 2.5rem; margin-top: 2rem; }
.enc-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300; color: var(--navy); line-height: 1;
}
.enc-stat-num span { color: var(--fucsia); }
.enc-stat-label { font-size: 0.72rem; letter-spacing: 0.07em; color: var(--texto-suave); text-transform: uppercase; margin-top: 0.2rem; }

/* Tarjeta Encuadrado */
.enc-card {
  background: white; border-radius: 20px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.1);
  overflow: hidden; position: relative;
}
.enc-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, #2e4060 100%);
  padding: 2rem 2rem 1.5rem;
  color: white; display: flex; align-items: center; gap: 1.2rem;
}
.enc-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  overflow: hidden; border: 3px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.enc-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.enc-prof-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; }
.enc-prof-titulo { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-top: 0.2rem; }
.enc-verified {
  margin-left: auto; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 100px;
  padding: 0.3rem 0.8rem; font-size: 0.65rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.8);
  white-space: nowrap;
}

.enc-card-rating {
  padding: 1.2rem 2rem; border-bottom: 1px solid var(--borde);
  display: flex; align-items: center; gap: 1rem;
}
.enc-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 0.04em; }
.enc-rating-num { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; color: var(--navy); }
.enc-rating-count { font-size: 0.78rem; color: var(--texto-suave); }

/* Reviews slider */
.enc-reviews { padding: 1.2rem 2rem 0; }
.enc-reviews-title { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 1rem; }
.enc-review-slide { display: none; }
.enc-review-slide.active { display: block; }
.enc-review-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-style: italic; font-weight: 300;
  color: var(--texto); line-height: 1.65; margin-bottom: 0.6rem;
}
.enc-review-meta { font-size: 0.72rem; color: var(--texto-suave); }
.enc-review-meta span { color: var(--fucsia); }
.enc-review-dots { display: flex; gap: 0.4rem; margin-top: 0.8rem; }
.enc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--borde); transition: background 0.2s;
}
.enc-dot.active { background: var(--fucsia); }

.enc-card-service {
  margin: 1.2rem 2rem; padding: 1.2rem;
  background: var(--crema); border-radius: 12px;
  border: 1px solid var(--borde);
}
.enc-service-name { font-size: 0.88rem; font-weight: 500; color: var(--navy); margin-bottom: 0.3rem; }
.enc-service-meta { display: flex; gap: 1rem; }
.enc-service-detail { font-size: 0.75rem; color: var(--texto-suave); display: flex; align-items: center; gap: 0.3rem; }
.enc-service-price { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--fucsia); }

.enc-card-footer {
  padding: 1.2rem 2rem 2rem;
  display: flex; gap: 0.8rem; align-items: center;
}
.enc-btn-agendar {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--fucsia); color: white; text-decoration: none;
  padding: 0.85rem 1.5rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 500;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(217,71,154,0.25);
}
.enc-btn-agendar:hover { background: var(--navy); transform: translateY(-1px); }
.enc-btn-ver {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--borde); background: white;
  font-size: 1rem; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.enc-btn-ver:hover { border-color: var(--fucsia); background: var(--fucsia-pale); }
.enc-powered {
  padding: 0.8rem 2rem 1.2rem;
  font-size: 0.65rem; color: var(--texto-suave);
  letter-spacing: 0.06em; text-align: center;
  border-top: 1px solid var(--borde);
}
.enc-powered a { color: var(--fucsia); text-decoration: none; }

/* ── HOVER PREVIEW ENCUADRADO (desktop) ── */
.enc-preview-trigger {
  position: relative; display: inline-flex;
  align-items: center; gap: 0.5rem;
}
.enc-preview-tooltip {
  position: absolute; bottom: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 340px; background: white; border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  border: 1px solid var(--borde); pointer-events: none;
  opacity: 0; transition: opacity 0.25s, transform 0.25s;
  z-index: 200; overflow: hidden;
}
.enc-preview-trigger:hover .enc-preview-tooltip {
  opacity: 1; transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.enc-preview-tooltip::after {
  content: ''; position: absolute; bottom: -8px; left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent; border-bottom: none;
  border-top-color: white;
}
.enc-tooltip-header {
  background: linear-gradient(135deg, var(--navy), #2e4060);
  padding: 1.2rem; display: flex; align-items: center; gap: 0.9rem; color: white;
}
.enc-tooltip-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,0.2); flex-shrink: 0; }
.enc-tooltip-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.enc-tooltip-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; }
.enc-tooltip-sub { font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-top: 0.15rem; }
.enc-tooltip-body { padding: 1rem 1.2rem; }
.enc-tooltip-rating { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.enc-tooltip-stars { color: #f59e0b; font-size: 0.85rem; }
.enc-tooltip-num { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--navy); }
.enc-tooltip-reviews { font-size: 0.72rem; color: var(--texto-suave); }
.enc-tooltip-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem; font-style: italic; color: var(--texto);
  border-left: 2px solid var(--fucsia); padding-left: 0.8rem;
  margin-bottom: 0.9rem; line-height: 1.5;
}
.enc-tooltip-service {
  background: var(--crema); border-radius: 8px;
  padding: 0.7rem 0.9rem; font-size: 0.78rem;
  display: flex; justify-content: space-between; align-items: center;
}
.enc-tooltip-service-name { color: var(--navy); font-weight: 500; }
.enc-tooltip-price { color: var(--fucsia); font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; }
.enc-tooltip-footer {
  padding: 0.8rem 1.2rem 1.2rem;
  display: flex; gap: 0.6rem;
}
.enc-tooltip-cta {
  flex: 1; background: var(--fucsia); color: white;
  text-decoration: none; padding: 0.65rem;
  border-radius: 100px; font-size: 0.78rem; font-weight: 500;
  text-align: center; transition: background 0.2s;
}
.enc-tooltip-cta:hover { background: var(--navy); }

/* ── ENFOQUE ── */
#enfoque { background: var(--navy); color: white; padding: 7rem 5%; }
.enfoque-inner { max-width: 900px; margin: 0 auto; text-align: center; }
#enfoque .seccion-eyebrow { color: var(--fucsia-light); }
#enfoque .seccion-titulo { color: white; }
.enfoque-texto {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem); font-weight: 300; font-style: italic;
  color: rgba(255,255,255,0.82); line-height: 1.75;
  max-width: 750px; margin: 0 auto 3.5rem;
}
.enfoque-pilares {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  text-align: left; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 3rem;
}
.pilar-titulo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem;
  font-weight: 400; color: var(--fucsia-light); margin-bottom: 0.75rem;
}
.pilar-texto { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.85; }

/* ── TESTIMONIOS ── */
#testimonios { background: var(--crema); padding: 7rem 5%; }
.testimonios-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.testimonio {
  background: white; padding: 2.5rem; border-radius: 12px; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonio:hover { transform: translateY(-3px); box-shadow: 0 16px 50px var(--sombra); }
.testimonio::before {
  content: '\201C'; font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; color: var(--fucsia-pale); line-height: 0;
  position: absolute; top: 2.5rem; left: 2rem;
}
.testimonio-texto {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 300; font-style: italic;
  color: var(--navy); line-height: 1.7; padding-top: 1.5rem; margin-bottom: 1.5rem;
}
.testimonio-autor { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--texto-suave); font-weight: 500; }
.testimonio-autor span { color: var(--fucsia); }
.testimonio-stars { color: #f59e0b; font-size: 0.8rem; margin-bottom: 0.3rem; }

/* ── CONTACTO ── */
#contacto {
  background: white; display: grid;
  grid-template-columns: 1fr 1fr; gap: 0; padding: 0;
}
.contacto-imagen { overflow: hidden; min-height: 580px; }
.contacto-imagen img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.contacto-texto { padding: 6rem 7%; display: flex; flex-direction: column; justify-content: center; }
.contacto-texto p { font-size: 0.93rem; color: var(--texto-suave); line-height: 1.9; margin-bottom: 2.5rem; }
.contacto-info { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.contacto-item { display: flex; align-items: center; gap: 1rem; font-size: 0.88rem; color: var(--texto); }
.contacto-item a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
.contacto-item a:hover { color: var(--fucsia); }
.contacto-icono {
  width: 36px; height: 36px; background: var(--fucsia-pale);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-size: 0.9rem;
}
.contacto-acciones { display: flex; flex-direction: column; gap: 1rem; }

/* ── FOOTER ── */
footer {
  background: var(--navy); color: rgba(255,255,255,0.55);
  padding: 3rem 5%; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: white; }
.footer-logo span { color: var(--fucsia-light); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  color: rgba(255,255,255,0.45); text-decoration: none;
  font-size: 0.76rem; letter-spacing: 0.07em; text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fucsia-light); }
footer p { font-size: 0.76rem; }

/* ── ANIMACIONES ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .servicios-grid { grid-template-columns: 1fr 1fr; }
  .enc-layout { grid-template-columns: 1fr; gap: 3rem; }
  .acerca-foto-mini { display: none; }
}
@media (max-width: 768px) {
  #hero { grid-template-columns: 1fr; }
  .hero-imagen { height: 60vh; }
  .hero-encuadrado-badge { top: 1rem; right: 1rem; }
  .hero-badge { bottom: 1rem; left: 1rem; }
  .hero-texto { padding: 3rem 6%; }
  .hero-datos { gap: 1.5rem; }
  #acerca { grid-template-columns: 1fr; }
  .acerca-imagenes { height: 420px; }
  .acerca-texto { padding: 3rem 6%; }
  .servicios-grid { grid-template-columns: 1fr; }
  .enfoque-pilares { grid-template-columns: 1fr; gap: 1.5rem; }
  .testimonios-grid { grid-template-columns: 1fr; }
  #franja { grid-template-columns: 1fr; height: auto; }
  .franja-foto { height: 280px; }
  .franja-foto:nth-child(2), .franja-foto:nth-child(3) { display: none; }
  #contacto { grid-template-columns: 1fr; }
  .contacto-imagen { min-height: 340px; }
  .contacto-texto { padding: 3rem 6%; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .enc-preview-tooltip { display: none; }
}

/* ═══════════════════════════════════════════════════
   MUSIC PLAYER — BOTÓN CIRCULAR FLOTANTE
   ═══════════════════════════════════════════════════ */
#music-player {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 500;
  /* solo el botón — sin contenedor extra */
  background: none;
  border: none;
  padding: 0;
}

/* El botón principal es el círculo */
#mp-toggle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--fucsia);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(217,71,154,0.45);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
}
#mp-toggle:hover {
  background: var(--navy);
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(30,45,69,0.35);
}
#mp-toggle svg { fill: white; }

/* Anillo pulsante cuando está playing */
#mp-toggle::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(217,71,154,0.4);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s, transform 0.3s;
}
#music-player.playing #mp-toggle::before {
  opacity: 1;
  transform: scale(1);
  animation: mp-ring-pulse 2s ease-in-out infinite;
}
@keyframes mp-ring-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.4; }
  50%       { transform: scale(1.12); opacity: 0.15; }
}

/* Estado playing: fondo más oscuro */
#music-player.playing #mp-toggle {
  box-shadow: 0 6px 24px rgba(217,71,154,0.55);
}

/* Tooltip "♪" en hover */
#mp-toggle::after {
  content: '♪';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--navy);
  color: white;
  font-size: 0.72rem;
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
#mp-toggle:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Hint inicial que desaparece tras el primer play */
.mp-hint {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  font-size: 0.65rem;
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s;
  letter-spacing: 0.04em;
}
.mp-hint::after {
  content: '';
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--navy);
}
.mp-hint.hidden { opacity: 0; }

/* Ocultar elementos no usados en esta versión */
.mp-info, .mp-waves, .mp-progress-wrap { display: none; }

@media (max-width: 768px) {
  #music-player { bottom: 1.2rem; left: 1rem; }
  #mp-toggle    { width: 46px; height: 46px; }
}


/* ═══════════════════════════════════════════════════
   BOTÓN CORAZÓN FLOTANTE
   ═══════════════════════════════════════════════════ */
#heart-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--borde);
  border-radius: 50px;
  padding: 0.7rem 0.9rem 0.6rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.3s;
  cursor: pointer !important;
  user-select: none;
}
#heart-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 48px rgba(217,71,154,0.2);
  border-color: rgba(217,71,154,0.3);
}
#heart-btn.liked {
  border-color: rgba(217,71,154,0.4);
  background: rgba(252,232,243,0.95);
}
#heart-icon {
  width: 26px; height: 26px;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
#heart-icon path {
  fill: var(--borde);
  stroke: var(--texto-suave);
  stroke-width: 2px;
  transition: fill 0.3s, stroke 0.3s;
}
#heart-btn.liked #heart-icon path {
  fill: var(--fucsia);
  stroke: var(--fucsia);
}
#heart-count {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--texto-suave);
  line-height: 1;
  transition: color 0.3s;
  letter-spacing: 0.02em;
}
#heart-btn.liked #heart-count { color: var(--fucsia); }

/* Animación pop al hacer click */
#heart-btn.pop #heart-icon {
  transform: scale(1.4);
}

/* Partículas de corazón */
.heart-particle {
  position: fixed;
  font-size: 1rem;
  pointer-events: none;
  z-index: 501;
  animation: heart-float 1s ease-out forwards;
}
@keyframes heart-float {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-60px) scale(0.5); }
}

@media (max-width: 768px) {
  #heart-btn {
    bottom: 1.2rem;
    right: 1rem;
    padding: 0.6rem 0.75rem 0.5rem;
  }
  #heart-icon { width: 22px; height: 22px; }
}
