/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: #3d2b2b; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TOKENS ===== */
:root {
  --rose:       #c8717a;
  --rose-light: #e8a0a8;
  --rose-pale:  #f5e0e2;
  --rose-deep:  #a3545c;
  --cream:      #fdf6f0;
  --cream-dark: #f0e4d8;
  --text:       #3d2b2b;
  --text-muted: #7a5c5c;
  --white:      #ffffff;
  --shadow:     0 4px 24px rgba(180,100,110,0.12);
  --shadow-lg:  0 12px 40px rgba(180,100,110,0.18);
  --radius:     14px;
  --radius-sm:  8px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ===== UTILITIES ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section-eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; color: var(--rose); text-transform: uppercase; margin-bottom: 0.6rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.2; color: var(--text); margin-bottom: 1rem; }
.section-desc { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; line-height: 1.75; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-desc { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.65rem 1.4rem; border-radius: 50px; font-family: 'Inter', sans-serif;
  font-size: 0.95rem; font-weight: 600; cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); white-space: nowrap;
}
.btn--primary { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn--primary:hover { background: var(--rose-deep); border-color: var(--rose-deep); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(168,84,92,0.35); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn--white { background: #fff; color: var(--rose-deep); border-color: #fff; }
.btn--white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.btn--lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn--sm { padding: 0.45rem 1rem; font-size: 0.85rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,113,122,0.12);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(180,100,110,0.1); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.navbar__brand { font-family: 'Playfair Display', serif; font-size: 1.45rem; font-weight: 700; color: var(--text); }
.navbar__brand span { color: var(--rose); }
.navbar__nav { display: flex; gap: 2rem; }
.navbar__link { font-size: 0.93rem; font-weight: 500; color: var(--text-muted); transition: color var(--transition); }
.navbar__link:hover { color: var(--rose); }
.navbar__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.navbar__hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.navbar__mobile { display: none; flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1rem 1.5rem 1.2rem; background: #fff; border-top: 1px solid var(--rose-pale); }
.navbar__mobile.open { display: flex; }
.navbar__mobile-link { font-size: 1rem; font-weight: 500; color: var(--text-muted); padding: 0.3rem 0; }
.navbar__mobile-link:hover { color: var(--rose); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: url('images/hero_background.png') center/cover no-repeat;
  padding-top: 68px;
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(61,20,20,0.55) 0%, rgba(168,80,90,0.35) 100%); }
.hero__content { position: relative; z-index: 2; max-width: 640px; color: #fff; }
.hero__eyebrow { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.06em; margin-bottom: 1rem; opacity: 0.9; }
.hero__title { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 6vw, 4.2rem); line-height: 1.1; margin-bottom: 1.2rem; }
.hero__title em { color: var(--rose-light); font-style: normal; }
.hero__subtitle { font-size: 1.1rem; line-height: 1.75; opacity: 0.9; margin-bottom: 2.2rem; max-width: 480px; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll-indicator { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero__scroll-indicator span { display: block; width: 2px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent); margin: 0 auto; animation: scrollPulse 1.8s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.4;transform:scaleY(0.8)} 50%{opacity:1;transform:scaleY(1)} }

/* ===== ABOUT ===== */
.about { padding: 6rem 0; background: var(--cream); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__image-wrap { position: relative; }
.about__img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about__badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--rose); color: #fff; border-radius: var(--radius);
  padding: 1rem 1.4rem; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.about__badge-number { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; line-height: 1; }
.about__badge-label { font-size: 0.75rem; opacity: 0.9; margin-top: 0.2rem; }
.about__content { padding-bottom: 1rem; }
.about__text { color: var(--text-muted); line-height: 1.8; font-size: 1rem; margin-bottom: 2rem; }
.about__stats { display: flex; gap: 2rem; margin-bottom: 2rem; }
.about__stat { text-align: center; }
.about__stat-number { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--rose); display: block; }
.about__stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; display: block; }

/* ===== TREATMENTS ===== */
.treatments { padding: 6rem 0; background: #fff; }
.treatments__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.treatment-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.treatment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.treatment-card__img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.treatment-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.treatment-card:hover .treatment-card__img-wrap img { transform: scale(1.06); }
.treatment-card__icon { position: absolute; top: 0.75rem; right: 0.75rem; background: rgba(255,255,255,0.9); border-radius: 50px; padding: 0.3rem 0.6rem; font-size: 1rem; backdrop-filter: blur(6px); }
.treatment-card__body { padding: 1.3rem; }
.treatment-card__title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--text); margin-bottom: 0.5rem; }
.treatment-card__desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.treatment-card__footer { display: flex; align-items: center; justify-content: space-between; }
.treatment-card__price { font-weight: 700; font-size: 1rem; color: var(--rose-deep); }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, var(--rose-deep) 0%, var(--rose) 60%, var(--rose-light) 100%); padding: 5rem 0; text-align: center; }
.cta-banner__eyebrow { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; color: rgba(255,255,255,0.8); margin-bottom: 0.8rem; }
.cta-banner__title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 1rem; }
.cta-banner__desc { font-size: 1.05rem; color: rgba(255,255,255,0.88); max-width: 520px; margin: 0 auto 2rem; line-height: 1.75; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 6rem 0; background: var(--cream); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.testimonial-card__stars { color: #f4b942; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card__text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: 0.85rem; }
.testimonial-card__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--rose); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testimonial-card__author strong { display: block; font-size: 0.95rem; color: var(--text); }
.testimonial-card__author span { font-size: 0.8rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer { background: #2a1a1a; color: rgba(255,255,255,0.8); padding: 4rem 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer__logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: #fff; display: inline-block; margin-bottom: 1rem; }
.footer__logo span { color: var(--rose-light); }
.footer__tagline { font-size: 0.9rem; line-height: 1.75; opacity: 0.7; margin-bottom: 1.5rem; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social-link { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all var(--transition); }
.footer__social-link:hover { border-color: var(--rose-light); color: var(--rose-light); transform: translateY(-2px); }
.footer__col-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: #fff; margin-bottom: 1.2rem; }
.footer__list { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; line-height: 1.5; opacity: 0.75; }
.footer__list li svg { flex-shrink: 0; margin-top: 2px; color: var(--rose-light); }
.footer__list--links a { opacity: 0.75; transition: opacity var(--transition), color var(--transition); }
.footer__list--links a:hover { opacity: 1; color: var(--rose-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.2rem 0; text-align: center; font-size: 0.82rem; opacity: 0.5; }

/* ===== CHATBOT ===== */
.chatbot-container { position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 999; }
.chatbot-trigger {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(163,84,92,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.chatbot-trigger:hover { transform: scale(1.08); box-shadow: 0 10px 32px rgba(163,84,92,0.55); }
.chatbot-trigger__badge {
  position: absolute; top: -4px; right: -4px;
  background: #e74c3c; color: #fff; border-radius: 50%;
  width: 20px; height: 20px; font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }
.chatbot-trigger__badge.hidden { display: none; }

.chatbot-window {
  position: absolute; bottom: 76px; right: 0;
  width: 360px; border-radius: 20px; overflow: hidden;
  background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  display: none; flex-direction: column;
  animation: chatSlideUp 0.3s cubic-bezier(0.4,0,0.2,1);
}
.chatbot-window.open { display: flex; }
@keyframes chatSlideUp { from{opacity:0;transform:translateY(16px) scale(0.96)} to{opacity:1;transform:none} }

.chatbot-header {
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  padding: 1rem 1.2rem; display: flex; align-items: center; gap: 0.8rem; color: #fff;
}
.chatbot-header__avatar { font-size: 1.8rem; line-height: 1; }
.chatbot-header__info { flex: 1; }
.chatbot-header__info strong { display: block; font-size: 0.95rem; font-weight: 700; }
.chatbot-header__status { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; opacity: 0.85; margin-top: 2px; }
.chatbot-header__dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; animation: dotPulse 1.5s ease infinite; }
@keyframes dotPulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
.chatbot-header__close { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.75); padding: 0.2rem; border-radius: 6px; transition: color var(--transition), background var(--transition); }
.chatbot-header__close:hover { color: #fff; background: rgba(255,255,255,0.15); }

.chatbot-messages { flex: 1; overflow-y: auto; padding: 1.2rem; display: flex; flex-direction: column; gap: 0.85rem; max-height: 320px; scroll-behavior: smooth; }
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--rose-pale); border-radius: 4px; }

.chat-msg { display: flex; align-items: flex-end; gap: 0.5rem; animation: msgFade 0.3s ease; }
@keyframes msgFade { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
.chat-msg--bot { justify-content: flex-start; }
.chat-msg--user { justify-content: flex-end; }
.chat-msg__avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--rose); color: #fff; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-msg__bubble {
  max-width: 80%; padding: 0.6rem 0.9rem; border-radius: 16px;
  font-size: 0.88rem; line-height: 1.55;
}
.chat-msg--bot .chat-msg__bubble { background: var(--rose-pale); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg--user .chat-msg__bubble { background: var(--rose); color: #fff; border-bottom-right-radius: 4px; }

.chat-typing { display: flex; gap: 4px; padding: 0.6rem 0.9rem; background: var(--rose-pale); border-radius: 16px; border-bottom-left-radius: 4px; width: fit-content; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--rose-light); animation: typingDot 1.2s ease infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-5px)} }

.chatbot-quick-replies { display: flex; gap: 0.5rem; padding: 0 1.2rem 0.8rem; flex-wrap: wrap; }
.quick-reply-btn { background: #fff; border: 1.5px solid var(--rose-pale); border-radius: 50px; padding: 0.35rem 0.85rem; font-size: 0.8rem; font-weight: 500; color: var(--rose-deep); cursor: pointer; transition: all var(--transition); font-family: 'Inter', sans-serif; }
.quick-reply-btn:hover { background: var(--rose-pale); border-color: var(--rose-light); }

.chatbot-input-area { display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.2rem; border-top: 1px solid var(--rose-pale); }
.chatbot-input { flex: 1; border: 1.5px solid #e8d8d8; border-radius: 50px; padding: 0.55rem 1rem; font-size: 0.88rem; font-family: 'Inter', sans-serif; color: var(--text); background: #fafafa; outline: none; transition: border-color var(--transition); }
.chatbot-input:focus { border-color: var(--rose-light); background: #fff; }
.chatbot-send { width: 36px; height: 36px; border-radius: 50%; background: var(--rose); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; transition: background var(--transition), transform var(--transition); flex-shrink: 0; }
.chatbot-send:hover:not(:disabled) { background: var(--rose-deep); transform: scale(1.05); }
.chatbot-send:disabled { background: #ddd; cursor: not-allowed; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__badge { right: 1rem; }
  .about__image-wrap { max-width: 500px; margin: 0 auto; }
  .treatments__grid { grid-template-columns: repeat(2,1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1/-1; }
  .navbar__nav, .navbar__inner .btn { display: none; }
  .navbar__hamburger { display: flex; }
}
@media (max-width: 600px) {
  .treatments__grid { grid-template-columns: 1fr; }
  .about__stats { flex-direction: column; gap: 1rem; }
  .hero__ctas { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .chatbot-window { width: calc(100vw - 3.6rem); right: 0; }
}

/* ===== BOOKING MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(30, 10, 10, 0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1; pointer-events: all;
}

.modal {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 560px;
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  scroll-behavior: smooth;
}
.modal::-webkit-scrollbar { width: 4px; }
.modal::-webkit-scrollbar-thumb { background: var(--rose-pale); border-radius: 4px; }
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal__header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1.8rem 1.8rem 0;
}
.modal__eyebrow {
  display: block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; color: var(--rose); text-transform: uppercase; margin-bottom: 0.25rem;
}
.modal__title {
  font-family: 'Playfair Display', serif; font-size: 1.7rem;
  color: var(--text); line-height: 1.2;
}
.modal__close {
  background: var(--rose-pale); border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--rose-deep); flex-shrink: 0; margin-top: 0.2rem;
  transition: background var(--transition), transform var(--transition);
}
.modal__close:hover { background: var(--rose-light); color: #fff; transform: rotate(90deg); }

/* Form */
.modal__form { padding: 1.4rem 1.8rem 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-label { font-size: 0.84rem; font-weight: 600; color: var(--text); }
.form-required { color: var(--rose); }
.form-input {
  width: 100%; padding: 0.65rem 0.95rem;
  border: 1.5px solid #e8d5d7; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-family: 'Inter', sans-serif; color: var(--text);
  background: #fdfafa; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none; -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--rose-light);
  box-shadow: 0 0 0 3px rgba(200,113,122,0.12);
  background: #fff;
}
.form-input.invalid { border-color: #e74c3c; box-shadow: 0 0 0 3px rgba(231,76,60,0.1); }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a5c5c' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 80px; line-height: 1.5; }

.form-error {
  background: #fef2f2; border: 1px solid #fca5a5; border-radius: var(--radius-sm);
  color: #b91c1c; font-size: 0.85rem; padding: 0.65rem 1rem; margin-bottom: 1rem;
}

.modal__submit { width: 100%; justify-content: center; font-size: 1rem; padding: 0.9rem; margin-top: 0.5rem; }
.modal__submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none !important; }

/* Success */
.modal__success {
  padding: 2.5rem 1.8rem 2rem; text-align: center;
  animation: msgFade 0.4s ease;
}
.modal__success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.modal__success-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--text); margin-bottom: 0.75rem; }
.modal__success-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.5rem; }
.modal__success-sub { font-size: 0.82rem; color: var(--rose); margin-bottom: 1.5rem; }

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
  .modal__header, .modal__form { padding-left: 1.2rem; padding-right: 1.2rem; }
}
