/*
Theme Name: Beauty SF
Theme URI: https://tudominio.com
Author: Tu nombre
Author URI: https://tudominio.com
Description: Tema convertido desde HTML estático
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beautysf
*/

:root {
    --pink-50: #fff0f6;
    --pink-100: #ffe4ef;
    --pink-200: #ffcfe0;
    --pink-400: #ff7bac;
    --pink-500: #ff4f8b;
    --pink-600: #e93d7f;
    --rose-500: #ec4899;
    --bg: #ffffff;
    --text: #3a2c33;
    --muted: #6b5b63;
    --card: #ffffff;
    --shadow: 0 10px 25px rgba(236, 72, 153, .15), 0 4px 12px rgba(0, 0, 0, .06);
    --radius: 18px;
    --bg-gradient:
        radial-gradient(1200px 600px at 0% -15%, var(--pink-50), transparent 60%),
        radial-gradient(1000px 520px at 100% -10%, var(--pink-100), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, var(--pink-50) 22%, var(--pink-100) 55%, #ffffff 100%);
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    background: #fff
}

body {
    margin: 0;
    font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
    color: var(--text);
    background: var(--bg-gradient);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

/* Utilities */
.container {
    width: min(1100px, 92%);
    margin-inline: auto
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    transition: .25s ease;
    border: 0;
    cursor: pointer
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    color: #fff;
    box-shadow: var(--shadow)
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: saturate(1.05)
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--pink-400);
    color: var(--pink-600)
}

.btn-outline:hover {
    background: var(--pink-100)
}

.mt-12 {
    margin-top: 1.2rem
}

.mt-1 {
    margin-top: 1rem
}

.section-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 1rem
}

.section-desc {
    color: var(--muted);
    max-width: 70ch
}

.lead {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 60ch
}

.grid {
    display: grid;
    gap: 1.2rem
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
    transition: .25s ease
}

.card:hover {
    transform: translateY(-4px)
}

.notice {
    font-size: .9rem;
    color: var(--muted)
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid #f8d9e7;
    box-shadow: 0 10px 20px rgba(236, 72, 153, .06)
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .7rem 0;
    min-height: 64px
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-weight: 700;
    white-space: nowrap
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--pink-500), var(--pink-200));
    box-shadow: 0 6px 16px rgba(236, 72, 153, .28)
}

.brand-text {
    font-size: 1.02rem;
    color: var(--text)
}

.nav-wrap {
    display: flex;
    align-items: center
}

.menu {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0
}

.menu a {
    display: inline-flex;
    align-items: center;
    padding: .55rem .8rem;
    border-radius: 999px;
    font-weight: 500;
    transition: .2s ease
}

.menu a:hover {
    background: var(--pink-100)
}

.menu .nav-cta {
    padding: .7rem 1rem
}

.menu-toggle {
    display: none;
    background: #fff;
    border: 1px solid #f4c2d6;
    border-radius: 12px;
    width: 42px;
    height: 36px;
    line-height: 0;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow)
}

.btn.btn-primary.nav-cta {
    line-height: 1;
    box-shadow: 0 6px 16px rgba(236, 72, 153, .2)
}

/* ===== Glam Hero ===== */
.glam-hero {
    position: relative;
    padding: 5rem 0 3rem;
    overflow: hidden
}

/* === Hero: texto a la izquierda, mapa a la derecha === */
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas: "copy map";  /* primero texto, luego mapa */
  align-items: center;
  gap: 2rem;
}

.hero-copy{ grid-area: copy; }
.hero-map{  grid-area: map;  }

/* En móvil: una columna, primero texto y luego mapa */
@media (max-width:980px){
  .hero-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "map";
  }
}


.hero-figure {
    position: relative
}

.hero-figure img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    object-fit: cover
}

.badge-photo {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #fff;
    border-radius: 999px;
    padding: .4rem .8rem;
    box-shadow: var(--shadow);
    font-weight: 600
}

.blob {
    position: absolute;
    filter: blur(30px);
    opacity: .65;
    pointer-events: none
}

.blob.b1 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, var(--pink-200), transparent 70%);
    top: -120px;
    right: -60px
}

.blob.b2 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, var(--pink-100), transparent 70%);
    bottom: -60px;
    left: -80px
}

.eyebrow {
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--pink-600);
    font-weight: 700;
    font-size: .8rem
}

h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin: .3rem 0 1rem
}

.hl {
    color: var(--pink-600)
}

.cta {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    margin-top: 1.2rem
}

.hero-copy .trust-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem 1rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none
}

/* ===== Benefit strip ===== */
.benefit-strip {
    padding: 1rem 0;
    background: transparent
}

.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .6rem
}

.strip-item {
    background: #fff;
    border: 1px solid #f8d9e7;
    border-radius: 999px;
    padding: .55rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    font-weight: 600
}

/* ===== Destacados ===== */
.destacados {
    padding: 3rem 0
}

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem
}

.card-xl {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid
}

.card-xl img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover
}

.card-xl .cx {
    padding: 1rem
}

.price-tag {
    display: inline-block;
    margin-top: .4rem;
    background: var(--pink-100);
    color: var(--pink-600);
    padding: .35rem .7rem;
    border-radius: 999px;
    font-weight: 700
}

/* ===== Opiniones ===== */
.opiniones {
    padding: 2rem 0
}

.review-card {
    display: grid;
    gap: .6rem;
     box-shadow: 0 6px 14px rgba(0,0,0,.06); border: 1px solid #f8d9e7;
}

.review-head {
    display: flex;
    align-items: center;
    gap: .7rem
}

.review-head .avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 2px solid #f4c2d6;
    box-shadow: var(--shadow)
}

.review-card .quote {
    margin: 0
}

.review-card .tag {
    align-self: start;
    display: inline-block;
    background: var(--pink-100);
    color: var(--pink-600);
    padding: .25rem .6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .85rem
}

/* ===== Antes & Después ===== */
.antes-despues {
    padding: 3rem 0
}

.ba-wrap {
    position: relative;
    max-width: 900px;
    margin: 1rem auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.ba-base {
    display: block;
    width: 100%;
    height: auto
}

.ba-top {
    position: absolute;
    inset: 0;
    overflow: hidden
}

.ba-top img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.ba-range {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: 60%;
    -webkit-appearance: none;
    height: 6px;
    background: #fff;
    border-radius: 999px;
    border: 1px solid #f4c2d6
}

.ba-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pink-500);
    box-shadow: 0 0 0 4px #fff
}

.ba-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pink-500);
    border: 4px solid #fff
}

/* ===== Opiniones slider base (ya lo usas) ===== */
.slider {
    position: relative
}

.track {
    display: flex;
    gap: 1rem;
    overflow: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .6rem
}

.track::-webkit-scrollbar {
    height: 10px
}

.track::-webkit-scrollbar-thumb {
    background: var(--pink-200);
    border-radius: 999px
}

.slide {
    scroll-snap-align: start;
    min-width: min(420px, 88%)
}

.quote {
    font-size: 1.05rem
}

.stars {
    color: #ffb703
}

.slider .navbtn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #fff;
    border: 0;
    padding: .6rem;
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer
}

.slider .prev {
    left: -.6rem
}

.slider .next {
    right: -.6rem
}

/* ===== Gallery (si la usas) ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem
}

.gallery img {
    border-radius: 14px;
    aspect-ratio: 4/3;
    object-fit: cover;
    filter: saturate(1.02) contrast(1.02)
}

/* ===== Booking / Form / Footer / WhatsApp / Reveal ===== */
form {
    display: grid;
    gap: .9rem
}

.form-row {
    display: grid;
    gap: .9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

input,
select,
textarea {
    width: 100%;
    padding: .9rem 1rem;
    border-radius: 12px;
    border: 1.5px solid #f4c2d6;
    background: #fff
}

textarea {
    min-height: 120px
}

.toast {
    position: fixed;
    inset: auto 1rem 1rem auto;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    color: #fff;
    padding: .9rem 1.1rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: .25s
}

.toast.show {
    opacity: 1;
    transform: translateY(0)
}

.book-cta {
    padding: 2rem 0;
    background: transparent;
    border-top: 1px solid #f8d9e7;
    border-bottom: 1px solid #f8d9e7
}

.book-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center
}

.book-actions {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap
}

.site-footer {
    position: relative;
    padding: 3rem 0;
    background: transparent;
    border-top: 1px solid #f8d9e7
}

.site-footer .footer-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 2fr 1fr 1fr 1fr
}

.site-footer .footer-title {
    font-weight: 700;
    margin: 0 0 .6rem
}

.site-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: .8rem
}

.site-footer .footer-brand .logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--pink-500), var(--pink-200));
    box-shadow: 0 6px 16px rgba(236, 72, 153, .28)
}

.site-footer .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .45rem
}

.site-footer .footer-links a {
    opacity: .9
}

.site-footer .footer-links a:hover {
    opacity: 1;
    text-decoration: underline
}

.site-footer .footer-hours {
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--muted)
}

.site-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px dashed #f4c2d6
}

.site-footer .social-circles {
    display: flex;
    gap: .5rem
}

.site-footer .social-circles a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #f4c2d6;
    box-shadow: var(--shadow)
}

.copyright {
    color: var(--muted);
    font-size: .9rem
}

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: .35s ease
}

.reveal.in {
    opacity: 1;
    transform: none
}

/* ===== Responsive ===== */
@media (max-width:980px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .strip-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .cards-3 {
        grid-template-columns: 1fr 1fr
    }

    .grid-2 {
        grid-template-columns: 1fr
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .beforeafter-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:860px) {
    .menu-toggle {
        display: inline-grid;
        place-items: center
    }

    .nav-wrap {
        position: fixed;
        inset: 64px 0 auto 0;
        background: #fff;
        border-bottom: 1px solid #f8d9e7;
        transform: translateY(-110%);
        transition: transform .25s ease;
        box-shadow: 0 12px 24px rgba(236, 72, 153, .08)
    }

    .nav-wrap.open {
        transform: translateY(0)
    }

    .menu {
        flex-direction: column;
        align-items: stretch;
        gap: .4rem;
        padding: 1rem
    }

    .menu a {
        padding: .9rem 1rem;
        border-radius: 12px
    }

    .menu .nav-cta {
        width: 100%;
        justify-content: center
    }
}

@media (max-width:680px) {
    .strip-grid {
        grid-template-columns: 1fr
    }

    .cards-3 {
        grid-template-columns: 1fr
    }

    .hero-copy .trust-list {
        grid-template-columns: 1fr
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        gap: .6rem
    }

    .beforeafter-grid {
        grid-template-columns: 1fr
    }
}

/* ===== Antes & Después (grid pequeño) ===== */
.beforeafter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem
}

.ba-card {
    padding: 1rem
}

.ba-title {
    margin: 0 0 .6rem;
    font-weight: 600
}

.ba-wrap.mini {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow)
}

.ba-wrap.mini .ba-base,
.ba-wrap.mini .ba-top img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.ba-wrap.mini .ba-top {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
    transition: width .2s ease
}

.ba-wrap.mini .ba-range {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: 60%;
    -webkit-appearance: none;
    height: 6px;
    background: #fff;
    border-radius: 999px;
    border: 1px solid #f4c2d6
}

.ba-wrap.mini .ba-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--pink-500);
    box-shadow: 0 0 0 4px #fff
}

.ba-wrap.mini .ba-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--pink-500);
    border: 4px solid #fff
}

/* ===== Animaciones Hero ===== */
.animated-hero .hl {
    background: linear-gradient(90deg, var(--pink-600), #d946ef 50%, var(--pink-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: hueShift 8s linear infinite
}

.blob {
    transform: translate3d(var(--tx, 0), var(--ty, 0), 0) scale(1);
    animation: blobFloat 12s ease-in-out infinite;
    will-change: transform, filter
}

.blob.b1 {
    animation-delay: .2s
}

.blob.b2 {
    animation-delay: .8s
}

.split {
    display: inline
}

.split .word {
    display: inline-block;
    transform: translateY(1em) rotate(2deg);
    opacity: 0;
    transition: transform .6s cubic-bezier(.2, .7, 0, 1), opacity .6s;
    transition-delay: calc(var(--i)*40ms);
    will-change: transform, opacity
}

.split.in .word {
    transform: none;
    opacity: 1
}

.magnet-area {
    position: relative
}

.magnet {
    position: relative;
    will-change: transform;
    transition: transform .15s ease;
    overflow: hidden
}

.magnet.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120px 60px at var(--mx, -20%) var(--my, 120%), rgba(255, 255, 255, .55), transparent 50%);
    opacity: .0;
    transition: opacity .2s ease;
    pointer-events: none
}

.magnet:hover::before {
    opacity: .7
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 40%;
    height: 100%;
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
    pointer-events: none
}

.btn-primary:hover::after {
    animation: shine 1.1s ease
}

/* === Avatares: corto + loop infinito === */
.avatars-marquee {
    margin-top: .6rem;
    display: flex;
    align-items: center;
    gap: .6rem
}

.marquee {
    --marquee-width: 240px;
    /* ancho visible del carrusel */
    --avatar-size: 28px;
    /* tamaño de bolitas */
    --marquee-speed: 10s;
    /* velocidad del ciclo */
    width: var(--marquee-width);
    overflow: hidden;
    position: relative;
}

.marquee .marquee-track {
    display: flex;
    align-items: center;
    gap: .45rem;
    list-style: none;
    margin: 0;
    padding: 0;
    width: max-content;
    animation: avatars-marquee var(--marquee-speed) linear infinite;
}

.marquee .marquee-track img {
    width: var(--avatar-size);
    height: var(--avatar-size);
    border-radius: 999px;
    display: block;
    box-shadow: var(--shadow);
    border: 1px solid #f4c2d6;
}

/* Botones del carrusel SIEMPRE por encima de las tarjetas */
.slider .navbtn{
  z-index: 20;          /* clave */
}

/* Asegura que la pista quede debajo de las flechas */
.slider .track{
  position: relative;
  z-index: 1;
}

/* Las tarjetas de reseñas no elevan (evita tapar la flecha) */
.review-card:hover{
  transform: none;      /* anula el 'translateY' de .card:hover */
}

/* (opcional) si quieres mantener una elevación sutil sin tapar */
.review-card{
  transition: box-shadow .25s ease;
}
.review-card:hover{
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

/* ===== Hero Map (columna derecha) ===== */
.hero-map{
  /* en desktop queda en la segunda columna automáticamente
     por tu grid de: grid-template-columns: 1.1fr 1fr */
  align-self: start;                 /* alinea arriba */
  position: relative;
}

.map-card{
  background:#fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid #f8d9e7;
  overflow: hidden;
  position: sticky;                  /* que acompañe al hacer scroll */
  top: 96px;                         /* bajo el header */
}

/* Altura del mapa: ajusta a gusto */
.map-card iframe{
  display:block;
  width:100%;
  height:min(60vh, 520px);           /* responsive */
  border:0;
}

.map-info{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.6rem;
  padding:.8rem 1rem;
  border-top:1px solid #f8d9e7;
  background:#fff;
}

.btn.small{
  padding:.55rem .8rem;
  font-size:.92rem;
}

/* En móvil, que no sea sticky y ocupe toda la fila */
@media (max-width:980px){
  .map-card{ position: static; }
  .map-card iframe{ height: 360px; }
}

/* ===== Hero Map ===== */
.hero-map{
  align-self: start;
  position: relative;
}

.map-card{
  background:#fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border:1px solid #f8d9e7;
  overflow:hidden;
  position: sticky;
  top:96px; /* bajo header */
}

#gmap{
  width:100%;
  height:min(60vh,520px);
}

.map-info{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.6rem;
  padding:.8rem 1rem;
  border-top:1px solid #f8d9e7;
  background:#fff;
}

.btn.small{
  padding:.55rem .8rem;
  font-size:.92rem;
}

@media(max-width:980px){
  .map-card{ position:static; }
  #gmap{ height:360px; }
}


@keyframes avatars-marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

@supports (mask-image: linear-gradient(#000, #000)) {
    .marquee {
        mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent)
    }
}

@keyframes hueShift {
    to {
        background-position: 200% 0
    }
}

@keyframes shine {
    from {
        left: -120%
    }

    to {
        left: 160%
    }
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate3d(var(--tx, 0), calc(var(--ty, 0) + 0px), 0)
    }

    50% {
        transform: translate3d(var(--tx, 0), calc(var(--ty, 0) - 18px), 0)
    }
}

@media (prefers-reduced-motion: reduce) {

    .blob,
    .marquee>ul {
        animation: none !important
    }

    .split .word {
        transition: none
    }

    .btn-primary::after,
    .magnet::before {
        display: none
    }
}

/* ===== Chatbot v2 ===== */
.chat-launcher{
  position: fixed; right:16px; bottom:88px;
  width:56px; height:56px; border-radius:50%;
  display:grid; place-items:center;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  color:#fff; border:0; box-shadow: var(--shadow); z-index:95;
  font-size:22px; cursor:pointer; transition:.2s transform ease;
}
.chat-launcher:hover{ transform: translateY(-2px) scale(1.02); }

.chatbot{
  position: fixed; right:16px; bottom:156px; width:min(380px, 92vw);
  background:#fff; border:1px solid #f8d9e7; border-radius:18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  overflow:hidden; z-index:99;
  transform: translateY(16px); opacity:0; pointer-events:none; transition:.22s;
}
.chatbot.open{ transform:none; opacity:1; pointer-events:auto; }

.chat-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:.7rem .9rem; border-bottom:1px solid #f8d9e7; background:#fff;
}
.chat-brand{ display:flex; align-items:center; gap:.7rem; }
.chat-brand .dot{
  width:12px; height:12px; border-radius:50%; background:#22c55e; box-shadow:0 0 0 4px #eafff1;
}
.chat-close{ background:#fff; border:1px solid #f4c2d6; border-radius:10px; padding:.25rem .5rem; cursor:pointer; }

.chat-body{
  max-height: 60vh; overflow:auto; padding:.9rem; display:grid; gap:.6rem;
  background: radial-gradient(600px 280px at 100% -40%, var(--pink-50), transparent 60%);
}

.msg{ display:grid; gap:.35rem; }
.msg .bubble{
  padding:.75rem .95rem; border-radius:14px; box-shadow: 0 8px 18px rgba(0,0,0,.06);
  max-width: 90%;
}
.msg.bot .bubble{ background:#fff; border:1px solid #f8d9e7; }
.msg.user{ justify-content:end; }
.msg.user .bubble{ background: var(--pink-500); color:#fff; }

.chips{ display:flex; flex-wrap:wrap; gap:.45rem; margin-top:.2rem; }
.chips button{
  padding:.45rem .7rem; border-radius:999px; border:1px solid #f4c2d6;
  background:#fff; cursor:pointer; font-weight:600; transition:.15s background ease;
}
.chips button:hover{ background: var(--pink-100); }
.linklike{ background:none; border:0; padding:0; color: var(--pink-600); font-weight:600; cursor:pointer; text-decoration:underline; }

.typing{ display:inline-grid; grid-auto-flow:column; gap:4px; align-items:center; }
.typing span{ width:6px; height:6px; border-radius:50%; background:#c9b3bb; animation: blink 1s infinite ease-in-out; }
.typing span:nth-child(2){ animation-delay:.15s; } .typing span:nth-child(3){ animation-delay:.3s; }

.chat-input{
  display:flex; gap:.5rem; padding:.6rem; border-top:1px solid #f8d9e7; background:#fff;
}
.chat-input input{
  flex:1; border:1.5px solid #f4c2d6; border-radius:12px; padding:.7rem .8rem;
}
.chat-input .send{
  border:0; border-radius:10px; padding:.6rem .9rem; font-weight:700; cursor:pointer;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500)); color:#fff; box-shadow: var(--shadow);
}

@keyframes blink{ 0%,100%{opacity:.3} 50%{opacity:1} }

/* Mobile: que no tape el WhatsApp FAB */
@media(max-width:680px){
  .chatbot{ right:12px; left:12px; width:auto; bottom:156px; }
  .chat-launcher{ right:12px; bottom:88px; }
}


/* ================================
   ADD-ON: Servicios & Precios (safe)
   — No overrides, solo nuevas clases —
==================================== */

/* Badge redondo del brand (no interfiere con .brand-logo/.logo) */
.brand-badge{
  width:40px; height:40px; border-radius:50%;
  background: radial-gradient(circle at 30% 30%, var(--pink-500, #ff4f8b), var(--pink-200, #ffcfe0));
  box-shadow: 0 6px 16px rgba(236,72,153,.26);
}

/* Índice rápido de secciones (chips) */
.quick-index{
  margin:1.1rem 0 0;
  display:flex; flex-wrap:wrap; gap:.6rem;
}
.chip{
  display:inline-flex; align-items:center;
  border:1px solid var(--f4c2d6, #f4c2d6); /* fallback */
  border-color: var(--f4c2d6, #f4c2d6);
  background:#fff; border-radius:999px;
  padding:.5rem .75rem; font-weight:600;
  transition:.2s background ease;
}
.chip:hover{ background: var(--pink-100, #ffe4ef); }

/* Bloques de sección del nuevo HTML (no afecta a otras secciones) */
.sec{ padding:1.6rem 0; }
.sec h2{
  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem,2.4vw,1.8rem);
  margin:0 0 .4rem;
}
.sec .section-desc{ color: var(--muted, #6b5b63); margin:.25rem 0 .9rem; }

/* Tarjetas de precios modernas – todo scopeado a .price-card */
.price-card{
  background: var(--card, #fff);
  border:1px solid var(--f4c2d6, #f4c2d6);
  border-radius: var(--radius, 18px);
  box-shadow: var(--shadow, 0 10px 25px rgba(236,72,153,.15), 0 4px 12px rgba(0,0,0,.06));
  padding:1rem;
}
.price-list{ display:grid; gap:.55rem; }

/* Fila de precio (no global): solo dentro de .price-card */
.price-card .row{
  display:grid;
  grid-template-columns: 1fr auto;
  align-items:center; gap:.8rem;
  background:#fff;
  border:1px dashed var(--f4c2d6, #f4c2d6);
  border-radius:12px;
  padding:.65rem .8rem;
}
.price-card .row .name{ font-weight:600; }
.price-card .row .price{ font-weight:800; text-align:right; }

/* Grupos dentro de la tarjeta (multi) */
.price-card .row.multi{
  grid-template-columns:1fr;
  gap:.55rem; border:0; padding:0; background:transparent;
}
.price-card .row.multi .row{
  border:1px dashed var(--f4c2d6, #f4c2d6);
  padding:.65rem .8rem;
}

/* Hero pequeño: solo tipografía (no pisa tu h1 global) */
.hero .eyebrow{
  letter-spacing:.18em;
  text-transform:uppercase;
  color: var(--pink-600, #e93d7f);
  font-weight:800; font-size:.82rem;
}
.hero .lead{ color: var(--muted, #6b5b63); max-width:60ch; }

/* Botón CTA dentro de price-card: reutiliza tus .btn existentes si los hay */
.price-card .btn{
  display:inline-flex; align-items:center; gap:.55rem;
  padding:.8rem 1.1rem; border-radius:999px; border:0;
  font-weight:700; cursor:pointer; transition:.18s;
}
.price-card .btn.btn-primary{
  background: linear-gradient(135deg, var(--pink-500, #ff4f8b), var(--rose-500, #ec4899));
  color:#fff; box-shadow: var(--shadow, 0 10px 25px rgba(236,72,153,.15), 0 4px 12px rgba(0,0,0,.06));
}
.price-card .btn.btn-outline{
  background:#fff; border:2px solid var(--pink-400, #ff7bac); color: var(--pink-600, #e93d7f);
}
.price-card .btn:hover{ transform: translateY(-2px); }

/* Responsive mínimo (no toca tus media queries) */
@media (max-width:680px){
  .price-card .row{ grid-template-columns: 1fr auto; }
  .quick-index{ gap:.5rem; }
}

/* ==== FIX glow en botones primarios ==== */
/* Ancla el pseudo-elemento del destello al propio botón */
.btn-primary{
  position: relative;
  overflow: hidden;         /* recorta el brillo dentro del botón */
}

/* Activa el destello al pasar el ratón o al enfocarlo con teclado */
.btn-primary:hover::after,
.btn-primary:focus-visible::after{
  animation: shine 1.1s ease;
}

/* Accesibilidad: anillo de enfoque bonito y consistente */
.btn:focus-visible{
  outline: 0;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--pink-200);
}

/* Pulsación sutil */
.btn:active{
  transform: translateY(1px);
}

/* Respeta “reduced motion” */
@media (prefers-reduced-motion: reduce){
  .btn-primary:hover::after,
  .btn-primary:focus-visible::after{
    animation: none;
  }
}


.card-xl .btn { margin-top: .5rem; }


.icon-card {
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  background: linear-gradient(135deg, #ffe4ec, #ffd6f5);
  border-radius: 1rem 1rem 0 0;
  margin-bottom: 1rem;
}

/* Opcional: variaciones de color por cada carta */
.cards-3 article:nth-child(1) .icon-card {
  background: linear-gradient(135deg, #b3e5fc, #81d4fa); /* azul agua */
}
.cards-3 article:nth-child(2) .icon-card {
  background: linear-gradient(135deg, #f8bbd0, #f48fb1); /* rosa brillo */
}
.cards-3 article:nth-child(3) .icon-card {
  background: linear-gradient(135deg, #ffe082, #ffd54f); /* dorado uñas */
}

/* ===== MENÚ MÓVIL DROPDOWN (alineado al botón ☰) ===== */
@media (max-width: 860px) {
  .site-header { 
    position: relative; 
    background: rgba(255,255,255,.92); 
    backdrop-filter: saturate(140%) blur(10px); 
  }
  .navbar { position: relative; padding: .55rem .6rem; min-height: 56px; }

  /* Botón ☰ */
  .menu-toggle {
    display:inline-flex; align-items:center; justify-content:center;
    width: 40px; height: 36px; border-radius: 12px;
    background:#fff; border:1px solid #f4c2d6; box-shadow: var(--shadow);
    font-size:0; position:relative; z-index:91;
    transition: transform .18s ease, border-color .18s ease;
  }
  .menu-toggle::before { content:"☰"; font-size:1.1rem; line-height:1; }
  .menu-toggle[aria-expanded="true"]::before { content:"✕"; }

  /* Dropdown: alineado al botón */
  .nav-wrap {
    position: absolute;
    top: calc(100% + .4rem);
    right: 0;       /* 👈 anclado al borde derecho del botón */
    left: auto;
    width: 200px;
    background:#fff;
    border:1px solid #f8d9e7;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding:.5rem;
    opacity:0; 
    transform: translateY(-6px) scale(.98);
    visibility:hidden; 
    pointer-events:none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav-wrap.open {
    opacity:1; 
    transform:translateY(0) scale(1); 
    visibility:visible; 
    pointer-events:auto;
  }

  /* Flechita que apunta al botón ☰ */
  .nav-wrap::after {
    content:""; 
    position:absolute; 
    top:-7px; 
    right: 16px;  /* 👈 centrada respecto al botón */
    width:12px; 
    height:12px;
    background:#fff; 
    border-left:1px solid #f8d9e7; 
    border-top:1px solid #f8d9e7;
    transform: rotate(45deg);
  }

  /* Items del menú */
  .menu {
    flex-direction: column;
    align-items: stretch;
    gap:.3rem;
    margin:0;
  }
  .menu a {
    display:flex; 
    justify-content:center;
    padding:.55rem .7rem;
    border-radius: 999px;
    font-weight:500;
    font-size:.9rem;
  }
  .menu a:hover { background: var(--pink-50); }

  .menu .nav-cta {
    padding:.7rem .9rem;
    box-shadow: 0 10px 22px rgba(236,72,153,.18);
    font-size:.9rem;
  }
}
