/* =========================================================
   AmOr — Belleza con amor · Estilos generales
   ========================================================= */

:root {
  /* Paleta — Tiffany blue, cálido, tipo spa de alta gama */
  --turquoise: #0ABAB5;
  --turquoise-light: #4DD0CB;
  --turquoise-dark: #078F8A;
  --white: #FFFFFF;
  --bg-mint: #FAF7F2;           /* fondo cálido (nombre de variable heredado) */
  --text: #2D2D2D;
  --text-soft: #6B6459;
  --rose: #D89AA8;
  --card-border: #EAE4DC;
  --gold: #C9A050;
  --linen: #EFE8DD;
  --linen-border: #DDD4C4;
  --ph-icon: #9A9488;

  --shadow: 0 10px 28px rgba(45, 45, 45, 0.10);
  --shadow-soft: 0 4px 16px rgba(45, 45, 45, 0.06);
  --shadow-hover: 0 16px 36px rgba(45, 45, 45, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --ff-heading: 'Playfair Display', serif;
  --ff-body: 'DM Sans', sans-serif;
  --ff-script: 'Dancing Script', cursive;

  /* Escala de espaciado (base 8px) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg-mint);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  color: var(--text);
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.5rem, 1.6rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; letter-spacing: 0; }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

section { padding: var(--sp-10) 0; }
section.section-sm { padding: var(--sp-6) 0; }

.section-bg-white { background: var(--white); }
.section-bg-mint { background: var(--bg-mint); }
.section-bg-turquoise {
  background:
    radial-gradient(circle at 24% 18%, rgba(255,255,255,.12), transparent 55%),
    linear-gradient(135deg, var(--turquoise-dark), var(--turquoise-light));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-bg-turquoise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .05;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.section-bg-turquoise .container { position: relative; z-index: 1; }
.section-bg-turquoise h2, .section-bg-turquoise p { color: var(--white); }

.text-center { text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--turquoise-dark);
}
.section-bg-turquoise .eyebrow { color: var(--white); opacity: .85; }

.section-heading { max-width: 640px; margin: 0 auto var(--sp-6); }

/* =========================================================
   Iconos de línea (sprite SVG inline por página)
   ========================================================= */
.icon {
  width: 26px;
  height: 26px;
  stroke: var(--turquoise);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }
.icon-lg { width: 34px; height: 34px; }
.icon-gold { stroke: none; fill: var(--gold); }
.icon-white { stroke: var(--white); }
.icon-rose { stroke: var(--rose); }
.icon-heart-mark { stroke-width: 7; }

/* =========================================================
   Botones
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-primary {
  background: var(--turquoise);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--turquoise-dark); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,.14); }

.btn-white {
  background: var(--white);
  color: var(--turquoise-dark);
}
.btn-white:hover { background: #F4F1EB; }

.btn-outline-turquoise {
  background: transparent;
  color: var(--turquoise-dark);
  border-color: var(--turquoise);
}
.btn-outline-turquoise:hover { background: var(--turquoise); color: var(--white); }

.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--turquoise-dark);
  font-weight: 700;
  border-bottom: 2px solid var(--rose);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.link-arrow:hover { color: var(--turquoise); }

/* =========================================================
   Logo
   ========================================================= */
.logo { display: inline-flex; align-items: center; gap: var(--sp-1); }
.logo-heart { width: 40px; height: auto; flex-shrink: 0; display: block; }
.logo-wordmark {
  font-family: var(--ff-script);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--turquoise-dark);
  line-height: 1;
}
.logo--footer .logo-wordmark { color: var(--white); }
/* El logo es teal oscuro: en el pie (fondo #2D2D2D) se aclara para mantener contraste */
.logo--footer .logo-heart { filter: brightness(1.55) saturate(1.1); }

.logo-hero { text-align: center; }
.logo-hero-heart {
  display: block;
  width: 168px;
  height: auto;
  margin: 0 auto 2px;
  opacity: .92;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.14));
}
.logo-hero-word {
  font-family: var(--ff-script);
  font-weight: 700;
  font-size: 4.6rem;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,.10);
}
@media (max-width: 600px) {
  .logo-hero-word { font-size: 3.2rem; }
  .logo-hero-heart { width: 124px; }
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-2) var(--sp-3);
  max-width: 1200px;
  margin: 0 auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.nav-links a {
  font-weight: 500;
  color: var(--text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--turquoise-dark);
  border-color: var(--rose);
}

.lang-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  background: var(--bg-mint);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 3px;
  margin-left: var(--sp-1);
}
.lang-btn {
  border: none;
  background: transparent;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .75rem;
  padding: 6px 9px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-soft);
  transition: background .2s ease, color .2s ease;
}
.lang-btn.active { background: var(--turquoise); color: var(--white); }

.nav-cta { margin-left: var(--sp-1); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: var(--sp-2) var(--sp-3) var(--sp-3);
    box-shadow: var(--shadow-soft);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 0; }
  .lang-switch { margin: var(--sp-1) 0 4px; }
  .nav-cta { margin: 6px 0 0; width: 100%; }
  .nav-cta .btn { width: 100%; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background:
    radial-gradient(circle at 22% 15%, rgba(255,255,255,.14), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(0,0,0,.08), transparent 60%),
    linear-gradient(135deg, var(--turquoise-dark), var(--turquoise-light));
  color: var(--white);
  text-align: center;
  padding: var(--sp-12) 0 var(--sp-10);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .05;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

/* Portada: textura estucada real del logo del cliente, con un velo teal oscuro
   encima para que el texto blanco mantenga contraste (≥ 4.5:1). */
.hero--home {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(3, 80, 77, .42), transparent 65%),
    linear-gradient(160deg, rgba(4, 92, 89, .74), rgba(5, 110, 106, .68)),
    url("../img/marca/hero-texture.webp") center / cover no-repeat,
    var(--turquoise-dark);
}
.hero--home::before { display: none; }
.hero--home .hero-tagline,
.hero--home .hero-subtagline { text-shadow: 0 1px 10px rgba(0, 50, 48, .45); }
.hero-tagline {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem);
  margin: var(--sp-2) 0 var(--sp-1);
}
.hero-subtagline {
  font-size: 1.05rem;
  opacity: .95;
  margin-bottom: var(--sp-4);
}
.hero-cta {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-3);
}
.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.32);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
}

.hero-small {
  padding: var(--sp-8) 0 var(--sp-6);
}
.hero-small h1 { color: var(--white); }
.hero-small p { color: var(--white); opacity: .95; font-size: 1.08rem; max-width: 560px; margin: 0 auto; }

/* =========================================================
   Trust strip
   ========================================================= */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--card-border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
}
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Placeholder de imagen (foto pendiente)
   ========================================================= */
.photo-placeholder {
  background: var(--linen);
  border: 1px solid var(--linen-border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 4 / 3;
  width: 100%;
  text-align: center;
  overflow: hidden;
}
.photo-placeholder .ph-plus {
  width: 26px;
  height: 26px;
  stroke: var(--ph-icon);
  stroke-width: 1.4;
  fill: none;
}
.photo-placeholder .ph-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-soft);
  padding: 0 10px;
}
.photo-placeholder.circle { border-radius: 50%; aspect-ratio: 1 / 1; }
.photo-placeholder.portrait { aspect-ratio: 3 / 4; }
.photo-placeholder.square-sm { aspect-ratio: 1 / 1; }

/* =========================================================
   Fotos reales (sustituyen a .photo-placeholder)
   ========================================================= */
.card-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--linen);
}
.card-photo.square-sm { aspect-ratio: 1 / 1; }

/* Tarjetas de servicios sin fotos (masajes, envolturas): texto centrado en
   vez de un hueco vacío donde iría la foto */
.card--no-photo,
.quick-book-card.card--no-photo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(160deg, #F1FAF9, var(--white) 70%);
}
.service-card.card--no-photo p { max-width: 220px; }

/* serveis.html: carrusel de fotos siempre visible encima de cada lista de precios */
.service-block { margin-top: var(--sp-6); scroll-margin-top: 100px; }
.work-carousel { margin-bottom: var(--sp-2); }
.work-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: 12px;
}
.work-carousel-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--turquoise-dark);
}
.carousel-arrows { display: flex; gap: var(--sp-1); }
.work-carousel:not(.is-scrollable) .carousel-arrows { display: none; }
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--white);
  color: var(--turquoise-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.carousel-btn:hover:not(:disabled) { background: var(--turquoise); color: var(--white); border-color: var(--turquoise); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.carousel-track .gallery-item {
  flex: 0 0 210px;
  scroll-snap-align: start;
}
.carousel-track .gallery-photo { -webkit-user-drag: none; user-select: none; }
@media (max-width: 560px) {
  .service-block { margin-top: var(--sp-4); }
  .carousel-track { gap: 8px; }
  /* ~2.3 fotos visibles: se intuye que se puede deslizar */
  .carousel-track .gallery-item { flex-basis: 40%; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.gallery-grid--home { grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-grid--home { gap: 8px; }
}
.gallery-item {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--linen);
}
.gallery-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover .gallery-photo,
.gallery-item:focus-visible .gallery-photo { transform: scale(1.04); }
.gallery-item:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 2px; }

/* Visor a pantalla completa (js/main.js) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10002; /* por encima del botón flotante de WhatsApp y del aviso de cookies */
  background: rgba(20, 20, 20, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-size: .85rem;
}
body.lightbox-open { overflow: hidden; }

/* =========================================================
   Tarjetas de servicio
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-top: 4px solid var(--turquoise);
  border-radius: var(--radius);
  padding: var(--sp-3);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-card .photo-placeholder,
.service-card .card-photo { margin-bottom: var(--sp-2); }
.service-card h3 { font-size: 1.2rem; letter-spacing: .03em; }
.service-card p { color: var(--text-soft); font-size: .95rem; margin-bottom: 0; }

.services-preview-footer { text-align: center; margin-top: var(--sp-4); }

/* =========================================================
   Categorías (serveis.html)
   ========================================================= */
.category-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
@media (max-width: 860px) { .category-nav-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .category-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-nav-card { padding: 10px; }
  .category-nav-card span { font-size: .82rem; }
}
.category-nav-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: var(--sp-2);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.category-nav-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.category-nav-card .photo-placeholder,
.category-nav-card .card-photo { margin-bottom: var(--sp-2); }
.category-nav-card span { font-weight: 700; font-size: .95rem; letter-spacing: .02em; }

/* =========================================================
   Testimonios
   ========================================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-3);
}
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--bg-mint);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--rose);
  border-radius: var(--radius-sm);
  padding: var(--sp-3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.testimonial-card p { font-style: italic; color: var(--text); }
.testimonial-author { font-weight: 700; font-size: .9rem; color: var(--turquoise-dark); }
.stars-row { display: flex; gap: 3px; margin-bottom: var(--sp-1); }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-1) var(--sp-2); margin-bottom: var(--sp-3); }
.reviews-summary .stars-row { margin-bottom: 0; }
.reviews-score { font-family: var(--font-display, inherit); font-size: 1.75rem; font-weight: 700; }
.reviews-count { color: var(--text); }
.reviews-google { font-weight: 700; font-size: .85rem; padding: 2px 10px; border: 1px solid currentColor; border-radius: 999px; color: var(--turquoise-dark); }
.google-review .review-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px var(--sp-2); margin-top: 4px; font-size: .8rem; opacity: .75; }
.google-review .testimonial-author a { color: inherit; text-decoration: none; }
.google-review .testimonial-author a:hover { text-decoration: underline; }
.reviews-more { margin-top: var(--sp-3); }
.testimonial-grid.has-google-reviews { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }
.testimonial-grid.has-google-reviews .testimonial-card { flex: 1 1 260px; max-width: 380px; }

/* =========================================================
   CTA reserva
   ========================================================= */
.cta-block { text-align: center; }
.cta-block h2 { color: var(--white); }
.cta-block p { color: var(--white); opacity: .95; max-width: 520px; margin: 0 auto var(--sp-4); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #2D2D2D;
  color: var(--white);
  padding: var(--sp-8) 0 var(--sp-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.footer-grid p { color: #cfc7b8; font-size: .92rem; }
.footer-col h4 { color: var(--white); font-family: var(--ff-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--sp-2); }
.footer-col a { color: #cfc7b8; display: block; padding: 4px 0; font-size: .95rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--turquoise-light); }
.footer-col a.logo { display: inline-flex; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: var(--sp-2);
  text-align: center;
  font-size: .85rem;
  color: #a39c8d;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Botón flotante WhatsApp
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  z-index: 9999;
  transition: transform .2s ease, background .2s ease;
}
.whatsapp-float:hover { transform: scale(1.07); background: var(--turquoise-dark); }
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }

/* =========================================================
   Accordions / <details>
   ========================================================= */
.accordion {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-2);
  overflow: hidden;
  scroll-margin-top: 100px;
}
.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .from-price {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .9rem;
  color: var(--turquoise-dark);
  background: var(--bg-mint);
  padding: 5px 12px;
  border-radius: 999px;
  margin-left: auto;
  margin-right: var(--sp-2);
  white-space: nowrap;
}
.accordion summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--rose);
  line-height: 1;
  transition: transform .2s ease;
}
.accordion[open] summary::after { transform: rotate(45deg); }
.accordion-body { padding: 0 var(--sp-3) var(--sp-3); }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--card-border);
  font-size: .95rem;
}
.price-table th { color: var(--turquoise-dark); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.price-table td:nth-child(2) { color: var(--turquoise-dark); font-weight: 700; white-space: nowrap; }
.price-table td:nth-child(3) { color: var(--text-soft); white-space: nowrap; }
.price-table tr:last-child td { border-bottom: none; }

@media (max-width: 560px) {
  .accordion summary { font-size: 1.05rem; padding: var(--sp-2); }
  .accordion summary .from-price { font-size: .78rem; padding: 4px 9px; margin-right: 10px; }
  .accordion-body { padding: 0 var(--sp-2) var(--sp-2); }
  .price-table th, .price-table td { font-size: .85rem; padding: 9px 6px; }
}

/* =========================================================
   Pasos (reserva)
   ========================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 860px) {
  .steps-grid { grid-template-columns: 1fr; }
}
.step-card { text-align: center; padding: 0 var(--sp-2); }
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--turquoise);
  color: var(--white);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-2);
}
.step-card p { color: var(--text-soft); font-size: .95rem; }

/* =========================================================
   Botones de reserva rápida
   ========================================================= */
.quick-book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 860px) { .quick-book-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .quick-book-grid { grid-template-columns: 1fr; } }

.quick-book-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: var(--sp-2);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.quick-book-card .photo-placeholder,
.quick-book-card .card-photo,
.quick-book-card .icon-tile { margin-bottom: var(--sp-2); }
.quick-book-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--turquoise); }

.icon-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: var(--bg-mint);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-box {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: var(--sp-4);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.schedule-box p { margin-bottom: 6px; }
.schedule-box .schedule-highlight { font-weight: 700; color: var(--turquoise-dark); font-size: 1.15rem; }

/* =========================================================
   Sobre nosaltres
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-6);
  align-items: center;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

.trust-pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-mint);
  border: 1px solid var(--card-border);
  color: var(--turquoise-dark);
  font-weight: 600;
  font-size: .85rem;
  padding: 8px 16px;
  border-radius: 999px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 380px));
  justify-content: center;
  gap: var(--sp-4);
}
@media (max-width: 760px) { .staff-grid { grid-template-columns: 1fr; } }
.staff-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: var(--sp-4);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.staff-card .photo-placeholder.circle { width: 148px; margin: 0 auto var(--sp-3); }
.about-grid--collage { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 860px) { .about-grid--collage { grid-template-columns: 1fr; } }

/* Collage del interior: Cabina + Zona relax arriba, Tienda a todo el ancho abajo.
   Por debajo de 560px las tres fotos se apilan en una columna. */
.salon-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}
.salon-collage-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--linen);
}
.salon-collage-cabina, .salon-collage-relax { aspect-ratio: 4 / 3; }
.salon-collage-tienda { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (max-width: 560px) {
  .salon-collage { grid-template-columns: 1fr; }
}

.staff-photo {
  display: block;
  width: 148px;
  height: 148px;
  margin: 0 auto var(--sp-3);
  border-radius: 50%;
  object-fit: cover;
  background: var(--linen);
}
.contact-hours-extra { display: block; color: var(--text-soft); font-size: .95rem; margin-top: 2px; }

.staff-card h3 { margin-bottom: 2px; }
.staff-role { color: var(--rose); font-weight: 700; font-size: .9rem; margin-bottom: var(--sp-2); }
.staff-card p.staff-desc { color: var(--text-soft); font-size: .95rem; }
.staff-services { font-size: .88rem; color: var(--turquoise-dark); font-weight: 600; margin-top: var(--sp-2); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  text-align: center;
}
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr; } }
.value-item { padding: var(--sp-3); }
.value-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-2);
}
.value-item h4 { font-family: var(--ff-body); font-size: 1rem; }

/* =========================================================
   Contacte
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-list { margin: var(--sp-3) 0; }
.contact-info-item { display: flex; align-items: flex-start; gap: var(--sp-2); margin-bottom: var(--sp-2); font-size: 1rem; }
.contact-note {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: .9rem;
  color: var(--text-soft);
  margin-top: var(--sp-3);
}
.map-frame-wrap {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.map-frame {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}
.map-placeholder {
  position: absolute;
  inset: 0;
  background: var(--bg-mint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--sp-2);
  padding: var(--sp-3);
}
.map-placeholder p { max-width: 320px; font-size: .9rem; color: var(--text-soft); margin: 0; }

.faq-list .accordion summary { font-size: 1.05rem; }

/* =========================================================
   Utilidades responsive
   ========================================================= */
@media (max-width: 600px) {
  section { padding: var(--sp-6) 0; }
  .hero { padding: var(--sp-8) 0 var(--sp-6); }
}

/* =========================================================
   Reserva online (reserva-online.html / reserva-confirmada.html)
   ========================================================= */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-4);
  align-items: start;
}
@media (max-width: 960px) {
  .booking-grid { grid-template-columns: 1fr; }
}

.booking-step {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin-bottom: var(--sp-3);
  box-shadow: var(--shadow-soft);
  transition: opacity .2s ease;
}
.booking-step.step-locked {
  opacity: .45;
  pointer-events: none;
  user-select: none;
}

.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-3); }
.step-badge {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--turquoise);
  color: var(--white);
  font-family: var(--ff-heading);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease;
}
.booking-step.step-done .step-badge { background: var(--rose); }
.step-title { font-family: var(--ff-heading); font-weight: 700; font-size: 1.15rem; margin: 0; }
.step-sub { color: var(--text-soft); font-size: .88rem; margin: 2px 0 0; }

.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-3); }
.category-tab {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--bg-mint);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
  cursor: pointer;
  color: var(--text-soft);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.category-tab.active { background: var(--turquoise); border-color: var(--turquoise); color: var(--white); }

.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 640px) { .service-list { grid-template-columns: 1fr; } }
.service-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  background: var(--white);
  text-align: left;
  width: 100%;
  font-family: var(--ff-body);
  transition: border-color .2s ease, background .2s ease;
}
.service-option:hover { border-color: var(--turquoise-light); }
.service-option.selected { border-color: var(--turquoise); background: rgba(10, 186, 181, .08); }
.service-option .so-name { font-weight: 700; font-size: .92rem; color: var(--text); }
.service-option .so-meta { font-size: .78rem; color: var(--text-soft); margin-top: 2px; }
.service-option .so-price { font-weight: 700; color: var(--turquoise-dark); white-space: nowrap; font-size: .92rem; }

.staff-pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-3); }
.staff-pick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  background: var(--white);
  cursor: pointer;
  width: 100%;
  font-family: var(--ff-body);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.staff-pick-card:hover { box-shadow: var(--shadow-soft); }
.staff-pick-card.selected { border-color: var(--turquoise); background: rgba(10, 186, 181, .08); }
.staff-pick-avatar {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--linen);
  border: 1px solid var(--linen-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--turquoise-dark);
}
.staff-pick-name { font-weight: 700; font-size: 1rem; }
.staff-pick-role { font-size: .82rem; color: var(--rose); font-weight: 600; margin-top: 2px; }
.staff-pick-empty { grid-column: 1 / -1; }

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-3); }
.form-field { margin-bottom: var(--sp-3); }
.form-field:last-child { margin-bottom: 0; }
.form-field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; color: var(--text); }
.input-field {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
}
.input-field:focus { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(10, 186, 181, .15); }
.field-error { color: #B23A3A; font-size: .82rem; margin-top: 5px; display: none; }
.field-error.show { display: block; }

/* Clear visual break between the step's descriptive text (duration) above
   and the time buttons below — a divider plus its own heading, not just
   whitespace, so the two don't read as one merged block. */
.slot-subheading {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--card-border);
}
.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.slot-btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--white);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  color: var(--text);
  font-family: var(--ff-body);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.slot-btn:hover { border-color: var(--turquoise); }
.slot-btn.selected { background: var(--turquoise); border-color: var(--turquoise); color: var(--white); }
.slot-empty, .slot-loading { color: var(--text-soft); font-size: .92rem; }

.booking-summary {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
  box-shadow: var(--shadow-soft);
}
.booking-summary h3 { font-size: 1.05rem; margin-bottom: var(--sp-2); }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--card-border); font-size: .88rem; }
.summary-row:last-of-type { border-bottom: none; }
.summary-row .sr-label { color: var(--text-soft); }
.summary-row .sr-value { font-weight: 700; text-align: right; }
.summary-deposit {
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 2px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  color: var(--turquoise-dark);
  font-size: 1.05rem;
}
.hold-note { font-size: .85rem; line-height: 1.5; margin: var(--sp-3) 0; padding: var(--sp-2) var(--sp-3); border-left: 3px solid var(--turquoise, #2bb3b1); background: rgba(43, 179, 177, .08); border-radius: 4px; color: var(--text); }
.summary-note { font-size: .76rem; color: var(--text-soft); margin-top: var(--sp-2); line-height: 1.5; }
.summary-empty { color: var(--text-soft); font-size: .88rem; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .88rem; margin-bottom: var(--sp-3); }
.alert-error { background: #FBEAEA; color: #96281B; border: 1px solid #F1C0C0; }
.alert-info { background: var(--bg-mint); color: var(--turquoise-dark); border: 1px solid var(--card-border); }

/* Payment method choice (reserva-online.html) */
.payment-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
@media (max-width: 640px) { .payment-method-grid { grid-template-columns: 1fr; } }
.payment-method-card {
  text-align: left;
  padding: var(--sp-3);
  border: 2px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.payment-method-card:hover { border-color: var(--turquoise-light); }
.payment-method-card.selected { border-color: var(--turquoise); background: rgba(10, 186, 181, .08); }
.payment-method-card.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.payment-method-card .pm-title { display: block; font-family: var(--ff-heading); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; color: var(--text); }
.payment-method-card .pm-desc { display: block; font-size: .84rem; color: var(--text-soft); }

.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(10, 186, 181, .25);
  border-top-color: var(--turquoise);
  border-radius: 50%;
  animation: amor-spin .7s linear infinite;
  vertical-align: -3px;
  margin-right: 6px;
}
@keyframes amor-spin { to { transform: rotate(360deg); } }

.whatsapp-fallback {
  text-align: center;
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  background: var(--bg-mint);
  border: 1px dashed var(--card-border);
  border-radius: var(--radius);
}
.whatsapp-fallback p { margin-bottom: var(--sp-2); color: var(--text-soft); }

.confirmation-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.confirmation-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--turquoise);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-3);
}
.confirmation-icon.is-pending { background: var(--gold); }
.confirmation-icon.is-error { background: #B23A3A; }
.confirmation-icon svg { width: 34px; height: 34px; stroke: var(--white); }
.confirmation-details {
  text-align: left;
  margin: var(--sp-4) 0;
  background: var(--bg-mint);
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4);
}
.confirmation-details .summary-row { border-bottom-color: var(--linen-border); }

/* =========================================================
   Calendario de reserva (reemplaza el <input type="date"> nativo)
   ========================================================= */
.calendar-widget { max-width: 320px; }
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
}
.calendar-month-label {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-transform: capitalize;
}
.calendar-nav-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--white);
  color: var(--turquoise-dark);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.calendar-nav-btn:hover:not(:disabled) { background: var(--bg-mint); border-color: var(--turquoise); }
.calendar-nav-btn:disabled { opacity: .3; cursor: not-allowed; }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}
.calendar-weekday {
  text-align: center;
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 4px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-day {
  aspect-ratio: 1 / 1;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--ff-body);
  font-size: .88rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.calendar-day:hover:not(:disabled) { border-color: var(--turquoise); background: var(--bg-mint); }
.calendar-day:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 1px; }
.calendar-day-outside { visibility: hidden; cursor: default; }
.calendar-day-disabled {
  color: var(--card-border);
  background: transparent;
  cursor: not-allowed;
}
.calendar-day-today { border-color: var(--rose); font-weight: 700; }
.calendar-day-selected {
  background: var(--turquoise);
  border-color: var(--turquoise);
  color: var(--white);
  font-weight: 700;
}
.calendar-day-selected:hover { background: var(--turquoise-dark); }

@media (max-width: 600px) {
  .booking-step { padding: var(--sp-3); }
  .booking-summary { position: static; }
  .calendar-widget { max-width: 100%; }
  .calendar-day { font-size: .82rem; }
}

/* =========================================================
   Panel de gestión (amor/panel/) — dashboard interno para la
   propietaria, pensado mobile-first (lo usará sobre todo desde el móvil).
   ========================================================= */
.panel-bare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--sp-3);
  background: var(--white);
  border-bottom: 1px solid var(--card-border);
}
.btn-logout {
  border: 1px solid var(--card-border);
  background: var(--white);
  color: var(--text-soft);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .82rem;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.btn-logout:hover:not(:disabled) { border-color: var(--turquoise); color: var(--turquoise-dark); }
.btn-logout:disabled { opacity: .6; cursor: not-allowed; }

.panel-login-main {
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  background: var(--bg-mint);
}
.panel-login-card {
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.panel-login-card h1 { font-size: 1.5rem; margin-bottom: 4px; }
.panel-login-card .step-sub { margin-bottom: var(--sp-4); }
.panel-login-card form { text-align: left; }

.panel-main {
  background: var(--bg-mint);
  min-height: calc(100vh - 65px);
  padding: var(--sp-4) 0 var(--sp-10);
}
.panel-container { max-width: 960px; }

.panel-controls { margin-bottom: var(--sp-3); }
.panel-range-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-2); }
.panel-tab {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--white);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .85rem;
  color: var(--text);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.panel-tab.active { background: var(--turquoise); border-color: var(--turquoise); color: var(--white); }

.panel-date-picker-wrap {
  margin-bottom: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: var(--sp-3);
}

.panel-staff-filter { display: flex; gap: 8px; }
.panel-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--white);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .82rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.panel-chip.active { background: var(--text); border-color: var(--text); color: var(--white); }

.panel-empty { text-align: center; color: var(--text-soft); padding: var(--sp-6) var(--sp-3); grid-column: 1 / -1; }

/* The wider panel container (960px, since the fixed KPI header needs the
   room) leaves plain full-width booking cards looking sparse, so from
   tablet width up the list becomes a 2-column grid instead. Day-group
   labels (next7 view) span both columns so each day still reads as one
   section header over its own cards. */
.panel-bookings-list, .panel-cancelled-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  align-items: start;
}
@media (min-width: 720px) {
  .panel-bookings-list, .panel-cancelled-list { grid-template-columns: repeat(2, 1fr); }
}
.panel-day-group-label {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-soft);
  margin: var(--sp-3) 0 var(--sp-1);
  grid-column: 1 / -1;
}
.panel-day-group-label:first-child { margin-top: 0; }

.panel-booking-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: var(--sp-3);
  box-shadow: var(--shadow-soft);
}
.panel-booking-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.panel-booking-time { font-family: var(--ff-heading); font-weight: 700; font-size: 1.15rem; color: var(--turquoise-dark); }
.panel-booking-service { font-weight: 700; margin-bottom: 2px; }
.panel-booking-meta { color: var(--text-soft); font-size: .85rem; margin-bottom: 10px; }

.panel-booking-client {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--linen-border);
}
.panel-client-name { font-weight: 600; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-contact-links { display: flex; gap: 8px; flex-shrink: 0; }
.panel-contact-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-border);
  background: var(--bg-mint);
  color: var(--turquoise-dark);
  flex-shrink: 0;
}
.panel-contact-btn .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.panel-contact-btn-wa { color: var(--turquoise); }

.panel-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.panel-badge-confirmed { background: var(--bg-mint); color: var(--turquoise-dark); border: 1px solid var(--card-border); }
.panel-badge-completed { background: var(--turquoise); color: var(--white); }
.panel-badge-cancelled { background: #FBEAEA; color: #96281B; border: 1px solid #F1C0C0; }
.panel-badge-no_show { background: #FCF0DC; color: #93610C; border: 1px solid #F0D8A8; }
.panel-badge-pending { background: #FFF7E6; color: #93610C; border: 1px dashed #E0B866; }
.panel-booking-stripe-ref { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .78rem; color: var(--text-soft); margin-top: 4px; }
.panel-booking-stripe-ref code { font-size: .76rem; background: var(--linen); border: 1px solid var(--linen-border); border-radius: 4px; padding: 1px 5px; word-break: break-all; }
.panel-editor-note { font-size: .82rem; color: var(--text-soft); margin: 8px 0; }
.panel-modal-check { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; margin: var(--sp-2) 0; cursor: pointer; }
.panel-modal-check[hidden] { display: none; }
.panel-modal-check input { margin-top: 3px; }

.panel-payment-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; white-space: nowrap; background: var(--linen); color: var(--text-soft); border: 1px solid var(--linen-border); }
.panel-payment-badge-online { color: var(--turquoise-dark); }

.panel-booking-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.btn-mini {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background: var(--white);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-mini-complete { color: var(--turquoise-dark); }
.btn-mini-complete:hover { background: var(--turquoise); border-color: var(--turquoise); color: var(--white); }
.btn-mini-noshow { color: #93610C; }
.btn-mini-noshow:hover { background: #C98A1F; border-color: #C98A1F; color: var(--white); }
.btn-mini-cancel { color: #96281B; }
.btn-mini-cancel:hover { background: #B23A3A; border-color: #B23A3A; color: var(--white); }

.stat-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: var(--sp-3);
}
.stat-number {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--turquoise-dark);
  line-height: 1.1;
}
.stat-number.stat-number-rose { color: var(--rose); }
.stat-label { display: block; margin-top: 4px; font-size: .8rem; color: var(--text-soft); font-weight: 600; }
.stat-card-service .stat-number { font-size: 1.15rem; font-family: var(--ff-body); font-weight: 700; color: var(--text); }

.pvs-breakdown { display: flex; flex-wrap: wrap; gap: 8px; }
.stat-status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.stat-status-badge .stat-status-count { font-family: var(--ff-heading); }

/* Fixed dashboard header (amor/panel/index.html) — always visible, sits
   above .panel-main, independent of whatever range/staff filter is
   currently selected below it. Its 4 cards are pre-rendered directly in
   the HTML with a zero-value skeleton and a fixed (non auto-fit) column
   count, so the section itself and its shape never change based on data —
   only the numbers inside update. */
.panel-dashboard-header {
  background:
    linear-gradient(135deg, rgba(10, 186, 181, .08), rgba(250, 247, 242, 0) 60%),
    var(--white);
  border-bottom: 1px solid var(--card-border);
  padding: var(--sp-3) 0 var(--sp-4);
}
.panel-dashboard-title {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-soft);
  margin: 0 0 var(--sp-2);
}
.panel-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
}
.panel-kpi-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--turquoise);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: var(--sp-3);
  min-height: 104px;
}
.panel-kpi-card.kpi-warning { border-top-color: #C98A1F; }
.panel-kpi-number { display: block; font-family: var(--ff-heading); font-weight: 700; font-size: 1.9rem; color: var(--turquoise-dark); line-height: 1.1; }
.panel-kpi-card.kpi-warning .panel-kpi-number { color: #93610C; }
.panel-kpi-label { display: block; margin-top: 4px; font-size: .78rem; color: var(--text-soft); font-weight: 600; }
.panel-kpi-detail { display: block; font-size: .82rem; color: var(--text); margin-top: 8px; line-height: 1.4; }
.panel-kpi-detail strong { font-weight: 700; }
.panel-kpi-detail.is-empty { color: var(--text-soft); }

@media (max-width: 720px) {
  .panel-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Per-filter view summary (amor/panel/index.html) — a lightweight strip
   that's ALWAYS rendered (never hidden at zero bookings) showing what's in
   the currently selected range/staff filter. Deliberately not a grid of
   cards like the fixed header above — a flex row of badges can't reflow
   its column count the way the old per-filter stat-card grid used to. */
.panel-view-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-3);
  box-shadow: var(--shadow-soft);
}
.pvs-count { font-size: .85rem; font-weight: 700; color: var(--text); margin-right: 4px; white-space: nowrap; }

/* Mapa del local (amor/panel/index.html) — a simple flat 2D floor plan, not
   a photo-realistic render, showing which staff zone is currently occupied
   in real time. Zones are absolutely positioned percentage boxes inside
   .floorplan-canvas so adding more zones later only means adding more
   entries to FLOORPLAN_ZONES in panel-dashboard.js — nothing hardcoded to
   exactly two. */
.floorplan-note {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  background: var(--linen);
  border: 1px solid var(--linen-border);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: .82rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.floorplan-note-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-soft);
  flex-shrink: 0;
  padding: 0 0 0 8px;
}
.floorplan-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-mint);
  border: 2px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.floorplan-entrance {
  position: absolute;
  background: var(--turquoise-dark);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0 4px 4px 0;
}
.floorplan-decor {
  position: absolute;
  border: 1px dashed var(--card-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  color: var(--text-soft);
  font-weight: 700;
  text-align: center;
  padding: 6px;
}
.floorplan-zone {
  position: absolute;
  border-radius: var(--radius-sm);
  border-width: 2px;
  border-style: solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: var(--sp-2);
  text-align: center;
  transition: background .3s ease, border-color .3s ease;
}
.floorplan-zone.zone-free { background: rgba(10, 186, 181, .12); border-color: var(--turquoise); }
.floorplan-zone.zone-occupied { background: rgba(178, 58, 58, .10); border-color: #B23A3A; }
.floorplan-zone-label { font-family: var(--ff-heading); font-weight: 700; font-size: .95rem; color: var(--text); }
.floorplan-zone-status { font-weight: 700; font-size: .8rem; }
.zone-free .floorplan-zone-status { color: var(--turquoise-dark); }
.zone-occupied .floorplan-zone-status { color: #96281B; }
.floorplan-zone-detail { font-size: .74rem; color: var(--text-soft); }
.floorplan-updated { margin-top: var(--sp-2); font-size: .78rem; color: var(--text-soft); text-align: right; }

@media (max-width: 560px) {
  .floorplan-canvas { aspect-ratio: 3 / 4; }
  .floorplan-zone-label { font-size: .82rem; }
  .floorplan-entrance { font-size: .9rem; }
}

/* Top clientes widget (amor/panel/cliente.html) */
.panel-top-clients { margin-bottom: var(--sp-3); }
.panel-top-clients h2 { font-size: 1.1rem; margin-bottom: var(--sp-2); }
.panel-top-clients-list { display: flex; flex-direction: column; gap: 6px; }
.panel-top-client-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.panel-top-client-row:hover { border-color: var(--turquoise-light); }
.panel-top-client-name { font-weight: 700; font-size: .9rem; color: var(--text); }
.panel-top-client-meta { font-size: .8rem; color: var(--text-soft); white-space: nowrap; }

/* Client profile top summary (amor/panel/cliente.html) */
.panel-client-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.panel-client-warning {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  background: #FCF0DC;
  color: #93610C;
  border: 1px solid #F0D8A8;
  margin-left: 8px;
  vertical-align: middle;
}
.panel-client-money-note { font-size: .74rem; color: var(--text-soft); margin-top: 2px; }

/* Inline editors: reminder / cancellation */
.panel-editor {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--card-border);
}
.panel-editor-field { margin-bottom: 10px; }
.panel-editor-field:last-child { margin-bottom: 0; }
.panel-editor-field label { display: block; font-weight: 700; font-size: .8rem; margin-bottom: 5px; color: var(--text); }
.panel-editor textarea.input-field { resize: vertical; min-height: 84px; font-size: .88rem; }
.panel-editor-actions { display: flex; gap: 8px; margin-top: 10px; }
.btn-mini-send { color: var(--white); background: var(--turquoise); border-color: var(--turquoise); }
.btn-mini-send:hover { background: var(--turquoise-dark); border-color: var(--turquoise-dark); }
.btn-mini-danger-send { color: var(--white); background: #B23A3A; border-color: #B23A3A; }
.btn-mini-danger-send:hover { background: #96281B; border-color: #96281B; }
.btn-mini-neutral { color: var(--text-soft); }
.btn-mini-neutral:hover { background: var(--bg-mint); border-color: var(--text-soft); }
.btn-mini:disabled { opacity: .6; cursor: not-allowed; }

/* Cancelled bookings — collapsible section below the main list */
.panel-cancelled-section { margin-top: var(--sp-3); }
.panel-cancelled-header { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.panel-cancelled-toggle {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background: var(--white);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .88rem;
  color: var(--text-soft);
  cursor: pointer;
}
.panel-cancelled-toggle:hover { border-color: var(--text-soft); }
.panel-cancelled-chev { transition: transform .15s ease; }
.panel-cancelled-toggle.open .panel-cancelled-chev { transform: rotate(180deg); }
.panel-cancelled-bulk-btn { flex: 0 0 auto; white-space: nowrap; }
.panel-cancelled-list { margin-top: var(--sp-2); }

/* Clickable client name -> client profile page */
.panel-client-link { color: var(--text); text-decoration: none; border-bottom: 1px dashed var(--card-border); }
.panel-client-link:hover { color: var(--turquoise-dark); border-bottom-color: var(--turquoise); }

/* Week view — Google Calendar-style 7-day grid with drag/resize (admin only).
   Structure: one .panel-week-scroller (handles both horizontal AND vertical
   scroll) containing a single .panel-week-grid-inner sized wide enough for
   the axis + 7 columns; inside it, a sticky header row (axis spacer + 7 day
   headers) and a body row (one shared hour-axis column + the 7 day tracks).
   Header and body use the exact same flex widths so they always line up —
   there is only ONE hour axis, on the far left, never repeated per column. */
.panel-week-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
  flex-wrap: wrap;
}
.panel-week-nav-label {
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--turquoise-dark);
  margin-left: var(--sp-1);
}
.panel-week-scroller {
  max-height: 70vh;
  overflow: auto;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.panel-week-grid-inner {
  min-width: 760px;
}
.panel-week-header-row {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--white);
  border-bottom: 1px solid var(--card-border);
}
.panel-week-axis-spacer {
  flex: 0 0 44px;
}
.panel-week-col-header {
  flex: 1 1 0;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--turquoise-dark);
  padding: var(--sp-1) 0;
  border-left: 1px solid var(--card-border);
}
.panel-week-col-header.is-today { background: rgba(10, 186, 181, .08); }
.panel-week-col-weekday { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-soft); }
.panel-week-col-daynum { font-size: 1.1rem; }
.panel-week-body {
  display: flex;
}
.panel-week-axis {
  flex: 0 0 44px;
  position: relative;
  height: 1440px;
}
.panel-week-axis-label {
  position: absolute;
  left: 0;
  right: 6px;
  top: 0;
  text-align: right;
  font-size: .68rem;
  color: var(--text-soft);
  transform: translateY(-50%);
}
.panel-week-days {
  display: flex;
  flex: 1 1 0;
}
.panel-week-col {
  flex: 1 1 0;
  min-width: 90px;
  border-left: 1px solid var(--card-border);
}
.panel-week-col.is-today { background: rgba(10, 186, 181, .05); }
.panel-week-track {
  position: relative;
  height: 1440px;
}
.panel-week-hourline {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed var(--card-border);
}
.panel-week-block {
  position: absolute;
  min-height: 20px;
  overflow: hidden;
  border-radius: 6px;
  padding: 3px 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  cursor: pointer;
  border-left: 3px solid var(--turquoise-dark);
  background: var(--bg-mint);
  box-shadow: var(--shadow-soft);
  box-sizing: border-box;
}
.panel-week-block:hover { box-shadow: var(--shadow-hover); z-index: 3; }
.panel-week-block.is-dragging { opacity: .85; z-index: 10; box-shadow: var(--shadow-hover); }
.panel-week-block.is-draggable { cursor: grab; }
.panel-week-block.is-draggable.is-dragging { cursor: grabbing; }
.panel-week-block-completed { background: rgba(10, 186, 181, .12); }
.panel-week-block-no_show { background: #FCF0DC; border-left-color: #93610C; }
.pwb-hold { flex: none; font-size: .68rem; font-weight: 700; color: #93610C; background: #FCEFD6; border: 1px solid #E0B866; border-radius: 999px; padding: 0 5px; }
.panel-week-block-pending { background: repeating-linear-gradient(135deg, #FFF7E6, #FFF7E6 6px, #FCEFD6 6px, #FCEFD6 12px); border-left-style: dashed; opacity: .9; }
.panel-week-block-time { font-family: var(--ff-heading); font-weight: 700; font-size: .7rem; color: var(--turquoise-dark); flex-shrink: 0; }

/* Contenido del bloque: profesional + servicio siempre visibles. El bloque es
   un contenedor de tamaño (1px = 1 minuto) y según su altura pasa de 3 líneas
   (hora+profesional / servicio / cliente) a 2 y a 1 ("10:00 Olha · Servicio…"). */
.panel-week-block { container-type: size; padding: 2px 5px; }
.pwb-inner { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.1; }
.pwb-line1 { display: flex; align-items: baseline; gap: 4px; min-width: 0; white-space: nowrap; }
/* El nombre de la profesional conserva su ancho; lo que se recorta es el servicio */
.pwb-staff {
  font-size: .7rem; font-weight: 700; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto;
}
.pwb-service-inline { display: none; }
.pwb-service, .pwb-client, .pwb-service-inline {
  font-size: .68rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.pwb-service { color: var(--text); }
.pwb-client { color: var(--text-soft); }
/* Alturas del área de contenido (bloque − 4px de padding): 3 líneas ≈ 38px, 2 ≈ 25px */
@container (max-height: 37.9px) {
  .pwb-client { display: none; }
}
@container (max-height: 24.9px) {
  .pwb-service { display: none; }
  /* solo ocupa el hueco que deje el nombre: si no cabe nada, se sacrifica el servicio */
  .pwb-service-inline { display: block; flex: 1 1 0; min-width: 0; color: var(--text); }
}
/* Bloques estrechos (reservas solapadas): la hora ya la da el eje lateral */
@container (max-width: 139px) {
  .panel-week-block-time { display: none; }
}
.panel-chip-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.panel-client-profile-btn { display: inline-flex; margin-top: var(--sp-3); font-size: .9rem; padding: 10px 18px; }
.panel-week-resize-handle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  cursor: ns-resize;
}

/* Usuarios (amor/panel/usuarios.html) */
.panel-users-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.panel-users-table th, .panel-users-table td {
  text-align: left;
  padding: var(--sp-2);
  border-bottom: 1px solid var(--card-border);
  font-size: .88rem;
}
.panel-users-table th { font-family: var(--ff-heading); color: var(--turquoise-dark); }
.panel-users-row-inactive { opacity: .55; }
.panel-users-actions { display: flex; gap: var(--sp-1); flex-wrap: wrap; }
.panel-users-confirm-row td { background: #FCF0DC; }
.panel-users-confirm-row .panel-delete-warning { display: block; }
.panel-users-confirm-row button { margin-right: var(--sp-1); margin-top: 4px; }

/* Client profile page (amor/panel/cliente.html) */
.panel-client-search { margin-bottom: var(--sp-3); }
.panel-client-search-row { margin-bottom: 6px; }
.panel-client-search-results { display: flex; flex-direction: column; gap: 6px; }
.panel-client-search-row-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background: var(--white);
  text-decoration: none;
  color: var(--text);
}
.panel-client-search-row-result:hover { border-color: var(--turquoise); }
.panel-client-search-name { font-weight: 700; font-size: .92rem; }
.panel-client-search-meta { font-size: .8rem; color: var(--text-soft); white-space: nowrap; }

.panel-client-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: var(--sp-3);
}
.panel-client-title { font-size: 1.4rem; margin-bottom: 2px; }
.panel-client-subtitle { color: var(--text-soft); font-size: .92rem; }

.panel-client-notes-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.panel-client-notes-card label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.panel-client-notes-card textarea { resize: vertical; margin-bottom: 0; }
.panel-notes-status { font-size: .82rem; color: var(--text-soft); }
.panel-notes-status-ok { color: var(--turquoise-dark); font-weight: 700; }
.panel-notes-status-error { color: #B23A3A; font-weight: 700; }

.panel-client-history-title { font-size: 1.1rem; margin-bottom: var(--sp-2); }

/* Hamburger nav drawer (amor/panel/index.html) */
.panel-header-actions { display: flex; align-items: center; gap: 10px; }
.panel-hamburger-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: border-color .15s ease;
}
.panel-hamburger-btn:hover { border-color: var(--turquoise); }
.panel-hamburger-btn span { display: block; width: 16px; height: 2px; background: var(--text); border-radius: 2px; }

.panel-nav-backdrop { position: fixed; inset: 0; background: rgba(45, 45, 45, .35); z-index: 300; }
.panel-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 260px;
  max-width: 82vw;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 301;
  padding: var(--sp-4) var(--sp-3);
  transform: translateX(100%);
  transition: transform .2s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.panel-nav-drawer.open { transform: translateX(0); }
.panel-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-soft);
  margin-bottom: var(--sp-2);
  padding: 6px;
}
.panel-nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.panel-nav-link:hover, .panel-nav-link.active { background: var(--bg-mint); color: var(--turquoise-dark); }

/* Two-step permanent delete */
.panel-delete-warning { color: #96281B; font-weight: 700; font-size: .85rem; margin: 0 0 8px; }

.panel-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .88rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
  /* Without an explicit width, a fixed-position flex container sizes
     itself using shrink-to-fit, which for wrapping text falls back to
     min-content (roughly "widest single word") instead of the whole
     message — the toast ends up as a cramped multi-line column instead
     of one line. `width: max-content` forces it to size to its actual
     content instead, while max-width still caps it on narrow screens. */
  width: max-content;
  max-width: calc(100% - 32px);
}
.panel-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.panel-toast-btn {
  background: none;
  border: none;
  color: var(--turquoise-light);
  font-weight: 700;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: .88rem;
  padding: 0;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .panel-range-tabs { gap: 6px; }
  .panel-tab { padding: 8px 11px; font-size: .8rem; }
}

/* ===========================================================================
   New features on top of the ported live baseline above (panel redesign +
   6 features): block toggle, settings/deposit-toggle section, manual
   booking + booking-edit UI, Excel import/export buttons, birthday field,
   block warning banner. All built from the existing token system — no new
   colors/components introduced.
   =========================================================================== */

/* Feature 1 — block/unblock client (amor/panel/cliente.html) */
.panel-block-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  background: #FCEAEA;
  border: 1px solid #E9B8B8;
  color: #96281B;
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: .85rem;
  font-weight: 600;
}
.btn-block-toggle {
  border: 1px solid var(--card-border);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.btn-block-toggle.is-blocked { background: #B23A3A; border-color: #B23A3A; color: var(--white); }
.btn-block-toggle:hover { opacity: .9; }
.btn-block-toggle.is-danger { color: #96281B; border-color: #B23A3A; }
.btn-block-toggle.is-danger:hover { background: #FCEAEA; }
.btn-block-toggle:disabled { opacity: .6; cursor: not-allowed; }
.panel-delete-client-confirm { margin-bottom: var(--sp-3); }
.panel-delete-client-confirm label { display: block; font-size: .85rem; font-weight: 700; }
.panel-delete-client-confirm input { margin-top: 8px; margin-bottom: 4px; max-width: 320px; }

/* Feature 6 — email/birthday editable fields (amor/panel/cliente.html) */
.panel-client-edit-fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin-bottom: var(--sp-3); }
@media (max-width: 560px) { .panel-client-edit-fields { grid-template-columns: 1fr; } }
.panel-client-edit-fields .form-field label { display: block; font-size: .78rem; font-weight: 700; color: var(--text-soft); margin-bottom: 4px; }

/* Feature 2 — settings section (deposit toggle, amor/panel/index.html) */
.panel-settings-panel {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.panel-settings-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.panel-settings-row + .panel-settings-row { margin-top: var(--sp-2); padding-top: var(--sp-2); border-top: 1px solid var(--card-border); }
.panel-settings-label { font-weight: 700; font-size: .92rem; }
.panel-settings-desc { font-size: .8rem; color: var(--text-soft); margin-top: 2px; }
.panel-settings-status { font-size: .8rem; margin-top: 6px; font-weight: 600; }
.panel-settings-status.status-ok { color: var(--turquoise, #0ABAB5); }
.panel-settings-status.status-error { color: #c0392b; }
.panel-toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.panel-toggle-switch input { opacity: 0; width: 0; height: 0; }
.panel-toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--card-border); border-radius: 999px; transition: background .15s ease;
}
.panel-toggle-slider::before {
  content: ''; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px;
  background: var(--white); border-radius: 50%; transition: transform .15s ease;
}
.panel-toggle-switch input:checked + .panel-toggle-slider { background: var(--turquoise); }
.panel-toggle-switch input:checked + .panel-toggle-slider::before { transform: translateX(20px); }

/* Feature 3a/3b — manual booking + booking-edit modal (amor/panel/index.html) */
.panel-manual-booking-btn { margin-bottom: var(--sp-3); }
.panel-modal-backdrop {
  position: fixed; inset: 0; background: rgba(40, 32, 26, .45);
  display: flex; align-items: flex-start; justify-content: center;
  padding: var(--sp-4) var(--sp-2); overflow-y: auto; z-index: 100;
}
.panel-modal {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft);
  max-width: 560px; width: 100%; padding: var(--sp-4);
}
.panel-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-3); }
.panel-modal-title { font-family: var(--ff-heading); font-weight: 700; font-size: 1.2rem; }
.panel-modal-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text-soft); line-height: 1; }
.panel-modal-field { margin-bottom: var(--sp-2); }
.panel-modal-field label { display: block; font-size: .82rem; font-weight: 700; color: var(--text-soft); margin-bottom: 4px; }
.panel-modal-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.panel-modal-warning {
  background: #FCF0DC; border: 1px solid #F0D8A8; color: #93610C;
  border-radius: var(--radius-sm); padding: var(--sp-2) var(--sp-3); font-size: .85rem; margin-bottom: var(--sp-2);
}
.panel-booking-email-status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  border-radius: var(--radius-sm); padding: 4px var(--sp-2); font-size: .78rem; margin: 4px 0;
}
.panel-booking-email-status.is-sent { color: var(--turquoise-dark); padding-left: 0; }
.panel-booking-email-status.is-error { background: #FCF0DC; border: 1px solid #F0D8A8; color: #93610C; }
.panel-modal-warning-list { margin: 4px 0 var(--sp-2); padding-left: 1.2em; }
.panel-modal-warning-list li { margin-bottom: 2px; }
/* Modal de reserva del admin (amor/js/panel-booking-editor.js): inicio y fin */
.panel-modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.panel-editor-duration { font-size: .85rem; color: var(--text-soft); margin: -4px 0 var(--sp-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.panel-editor-duration strong { color: var(--turquoise-dark); }
.panel-editor-duration.is-error { color: #B3261E; font-weight: 700; }
.panel-editor-hint { font-size: .8rem; margin-top: 4px; }
.panel-editor-hint-warn { color: #93610C; }
.panel-modal-detail .panel-booking-detail-body .panel-booking-service { font-size: 1.05rem; }
.panel-modal-wide { max-width: 720px; }

/* Usuarios → "Agenda y servicios" (amor/js/panel-users.js) */
.panel-users-booking { font-size: .82rem; color: var(--text-soft); }
.panel-staff-config {
  border-top: 1px solid var(--card-border);
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
}
.panel-staff-toggle { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; margin: var(--sp-1) 0; cursor: pointer; }
.panel-staff-body.is-disabled { opacity: .45; pointer-events: none; }
.panel-staff-subtitle { font-size: .82rem; font-weight: 700; color: var(--text-soft); margin: var(--sp-2) 0 var(--sp-1); }
.panel-staff-group {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 6px 12px 10px;
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px 12px;
}
.panel-staff-group legend { font-weight: 700; font-size: .85rem; padding: 0 4px; }
.panel-staff-service { font-size: .82rem; display: flex; gap: 6px; align-items: flex-start; line-height: 1.3; padding: 2px 0; cursor: pointer; }
.panel-staff-service input { margin-top: 2px; }
.panel-staff-hint { font-size: .8rem; color: var(--text-soft); margin: 0 0 var(--sp-1); }
.panel-staff-schedule { display: grid; gap: 6px; margin-top: var(--sp-1); }
.panel-staff-day { display: grid; grid-template-columns: 130px 1fr auto 1fr; align-items: center; gap: 8px; font-size: .85rem; }
.panel-staff-day .input-field { padding: 6px 8px; min-width: 0; }
.panel-staff-day .input-field:disabled { opacity: .45; }
@media (max-width: 480px) {
  .panel-staff-day { grid-template-columns: 1fr 1fr auto 1fr; }
}
.panel-back-to-week-btn { margin-bottom: var(--sp-2); }

/* Feature 4/5 — Excel import/export buttons (amor/panel/cliente.html) */
.panel-clients-io { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-3); }
.panel-clients-io .btn-mini { padding: 8px 16px; }
.panel-import-result { font-size: .82rem; color: var(--text-soft); margin-top: var(--sp-2); }
.panel-import-result ul { margin: 6px 0 0; padding-left: 18px; }

/* Richer client-list rows (block flag, last-visit, total-bookings inline) */
.panel-client-search-row-result { position: relative; }
.panel-client-search-row-result.is-blocked { border-left: 3px solid #B23A3A; }
.panel-client-blocked-tag {
  display: inline-flex; align-items: center; font-size: .68rem; font-weight: 700;
  color: #96281B; background: #FCEAEA; border-radius: 999px; padding: 2px 8px; margin-left: 6px;
}

/* ---------------------------------------------------------------------
   Real time-slot spacing fix (goes beyond live, which only tweaked a
   margin) — client's actual complaint was that the slot grid felt cramped:
   small buttons packed edge to edge with no sense of grouping. Fix: group
   slots by hour with a small heading per group, larger touch targets, more
   breathing room, and the service duration shown once near the top instead
   of only being inferrable from tap-target size.
   --------------------------------------------------------------------- */
.slot-hour-group { margin-bottom: var(--sp-3); }
.slot-hour-group:last-child { margin-bottom: 0; }
.slot-hour-label {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-soft);
  margin: 0 0 var(--sp-2);
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
}
.slot-btn {
  padding: 12px 10px;
  min-height: 44px;
}
@media (max-width: 480px) {
  .slot-grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
}

/* =========================================================
   Páginas legales (aviso legal, privacidad, cookies)
   ========================================================= */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--sp-6);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.1rem;
  margin-top: var(--sp-4);
}
.legal-content p, .legal-content li { color: var(--text-soft); }
.legal-content ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal-content li { margin-bottom: .4em; }
.legal-content table { width: 100%; border-collapse: collapse; margin: var(--sp-3) 0; }
.legal-content th, .legal-content td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--card-border);
  font-size: .92rem;
}
.legal-content th { color: var(--turquoise-dark); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.legal-updated { color: var(--text-soft); font-size: .88rem; margin-bottom: var(--sp-4); }

/* =========================================================
   Footer — línea legal y crédito
   ========================================================= */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin-bottom: var(--sp-2);
}
.footer-legal a, .footer-legal button {
  background: none;
  border: none;
  padding: 0;
  color: #a39c8d;
  font-size: .82rem;
  font-family: var(--ff-body);
  cursor: pointer;
  transition: color .2s ease;
}
.footer-legal a:hover, .footer-legal button:hover { color: var(--turquoise-light); }
.footer-credit {
  text-align: center;
  font-size: .82rem;
  color: #7a7364;
  margin-top: 2px;
}
.footer-credit a { color: #a39c8d; text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--turquoise-light); }

/* =========================================================
   Aviso de datos en reservas (WhatsApp / formulario)
   ========================================================= */
.data-usage-note {
  font-size: .82rem;
  color: var(--text-soft);
  margin-top: var(--sp-2);
}
.data-usage-note a { text-decoration: underline; text-underline-offset: 2px; color: var(--turquoise-dark); }

/* =========================================================
   Banner y panel de consentimiento de cookies
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: var(--white);
  border-top: 1px solid var(--card-border);
  box-shadow: 0 -8px 28px rgba(45,45,45,.14);
  padding: var(--sp-3);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
}
.cookie-banner-text { flex: 1 1 380px; margin: 0; font-size: .92rem; color: var(--text); }
.cookie-banner-text a { color: var(--turquoise-dark); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}
.cookie-banner-actions .btn { padding: 10px 18px; font-size: .9rem; }

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45,45,45,.5);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
}
.cookie-modal-overlay[hidden] { display: none; }
.cookie-modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: var(--sp-4);
  box-shadow: var(--shadow-hover);
}
.cookie-modal h2 { font-size: 1.3rem; margin-bottom: var(--sp-2); }
.cookie-modal p { font-size: .92rem; color: var(--text-soft); }
.cookie-category {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-2);
}
.cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}
.cookie-category-head h3 { margin: 0; font-size: 1rem; }
.cookie-category p { margin: 6px 0 0; font-size: .86rem; }
.cookie-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-toggle-track {
  position: absolute;
  inset: 0;
  background: var(--card-border);
  border-radius: 999px;
  transition: background .2s ease;
}
.cookie-toggle-track::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.cookie-toggle input:checked + .cookie-toggle-track { background: var(--turquoise); }
.cookie-toggle input:checked + .cookie-toggle-track::before { transform: translateX(18px); }
.cookie-toggle input:disabled + .cookie-toggle-track { background: var(--turquoise-light); opacity: .6; }
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--sp-3);
}
.cookie-modal-actions .btn { padding: 10px 18px; font-size: .9rem; }
.cookie-modal-close {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
}
@media (max-width: 560px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1 1 auto; }
}

/* Clients page: phone with copy button, per-row booking button (amor/panel/cliente.html) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.panel-phone { display: inline-flex; align-items: center; gap: 8px; flex-wrap: nowrap; max-width: 100%; }
.panel-phone-number {
  font-weight: 700; font-size: .92rem; color: var(--text);
  white-space: nowrap; user-select: all; -webkit-user-select: all; /* one click/tap selects the whole number */
  font-variant-numeric: tabular-nums;
}
.panel-phone-copy {
  flex: 0 0 auto; min-height: 32px; padding: 4px 10px;
  border-radius: var(--radius-sm); border: 1px solid var(--card-border);
  background: var(--white); color: var(--turquoise-dark);
  font-family: var(--ff-body); font-weight: 700; font-size: .78rem; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.panel-phone-copy:hover { border-color: var(--turquoise); }
.panel-phone-copy.is-copied { background: var(--turquoise); border-color: var(--turquoise); color: var(--white); }
.panel-client-subtitle .panel-phone-number { font-size: 1rem; }

.panel-client-row { flex-wrap: wrap; }
.panel-client-row:hover { border-color: var(--turquoise); }
.panel-client-row-link {
  display: flex; flex: 1 1 180px; min-width: 0; justify-content: space-between; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.panel-client-row-side { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; flex-wrap: wrap; }
.panel-client-row-book { flex: 0 0 auto; padding: 6px 12px; white-space: nowrap; margin-left: auto; }
.panel-book-client-btn { flex: 0 0 auto; padding: 8px 14px; white-space: nowrap; }

@media (max-width: 560px) {
  /* Name on its own line, phone + copy + book below: the number never truncates or wraps */
  .panel-client-row-link { flex-basis: 100%; }
  .panel-client-row-side { flex: 1 1 100%; justify-content: space-between; }
  .panel-client-header { flex-direction: column; }
  .panel-client-header .panel-contact-links { flex-wrap: wrap; }
}
