/* ---------- Google Fonts ----------
   Las fuentes se cargan con <link rel="preconnect"> + <link> en el <head>.
   Se eliminó el @import (duplicado y bloqueaba el render). */

/* ---------- Variables ---------- */
:root {
  /* ---- Marca (conservada) ---- */
  --rosa:        #f2b5a0;
  --rosa-claro:  #fce8e0;
  --rosa-medio:  #e8a090;
  --beige:       #f5ede6;
  --beige-oscuro:#ecddd4;
  --dorado:      #b89a6a;
  --dorado-claro:#d4b896;
  --cafe:        #7a5c42;
  --blanco:      #fffaf7;

  /* ---- Texto con contraste AA verificado ---- */
  --texto:       #3d2c1e;   /* titulares y texto fuerte */
  --texto-claro: #6f5749;   /* cuerpo secundario (AA sobre beige/blanco) */
  --oro-texto:   #7f6029;   /* dorado profundo legible: labels + fondos CTA */
  --rosa-acento: #c56f5c;   /* acento de cursivas en titulares */

  /* ---- Sombras en capas (tinte marrón de marca) ---- */
  --sombra:      rgba(120, 80, 50, 0.12); /* legacy */
  --shadow-sm:   0 1px 2px rgba(74,48,30,0.05), 0 2px 6px rgba(74,48,30,0.06);
  --shadow-md:   0 4px 12px rgba(74,48,30,0.07), 0 14px 32px rgba(74,48,30,0.10);
  --shadow-lg:   0 10px 24px rgba(74,48,30,0.08), 0 28px 64px rgba(74,48,30,0.15);
  --shadow-gold: 0 6px 22px rgba(127,96,41,0.30);

  /* ---- Tipografía ---- */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  /* Escala fluida (ratio ~1.28) */
  --fs-body:    clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --fs-lead:    clamp(1.08rem, 0.98rem + 0.45vw, 1.28rem);
  --fs-h3:      clamp(1.35rem, 1.2rem + 0.7vw, 1.6rem);
  --fs-h2:      clamp(2.3rem, 1.6rem + 2.7vw, 3.6rem);
  --fs-display: clamp(3rem, 1.9rem + 5.2vw, 5.5rem);

  /* ---- Espaciado fluido ---- */
  --space-section: clamp(5rem, 3.2rem + 6vw, 8.5rem);

  --radio:    14px;
  --radio-lg: 26px;
  --trans:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }
/* Lenis (scroll suave físico) reemplaza el smooth nativo */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
/* Cuando no hay JS/Lenis, mantener el smooth nativo como respaldo */
html:not(.lenis) { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--blanco);
  color: var(--texto);
  font-size: var(--fs-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Reparto de líneas más equilibrado: titulares balanceados, párrafos sin huérfanas */
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

img { display: block; width: 100%; object-fit: cover; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Foco visible por teclado (accesibilidad) */
:focus-visible {
  outline: 2px solid var(--oro-texto);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Saltar al contenido: oculto hasta enfocar con teclado (accesibilidad) */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 10060;
  background: var(--oro-texto);
  color: var(--blanco);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 12px 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-md);
  transition: top 0.3s var(--ease-out);
}
.skip-link:focus {
  top: 0;
  outline: none;
}

/* ---------- Utility ---------- */
.container {
  width: min(1240px, 92%);
  margin-inline: auto;
}

/* Compensa el navbar fijo al saltar a una sección desde el menú */
section[id],
footer[id] { scroll-margin-top: 88px; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oro-texto);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

/* Regla dorada de marca antes del kicker: hace juego con el eyebrow del hero
   y convierte la etiqueta en un sistema intencional (no un "kicker" genérico) */
.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--oro-texto);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--cafe);
  text-wrap: balance;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--rosa-acento);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 2.15rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--oro-texto);
  color: var(--blanco);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--cafe);
  box-shadow: 0 10px 30px rgba(120, 80, 50, 0.32);
  transform: translateY(-3px);
}
.btn:active { transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--oro-texto);
  border: 1.5px solid var(--oro-texto);
}
.btn-outline:hover {
  background: var(--oro-texto);
  color: var(--blanco);
  transform: translateY(-3px);
}

/* WhatsApp en el dorado de la marca: el icono mantiene el reconocimiento
   y el botón deja de pelear con la paleta rosa/oro/café */
.btn-whatsapp {
  background: var(--oro-texto);
  color: var(--blanco);
  box-shadow: var(--shadow-gold);
}
.btn-whatsapp:hover {
  background: var(--cafe);
  box-shadow: 0 10px 30px rgba(120, 80, 50, 0.32);
  transform: translateY(-2px);
}

/* ---------- Navbar ---------- */

#navbar {
  position: fixed;
  display: flex;
  justify-content: space-around;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--trans);
}

#navbar.scrolled {
  background: rgba(252, 232, 224, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px var(--sombra);
  padding: 0.65rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cafe);
  line-height: 1.2;
}

.nav-brand span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--oro-texto);
}

.nav-links {
  display: flex;
  gap: 1.9rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--cafe);
  position: relative;
  transition: color var(--trans);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--oro-texto);
  transition: width var(--trans);
}

.nav-links a:hover { color: var(--oro-texto); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 1rem; }

/* El "Agendar cita" del menú solo aparece dentro de la hamburguesa (móvil) */
.nav-cta-mobile { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  position: relative;
  z-index: 1000;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cafe);
  border-radius: 2px;
  transition: var(--trans);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  background: var(--rosa-claro);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
  padding: 6.5rem 5% 3rem 8%;
  position: relative;
  z-index: 2;
}

.hero-logo-mark {
  position: absolute;
  top: 6.5rem;
  right: 7%;
  width: 172px;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 8px 20px rgba(120, 80, 50, 0.20));
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 44px; height: 1px;
  background: var(--oro-texto);
}

.hero-eyebrow span {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oro-texto);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--cafe);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--rosa-acento);
  display: block;
}

.hero-sub {
  font-size: var(--fs-lead);
  color: var(--texto-claro);
  max-width: 46ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  background: var(--blanco);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
}

.hero-badge-icon {
  width: 36px; height: 36px;
  background: var(--rosa-claro);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.hero-badge-text {
  font-size: 0.78rem;
  color: var(--texto-claro);
}

.hero-badge-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--cafe);
}

.hero-right {
  position: relative;
  overflow: hidden;
}

/* Absoluta para que la foto vertical (900×1600) NO estire la fila del grid
   más allá de 100vh: así el texto queda centrado a mitad de pantalla */
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--rosa-claro) 0%, transparent 30%);
  pointer-events: none;
  z-index: 1;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blanco);
  writing-mode: vertical-rl;
}

.hero-scroll svg { color: var(--blanco); }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ---------- Stats Band ---------- */
#stats {
  background: linear-gradient(135deg, #927234 0%, #7f6029 100%);
  padding: clamp(2.25rem, 4vw, 3.25rem) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

/* Separadores finos entre métricas para dar ritmo (se ocultan en el reflujo móvil) */
.stat-item {
  padding: 0.5rem 1rem;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 48px;
  background: rgba(255,255,255,0.22);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.4vw, 3rem);
  font-weight: 600;
  color: var(--blanco);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-top: 0.4rem;
}

/* ---------- Sobre Mí ---------- */
#sobre-mi {
  padding: var(--space-section) 0;
  background: var(--blanco);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sobre-images {
  position: relative;
  height: 560px;
}

.sobre-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 72%;
  height: 480px;
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--sombra);
}

.sobre-img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 52%;
  height: 300px;
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--sombra);
  border: 6px solid var(--blanco);
}

.sobre-decoration {
  position: absolute;
  top: -20px; right: 10%;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px dashed var(--rosa);
  opacity: 0.5;
  pointer-events: none;
}

.sobre-content p {
  color: var(--texto-claro);
  margin-bottom: 1.25rem;
  font-size: var(--fs-body);
  line-height: 1.75;
  max-width: 60ch;
}

.sobre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2rem 0;
}

.tag {
  background: var(--rosa-claro);
  color: var(--cafe);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ---------- Proceso ---------- */
#proceso {
  padding: var(--space-section) 0;
  background: var(--rosa-claro);
}

.proceso-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 4rem;
}

.proceso-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.proceso-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(to right, var(--rosa), var(--dorado), var(--rosa));
  opacity: 0.5;
}

.step-card {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.step-num {
  width: 56px; height: 56px;
  background: var(--blanco);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--oro-texto);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cafe);
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--texto-claro);
}

/* ---------- Testimonios ---------- */
#testimonios {
  padding: var(--space-section) 0;
  background: var(--cafe);
  overflow: hidden;
}

.testimonios-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonios-header .section-title { color: var(--blanco); }
.testimonios-header .section-label { color: var(--dorado-claro); }

.testimonios-track {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
}

.testimonios-slider {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
}

.testim-card {
  min-width: 420px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radio-lg);
  padding: 2.75rem;
  backdrop-filter: blur(8px);
}

.testim-stars {
  color: var(--dorado-claro);
  font-size: 1.15rem;
  letter-spacing: 3px;
  margin-bottom: 1.25rem;
}

.testim-card blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.testim-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testim-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--rosa-claro);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cafe);
  overflow: hidden;
  flex-shrink: 0;
}

.testim-info strong {
  display: block;
  color: var(--blanco);
  font-size: 1rem;
}

.testim-info span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.testim-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.testim-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--trans);
  border: none;
}

.testim-dot.active {
  background: var(--dorado-claro);
  width: 24px;
  border-radius: 4px;
}

/* ---------- Síguenos en Instagram (maqueta tipo teléfono) ---------- */
#instagram {
  padding: var(--space-section) 0;
  background: linear-gradient(135deg, var(--rosa-claro) 0%, var(--blanco) 60%);
  overflow: hidden;
}

.insta-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}

.insta-copy p {
  color: var(--texto-claro);
  max-width: 42ch;
  margin: 1rem 0 2rem;
  line-height: 1.7;
}

.insta-follow {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border: none;
}
.insta-follow:hover { filter: brightness(1.06); }

/* Teléfono — compacto; muestra la captura real del perfil */
.insta-phone {
  position: relative;
  width: 270px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
  background: var(--cafe);
  border-radius: 38px;
  box-shadow: 0 30px 70px rgba(61, 33, 15, 0.35), inset 0 0 0 2px rgba(255,255,255,0.06);
}

.insta-phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 20px;
  background: var(--cafe);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 3;
}

.insta-phone-screen {
  background: var(--blanco);
  border-radius: 30px;
  overflow: hidden;
}

.insta-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Contacto ---------- */
#contacto {
  padding: var(--space-section) 0;
  background: var(--beige);
}

.contacto-stack {
  max-width: 640px;
  margin: 0 auto;
}

.contacto-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.contacto-head h2 { margin-bottom: 1.25rem; }
.contacto-head p {
  color: var(--texto-claro);
  max-width: 48ch;
  margin: 0 auto;
}

/* Ubicación y horario: fila centrada debajo del formulario */
.contacto-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.5rem;
  margin-top: 2.25rem;
}

.contacto-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
}

/* Los ítems que son enlaces (WhatsApp / Instagram) responden al hover */
a.contacto-item { transition: transform 0.3s var(--ease-out); }
a.contacto-item:hover { transform: translateX(4px); }
a.contacto-item:hover .contacto-item-icon {
  background: var(--oro-texto);
  color: var(--blanco);
  box-shadow: var(--shadow-gold);
}

.contacto-item-icon {
  width: 48px; height: 48px;
  background: var(--blanco);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: var(--oro-texto); /* iconos Font Awesome dorados, en línea con la marca */
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.contacto-item-text strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--oro-texto);
  margin-bottom: 0.1rem;
}

.contacto-item-text span {
  font-size: 0.93rem;
  color: var(--texto);
}

/* Formulario */
.contacto-form {
  background: var(--blanco);
  padding: 2.5rem;
  border-radius: var(--radio-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(122, 92, 66, 0.07);
}

.contacto-form h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cafe);
  margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oro-texto);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--beige-oscuro);
  border-radius: var(--radio);
  background: var(--beige);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--texto);
  transition: var(--trans);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #7a6252;
  opacity: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--oro-texto);
  background: var(--blanco);
  box-shadow: 0 0 0 3px rgba(127, 96, 41, 0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}
.form-submit:disabled { opacity: 0.7; cursor: default; transform: none; }

/* Mensajes de error por campo (aparecen con transición) */
.form-error {
  display: block;
  min-height: 0.9em;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #c0392b;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.form-error:not(:empty) { opacity: 1; transform: none; }

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #c0392b;
  background: #fdf3f2;
}

/* Casilla de consentimiento (Habeas Data) */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.25rem 0 0.35rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--texto-claro);
  cursor: pointer;
}
.form-consent input {
  margin-top: 0.15rem;
  width: 18px; height: 18px;
  accent-color: var(--oro-texto);
  flex-shrink: 0;
  cursor: pointer;
}
.form-consent a { color: var(--oro-texto); text-decoration: underline; }

/* Mensaje de confirmación / error del formulario (se despliega con transición) */
.form-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: var(--radio);
  opacity: 0;
  max-height: 0;
  padding: 0 1.1rem;
  overflow: hidden;
  transform: translateY(-6px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out),
              max-height 0.35s var(--ease-out), padding 0.35s var(--ease-out);
}
.form-feedback.show {
  opacity: 1;
  transform: none;
  max-height: 140px;
  padding: 0.85rem 1.1rem;
}
.form-feedback.is-success { background: #e8f5ec; color: #1e7a44; border: 1px solid #bfe3cc; }
.form-feedback.is-error   { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c0; }

/* ---------- Footer ---------- */
#footer {
  background: var(--cafe);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand img {
  width: 78px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1) opacity(0.85);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  margin-top: 0.75rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dorado-claro);
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--trans);
}
.footer-col ul li a:hover { color: var(--dorado-claro); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: var(--dorado-claro); }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px; height: 58px;
  background: var(--oro-texto);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: var(--trans);
  color: var(--blanco);
  font-size: 1.5rem;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--cafe);
  box-shadow: 0 10px 32px rgba(120, 80, 50, 0.45);
}

/* ---------- Animaciones entrada ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   SECCIONES ADICIONALES
   ============================================================ */

/* ---------- RESULTADOS ANTES & DESPUÉS ---------- */
#resultados {
  padding: var(--space-section) 0;
  background: var(--beige);
}

.resultados-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.resultados-header p {
  color: var(--texto-claro);
  font-size: 1rem;
  margin-top: 12px;
}

.resultados-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.result-card {
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(122, 92, 66, 0.07);
  background: var(--blanco);
  display: flex;
  flex-direction: column;
}

.result-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-shrink: 0;
}

.result-label {
  text-align: center;
  padding: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.result-antes   { background: #f0e8dc; color: #8a6050; }
.result-despues { background: var(--dorado); color: var(--blanco); }

.result-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 240px;
  flex-shrink: 0;
}

.result-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.result-imgs img[src=""],
.result-imgs img:not([src]) {
  background: var(--beige-oscuro);
  display: block;
}

.result-info {
  padding: 20px 22px;
  background: var(--oro-texto);
  flex: 1;
}

.result-treatment {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--blanco);
  margin-bottom: 4px;
}

.result-detail {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
}

/* ---------- SERVICIOS AMPLIADOS ---------- */
/* Catálogo completo de tratamientos (única sección de servicios) */
#servicios {
  padding: var(--space-section) 0;
  background: var(--blanco);
}

.servicios-amp-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.servicios-amp-header p {
  color: var(--texto-claro);
  font-size: 1rem;
  margin-top: 12px;
  line-height: 1.7;
}

.samp-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.samp-tab {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--beige-oscuro);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: transparent;
  color: var(--texto-claro);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.samp-tab.active,
.samp-tab:hover {
  background: var(--oro-texto);
  border-color: var(--oro-texto);
  color: var(--blanco);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* ── Carrusel deslizable de tratamientos ──
   Factor diferenciador vs. testimonios: aquí se ARRASTRA/desliza con
   scroll-snap + flechas + barra de progreso (no autoplay ni puntos). */
.samp-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.samp-track {
  display: flex;
  gap: 24px;
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 22px;
  scrollbar-width: none;            /* Firefox */
  -ms-overflow-style: none;
  cursor: grab;
}
.samp-track::-webkit-scrollbar { display: none; }  /* WebKit */
.samp-track.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.samp-track.dragging .samp-card { pointer-events: none; }

.samp-arrow {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--beige-oscuro);
  background: var(--blanco);
  color: var(--oro-texto);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), background 0.3s ease, color 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}
.samp-arrow:hover {
  background: var(--oro-texto);
  color: var(--blanco);
  transform: scale(1.08);
  box-shadow: var(--shadow-gold);
}
.samp-arrow:disabled { opacity: 0.3; cursor: default; pointer-events: none; }

.samp-progress {
  height: 4px;
  width: 100%;
  max-width: 280px;
  margin: 6px auto 0;
  background: var(--beige-oscuro);
  border-radius: 4px;
  overflow: hidden;
}
.samp-progress span {
  display: block;
  height: 100%;
  width: 30%;
  background: linear-gradient(to right, var(--oro-texto), var(--dorado));
  border-radius: 4px;
  transition: width 0.2s ease, margin-left 0.2s ease;
}
.samp-hint {
  text-align: center;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--texto-claro);
  letter-spacing: 0.02em;
}
.samp-hint i { color: var(--oro-texto); margin-right: 5px; }

.samp-card {
  flex: 0 0 clamp(280px, 31%, 360px);
  scroll-snap-align: start;
  background: var(--blanco);
  border-radius: var(--radio-lg);
  overflow: hidden;
  border: 1px solid rgba(122, 92, 66, 0.07);
  box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.samp-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.samp-card.hidden { display: none; }

.samp-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.samp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.samp-card:hover .samp-img img { transform: scale(1.08); }

.samp-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--oro-texto);
  color: var(--blanco);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

.samp-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.samp-name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--cafe);
  margin-bottom: 8px;
}

.samp-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--texto-claro);
  margin-bottom: 16px;
  flex: 1;
}

.samp-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.samp-tag {
  font-size: 11px;
  background: var(--beige);
  color: var(--cafe);
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 400;
}

.samp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--beige-oscuro);
}

.samp-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--oro-texto);
}

.samp-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--texto-claro);
}

.btn-samp {
  font-size: 11px;
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  background: var(--oro-texto);
  color: var(--blanco);
  box-shadow: var(--shadow-gold);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: transform 0.3s var(--ease-out), background 0.3s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
}

.btn-samp:hover {
  background: var(--cafe);
  color: var(--blanco);
  box-shadow: 0 8px 24px rgba(120, 80, 50, 0.3);
  transform: translateY(-2px);
}

/* ============================================================
   OVERLAY MENÚ HAMBURGUESA
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(74, 55, 40, 0.50);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   RESPONSIVE — TABLET GRANDE 1024px
   ============================================================ */
@media (max-width: 1024px) {

  /* Navbar compacto para que quepa el menú completo antes de la hamburguesa */
  .nav-links   { gap: 1.15rem; }
  .nav-links a { font-size: 0.72rem; }
  .nav-brand   { font-size: 1rem; }
  .nav-logo img { width: 50px; height: 50px; }
  .nav-cta     { margin-left: 0.5rem; padding: 0.7rem 1.15rem; font-size: 0.72rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-item + .stat-item::before { display: none; }

  /* Sobre mí — imagen completa en bloque */
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .sobre-content { order: 1; }
  .sobre-images {
    order: 2;
    position: relative;
    height: 420px;
    border-radius: var(--radio-lg);
    overflow: hidden;
    box-shadow: 0 12px 40px var(--sombra);
  }
  .sobre-img-main {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  .sobre-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .sobre-img-secondary { display: none; }
  .sobre-decoration    { display: none; }

  /* Servicios — carrusel muestra ~2 tarjetas */
  .samp-card { flex-basis: 45%; }

  /* Resultados */
  .resultados-grid { grid-template-columns: repeat(2, 1fr); }

  /* Proceso */
  .proceso-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .proceso-steps::before { display: none; }

  /* Instagram — texto arriba, teléfono debajo */
  .insta-wrap { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .insta-copy p { margin-left: auto; margin-right: auto; }

  /* Contacto — la columna ya es única y centrada */

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* ── HERO: imagen de fondo, texto encima ── */
  #hero {
    display: block;
    position: relative;
    min-height: 100svh;
    overflow: hidden;
  }

  .hero-right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.05) 0%,           /* casi transparente arriba — cara visible */
      rgba(242, 181, 160, 0.40) 55%,     /* rosa suave en el medio */
      rgba(122, 92, 66, 0.75) 100%       /* café oscuro abajo — texto legible */
    );
    z-index: 1;
  }

  .hero-left {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding: 2rem 6% 3.5rem;
    text-align: center;
    align-items: center;
    background: transparent;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;  /* texto pegado abajo */
  }

  .hero-eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-sub     { max-width: 100%; }

  /* Texto en blanco + sombra suave: legible sobre la foto SIN oscurecer el fondo */
  .hero-title        { color: var(--blanco); }
  .hero-title em     { color: var(--rosa-claro); }
  .hero-sub          { color: rgba(255, 255, 255, 0.92); }
  .hero-eyebrow span { color: var(--dorado-claro); }
  .hero-eyebrow::before { background: var(--dorado-claro); }
  .hero-eyebrow span,
  .hero-title,
  .hero-sub {
    text-shadow: 0 1px 3px rgba(61, 33, 15, 0.55), 0 8px 28px rgba(61, 33, 15, 0.35);
  }

  /* Botón secundario sobre la foto: borde blanco y fondo translúcido (se perdía en dorado) */
  #hero .btn-outline {
    color: var(--blanco);
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(61, 33, 15, 0.22);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    text-shadow: none;
  }
  #hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.92);
    color: var(--cafe);
    border-color: transparent;
  }

  .hero-badge { display: none; }

  /* El logo grande del hero solo vive en el layout de 2 columnas (>1024).
     En la vista foto-de-fondo estorbaría; el isotipo del nav ya está visible. */
  .hero-logo-mark { display: none; }
}

/* ============================================================
   RESPONSIVE — TABLET 768px
   ============================================================ */
@media (max-width: 768px) {

  /* Hamburguesa */
  .hamburger { display: flex; }
  .nav-cta   { display: none; }

  /* En móvil mostramos solo el isotipo (el nombre largo estorbaba y se cruzaba
     con el panel). Así el logo se desvanece limpio al abrir el menú. */
  .nav-brand { display: none; }
  .nav-logo  { transition: opacity 0.3s ease, visibility 0.3s ease; }

  /* Isotipo grande y visible DIRECTO sobre el banner (sin chip/círculo).
     La doble sombra le da contraste para que el trazo dorado resalte
     tanto en zonas claras como oscuras de la foto. */
  .nav-logo img {
    width: 82px; height: 82px;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    filter:
      drop-shadow(0 2px 7px rgba(45, 25, 10, 0.75))
      drop-shadow(0 1px 2px rgba(45, 25, 10, 0.55));
  }

  /* Al abrir el menú, desvanecer el logo suavemente. Doble vía: clase del JS
     nuevo y :has() como respaldo si quedara JS viejo en caché. */
  body.menu-open .nav-logo,
  .nav-inner:has(.hamburger.active) .nav-logo {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }


  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(280px, 80vw);
    background: var(--beige-oscuro);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--trans);
    z-index: 999;
    box-shadow: -8px 0 40px rgba(74, 55, 40, 0.15);
    overflow-y: auto;
    display: flex !important;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--beige-oscuro);
  }
  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cafe);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color var(--trans), padding-left var(--trans);
  }
  .nav-links a:hover { color: var(--oro-texto); padding-left: 0.5rem; }

  /* "Agendar cita" dentro del menú hamburguesa.
     Se fuerza el estilo de botón (texto blanco, icono, centrado) porque
     la regla genérica .nav-links a pintaba el texto marrón sobre el dorado
     y lo dejaba invisible. Especificidad alta para ganarle también al :hover. */
  .nav-cta-mobile { display: block; border-bottom: none; margin-top: 1.25rem; }
  .nav-cta-mobile a.btn,
  .nav-cta-mobile a.btn:hover {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1rem;
    color: var(--blanco);
    text-transform: none;
    letter-spacing: 0.06em;
  }
  .nav-cta-mobile a.btn:hover { background: var(--cafe); }

  /* Hero overlay más denso abajo — mejora la legibilidad del texto sobre la foto */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(242, 181, 160, 0.45) 45%,
      rgba(90, 62, 40, 0.88) 100%
    );
  }

  .hero-left { padding: 2rem 5% 3rem; justify-content: flex-end; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-badge { display: none; }
  .hero-scroll { z-index: 3; }

  /* Título del hero más legible sobre la foto: sombra más marcada */
  .hero-title,
  .hero-sub,
  .hero-eyebrow span {
    text-shadow: 0 2px 6px rgba(45, 25, 10, 0.85), 0 10px 30px rgba(45, 25, 10, 0.55);
  }

  /* Sobre mí */
  .sobre-images        { height: 360px; }

  /* Servicios — cada tarjeta ocupa TODO el ancho; las flechas flotan
     encima de los bordes para no restarle espacio. */
  .samp-carousel { position: relative; gap: 0; }
  .samp-track    { padding-left: 0; padding-right: 0; }
  .samp-card     { flex-basis: 100%; }

  .samp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255, 250, 247, 0.9);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
  .samp-arrow:hover { transform: translateY(-50%) scale(1.06); }
  .samp-prev { left: 6px; }
  .samp-next { right: 6px; }

  /* Resultados */
  .resultados-grid { grid-template-columns: 1fr; }

  /* Proceso */
  .proceso-steps { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Testimonios */
  .testim-card { min-width: 300px; padding: 2rem; }

  /* Footer: marca centrada arriba; Servicios y Navegación lado a lado
     para aprovechar todo el ancho (antes quedaba una columna pegada al costado) */
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand  { grid-column: 1 / -1; text-align: center; }
  .footer-brand img { margin-left: auto; margin-right: auto; }
  .footer-brand p   { max-width: 320px; margin-left: auto; margin-right: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   RESPONSIVE — MÓVIL 480px
   ============================================================ */
@media (max-width: 480px) {

  .container    { width: 94%; }
  .section-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }

  /* Navbar — el isotipo se mantiene grande y visible sobre el banner */
  .nav-brand    { font-size: 0.95rem; }
  .nav-logo img { width: 74px; height: 74px; }

  /* Hero */
  #hero { min-height: 100svh; }

  .hero-left {
    padding: 2rem 5% 3.5rem;
    justify-content: flex-end;
  }

  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-sub   { font-size: 0.92rem; }

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

  .hero-right img { object-position: top center; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .stat-num   { font-size: 1.8rem; }

  /* Sobre mí */
  .sobre-images        { height: 300px; }
  .sobre-tags          { gap: 0.4rem; }
  .tag                 { font-size: 0.72rem; padding: 0.35rem 0.8rem; }

  /* Servicios — tarjeta a ancho completo (ver bloque 768px) */
  .samp-card { flex-basis: 100%; }
  .samp-arrow { width: 42px; height: 42px; }
  .samp-tabs { gap: 0.4rem; }
  .samp-tab  { padding: 8px 16px; font-size: 12px; }
  .samp-img  { height: 180px; }

  /* Resultados */
  .resultados-grid { grid-template-columns: 1fr; }
  .result-imgs     { height: 180px; }

  /* Proceso */
  .proceso-steps { grid-template-columns: 1fr; }
  .step-card     { padding: 1.5rem 0.75rem; }

  /* Testimonios */
  .testim-card { min-width: 280px; padding: 1.75rem; }
  .testim-card blockquote { font-size: 1.05rem; }

  /* Instagram — el teléfono se reduce un poco */
  .insta-phone { width: 250px; }

  /* Contacto */
  .contacto-form { padding: 1.75rem 1.25rem; }

  /* Footer */
  .footer-top     { gap: 1.5rem; }
  .footer-brand p { font-size: 0.82rem; }

  /* WhatsApp */
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 50px; height: 50px; font-size: 1.3rem; }
}

/* ============================================================
   RESPONSIVE — MÓVIL PEQUEÑO 360px
   ============================================================ */
@media (max-width: 360px) {

  .hero-title { font-size: 1.85rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num   { font-size: 1.6rem; }

  .insta-phone { width: 230px; }

  .testim-card { min-width: 260px; }

  .samp-tab { padding: 7px 12px; font-size: 11px; }
}

/* ============================================================
   DESKTOP — ocultar overlay y hamburguesa
   ============================================================ */
@media (min-width: 769px) {
  .nav-overlay { display: none !important; }
  .hamburger   { display: none; }
}

/* ============================================================
   ✦ CAPA DINÁMICA — experiencia premium (GSAP + Lenis)
   ============================================================ */

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: var(--rosa-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: clip-path, opacity;
}
.preloader-inner { text-align: center; }
.preloader-logo {
  width: 132px; height: 132px;
  object-fit: contain;
  margin: 0 auto 1.1rem;
  animation: preloaderPulse 1.6s ease-in-out infinite;
}
.preloader-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cafe);
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
}
.preloader-bar {
  width: 170px; height: 2px;
  background: rgba(184,154,106,0.22);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--dorado);
  border-radius: 2px;
}
/* Fallback sin GSAP: ocultar al terminar la carga */
#preloader.done { opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s ease; }
/* Ya visto en esta sesión (flag en <head>): ni un frame de preloader */
.no-preloader #preloader { display: none !important; }
body.is-loading { overflow: hidden; }
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1);    opacity: 1;   }
  50%      { transform: scale(1.06); opacity: 0.8; }
}

/* ---------- Barra de progreso de scroll ---------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--dorado), var(--rosa-medio));
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 1001;
  pointer-events: none;
}

/* ---------- Cursor personalizado (solo desktop con puntero fino) ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transform: translate(-50%, -50%);
}
/* Cursor temático: destello dorado (piel radiante) que gira suavemente */
.cursor-dot {
  width: 28px; height: 28px;
  background: none;
  border-radius: 0;
}
.cursor-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.8 5.9 4.6 9.7 10.5 10.5C16.6 12.8 12.8 16.6 12 22.5 11.2 16.6 7.4 12.8 1.5 12 7.4 11.2 11.2 7.4 12 1.5Z' fill='%23c9a15f'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 0 3px rgba(201,161,95,0.55));
  animation: cursorSparkle 4s linear infinite;
}
@keyframes cursorSparkle {
  0%   { transform: rotate(0deg)   scale(0.85); }
  50%  { transform: rotate(180deg) scale(1.1);  }
  100% { transform: rotate(360deg) scale(0.85); }
}
/* Aro: halo suave rosa-dorado (glow) */
.cursor-ring {
  width: 56px; height: 56px;
  border: none;
  background: radial-gradient(circle, rgba(242,181,160,0.30) 0%, rgba(201,161,95,0.12) 45%, transparent 70%);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.3s ease;
}
body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring { opacity: 1; }
/* Con el cursor personalizado activo, el nativo se oculta en toda la página
   (solo en escritorio: .has-cursor se añade únicamente con puntero fino) */
body.has-cursor,
body.has-cursor * { cursor: none !important; }
.cursor-ring.is-hover {
  width: 88px; height: 88px;
  background: radial-gradient(circle, rgba(242,181,160,0.42) 0%, rgba(201,161,95,0.20) 45%, transparent 72%);
}

/* ---------- Grano cinematográfico ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.022;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  animation: grainShift 0.6s steps(3) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  33%  { transform: translate(-4%, 3%); }
  66%  { transform: translate(3%, -2%); }
  100% { transform: translate(0,0); }
}

/* ---------- Hero: aura + chispas ---------- */
.hero-aura {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.aura-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}
.aura-1 { width: 340px; height: 340px; background: var(--rosa);       top: 6%;  left: -6%;  opacity: 0.42; animation: auraFloatA 16s ease-in-out infinite; }
.aura-2 { width: 260px; height: 260px; background: var(--dorado-claro); bottom: 8%; left: 16%; opacity: 0.30; animation: auraFloatB 20s ease-in-out infinite; }
.aura-3 { width: 200px; height: 200px; background: var(--rosa-medio);  top: 40%; left: 30%;  opacity: 0.22; animation: auraFloatA 22s ease-in-out infinite reverse; }
@keyframes auraFloatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(22px,-28px); } }
@keyframes auraFloatB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-26px,20px); } }

.hero-sparkles i {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  /* Doble halo: núcleo blanco + resplandor dorado cálido, bien visible */
  box-shadow:
    0 0 10px 2px rgba(255, 255, 255, 0.95),
    0 0 24px 8px rgba(255, 220, 170, 0.55);
  opacity: 0;
  animation: twinkle 4.5s ease-in-out infinite;
}
.hero-sparkles i:nth-child(1)  { top: 18%; left: 12%; animation-delay: 0s;   }
.hero-sparkles i:nth-child(2)  { top: 30%; left: 26%; animation-delay: 0.6s; }
.hero-sparkles i:nth-child(3)  { top: 48%; left: 8%;  animation-delay: 1.2s; }
.hero-sparkles i:nth-child(4)  { top: 62%; left: 20%; animation-delay: 1.8s; }
.hero-sparkles i:nth-child(5)  { top: 22%; left: 40%; animation-delay: 2.4s; }
.hero-sparkles i:nth-child(6)  { top: 70%; left: 34%; animation-delay: 0.3s; }
.hero-sparkles i:nth-child(7)  { top: 38%; left: 46%; animation-delay: 1.5s; }
.hero-sparkles i:nth-child(8)  { top: 80%; left: 14%; animation-delay: 2.1s; }
.hero-sparkles i:nth-child(9)  { top: 12%; left: 30%; animation-delay: 3.0s; }
.hero-sparkles i:nth-child(10) { top: 55%; left: 42%; animation-delay: 3.6s; }
.hero-sparkles i:nth-child(11) { top: 88%; left: 28%; animation-delay: 0.9s; }
.hero-sparkles i:nth-child(12) { top: 44%; left: 18%; animation-delay: 2.7s; }
.hero-sparkles i:nth-child(13) { top: 8%;  left: 44%; animation-delay: 1.0s; }
.hero-sparkles i:nth-child(14) { top: 26%; left: 6%;  animation-delay: 2.0s; }
.hero-sparkles i:nth-child(15) { top: 58%; left: 30%; animation-delay: 3.3s; }
.hero-sparkles i:nth-child(16) { top: 75%; left: 6%;  animation-delay: 1.4s; }
.hero-sparkles i:nth-child(17) { top: 16%; left: 22%; animation-delay: 4.0s; }
.hero-sparkles i:nth-child(18) { top: 34%; left: 36%; animation-delay: 0.5s; }
.hero-sparkles i:nth-child(19) { top: 66%; left: 44%; animation-delay: 2.6s; }
.hero-sparkles i:nth-child(20) { top: 84%; left: 40%; animation-delay: 3.9s; }
.hero-sparkles i:nth-child(21) { top: 50%; left: 16%; animation-delay: 4.4s; }
.hero-sparkles i:nth-child(22) { top: 92%; left: 12%; animation-delay: 1.7s; }
/* Variedad natural: unos más pequeños y lentos, otros más grandes y vivos */
.hero-sparkles i:nth-child(3n) { width: 4px; height: 4px; animation-duration: 5.4s; }
.hero-sparkles i:nth-child(4n) { width: 6px; height: 6px; animation-duration: 3.8s; }
@keyframes twinkle {
  0%, 100%  { opacity: 0; transform: scale(0.4); }
  30%, 70%  { opacity: 1; }
  50%       { opacity: 1; transform: scale(1.3); }
}

/* ---------- Tilt 3D + glare ---------- */
.tilt {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx,50%) var(--gy,50%), rgba(255,255,255,0.32), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;
}
.tilt:hover .tilt-glare { opacity: 1; }

/* Suaviza el imán de los botones */
.btn-primary, .nav-cta, .whatsapp-float { will-change: transform; }

/* ---------- Comparador Antes / Después ---------- */
.ba-slider {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: var(--radio-lg) var(--radio-lg) 0 0;
  background: var(--beige-oscuro);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-tag {
  position: absolute;
  top: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 4;
  pointer-events: none;
}
.ba-tag-antes   { left: 12px;  background: rgba(255,255,255,0.92); color: var(--cafe); }
.ba-tag-despues { right: 12px; background: var(--oro-texto);       color: #fff;        }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: rgba(255,255,255,0.92);
  transform: translateX(-1px);
  z-index: 5;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}
.ba-grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oro-texto);
  font-size: 13px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.28);
  cursor: ew-resize;
  transition: transform 0.2s ease;
}
.ba-slider:hover .ba-grip,
.ba-handle:focus-visible .ba-grip { transform: translate(-50%, -50%) scale(1.12); }
.ba-handle:focus-visible { outline: none; }

/* ---------- Link activo del navbar (scrollspy) ---------- */
.nav-links a.nav-active { color: var(--oro-texto); }
.nav-links a.nav-active::after { width: 100%; }

/* ---------- Proceso: barra de progreso ---------- */
.proceso-progress {
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(to right, var(--rosa-medio), var(--dorado));
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 0;
}

/* Galería horizontal de servicios RETIRADA (rompía el layout). Los servicios
   se muestran como rejilla normal 3→2→1 definida más arriba. */

/* ============================================================
   ✦ RESPONSIVE de la capa dinámica (PARIDAD EN MÓVIL)
   ============================================================ */
@media (max-width: 1024px) {
  /* En móvil el hero es una foto a pantalla: ocultamos los "blobs" de color
     (ensuciarían la imagen) y dejamos solo los destellos por encima. */
  .hero-aura { z-index: 1; }
  .aura-blob { display: none; }
  /* Sobre la foto necesitan aún más contraste que sobre el fondo rosa */
  .hero-sparkles i {
    box-shadow:
      0 0 12px 3px rgba(255, 255, 255, 1),
      0 0 28px 10px rgba(255, 224, 178, 0.65);
  }
}

@media (max-width: 768px) {
  .ba-slider { height: 300px; }
  .preloader-logo { width: 74px; height: 74px; }
  .preloader-brand { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .ba-slider { height: 260px; }
  .ba-grip { width: 40px; height: 40px; }
  .aura-1 { width: 230px; height: 230px; }
  .aura-2 { width: 180px; height: 180px; }
  .aura-3 { width: 150px; height: 150px; }
  #scroll-progress { height: 2.5px; }
}

/* ---------- Puntero táctil: sin cursor custom (no aplica en móvil) ---------- */
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
  .tilt-glare { display: none; }
}

/* ---------- Respeto a "reducir movimiento" ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-sparkles, .aura-blob, .grain,
  .hero-scroll, .preloader-logo { animation: none !important; }
  #preloader { display: none !important; }
  .grain { display: none; }
}
