/*
Theme Name: Brows by Anna
Theme URI: https://browsbyanna.com
Author: Brows by Anna
Description: Landing page theme rebuilt pixel-perfect from Figma source
Version: 3.0
License: GNU General Public License v2 or later
Text Domain: bya
*/

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --bya-cream:       #faf8f5;
  --bya-cream-80:    rgba(250,248,245,0.8);
  --bya-cream-60:    rgba(250,248,245,0.6);
  --bya-taupe:       #7f7363;
  --bya-taupe-faint: rgba(232,227,220,0.3);
  --bya-taupe-ghost: rgba(232,227,220,0.2);
  --bya-taupe-light: #e8e3dc;
  --bya-dark:        #2c2c2c;
  --bya-gray:        #6b6b6b;
  --bya-white:       #ffffff;
  --bya-badge:       #c4b5a0;
  --ff-display:      'Cormorant Garamond', Georgia, serif;
  --ff-body:         'Montserrat', sans-serif;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bya-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; background: none; border: none; }
/* Strip WP defaults that break layout */
.wp-site-blocks, .entry-content, .wp-block-post-content { padding: 0 !important; margin: 0 !important; max-width: none !important; }
h1,h2,h3,h4,h5,h6 { font-weight: inherit; font-size: inherit; }
p { margin: 0; }

/* ── CONTAINER ─────────────────────────────────────────────── */
.bya-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes byaFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes byaBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}
.bya-animate { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.bya-animate.bya-visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════
   HERO — 800px, bg image + gradient overlay
   ══════════════════════════════════════════════════════════ */
.bya-hero {
  position: relative;
  width: 100%;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-size: cover;
  background-position: center top;
  padding: 36px 106px 80px;
  gap: 80px;
}

/* NAV */
.bya-nav {
  width: 100%;
  max-width: 1228px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.bya-logo svg { display: block; }
.bya-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.bya-nav-links a {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--bya-cream);
  line-height: 20px;
  transition: opacity 0.2s;
}
.bya-nav-links a:hover { opacity: 0.7; }

/* Buttons */
.bya-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.4px;
  line-height: 24px;
  transition: all 0.25s;
  cursor: pointer;
}
.bya-btn--ghost {
  padding: 10px 24px;
  background: var(--bya-cream);
  color: var(--bya-taupe);
  font-size: 14px;
  letter-spacing: 0.35px;
}
.bya-btn--ghost:hover { opacity: 0.85; }
.bya-btn--primary {
  padding: 16px 40px;
  background: var(--bya-cream);
  color: var(--bya-taupe);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}
.bya-btn--primary:hover { background: var(--bya-taupe); color: var(--bya-cream); }
.bya-btn--outline {
  padding: 18px 42px;
  background: transparent;
  color: var(--bya-cream);
  border: 2px solid var(--bya-cream);
}
.bya-btn--outline:hover { background: var(--bya-cream); color: var(--bya-taupe); }
.bya-btn--cta {
  padding: 16px 40px;
  background: var(--bya-cream);
  color: var(--bya-taupe);
  font-weight: 600;
  letter-spacing: 0.4px;
}
.bya-btn--cta:hover { background: rgba(250,248,245,0.9); }

/* HERO CONTENT */
.bya-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 43px;
  max-width: 777px;
  width: 100%;
  text-align: center;
  animation: byaFadeUp 0.8s ease 0.1s both;
}
.bya-hero__credentials {
  display: flex;
  align-items: center;
  gap: 32px;
}
.bya-credential {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--bya-cream);
  white-space: nowrap;
}
.bya-hero__headline {
  font-family: var(--ff-display);
  font-size: 72px;
  font-weight: 500;
  line-height: 90px;
  color: var(--bya-cream);
}
.bya-hero__description {
  font-family: var(--ff-body);
  font-size: 20px;
  line-height: 32.5px;
  color: var(--bya-cream-80);
  max-width: 672px;
}
.bya-hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.bya-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: byaBounce 2s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════════
   INTRO — px-168 py-96, image 520×500 + text 520
   ══════════════════════════════════════════════════════════ */
.bya-intro {
  background: var(--bya-white);
  width: 100%;
}
.bya-intro__grid {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 96px 168px;
  justify-content: center;
}
.bya-intro__image {
  flex: 1 0 0;
  align-self: stretch;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}
.bya-intro__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}
.bya-intro__content {
  flex: 0 0 520px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.bya-intro__content h2 {
  font-family: var(--ff-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 60px;
  color: var(--bya-taupe);
}
.bya-intro__content p {
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 29.25px;
  color: var(--bya-gray);
}
.bya-intro__stats {
  display: flex;
  align-items: center;
  width: 100%;
}
.bya-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 28px;
}
.bya-stat:first-child { padding-left: 0; }
.bya-stat__num {
  font-family: var(--ff-display);
  font-size: 36px;
  font-weight: 500;
  line-height: 40px;
  color: var(--bya-taupe);
}
.bya-stat__lbl {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--bya-gray);
  line-height: 20px;
}

/* ══════════════════════════════════════════════════════════
   TREATMENTS — px-80 py-96 | bg #faf8f5
   cards: 290px wide, gap-24, p-32, icon 64px circle
   ══════════════════════════════════════════════════════════ */
.bya-treatments {
  background: var(--bya-cream);
  width: 100%;
}
.bya-treatments .bya-container {
  padding: 96px 80px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.bya-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  width: 100%;
}
.bya-section-header h2 {
  font-family: var(--ff-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 48px;
  color: var(--bya-taupe);
}
.bya-section-header p {
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 28px;
  color: var(--bya-gray);
  max-width: 670px;
}
/* Treatments carousel */
.bya-trat-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.bya-trat-carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.bya-trat-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}
.bya-trat-carousel__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bya-treatment-card {
  background: var(--bya-white);
  border-radius: 2px;
  flex: 0 0 calc(25% - 18px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px;
  box-sizing: border-box;
}
.bya-treatment-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: var(--bya-taupe-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bya-treatment-card__icon svg { width: 24px; height: 24px; }
.bya-treatment-card h3 {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: var(--bya-taupe);
  text-align: left;
  width: 100%;
}
.bya-treatment-card p {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 26px;
  color: var(--bya-gray);
  width: 100%;
}
.bya-treatment-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.bya-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 20px;
  color: var(--bya-gray);
}
.bya-badge::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14' fill='%23C4B5A0'%3E%3Cpath d='M11 0C8.24 0 6 2.24 6 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8C9.34 8 8 6.66 8 5s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm-9 4c0-2.33 4.67-3.5 9-3.5s9 1.17 9 3.5v1H2v-1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.bya-badge--outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bya-badge--outline::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12.25 14' fill='%23C4B5A0'%3E%3Cpath d='M6.125 0L0 3.5v7L6.125 14 12.25 10.5v-7L6.125 0zm0 11.375L1.75 8.75V5.25l4.375-2.625L10.5 5.25v3.5L6.125 11.375z'/%3E%3C/svg%3E");
}
.bya-treatment-card__cta {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--bya-dark);
  margin-top: auto;
  padding-top: 16px;
  align-self: flex-start;
  transition: opacity 0.2s;
}
.bya-treatment-card__cta:hover { opacity: 0.6; }

/* ══════════════════════════════════════════════════════════
   PROCESO — px-80 py-96 | bg white
   steps: 284px wide, gap-32, 80px circle
   ══════════════════════════════════════════════════════════ */
.bya-proceso {
  background: var(--bya-white);
  width: 100%;
}
.bya-proceso .bya-container {
  padding: 96px 80px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.bya-proceso__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  width: 100%;
}
.bya-proceso__step {
  width: 284px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.bya-proceso__num {
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  background: var(--bya-taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 24px;
  color: var(--bya-cream);
  flex-shrink: 0;
}
.bya-proceso__step h3 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: var(--bya-dark);
}
.bya-proceso__step p {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 26px;
  color: var(--bya-gray);
}

/* ══════════════════════════════════════════════════════════
   BIO — px-168 py-96 | bg rgba(232,227,220,0.3)
   image flex-1 | text 643px
   ══════════════════════════════════════════════════════════ */
.bya-bio {
  background: var(--bya-taupe-faint);
  width: 100%;
}
.bya-bio__grid {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 96px 168px;
  justify-content: center;
}
.bya-bio__image {
  flex: 1 0 0;
  align-self: stretch;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}
.bya-bio__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}
.bya-bio__content {
  flex: 0 0 520px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.bya-bio__content h2 {
  font-family: var(--ff-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 54px;
  color: var(--bya-taupe);
}
.bya-bio__content p {
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 29.25px;
  color: var(--bya-gray);
}
.bya-bio__content blockquote {
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 29.25px;
  color: var(--bya-gray);
  border: none;
  padding: 0;
  margin: 0;
}
.bya-bio__badges {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.bya-bio__badge {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bya-bio__badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bya-bio__badge strong {
  display: block;
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--bya-taupe);
  line-height: 24px;
}
.bya-bio__badge span {
  display: block;
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--bya-gray);
  line-height: 20px;
}

/* ══════════════════════════════════════════════════════════
   DIFERENCIA — bg white
   cards: 64px icon circle bg-white, gap-32
   ══════════════════════════════════════════════════════════ */
.bya-diferencia {
  background: var(--bya-white);
  width: 100%;
}
.bya-diferencia .bya-container {
  padding: 96px 168px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.bya-diferencia__grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  width: 100%;
}
.bya-diferencia__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.bya-diferencia__icon {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: var(--bya-white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bya-diferencia__icon svg { width: 28px; height: 28px; }
.bya-diferencia__card h3 {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: var(--bya-taupe);
}
.bya-diferencia__card p {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 26px;
  color: var(--bya-gray);
}

/* ══════════════════════════════════════════════════════════
   GALERÍA — filter tabs + masonry-style grid
   ══════════════════════════════════════════════════════════ */
.bya-casos {
  background: var(--bya-cream);
  width: 100%;
}
.bya-casos .bya-container {
  padding: 96px 168px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Filter tabs */
.bya-casos__filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bya-filter-btn {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bya-taupe);
  background: transparent;
  border: 1.5px solid var(--bya-taupe-light);
  padding: 9px 22px;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.bya-filter-btn:hover {
  background: var(--bya-taupe-faint);
  border-color: var(--bya-taupe);
}
.bya-filter-btn--active {
  background: var(--bya-taupe);
  color: var(--bya-cream);
  border-color: var(--bya-taupe);
}

/* Image grid */
.bya-casos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}
.bya-casos__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.bya-casos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.bya-casos__item:hover img { transform: scale(1.04); }

/* ══════════════════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════════════════ */
.bya-casos__item {
  cursor: zoom-in;
}
.bya-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bya-lightbox[hidden] { display: none; }
.bya-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 14, 0.92);
  cursor: zoom-out;
}
.bya-lightbox__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 160px);
  max-height: 100vh;
  padding: 60px 0 40px;
}
.bya-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease;
  display: block;
}
.bya-lightbox__img--visible {
  opacity: 1;
  transform: scale(1);
}
.bya-lightbox__caption {
  font-family: var(--ff-body);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin: 0;
  text-align: center;
}
.bya-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 8px;
  line-height: 0;
  transition: color 0.2s ease;
}
.bya-lightbox__close:hover { color: #fff; }
.bya-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.bya-lightbox__nav:hover { background: rgba(255,255,255,0.18); color: #fff; }
.bya-lightbox__nav--prev { left: 20px; }
.bya-lightbox__nav--next { right: 20px; }
.bya-lightbox__counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-body);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .bya-lightbox__stage { max-width: 100vw; padding: 52px 0 52px; }
  .bya-lightbox__img { max-height: calc(100vh - 120px); }
  .bya-lightbox__nav { width: 40px; height: 40px; }
  .bya-lightbox__nav--prev { left: 8px; }
  .bya-lightbox__nav--next { right: 8px; }
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIOS — bg rgba(232,227,220,0.2)
   cards: 389px, 3-col row
   rating badge: white bg, 3 stats, shadow
   ══════════════════════════════════════════════════════════ */
.bya-testimonios {
  background: var(--bya-taupe-ghost);
  width: 100%;
}
.bya-testimonios .bya-container {
  padding: 96px 168px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* ── Carousel wrapper ──────────────────────────────────── */
.bya-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.bya-carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  gap: 24px;
}

/* Cards — same design, now sized for carousel */
.bya-testimonial-card {
  flex: 0 0 calc(25% - 18px);
  min-width: 0;
  background: var(--bya-white);
  border-radius: 2px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}
.bya-testimonial-card__stars {
  color: #eab308;
  font-size: 16px;
  line-height: 1;
}
.bya-testimonial-card__quote {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 26px;
  color: var(--bya-gray);
  flex: 1;
}
.bya-testimonial-card__reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bya-testimonial-card__photo {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
}
.bya-testimonial-card__reviewer strong {
  display: block;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--bya-taupe);
}
.bya-testimonial-card__reviewer span {
  display: block;
  font-family: var(--ff-body);
  font-size: 12px;
  color: var(--bya-gray);
}

/* ── Carousel controls ─────────────────────────────────── */
.bya-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}
.bya-carousel__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--bya-taupe-light);
  background: var(--bya-white);
  color: var(--bya-taupe);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.bya-carousel__btn:hover {
  background: var(--bya-taupe);
  color: var(--bya-cream);
  border-color: var(--bya-taupe);
}
.bya-carousel__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bya-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--bya-taupe-light);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.bya-carousel__dot--active {
  background: var(--bya-taupe);
  width: 24px;
}

/* Rating badge */
.bya-rating-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  background: var(--bya-white);
  padding: 32px 64px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border-radius: 2px;
}
.bya-rating-badge__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.bya-rating-badge__num {
  font-family: var(--ff-display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  color: var(--bya-taupe);
}
.bya-rating-badge__lbl {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--bya-gray);
}
.bya-rating-badge__divider {
  width: 1px;
  height: 48px;
  background: var(--bya-taupe-light);
}

/* ══════════════════════════════════════════════════════════
   FAQ — bg white | max-width 896px content
   ══════════════════════════════════════════════════════════ */
.bya-faq {
  background: var(--bya-white);
  width: 100%;
}
.bya-faq .bya-container {
  padding: 96px 272px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.bya-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.bya-faq__item {
  border-bottom: 1px solid var(--bya-taupe-light);
}
.bya-faq__item:first-child { border-top: 1px solid var(--bya-taupe-light); }
.bya-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--bya-taupe);
  line-height: 28px;
  gap: 16px;
}
.bya-faq__chevron {
  flex-shrink: 0;
  color: var(--bya-taupe);
  transition: transform 0.3s ease;
}
.bya-faq__item.bya-open .bya-faq__chevron { transform: rotate(180deg); }
.bya-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.bya-faq__item.bya-open .bya-faq__answer { max-height: 500px; }
.bya-faq__answer p {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 26px;
  color: var(--bya-gray);
  padding-bottom: 20px;
}
.bya-faq__note {
  text-align: center;
  font-family: var(--ff-body);
  font-size: 16px;
  font-style: italic;
  color: var(--bya-gray);
  line-height: 26px;
}

/* ══════════════════════════════════════════════════════════
   CTA — bg #7f7363 (taupe), text cream
   ══════════════════════════════════════════════════════════ */
.bya-cta {
  background: var(--bya-taupe);
  width: 100%;
}
.bya-cta__inner {
  padding: 96px 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.bya-cta__inner h2 {
  font-family: var(--ff-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
  color: var(--bya-cream);
  max-width: 700px;
}
.bya-cta__inner > p {
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 29.25px;
  color: var(--bya-cream-80);
  max-width: 580px;
}
.bya-cta__trust {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.bya-cta__trust li {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--bya-cream-60);
}
.bya-cta__trust li::before {
  content: '✓ ';
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.bya-footer {
  background: var(--bya-dark);
  width: 100%;
}
.bya-footer__inner {
  padding: 32px 168px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.bya-footer__copy {
  font-family: var(--ff-body);
  font-size: 14px;
  color: rgba(250,248,245,0.5);
}
.bya-footer__links {
  display: flex;
  gap: 24px;
}
.bya-footer__links a {
  font-family: var(--ff-body);
  font-size: 14px;
  color: rgba(250,248,245,0.5);
  transition: color 0.2s;
}
.bya-footer__links a:hover { color: var(--bya-cream); }

/* Social icons */
.bya-footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bya-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,248,245,0.5);
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 0;
}
.bya-footer__social-link:hover {
  color: var(--bya-cream);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════
   EMBED / CALENDAR
   ══════════════════════════════════════════════════════════ */
.bya-embed {
  background: var(--bya-cream);
  width: 100%;
}
.bya-embed .bya-container {
  padding: 96px 168px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.bya-embed__content {
  width: 100%;
}
/* Make embedded iframes/widgets responsive */
.bya-embed__content iframe,
.bya-embed__content > div {
  width: 100% !important;
  max-width: 100%;
}
@media (max-width: 1024px) {
  .bya-embed .bya-container { padding: 72px 60px; }
}
@media (max-width: 768px) {
  .bya-embed .bya-container { padding: 56px 20px; gap: 32px; }
}

/* ══════════════════════════════════════════════════════════
   LEGAL MODAL OVERLAY
   ══════════════════════════════════════════════════════════ */
.bya-footer__link-btn {
  font-family: var(--ff-body);
  font-size: 14px;
  color: rgba(250,248,245,0.5);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
  line-height: inherit;
}
.bya-footer__link-btn:hover { color: var(--bya-cream); }

.bya-legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bya-legal-overlay[hidden] { display: none; }

.bya-legal-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,17,14,0.7);
  cursor: pointer;
}
.bya-legal-overlay__panel {
  position: relative;
  z-index: 1;
  background: var(--bya-white);
  width: 100%;
  max-width: 720px;
  max-height: 82vh;
  margin: 0 auto;
  border-radius: 4px 4px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
}
.bya-legal-overlay--open .bya-legal-overlay__panel {
  transform: translateY(0);
}
.bya-legal-overlay__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--bya-gray);
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  transition: color 0.2s;
  z-index: 2;
}
.bya-legal-overlay__close:hover { color: var(--bya-taupe); }
.bya-legal-overlay__body {
  overflow-y: auto;
  padding: 48px 48px 40px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.bya-legal-doc__title {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--bya-taupe);
  line-height: 1.25;
  margin-bottom: 28px;
  padding-right: 32px;
}
.bya-legal-doc__content {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 26px;
  color: var(--bya-gray);
  white-space: pre-line;
}
.bya-legal-doc__content br { display: block; margin-bottom: 4px; }

@media (max-width: 768px) {
  .bya-legal-overlay__body { padding: 40px 24px 32px; }
  .bya-legal-doc__title { font-size: 22px; }
  .bya-legal-doc__content { font-size: 14px; line-height: 24px; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════
   EMBED / CALENDAR
   ══════════════════════════════════════════════════════════ */
.bya-embed {
  background: var(--bya-cream);
  width: 100%;
}
.bya-embed .bya-container {
  padding: 96px 168px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.bya-embed__content {
  width: 100%;
}
/* Make embedded iframes/widgets responsive */
.bya-embed__content iframe,
.bya-embed__content > div {
  width: 100% !important;
  max-width: 100%;
}
@media (max-width: 1024px) {
  .bya-embed .bya-container { padding: 72px 60px; }
}
@media (max-width: 768px) {
  .bya-embed .bya-container { padding: 56px 20px; gap: 32px; }
}

/* ══════════════════════════════════════════════════════════
   LEGAL MODAL OVERLAY
   ══════════════════════════════════════════════════════════ */
.bya-footer__link-btn {
  font-family: var(--ff-body);
  font-size: 14px;
  color: rgba(250,248,245,0.5);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
  line-height: inherit;
}
.bya-footer__link-btn:hover { color: var(--bya-cream); }

.bya-legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bya-legal-overlay[hidden] { display: none; }

.bya-legal-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,17,14,0.7);
  cursor: pointer;
}
.bya-legal-overlay__panel {
  position: relative;
  z-index: 1;
  background: var(--bya-white);
  width: 100%;
  max-width: 720px;
  max-height: 82vh;
  margin: 0 auto;
  border-radius: 4px 4px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
}
.bya-legal-overlay--open .bya-legal-overlay__panel {
  transform: translateY(0);
}
.bya-legal-overlay__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--bya-gray);
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  transition: color 0.2s;
  z-index: 2;
}
.bya-legal-overlay__close:hover { color: var(--bya-taupe); }
.bya-legal-overlay__body {
  overflow-y: auto;
  padding: 48px 48px 40px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.bya-legal-doc__title {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--bya-taupe);
  line-height: 1.25;
  margin-bottom: 28px;
  padding-right: 32px;
}
.bya-legal-doc__content {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 26px;
  color: var(--bya-gray);
  white-space: pre-line;
}
.bya-legal-doc__content br { display: block; margin-bottom: 4px; }

@media (max-width: 768px) {
  .bya-legal-overlay__body { padding: 40px 24px 32px; }
  .bya-legal-doc__title { font-size: 22px; }
  .bya-legal-doc__content { font-size: 14px; line-height: 24px; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — mobile-first breakpoints
   1280px → tablet-landscape  
   1024px → tablet-portrait
    768px → large mobile
    480px → small mobile
   ══════════════════════════════════════════════════════════ */

/* ── 1280px ─────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .bya-hero { padding: 32px 48px 80px; }
  .bya-intro__grid,
  .bya-bio__grid { padding: 80px 80px; gap: 56px; }
  .bya-treatments .bya-container,
  .bya-proceso .bya-container,
  .bya-diferencia .bya-container,
  .bya-casos .bya-container,
  .bya-testimonios .bya-container,
  .bya-faq .bya-container { padding-left: 80px; padding-right: 80px; }
  .bya-faq .bya-container { padding-left: 120px; padding-right: 120px; }
  .bya-cta__inner { padding-left: 80px; padding-right: 80px; }
}

/* ── 1024px ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Hero */
  .bya-hero { padding: 28px 40px 72px; gap: 56px; }
  .bya-hero__headline { font-size: 52px; line-height: 64px; }
  .bya-hero__description { font-size: 18px; }

  /* Intro & Bio — stack vertically */
  .bya-intro__grid,
  .bya-bio__grid { flex-direction: column; align-items: center; padding: 72px 60px; gap: 40px; }
  .bya-intro__image,
  .bya-bio__image { flex: none; width: 100%; max-width: 580px; min-height: 380px; margin: 0 auto; }
  .bya-intro__content,
  .bya-bio__content { flex: none; width: 100%; max-width: 580px; }

  /* Cards wrap */
  /* trat-carousel responsive handled by JS */
  .bya-treatment-card { flex: 0 0 calc(50% - 12px); }
  .bya-proceso__steps { flex-wrap: wrap; gap: 32px; }
  .bya-proceso__step { width: calc(50% - 16px); flex-shrink: 0; }
  .bya-diferencia__grid { flex-wrap: wrap; gap: 20px; }
  .bya-diferencia__card { width: calc(50% - 10px); flex-shrink: 0; }

  /* Testimonials carousel — 2 cards at 1024px */
  .bya-testimonial-card { flex: 0 0 calc(50% - 12px); }

  /* Galería */
  .bya-casos .bya-container { padding: 72px 60px; }
  .bya-casos__grid { grid-template-columns: repeat(3, 1fr); }

  /* Containers */
  .bya-treatments .bya-container,
  .bya-proceso .bya-container,
  .bya-diferencia .bya-container,
  .bya-casos .bya-container,
  .bya-testimonios .bya-container,
  .bya-faq .bya-container { padding-left: 60px; padding-right: 60px; }
  .bya-faq .bya-container { padding-left: 80px; padding-right: 80px; }
  .bya-cta__inner { padding-left: 60px; padding-right: 60px; }
}

/* ── 768px ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Hero */
  .bya-hero { padding: 20px 20px 56px; min-height: 100svh; gap: 40px; }
  .bya-hero__headline { font-size: 38px; line-height: 48px; }
  .bya-hero__description { font-size: 15px; line-height: 26px; max-width: 100%; }
  .bya-hero__content { gap: 28px; }
  .bya-hero__actions { flex-direction: column; gap: 12px; width: 100%; }
  .bya-hero__actions .bya-btn { width: 100%; max-width: 320px; }

  /* Nav — hide links, keep logo + button */
  .bya-nav-links { display: none; }
  .bya-nav { padding: 0; }
  .bya-btn--ghost { font-size: 12px; padding: 8px 16px; }

  /* Credentials — wrap */
  .bya-hero__credentials { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
  .bya-credential { font-size: 13px; white-space: normal; }

  /* Intro */
  .bya-intro__grid,
  .bya-bio__grid { padding: 56px 20px; gap: 32px; }
  .bya-intro__image,
  .bya-bio__image { width: 100%; max-width: 100%; min-height: 260px; }
  .bya-intro__content,
  .bya-bio__content { flex: none; width: 100%; }
  .bya-intro__content h2 { font-size: 32px; line-height: 40px; }
  .bya-intro__stats { gap: 20px; }

  /* Section headers */
  .bya-section-header h2 { font-size: 28px; line-height: 36px; }
  .bya-section-header p { font-size: 14px; }

  /* Treatments — single column */
  .bya-treatments .bya-container { padding: 56px 20px; }
  /* mobile: carousel shows 1 card */
  .bya-treatment-card { flex: 0 0 85vw; max-width: 360px; }

  /* Proceso — single column */
  .bya-proceso .bya-container { padding: 56px 20px; }
  .bya-proceso__steps { flex-direction: column; gap: 24px; }
  .bya-proceso__step { width: 100%; }

  /* Bio */
  .bya-bio__content h2 { font-size: 32px; line-height: 40px; }
  .bya-bio__badges { flex-direction: column; gap: 16px; }

  /* Diferencia — single column */
  .bya-diferencia .bya-container { padding: 56px 20px; }
  .bya-diferencia__grid { flex-direction: column; }
  .bya-diferencia__card { width: 100%; }

  /* Casos — 2 columns */
  .bya-casos .bya-container { padding: 56px 20px; }
  .bya-casos__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* Testimonials carousel — 1 card on mobile */
  .bya-testimonios .bya-container { padding: 56px 20px; gap: 40px; }
  .bya-testimonial-card { flex: 0 0 85vw; max-width: 360px; }
  .bya-carousel__controls { margin-top: 24px; gap: 14px; }
  .bya-rating-badge { flex-wrap: wrap; gap: 20px; padding: 20px; justify-content: center; }
  .bya-rating-badge__divider { display: none; }

  /* FAQ */
  .bya-faq .bya-container { padding: 56px 20px; }
  .bya-faq__question { font-size: 15px; padding: 18px 0; }

  /* CTA */
  .bya-cta__inner { padding: 64px 20px; }
  .bya-cta__inner h2 { font-size: 32px; line-height: 40px; }
  .bya-cta__trust { flex-direction: column; gap: 10px; align-items: center; }
  .bya-btn--cta { width: 100%; max-width: 320px; }

  /* Footer */
  .bya-footer__inner { padding: 24px 20px; flex-direction: column; gap: 16px; text-align: center; }
  .bya-footer__social { justify-content: center; }
}

/* ── 480px ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  .bya-hero__headline { font-size: 30px; line-height: 40px; }
  .bya-hero__credentials { gap: 10px 16px; }
  .bya-section-header h2 { font-size: 24px; line-height: 32px; }
  .bya-intro__content h2,
  .bya-bio__content h2,
  .bya-cta__inner h2 { font-size: 26px; line-height: 34px; }
  .bya-casos__grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .bya-intro__image { height: 240px; }
  .bya-bio__image { height: 260px; }
  .bya-treatment-card { padding: 24px 20px; }
  .bya-proceso__step { padding: 20px; }
  .bya-faq__question { font-size: 14px; }
  .bya-btn--ghost { display: none; } /* hide nav button on very small screens */
}

/* ── WordPress override layer — must stay at bottom ────────── */
.wp-site-blocks > * { padding-block-start: 0 !important; padding-block-end: 0 !important; }
.is-layout-flow > * + * { margin-block-start: 0 !important; }
.entry-content > * { max-width: none !important; }

/* FAQ: force closed */
.bya-faq__answer {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.35s ease !important;
  padding: 0 !important;
  margin: 0 !important;
}
.bya-faq__item.bya-open .bya-faq__answer {
  max-height: 500px !important;
}

/* Hero: ensure background shows */
.bya-hero {
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

/* Logo text fallback */
.bya-logo__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #FAF8F5;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
