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

:root {
  /* Paleta — teal apagado, cálido, tipo spa de alta gama */
  --turquoise: #2E9B9B;
  --turquoise-light: #5CB8B8;
  --turquoise-dark: #1F7A7A;
  --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: 34px; height: 34px; flex-shrink: 0; }
.logo-heart path { fill: none; stroke: var(--turquoise); stroke-width: 6; stroke-linecap: round; }
.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); }
.logo--footer .logo-heart path { stroke: var(--turquoise-light); }

.logo-hero { text-align: center; }
.logo-hero-heart { width: 116px; height: 106px; margin: 0 auto 4px; }
.logo-hero-heart path { fill: none; stroke: rgba(255,255,255,.8); stroke-width: 3.5; stroke-linecap: round; }
.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: 88px; height: 80px; }
}

/* =========================================================
   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;
  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 11px;
  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; }
.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; }

/* =========================================================
   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 { 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: 1fr; } }
.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 { 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(3, 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); }

/* =========================================================
   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-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 .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(2, 1fr);
  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); }
.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 {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.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(46, 155, 155, .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(46, 155, 155, .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; }

.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(46, 155, 155, .15); }
.field-error { color: #B23A3A; font-size: .82rem; margin-top: 5px; display: none; }
.field-error.show { display: block; }

.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-2); }
.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;
}
.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); }

.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(46, 155, 155, .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: 680px; }

.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); }

.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);
}
.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);
  margin-bottom: var(--sp-2);
  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-booking-actions { display: flex; gap: 8px; margin-top: 10px; }
.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-cancel { color: #96281B; }
.btn-mini-cancel:hover { background: #B23A3A; border-color: #B23A3A; color: var(--white); }

/* Dashboard stats */
.panel-stats { margin-bottom: var(--sp-4); }
.panel-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}
.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); }

.panel-stats-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  box-shadow: var(--shadow-soft);
}
.panel-stats-breakdown-label { font-size: .82rem; font-weight: 700; color: var(--text-soft); margin-right: 4px; }
.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); }

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

/* 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-toggle {
  width: 100%;
  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-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); }

/* Agenda — per-staff hour-by-hour timeline */
.panel-agenda-grid {
  display: grid;
  grid-template-columns: repeat(var(--agenda-cols, 2), 1fr);
  gap: var(--sp-2);
}
.panel-agenda-col {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: var(--sp-2);
}
.panel-agenda-col-header {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--turquoise-dark);
  margin-bottom: var(--sp-2);
  text-align: center;
}
.panel-agenda-closed { color: var(--text-soft); font-size: .85rem; text-align: center; padding: var(--sp-4) 0; }
.panel-agenda-track {
  position: relative;
  height: 720px;
  margin-left: 38px;
  border-top: 1px solid var(--card-border);
}
.panel-agenda-hourline {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed var(--card-border);
}
.panel-agenda-hourlabel {
  position: absolute;
  left: -38px;
  top: -7px;
  width: 32px;
  font-size: .72rem;
  color: var(--text-soft);
  text-align: right;
}
.panel-agenda-block {
  position: absolute;
  left: 4px;
  right: 4px;
  min-height: 28px;
  overflow: hidden;
  border-radius: 6px;
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  border-left: 3px solid var(--turquoise-dark);
  background: var(--bg-mint);
  box-shadow: var(--shadow-soft);
}
.panel-agenda-block:hover { box-shadow: var(--shadow-hover); }
.panel-agenda-block-completed { border-left-color: var(--turquoise); background: rgba(46, 155, 155, .12); }
.panel-agenda-block-time { font-family: var(--ff-heading); font-weight: 700; font-size: .78rem; color: var(--turquoise-dark); }
.panel-agenda-block-title { font-size: .76rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 600px) {
  .panel-agenda-grid { grid-template-columns: 1fr; }
}

/* 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); }

.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; }
}
