/* ============ TOKENS ============ */
:root {
  --cream: #fdf8f0;
  --cream-2: #f7efe1;
  --ink: #2b2118;
  --ink-soft: #6b5d4f;
  --orange: #f4772e;
  --orange-dark: #d95f1a;
  --teal: #1f7a6d;
  --teal-dark: #145c52;
  --navy: #223041;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(43, 33, 24, 0.12);
  --font-display: "Fredoka", sans-serif;
  --font-body: "Nunito", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

.muted { color: var(--ink-soft); font-size: 0.92rem; }
.eyebrow {
  font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 0.8rem; color: var(--teal); margin-bottom: 0.6rem;
}
.eyebrow.center { text-align: center; }
.eyebrow.light { color: #ffd9a8; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block; border: none; cursor: pointer; text-decoration: none;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem;
  padding: 0.7rem 1.4rem; border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 6px 18px rgba(244, 119, 46, 0.35); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn--soft { background: var(--cream-2); color: var(--teal-dark); }
.btn--soft:hover { background: #efe3cd; }
.btn--lg { padding: 0.95rem 1.9rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 0.9rem clamp(1rem, 5vw, 3.5rem);
  background: rgba(253, 248, 240, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 33, 24, 0.08);
}
.nav__logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav__logo span { color: var(--orange); }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { color: var(--ink-soft); text-decoration: none; font-weight: 700; }
.nav__links a:hover { color: var(--orange); }
.nav__burger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* ============ HERO ============ */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center;
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1rem, 5vw, 3.5rem);
  max-width: 1250px; margin: 0 auto;
}
.hero__text h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 1.1rem; }
.hero__text h1 em { color: var(--orange); font-style: normal; position: relative; }
.hero__sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 1.8rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero__stats { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--teal); }
.hero__stats span { font-size: 0.85rem; color: var(--ink-soft); }

.hero__collage { position: relative; height: 480px; }
.collage__img {
  position: absolute; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 5px solid var(--white);
}
.collage__img--a { width: 58%; height: 62%; top: 0; right: 4%; transform: rotate(2.5deg); }
.collage__img--b { width: 52%; height: 48%; bottom: 4%; left: 0; transform: rotate(-3deg); z-index: 2; }
.collage__img--c { width: 34%; height: 36%; bottom: 0; right: 0; transform: rotate(4deg); z-index: 3; }
.collage__badge {
  position: absolute; top: 8%; left: -2%; z-index: 4;
  background: var(--white); padding: 0.55rem 1rem; border-radius: 999px;
  font-weight: 800; font-size: 0.88rem; box-shadow: var(--shadow); transform: rotate(-4deg);
}

/* ============ SECTIONS ============ */
.section { padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 3.5rem); max-width: 1250px; margin: 0 auto; }
.section--tint { max-width: none; background: var(--cream-2); }
.section--tint > * { max-width: 1250px; margin-left: auto; margin-right: auto; }
.section--dark { max-width: none; background: var(--navy); color: var(--white); }
.section--dark > * { max-width: 1250px; margin-left: auto; margin-right: auto; }
.section__title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 2.4rem; }
.section__title.light { color: var(--white); }
.section__sub { text-align: center; color: var(--ink-soft); margin: -1.6rem auto 2.2rem; max-width: 40rem; }

/* ============ SERVICE CARDS ============ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.7rem;
  position: relative; transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-6px); }
.card--featured { outline: 3px solid var(--orange); }
.card__tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white); font-size: 0.75rem; font-weight: 800;
  padding: 0.25rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.card__emoji { font-size: 2.2rem; }
.card h3 { font-size: 1.3rem; }
.card__price { font-family: var(--font-display); font-size: 1.6rem; color: var(--teal); font-weight: 700; }
.card__price span { font-size: 0.85rem; color: var(--ink-soft); font-family: var(--font-body); font-weight: 700; }
.card p:not(.card__price) { color: var(--ink-soft); font-size: 0.95rem; flex-grow: 1; }
.card .btn { text-align: center; }

/* ============ GALLERY ============ */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.2rem; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { height: 220px; width: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: var(--white); font-weight: 800; padding: 1.6rem 0.9rem 0.6rem; font-size: 0.95rem;
}

/* ============ REVIEWS ============ */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.review { background: var(--white); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); }
.review__stars { color: var(--orange); letter-spacing: 0.15em; margin-bottom: 0.7rem; }
.review p { font-style: italic; margin-bottom: 0.9rem; }
.review footer { color: var(--ink-soft); font-size: 0.9rem; }

/* ============ BOOKING ============ */
.booking { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
.booking__form {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem;
}
.booking__form label { font-weight: 800; font-size: 0.92rem; display: flex; flex-direction: column; gap: 0.35rem; }
.booking__form input, .booking__form select {
  font-family: var(--font-body); font-size: 1rem; padding: 0.65rem 0.8rem;
  border: 2px solid #e8ddc9; border-radius: 10px; background: var(--cream);
  color: var(--ink); font-weight: 600;
}
.booking__form input:focus, .booking__form select:focus { outline: none; border-color: var(--orange); }
.booking__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.daypicker { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.3rem; }
.daypicker__chip {
  flex: 0 0 auto; border: 2px solid #e8ddc9; background: var(--cream); border-radius: 12px;
  padding: 0.5rem 0.8rem; text-align: center; cursor: pointer; font-family: var(--font-body);
  font-weight: 700; color: var(--ink); min-width: 64px;
}
.daypicker__chip small { display: block; font-size: 0.7rem; color: var(--ink-soft); text-transform: uppercase; }
.daypicker__chip strong { font-size: 1.1rem; }
.daypicker__chip.selected { background: var(--teal); border-color: var(--teal); color: var(--white); }
.daypicker__chip.selected small { color: #cdeae5; }

.slotpicker { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.slotpicker__slot {
  border: 2px solid #e8ddc9; background: var(--cream); border-radius: 999px;
  padding: 0.42rem 0.95rem; cursor: pointer; font-weight: 700; font-family: var(--font-body);
  font-size: 0.92rem; color: var(--ink);
}
.slotpicker__slot.selected { background: var(--orange); border-color: var(--orange); color: var(--white); }
.slotpicker__slot:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.booking__hint { font-weight: 700; color: var(--teal); min-height: 1.4em; text-align: center; }
.booking__hint.error { color: #c43d21; }

.booking__upcoming {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius); padding: 1.6rem;
}
.booking__upcoming h3 { color: var(--white); margin-bottom: 1rem; }
.booking__upcoming .muted { color: #aab8c6; }
.upcoming { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.upcoming li {
  background: rgba(255, 255, 255, 0.95); color: var(--ink); border-radius: 12px;
  padding: 0.8rem 1rem; display: flex; align-items: center; gap: 0.8rem;
}
.upcoming__info { flex: 1; min-width: 0; }
.upcoming__info strong { display: block; font-size: 0.98rem; }
.upcoming__info span { font-size: 0.82rem; color: var(--ink-soft); }
.upcoming__cancel {
  background: none; border: none; cursor: pointer; color: #c43d21;
  font-weight: 800; font-size: 0.82rem; font-family: var(--font-body);
}

/* ============ MESSAGING PANEL ============ */
.chatpanel {
  max-width: 640px; margin: 0 auto; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.chatpanel__header {
  display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.3rem;
  background: var(--teal); color: var(--white);
}
.chatpanel__header strong { display: block; }
.online { font-size: 0.78rem; color: #b8f0d8; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--orange);
  color: var(--white); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; flex-shrink: 0;
}
.avatar--bot { background: var(--navy); }
.chatpanel__thread {
  height: 340px; overflow-y: auto; padding: 1.2rem; display: flex;
  flex-direction: column; gap: 0.65rem; background: var(--cream);
}
.bubble {
  max-width: 78%; padding: 0.6rem 0.95rem; border-radius: 16px;
  font-size: 0.95rem; line-height: 1.45; word-wrap: break-word;
}
.bubble--me { align-self: flex-end; background: var(--teal); color: var(--white); border-bottom-right-radius: 4px; }
.bubble--them { align-self: flex-start; background: var(--white); box-shadow: 0 2px 6px rgba(43,33,24,0.1); border-bottom-left-radius: 4px; }
.bubble__time { display: block; font-size: 0.68rem; opacity: 0.65; margin-top: 0.2rem; }
.bubble--typing { display: flex; gap: 4px; align-items: center; padding: 0.8rem 1rem; }
.bubble--typing i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft);
  animation: blink 1.2s infinite;
}
.bubble--typing i:nth-child(2) { animation-delay: 0.2s; }
.bubble--typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

.chatpanel__composer { display: flex; gap: 0.6rem; padding: 0.9rem 1rem; border-top: 1px solid #eee3d0; }
.chatpanel__composer input {
  flex: 1; font-family: var(--font-body); font-size: 1rem; padding: 0.6rem 0.9rem;
  border: 2px solid #e8ddc9; border-radius: 999px; background: var(--cream); font-weight: 600;
}
.chatpanel__composer input:focus { outline: none; border-color: var(--teal); }

/* ============ CHATBOT WIDGET ============ */
.bot__fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--orange); font-size: 1.7rem; box-shadow: 0 8px 24px rgba(244,119,46,0.45);
  transition: transform 0.15s ease;
}
.bot__fab:hover { transform: scale(1.08); }
.bot__fab-pulse {
  position: absolute; top: 4px; right: 4px; width: 13px; height: 13px;
  background: #37c978; border: 2px solid var(--white); border-radius: 50%;
}
.bot {
  position: fixed; bottom: 96px; right: 22px; z-index: 95;
  width: min(380px, calc(100vw - 30px)); background: var(--white); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(43,33,24,0.3); overflow: hidden;
  display: flex; flex-direction: column;
}
.bot[hidden] { display: none; }
.bot__header {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1.1rem;
  background: var(--navy); color: var(--white);
}
.bot__header strong { display: block; font-size: 0.95rem; }
.bot__close { margin-left: auto; background: none; border: none; color: var(--white); font-size: 1.1rem; cursor: pointer; }
.bot__thread {
  height: 320px; overflow-y: auto; padding: 1rem; background: var(--cream);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.bot__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0.7rem 1rem 0.2rem; background: var(--white); }
.bot__chip {
  border: 1.5px solid var(--teal); color: var(--teal-dark); background: var(--white);
  border-radius: 999px; padding: 0.32rem 0.8rem; font-size: 0.82rem; font-weight: 800;
  cursor: pointer; font-family: var(--font-body);
}
.bot__chip:hover { background: var(--teal); color: var(--white); }
.bot__composer { display: flex; gap: 0.5rem; padding: 0.8rem 1rem; }
.bot__composer input {
  flex: 1; font-family: var(--font-body); font-size: 0.95rem; padding: 0.55rem 0.85rem;
  border: 2px solid #e8ddc9; border-radius: 999px; background: var(--cream); font-weight: 600;
}
.bot__composer input:focus { outline: none; border-color: var(--orange); }
.bot__composer .btn { padding: 0.5rem 0.9rem; }

/* ============ FOOTER ============ */
.footer {
  background: var(--cream-2); padding: 2.5rem clamp(1rem, 5vw, 3.5rem);
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
}
.footer__links { display: flex; gap: 1.4rem; }
.footer__links a { color: var(--ink-soft); font-weight: 700; text-decoration: none; }
.footer__links a:hover { color: var(--orange); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__collage { height: 380px; max-width: 480px; margin: 0 auto; width: 100%; }
  .booking { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--cream); padding: 1rem 1.5rem 1.4rem;
    border-bottom: 1px solid rgba(43,33,24,0.1); gap: 1rem;
  }
  .nav__links.open { display: flex; }
  .nav__burger { display: block; margin-left: auto; }
  .nav__cta { display: none; }
  .booking__row { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.4rem; }
}
