/* Muelita Clinic · página pública. Mismo diseño que el de Claude Design, en CSS normal (sin programas externos). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #F8F4F1; font-family: 'Rethink Sans', sans-serif; color: #221A17; -webkit-font-smoothing: antialiased; }
a { color: #221A17; text-decoration: none; }
a:hover { color: #F78E8E; }
img { display: block; }
:focus-visible { outline: 2px solid #FF9F9F; outline-offset: 3px; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow { font: 500 12px/1 var(--font-subtitulo); letter-spacing: .14em; color: var(--cacao-3); text-transform: uppercase; }

@keyframes mRise { from { transform: translateY(115%) rotate(3deg); } to { transform: none; } }
@keyframes mFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes mZoom { from { transform: scale(1.25); } to { transform: scale(1); } }
@keyframes mFloat { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-26px) rotate(-2deg); } }
@keyframes mPulse { 0% { box-shadow: 0 0 0 0 rgba(255,159,159,.75); } 100% { box-shadow: 0 0 0 20px rgba(255,159,159,0); } }

/* Botones de la marca */
.cta { display: inline-flex; align-items: center; border-radius: 999px; background: #FF9F9F; color: #221A17; font-weight: 700; font-family: var(--font-texto); line-height: 1; transition: background .2s, transform .2s; }
.cta:hover { background: #F78E8E; color: #221A17; transform: translateY(-3px); }
.cta-flecha { border-radius: 50%; background: #221A17; color: #F8F4F1; display: flex; align-items: center; justify-content: center; }
.btn-oscuro { display: inline-flex; align-items: center; border-radius: 999px; background: #221A17; color: #F8F4F1; font: 700 14px/1 var(--font-texto); }
.btn-oscuro:hover { background: #3a2e29; color: #F8F4F1; }

/* Barra de arriba */
.cabecera { position: fixed; top: 18px; left: 0; right: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 16px; pointer-events: none; }
.nav { pointer-events: auto; width: 100%; max-width: 1200px; border-radius: 999px; padding: 10px 10px 10px 28px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(248,244,241,0); box-shadow: inset 0 0 0 1px rgba(248,244,241,.3); color: #F8F4F1;
  transition: background .32s var(--ease), box-shadow .32s var(--ease), color .32s var(--ease); animation: mFade .8s var(--ease) .1s both; }
.con-scroll .nav { background: #FFF6F3; box-shadow: inset 0 0 0 3px #DCCFC8, 0 10px 26px rgba(255,120,120,.14); color: #221A17; }
.nav-logo { position: relative; height: 44px; width: 176px; flex: none; }
.nav-logo img { position: absolute; left: 0; top: 0; height: 44px; width: auto; transition: opacity .32s; }
.nav-logo .logo-oscuro, .con-scroll .nav-logo .logo-claro { opacity: 0; }
.con-scroll .nav-logo .logo-oscuro { opacity: 1; }
.nav-links { display: flex; gap: 30px; font: 600 15px/1 var(--font-texto); }
.nav-links a, .nav a { color: inherit; white-space: nowrap; }
.nav-der { display: flex; align-items: center; gap: 10px; }
.btn-equipo { display: flex; align-items: center; gap: 8px; font: 700 13px/1 var(--font-texto); height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; transition: background .2s; }
.btn-equipo:hover { background: rgba(255,159,159,.22); color: inherit; }
.btn-equipo .ico { width: 16px; height: 16px; }
.equipo-corto { display: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 8px 0 24px; border-radius: 999px; background: #221A17; color: #F8F4F1 !important; box-shadow: inset 0 0 0 1px rgba(248,244,241,.35); font: 700 15px/1 var(--font-texto); }
.nav-cta:hover { opacity: .88; }
.nav-cta .cta-flecha { width: 36px; height: 36px; background: #FF9F9F; color: #221A17; font-size: 18px; }
.btn-menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px currentColor; font-size: 20px; padding: 0; }
.menu-movil { pointer-events: auto; width: 100%; max-width: 1200px; background: #fff; border-radius: 28px; box-shadow: var(--sombra-l); padding: 12px; display: flex; flex-direction: column; gap: 4px; animation: mFade .3s var(--ease) both; }
.menu-movil[hidden] { display: none; }
.menu-movil a { padding: 14px 18px; font: 700 18px/1 var(--font-titular); border-radius: 16px; }
.menu-movil a:hover { background: #F8F4F1; color: #221A17; }
.menu-movil .menu-reserva { margin-top: 6px; padding: 16px 18px; font: 700 16px/1 var(--font-texto); background: #FF9F9F; text-align: center; color: #221A17; }
.menu-movil .menu-reserva:hover { background: #F78E8E; }
.menu-movil .menu-equipo { font: 600 14px/1 var(--font-texto); display: flex; align-items: center; gap: 10px; color: var(--cacao-3); }
.menu-movil .menu-equipo .ico { width: 16px; height: 16px; }
@media (max-width: 1180px) { .equipo-largo { display: none; } .equipo-corto { display: inline; } }
@media (max-width: 900px) { .nav-links { display: none; } .btn-menu { display: flex; } }
@media (max-width: 620px) { .nav-cta, .equipo-corto, .whatsapp-txt { display: none; } .nav { padding-left: 18px; } .btn-equipo { width: 44px; padding: 0; justify-content: center; } }

/* Botón flotante de WhatsApp */
.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px; border-radius: 999px; background: #fff; color: #221A17; font: 700 15px/1 var(--font-texto); box-shadow: var(--sombra-l); animation: mFade .8s var(--ease) 2.2s both; }
.whatsapp:hover { background: #FFF6F3; color: #221A17; }
.whatsapp .ico { width: 22px; height: 22px; color: var(--muelita-rosado-fuerte); }
@media (max-width: 620px) { .whatsapp { width: 56px; padding: 0; justify-content: center; } }

/* Portada */
.portada { height: 100vh; height: 100svh; min-height: 680px; position: relative; overflow: hidden; color: #F8F4F1; background: #221A17; }
.portada-img { position: absolute; top: 0; left: 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 0%; animation: mZoom 2.8s var(--ease) both; will-change: transform; }
.portada-sombra { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,26,23,.5) 0%, rgba(34,26,23,0) 30%, rgba(34,26,23,.15) 55%, rgba(34,26,23,.9) 100%); }
.portada-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(20px,4.7vw,60px) 48px; display: flex; flex-direction: column; gap: 32px; }
.portada h1 { margin: 0; font: 700 clamp(42px,8.6vw,124px)/.9 var(--font-titular); letter-spacing: -.035em; }
.linea { display: block; overflow: hidden; padding-bottom: .08em; }
.linea span { display: block; animation: mRise 1.3s var(--ease) both; }
.linea:nth-child(1) span { animation-delay: .4s; }
.linea:nth-child(2) span { animation-delay: .6s; }
.portada-pie { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; border-top: 1px solid rgba(248,244,241,.3); padding-top: 22px; animation: mFade 1s var(--ease) 1.2s both; }
.portada-pie p { margin: 0; font: 400 19px/1.45 var(--font-texto); max-width: 560px; color: var(--texto-inverso-2); }
.cta-portada { gap: 16px; height: 68px; padding: 0 10px 0 34px; font-size: 19px; animation: mPulse 2.4s ease-out 2.2s infinite; }
.cta-portada .cta-flecha { width: 48px; height: 48px; font-size: 22px; }

/* Promesas (franja rosada) */
.promesas { background: #FF9F9F; color: #221A17; padding: clamp(48px,6vw,72px) clamp(20px,4.7vw,60px); }
.promesas-grilla { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; }
.promesa { display: flex; gap: 20px; align-items: flex-start; }
.promesa-ico { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #FFF6F3; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.promesa h2 { margin: 0 0 8px; font: 700 26px/1.05 var(--font-titular); }
.promesa p { margin: 0; font: var(--texto-m); }

/* Secciones */
.seccion { padding: clamp(70px,9vw,120px) clamp(20px,4.7vw,60px); }
.fondo-crema { background: var(--crema); }
.ancho { max-width: 1280px; margin: 0 auto; }
.titulo-seccion { margin: 0; font: 700 clamp(34px,4.8vw,64px)/1 var(--font-titular); letter-spacing: -.025em; }
.texto-l { font: var(--texto-l); color: var(--cacao-3); margin: 0; }

/* Nosotros */
.nosotros { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px), 1fr)); gap: clamp(32px,5vw,72px); align-items: center; }
.nosotros-foto { border-radius: 28px 28px 28px 220px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--sombra-l); }
.nosotros-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.nosotros-txt { display: flex; flex-direction: column; gap: 24px; }
.nosotros-txt h2 { margin: 0; font: 700 clamp(34px,4.4vw,56px)/1 var(--font-titular); letter-spacing: -.02em; }
.nosotros-txt .texto-l { max-width: 480px; }
.cta-media { gap: 14px; height: 60px; padding: 0 8px 0 28px; font-size: 17px; box-shadow: var(--sombra-m); align-self: flex-start; }
.cta-media .cta-flecha { width: 44px; height: 44px; font-size: 20px; }

/* Tratamientos */
.trat-intro { display: flex; flex-direction: column; gap: 20px; max-width: 720px; margin-bottom: 56px; }
.trat-grilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,340px), 1fr)); gap: 20px; align-items: start; }
.trat { background: #fff; border-radius: 28px; box-shadow: 0 10px 26px rgba(255,120,120,.14); transition: box-shadow .32s var(--ease); overflow: hidden; }
.trat.abierto { box-shadow: 0 0 0 2px #FF9F9F, 0 14px 34px rgba(255,120,120,.2); }
.trat-btn { all: unset; cursor: pointer; box-sizing: border-box; width: 100%; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.trat-btn:focus-visible { outline: 2px solid #FF9F9F; outline-offset: -4px; border-radius: 28px; }
.trat-arriba { display: flex; justify-content: space-between; align-items: center; }
.trat-num { font: 500 11px/1 var(--font-subtitulo); letter-spacing: .14em; color: var(--cacao-3); }
.mas { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--cacao); display: flex; align-items: center; justify-content: center; font: 400 22px/1 var(--font-texto); transition: transform .32s var(--ease), background .32s var(--ease), color .32s var(--ease); }
.abierto .mas { background: #221A17; color: #F8F4F1; transform: rotate(45deg); }
.trat-nombre { display: block; margin: 0 0 8px; font: 700 28px/1.05 var(--font-titular); }
.trat-desc { font: var(--texto-m); color: var(--cacao-3); }
.trat-ver { font: 700 13px/1 var(--font-texto); color: var(--cacao); }
.desplegable { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.abierto > .desplegable { grid-template-rows: 1fr; }
.desplegable > div { overflow: hidden; }
.trat-cuerpo { padding: 0 28px 28px; display: flex; flex-direction: column; gap: 22px; border-top: 1px solid var(--linea); }
.trat-cuerpo .bloque { display: flex; flex-direction: column; gap: 8px; }
.trat-cuerpo .bloque:first-child { padding-top: 22px; }
.trat-cuerpo p { margin: 0; font: var(--texto-m); }
.pasos { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: paso; }
.pasos li { display: flex; gap: 12px; align-items: flex-start; font: var(--texto-m); counter-increment: paso; }
.pasos li::before { content: counter(paso); flex: none; width: 26px; height: 26px; border-radius: 50%; background: #FF9F9F; display: flex; align-items: center; justify-content: center; font: 700 13px/1 var(--font-texto); }
.btn-reservar-trat { align-self: flex-start; height: 44px; padding: 0 22px; }
.nota-pie { font: var(--texto-s); color: var(--cacao-3); margin: 24px 0 0; }

/* Preguntas */
.preguntas { max-width: 860px; margin: 0 auto; }
.preguntas-titulo { text-align: center; margin-bottom: 48px; display: flex; flex-direction: column; gap: 16px; }
.pregunta { border-top: 1px solid var(--linea-fuerte); padding: 24px 0; }
.preguntas-fin { border-top: 1px solid var(--linea-fuerte); }
.pregunta-btn { all: unset; cursor: pointer; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; font: 700 24px/1.1 var(--font-titular); }
.pregunta-btn:focus-visible { outline: 2px solid #FF9F9F; outline-offset: 4px; border-radius: 8px; }
.pregunta .desplegable { transition-duration: .32s; }
.pregunta .respuesta { margin: 0; font: var(--texto-l); color: var(--cacao-3); padding-top: 14px; max-width: 640px; }

/* Dónde estamos */
.visitanos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px), 1fr)); gap: 24px; }
.tarjeta { background: #fff; border-radius: 28px; padding: 36px; box-shadow: var(--sombra-m); display: flex; flex-direction: column; gap: 28px; }
.dato { display: flex; gap: 14px; align-items: flex-start; font: var(--texto-l); }
.dato .ico { color: var(--muelita-rosado-fuerte); font-size: 20px; margin-top: 3px; }
.dato p { margin: 0; }
.dato span { color: var(--cacao-3); }
.mapa { min-height: 300px; border-radius: 28px; background: #fff; box-shadow: var(--sombra-m); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 30px; }
.mapa:hover { color: #221A17; }
.mapa-ico { width: 64px; height: 64px; border-radius: 50%; background: #FFC4C3; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.mapa-t { font: 700 26px/1.1 var(--font-titular); }
.mapa .btn-oscuro { height: 48px; padding: 0 24px; font-size: 15px; }

/* Contacto */
.contacto { background: radial-gradient(ellipse at 88% 10%, #FFC4C3 0%, rgba(255,196,195,0) 55%), #FFF6F3; padding: clamp(80px,10vw,120px) clamp(20px,4.7vw,60px) 36px; position: relative; overflow: hidden; }
.brillo { position: absolute; right: 4%; bottom: 90px; height: clamp(90px,14vw,190px); width: auto; animation: mFloat 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(255,159,159,.35)); }
.contacto .ancho { position: relative; }
.contacto-grilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px), 1fr)); gap: clamp(32px,5vw,72px); align-items: center; }
.contacto h2 { margin: 0 0 24px; font: 700 clamp(42px,6.4vw,92px)/.95 var(--font-titular); letter-spacing: -.03em; }
.contacto .texto-l { font-size: 19px; max-width: 460px; }
.formulario { background: #fff; border-radius: 28px; padding: clamp(24px,3vw,40px); box-shadow: var(--sombra-l); display: flex; flex-direction: column; gap: 18px; }
.formulario input { border: 0; box-shadow: inset 0 0 0 1px var(--linea-fuerte); border-radius: 14px; padding: 18px 20px; font: var(--texto-l); font-size: 17px; color: #221A17; background: #F8F4F1; outline: 0; transition: box-shadow .2s; width: 100%; }
.formulario input:focus { box-shadow: inset 0 0 0 2px #FF9F9F; }
.formulario input::placeholder { color: #8a7a73; }
.btn-reservar { justify-content: center; gap: 12px; height: 64px; font-size: 18px; animation: mPulse 2.4s ease-out infinite; }
.btn-reservar:hover { transform: translateY(-2px); }
.btn-reservar .ico { font-size: 22px; }
.formulario small { font: var(--texto-s); color: var(--cacao-3); text-align: center; }
.pie { margin-top: 80px; border-top: 1px solid var(--linea-fuerte); padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: var(--texto-s); color: var(--cacao-3); }
.pie a { color: var(--cacao-3); display: flex; align-items: center; gap: 8px; min-height: 24px; }
.pie .ico { width: 16px; height: 16px; }

/* Aparecer al bajar (solo si el navegador lo soporta; sin JS todo se ve) */
.js [data-rv] { opacity: 0; transform: translateY(70px) scale(.96); }
.js [data-rv].visto { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), box-shadow .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js [data-rv] { opacity: 1; transform: none; }
}
.sr-h { margin: 0; font: inherit; }

/* Especialidades (franja oscura) y tratamientos agrupados por lo que necesitas (alternativa C, 3 nov 2026) */
.especialidades { background: #221A17; color: #F8F4F1; padding: clamp(56px,7vw,88px) clamp(20px,4.7vw,60px); }
.especialidades .eyebrow { color: #E6DBD4; }
.especialidades .titulo-seccion { margin-top: 14px; color: #F8F4F1; }
.esp-lista { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.esp-lista li { padding: 14px 20px; border-radius: 999px; background: rgba(248,244,241,.08); box-shadow: inset 0 0 0 1px rgba(248,244,241,.3); font: 600 16px/1 var(--font-texto); }
.esp-lista li:first-child { background: #FF9F9F; color: #221A17; box-shadow: none; }
.grupos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,320px), 1fr)); gap: 20px; margin-bottom: 40px; }
.grupo { background: #fff; border-radius: 28px; padding: 26px 28px; box-shadow: var(--sombra-m); }
.grupo h3 { margin: 0 0 14px; font: 700 26px/1 var(--font-titular); }
.grupo ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.grupo li { display: flex; gap: 10px; align-items: flex-start; font: var(--texto-m); }
.grupo li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #FF9F9F; margin-top: 7px; }
