/* =========================================================
   Anaís Centro de Belleza Integral — Estilos generales
   Paleta inspirada en el logo: magenta/rosa y púrpura
   ========================================================= */
:root {
  --color-primary: #C2185B;      /* rosa/magenta del logo */
  --color-primary-dark: #8E0E44;
  --color-secondary: #6A1B9A;    /* púrpura del logo */
  --color-secondary-light: #9C4DCC;
  --color-light: #FDF3F8;
  --color-cream: #FFF8FB;
  --color-dark: #2B0B1F;
  --color-gray: #6b6470;
  --gradient-brand: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --font-script: 'Great Vibes', cursive;
}

* { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, .section-title {
  font-family: var(--font-heading);
  font-weight: 700;
}

a { text-decoration: none; }

/* ---------- Utilidades de marca ---------- */
.text-gradient-brand {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.btn-brand-primary {
  background: var(--gradient-brand);
  border: none;
  color: #fff !important;
  font-weight: 600;
  transition: all .3s ease;
  box-shadow: 0 4px 15px rgba(194,24,91,.35);
}
.btn-brand-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194,24,91,.45);
  color: #fff !important;
}
.btn-brand-outline {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  background: transparent;
  transition: all .3s ease;
}
.btn-brand-outline:hover {
  background: #fff;
  color: var(--color-primary);
}
.section-eyebrow {
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .8rem;
  font-weight: 600;
}
.section-title { font-size: 2.2rem; color: var(--color-dark); }
.section-subtitle { color: var(--color-gray); max-width: 640px; margin: 0 auto; }
.bg-cream { background-color: var(--color-cream); }
.bg-light-brand { background-color: var(--color-light); }

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--color-dark);
  color: #f5e3ef;
  font-size: .85rem;
}
.top-bar a { color: #f5e3ef; margin-right: 1.2rem; }
.top-bar a:hover { color: #fff; }
.top-bar-social a { margin-right: 0; margin-left: 1rem; }

/* ---------- Navbar ---------- */
.navbar-main {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,.06);
  padding: .6rem 0;
}
.navbar-brand { line-height: 1; }
.navbar-brand .brand-mark { height: 56px; width: auto; object-fit: contain; }
.footer-brand-mark { height: 90px; width: auto; object-fit: contain; }
.hero-logo { height: 190px; width: auto; object-fit: contain; }
.navbar-nav .nav-link {
  color: var(--color-dark);
  font-weight: 500;
  margin: 0 .4rem;
  position: relative;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover { color: var(--color-primary); }
.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient-brand);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1600&q=70') center/cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(43,11,31,.82), rgba(106,27,154,.55));
}
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #fff; animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -12px); }
  60% { transform: translate(-50%, -6px); }
}

/* ---------- Página interior con banner pequeño ---------- */
.page-banner {
  position: relative;
  padding: 7.5rem 0 4rem;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(43,11,31,.85), rgba(106,27,154,.65));
}
.page-banner .container { position: relative; z-index: 2; }

/* ---------- Contadores ---------- */
.stat-box { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ---------- Tarjetas de servicios ---------- */
.service-card {
  border: none;
  border-radius: 18px;
  padding: 2rem 1.6rem;
  height: 100%;
  background: #fff;
  box-shadow: 0 6px 25px rgba(43,11,31,.07);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(194,24,91,.18); }
.service-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-brand);
  color: #fff; font-size: 1.7rem;
  margin-bottom: 1.2rem;
}
.service-price {
  font-weight: 700;
  color: var(--color-secondary);
}
.service-card .btn-link-service {
  color: var(--color-primary);
  font-weight: 600;
  font-size: .9rem;
}

/* ---------- Galería ---------- */
.gallery-filters .btn {
  border-radius: 50px;
  margin: .25rem;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  font-weight: 500;
}
.gallery-filters .btn.active,
.gallery-filters .btn:hover {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin-bottom: 1.5rem;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(43,11,31,.85), transparent 60%);
  display: flex; align-items: flex-end;
  padding: 1rem;
  opacity: 0; transition: opacity .35s ease;
  color: #fff;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---------- Testimonios ---------- */
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 6px 25px rgba(43,11,31,.07);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.testimonial-stars { color: #f5a623; }
.testimonial-avatar {
  width: 70px; height: 70px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--color-light);
}

/* ---------- CTA banda ---------- */
.cta-band {
  background: var(--gradient-brand);
  color: #fff;
  padding: 4rem 0;
}

/* ---------- Formularios ---------- */
.form-control, .form-select {
  border-radius: 10px;
  padding: .7rem 1rem;
  border: 1px solid #e6d3de;
}
.form-control:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 .2rem rgba(194,24,91,.15);
}
#gridProfesionales .btn-check:checked + label,
#gridProfesionales label:hover {
  border-color: var(--color-primary);
  background: var(--color-light);
  color: var(--color-primary);
}
.booking-card {
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(43,11,31,.1);
  border: none;
}
.time-slot {
  border: 2px solid #e6d3de;
  border-radius: 10px;
  padding: .5rem;
  text-align: center;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s ease;
}
.time-slot.disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.time-slot.selected, .time-slot:not(.disabled):hover {
  background: var(--gradient-brand);
  color: #fff; border-color: transparent;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: #d9c7d3;
  padding-top: 3.5rem;
}
.footer-title { color: #fff; margin-bottom: 1rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .6rem; font-size: .9rem; }
.footer-links a { color: #d9c7d3; }
.footer-links a:hover { color: var(--color-secondary-light); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; margin-right: .5rem;
  transition: all .3s ease;
}
.footer-social a:hover { background: var(--gradient-brand); }
.footer-divider { border-color: rgba(255,255,255,.1); }

/* ---------- Botón WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  z-index: 999;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Botón volver arriba ---------- */
.btn-top {
  position: fixed; bottom: 24px; left: 24px;
  width: 46px; height: 46px;
  border-radius: 50%; border: none;
  background: var(--gradient-brand); color: #fff;
  display: none; align-items: center; justify-content: center;
  z-index: 999; box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

@media (max-width: 991px) {
  .hero { min-height: 80vh; text-align: center; }
  .hero-logo { height: 130px; }
  .hero-title { font-size: 1.8rem; }
}
