/* ===========================
   SALON DE BELLEZA — STYLES
   Paleta: Blanco, Piel, Rosa suave
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── Variables ── */
:root {
  --cream:     #fdf8f4;
  --blush:     #f7e8e0;
  --rose:      #e8c4b8;
  --rosedark:  #c9907e;
  --mauve:     #b07b6f;
  --skin:      #f0d5c8;
  --skinlight: #faeee8;
  --text:      #3a2a25;
  --textmid:   #7a5c54;
  --white:     #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:  cubic-bezier(0.64, 0, 0.78, 0);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  cursor: default;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--rose); border-radius: 99px; }

/* ── Noise overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ══════════════════════════
   NAVBAR
══════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4rem;
  background: rgba(253, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 196, 184, 0.3);
  transition: padding 0.4s var(--ease-out), box-shadow 0.4s;
}
.nav.scrolled {
  padding: 0.9rem 4rem;
  box-shadow: 0 4px 40px rgba(180, 120, 100, 0.08);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--rosedark); font-style: italic; }
/* El PNG del logo ya es circular con fondo transparente. */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(120, 80, 60, 0.18);
}

.nav-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--textmid);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--rosedark);
  transition: width 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--rosedark); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--rosedark);
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(201, 144, 126, 0.3);
}
.nav-cta:hover {
  background: var(--mauve);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 144, 126, 0.4);
}
.nav-cta:active { transform: translateY(0); }

/* ══════════════════════════
   HERO
══════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 70%;
  background: radial-gradient(ellipse, var(--skin) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.hero-bg-blob:nth-child(1) {
  width: 700px; height: 700px;
  top: -100px; right: -100px;
  animation: morph 12s ease-in-out infinite;
}
.hero-bg-blob:nth-child(2) {
  width: 400px; height: 400px;
  bottom: 0; left: 10%;
  animation: morph 16s ease-in-out infinite reverse;
  opacity: 0.3;
}

@keyframes morph {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 70%; }
  33%       { border-radius: 40% 60% 30% 70% / 60% 40% 70% 30%; }
  66%       { border-radius: 70% 30% 50% 50% / 30% 70% 60% 40%; }
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 6rem 6rem;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rosedark);
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--rosedark);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.8rem;
}
.hero-title em {
  font-style: italic;
  color: var(--rosedark);
  display: block;
}

.hero-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--textmid);
  max-width: 380px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.btn-primary {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, var(--rosedark), var(--mauve));
  border: none;
  padding: 1rem 2.4rem;
  border-radius: 99px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s;
  box-shadow: 0 6px 30px rgba(201, 144, 126, 0.35);
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201, 144, 126, 0.45);
}

.btn-ghost {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--textmid);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s, gap 0.3s;
  text-decoration: none;
}
.btn-ghost::after {
  content: '→';
  transition: transform 0.3s var(--ease-out);
}
.btn-ghost:hover { color: var(--rosedark); gap: 0.9rem; }
.btn-ghost:hover::after { transform: translateX(4px); }

.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-img-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--blush) 0%, var(--skin) 40%, var(--rose) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

/* Logo de la marca como pieza central del hero */
.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: min(62%, 340px);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 30px 80px rgba(120, 80, 60, 0.25);
}
.hero-badge-text a { color: var(--rosedark); text-decoration: none; font-weight: 500; }
.hero-badge-text a:hover { text-decoration: underline; }

/* Decorative circles inside hero visual */
.hero-deco {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 144, 126, 0.25);
}
.hero-deco:nth-child(1) { width: 300px; height: 300px; top: 10%; left: 20%; }
.hero-deco:nth-child(2) { width: 500px; height: 500px; top: -10%; left: 5%; }
.hero-deco:nth-child(3) { width: 160px; height: 160px; bottom: 15%; right: 10%; }

.hero-badge {
  position: absolute;
  bottom: 10%;
  left: 8%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1rem 1.4rem;
  box-shadow: 0 8px 32px rgba(180, 120, 100, 0.12);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-badge-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blush), var(--rose));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.hero-badge-text { font-size: 0.78rem; line-height: 1.5; color: var(--text); }
.hero-badge-text strong { display: block; font-size: 0.9rem; }

/* Floating dot pattern */
.dots-pattern {
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 200px;
  background-image: radial-gradient(circle, var(--rosedark) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.15;
}

/* ══════════════════════════
   SECTION SHARED
══════════════════════════ */
section { position: relative; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rosedark);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--rosedark); }

.section-subtitle {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--textmid);
  max-width: 480px;
  margin-top: 1rem;
}

/* ══════════════════════════
   SCROLL ANIMATIONS
══════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ══════════════════════════
   SERVICIOS
══════════════════════════ */
#servicios {
  padding: 8rem 6rem;
  background: var(--white);
}

.servicios-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
}
.servicios-header .section-subtitle { margin-top: 0; }

/* ══════════════════════════
   CATALOGO
══════════════════════════ */
#catalogo {
  padding: 8rem 6rem;
  background: var(--cream);
}

.catalogo-intro {
  text-align: center;
  margin-bottom: 4rem;
}
.catalogo-intro .section-subtitle {
  margin: 0 auto;
  margin-top: 1rem;
}

/* Tabs */
.catalogo-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.tab-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--textmid);
  background: var(--white);
  border: 1px solid var(--rose);
  padding: 0.6rem 1.4rem;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s;
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--rosedark);
  color: var(--white);
  border-color: var(--rosedark);
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.catalogo-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: linear-gradient(160deg, var(--blush), var(--skin), var(--rose));
}

.catalogo-item-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
}

.catalogo-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.35);
  position: relative;
  z-index: 1;
}

.catalogo-info {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}
.catalogo-item:hover .catalogo-info {
  transform: translateY(0);
  opacity: 1;
}

.catalogo-info-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.catalogo-info-sub {
  font-size: 0.75rem;
  color: var(--textmid);
}

/* ══════════════════════════
   BRAND STRIP
══════════════════════════ */
.brand-strip {
  background: var(--rosedark);
  padding: 1.4rem 6rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  overflow: hidden;
  position: relative;
}
.brand-strip-inner {
  display: flex;
  gap: 4rem;
  align-items: center;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.brand-strip-item {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand-strip-item::after {
  content: '✦';
  font-style: normal;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════
   CTA SECTION
══════════════════════════ */
.cta-section {
  padding: 8rem 6rem;
  background: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.cta-content .section-title { margin-bottom: 1.4rem; }
.cta-content .section-subtitle { margin-bottom: 2.4rem; }

.cta-features {
  list-style: none;
  margin-bottom: 2.8rem;
}
.cta-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: var(--textmid);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--blush);
}
.cta-features li:last-child { border-bottom: none; }
.cta-features li::before {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  background: linear-gradient(135deg, var(--blush), var(--rose));
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23f7e8e0'/%3E%3Cpath d='M5 9l3 3 5-5' stroke='%23c9907e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ══════════════════════════
   FOOTER
══════════════════════════ */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 4rem 6rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo {
  color: var(--white);
  display: inline-flex;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 240px;
}
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  padding: 0.3rem 0;
  transition: color 0.3s;
  cursor: pointer;
}
.footer-col ul li:hover { color: var(--rose); }
.footer-col a { color: inherit; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.social-btn {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  color: rgba(255,255,255,0.6);
  border: none;
  text-decoration: none;
}
.social-btn:hover {
  background: var(--rosedark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ══════════════════════════
   MODAL / BOOKING
══════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 42, 37, 0.6);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--white);
  border-radius: 28px;
  padding: 3rem;
  width: 480px;
  max-width: 90vw;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 30px 80px rgba(58, 42, 37, 0.2);
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 32px; height: 32px;
  background: var(--cream);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--textmid);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--rose); }
.modal h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.modal p { font-size: 0.85rem; color: var(--textmid); margin-bottom: 2rem; }
.modal-field {
  margin-bottom: 1.2rem;
}
.modal-field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--textmid);
  margin-bottom: 0.5rem;
}
.modal-field input,
.modal-field select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--rose);
  border-radius: 12px;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
}
.modal-field input:focus,
.modal-field select:focus { border-color: var(--rosedark); }
.modal-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--rosedark), var(--mauve));
  border: none;
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0.8rem;
  transition: opacity 0.3s, transform 0.2s;
  box-shadow: 0 6px 24px rgba(201, 144, 126, 0.3);
}
.modal-submit:hover { opacity: 0.9; transform: translateY(-2px); }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { height: 400px; }
  .hero-content { padding: 5rem 3rem 4rem; }
  .catalogo-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav { padding: 1.2rem 1.8rem; }
  .nav.scrolled { padding: 0.8rem 1.8rem; }
  .nav-links { display: none; }
  .hero-content { padding: 4rem 1.8rem 3rem; }
  #servicios, #catalogo, .cta-section { padding: 5rem 1.8rem; }
  .servicios-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .catalogo-grid { grid-template-columns: 1fr 1fr; }
  .brand-strip { padding: 1.2rem 1.8rem; }
  footer { padding: 3rem 1.8rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ══════════════════════════
   CHATBOT
══════════════════════════ */
.chatbot-widget {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 10000;
}

.chatbot-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--rosedark);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(201,144,126,0.4);
  transition: transform 0.2s ease;
}
.chatbot-toggle:hover { transform: scale(1.06); }

.chatbot-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  max-height: 440px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(58,42,37,0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.chatbot-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chatbot-header {
  background: var(--rosedark);
  color: var(--white);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.chatbot-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
}

.chatbot-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 220px;
  background: var(--skinlight);
}

.chatbot-msg {
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 85%;
  white-space: pre-line;
}
.chatbot-msg-bot {
  background: var(--blush);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chatbot-msg-user {
  background: var(--rosedark);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Indicador de "escribiendo..." */
.chatbot-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.7rem 0.85rem;
}
.chatbot-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rosedark);
  opacity: 0.4;
  animation: chatbot-dot 1.2s infinite ease-in-out;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.15s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatbot-dot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%           { opacity: 1;   transform: translateY(-3px); }
}

/* Chips de preguntas sugeridas */
.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem;
  max-height: 92px;
  overflow-y: auto;
}
.chatbot-suggestions:not(:empty) {
  padding: 0.7rem 1rem 0.2rem;
}
.chatbot-chip {
  background: var(--cream);
  border: 1px solid var(--rose);
  color: var(--textmid);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.72rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.chatbot-chip:hover {
  background: var(--rosedark);
  color: var(--white);
}

/* Campo de texto libre */
.chatbot-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid var(--blush);
  background: var(--white);
}
.chatbot-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--blush);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--text);
  background: var(--skinlight);
  outline: none;
  transition: border-color 0.2s;
}
.chatbot-input:focus { border-color: var(--rosedark); }
.chatbot-input::placeholder { color: var(--textmid); opacity: 0.65; }

.chatbot-send {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--rosedark);
  color: var(--white);
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.chatbot-send:hover:not(:disabled) { transform: scale(1.08); }
.chatbot-send:disabled { opacity: 0.5; cursor: default; }

@media (max-width: 480px) {
  .chatbot-panel { width: calc(100vw - 2.4rem); right: -0.6rem; }
  /* Con el logo, marca y botón de reserva no caben a tamaño completo */
  .nav .nav-logo { font-size: 1.3rem; gap: 0.5rem; letter-spacing: 0.08em; }
  .nav .nav-logo-img { width: 34px; height: 34px; }
}

/* ══════════════════════════
   CARTA DE SERVICIOS
   Los precios salen de la base; aquí solo se les da forma de carta:
   nombre, línea punteada y precio en la tipografía de la marca.
══════════════════════════ */
.carta-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.6rem;
}
.tab-btn .tab-n {
  margin-left: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0;
  opacity: 0.6;
}
.tab-btn:focus-visible,
.btn-primary:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid var(--mauve);
  outline-offset: 3px;
}

.carta-panel + .carta-panel { margin-top: 4rem; }
.carta-panel[hidden] { display: none; }

.carta-titulo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--rosedark);
  margin-bottom: 0.4rem;
}
/* Con pestañas (hay JavaScript) el título ya lo dice la pestaña activa. */
.carta.con-pestanas .carta-titulo { display: none; }
.carta.con-pestanas .carta-panel + .carta-panel { margin-top: 0; }

.carta-nota {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--textmid);
  max-width: 60ch;
  margin-bottom: 1.6rem;
}

.carta-lista {
  list-style: none;
  columns: 2;
  column-gap: 5rem;
}
.carta-item {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.85rem 0;
  break-inside: avoid;
}
.carta-nombre {
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--text);
  max-width: 24rem;
}
.carta-nombre small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--textmid);
}
.carta-guia {
  flex: 1;
  min-width: 1.2rem;
  border-bottom: 1px dotted var(--rosedark);
  opacity: 0.55;
  transform: translateY(-0.25em);
}
.carta-precio {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--rosedark);
  white-space: nowrap;
}
.carta-precio small {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--textmid);
}
.carta-vacia { font-size: 0.95rem; line-height: 1.8; color: var(--textmid); }
.carta-vacia a, .horario-pie a { color: var(--rosedark); }

/* ══════════════════════════
   GALERÍA (fotos reales sobre la grilla del catálogo)
══════════════════════════ */
.catalogo-grid { grid-auto-flow: dense; }
.catalogo-item { margin: 0; }
.catalogo-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.catalogo-item:hover img { transform: scale(1.04); }
/* La única foto horizontal ocupa dos columnas y toma el alto de su fila. */
.catalogo-item.ancha {
  grid-column: span 2;
  aspect-ratio: auto;
}
.catalogo-item .catalogo-tag {
  background: rgba(58, 42, 37, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}
/* El nombre y el precio se leen siempre: en un celular no hay "hover". */
.catalogo-item .catalogo-info {
  opacity: 1;
  transform: none;
  padding: 0.8rem 1rem;
}

/* ══════════════════════════
   HORARIOS
══════════════════════════ */
.horario {
  background: linear-gradient(160deg, var(--blush) 0%, var(--skinlight) 100%);
  border-radius: 28px;
  padding: 3rem 3.2rem 2.6rem;
  box-shadow: 0 20px 60px rgba(180, 120, 100, 0.12);
}
.horario-lista { list-style: none; }
.horario-fila {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(201, 144, 126, 0.3);
}
.horario-dias {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--textmid);
}
.horario-horas {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  text-align: right;
}
.horario-fila.cerrado .horario-horas { font-style: italic; color: var(--mauve); }
.horario-fila.hoy .horario-dias { color: var(--text); }
.horario-hoy {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  background: var(--rosedark);
  color: var(--white);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}
.horario-pie {
  margin-top: 1.6rem;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--textmid);
}

.footer-grid { grid-template-columns: 1.3fr 1fr 0.8fr 1.1fr 1.1fr; gap: 3rem; }
.footer-horario li { cursor: default; line-height: 1.5; }
.footer-horario li:hover { color: rgba(255, 255, 255, 0.5); }
.footer-horario span { color: rgba(255, 255, 255, 0.8); }

@media (max-width: 1100px) {
  .carta-lista { column-gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .carta-lista { columns: 1; }
  .carta-precio { font-size: 1.25rem; }
  .horario { padding: 2.2rem 1.6rem 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Galería a dos columnas: en fichas tan pequeñas el rótulo encima taparía
     las uñas, así que baja y queda debajo de la foto. */
  .catalogo-grid { gap: 0.8rem; align-items: start; }
  .catalogo-item,
  .catalogo-item.ancha { aspect-ratio: auto; background: var(--white); }
  .catalogo-item img { position: static; display: block; height: auto; aspect-ratio: 3 / 4; }
  .catalogo-item.ancha img { aspect-ratio: 3 / 2; }
  .catalogo-item:hover img { transform: none; }
  .catalogo-item .catalogo-item-inner { position: static; display: block; padding: 0; }
  .catalogo-item .catalogo-tag { position: absolute; top: 0.6rem; left: 0.6rem; font-size: 0.56rem; padding: 0.25rem 0.6rem; }
  .catalogo-item .catalogo-info { background: none; backdrop-filter: none; border-radius: 0; padding: 0.6rem 0.75rem 0.75rem; }
  .catalogo-item .catalogo-info-name { font-size: 0.92rem; line-height: 1.2; }
  .catalogo-item .catalogo-info-sub { font-size: 0.7rem; margin-top: 0.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  .brand-strip-inner, .hero-bg-blob { animation: none; }
  .catalogo-item img { transition: none; }
  .catalogo-item:hover img { transform: none; }
}
