/* ============================
   SMILE centrum — Shared design system
   ============================ */

:root {
  --mint: #4ad7a5;
  --mint-soft: #c8f3e1;
  --mint-deep: #2fa67c;
  --page-bg: #d8f5e8;
  --hero-bg: #eff1ef;
  --cream: #f7f3ec;
  --ink: #0a0a0a;
  --muted: #6b6f6b;
  --line: #e8eae8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--page-bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
@media (max-width: 700px) {
  /* Prevent horizontal scroll on mobile only — overflow-x:hidden on
     html/body would otherwise break position:sticky on desktop. */
  html, body { overflow-x: hidden; max-width: 100vw; }
}

body {
  padding: 0;
  min-height: 100vh;
  background: #fff;
}

.page-wrap {
  max-width: none;
  margin: 0;
  border-radius: 0;
  background: #fff;
  position: relative;
  /* overflow:hidden + transform on this element would break position:sticky on
     descendants; keep it visible so the hero can stick to the document scroll. */
}

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

/* ============================
   Page enter transition
   ============================ */
.page-wrap {
  opacity: 1;
  animation: pageIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.page-wrap.is-leaving {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .page-wrap { animation: none; }
  .reveal, .reveal-stagger, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================
   NAV (shared)
   ============================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 0;
  position: relative;
  z-index: 50;
  background: var(--hero-bg);
}
.nav.nav-on-white {
  background: #fff;
}
.nav-sticky-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0 18px;
  padding-top: 12px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.nav-sticky-wrap.scrolled .nav-inner {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-color: rgba(255,255,255,0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 1px solid transparent;
  padding: 12px 18px;
  border-radius: 999px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 7px 20px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--mint-deep);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s;
}
.logo:hover { transform: translateY(-1px); }
.logo-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-tabs {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 999px;
  gap: 2px;
}
.nav-tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.25s;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}
.nav-tab:hover { background: rgba(0,0,0,0.04); }
.nav-tab.active { background: var(--ink); color: #fff; }
.nav-tab.active:hover { background: var(--ink); }

.nav-actions { display: flex; gap: 8px; }
.nav-actions .btn-pill {
  padding: 18px 38px;
  font-size: 18px;
  font-weight: 600;
}

/* ============ Mobile hamburger menu ============ */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 102;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.8px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle.is-open span { transform: rotate(45deg); }
.nav-toggle.is-open span::before { transform: translate(0, 6px) rotate(90deg); opacity: 0; }
.nav-toggle.is-open span::after  { transform: translate(0, -6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 101;
  display: none;
  flex-direction: column;
  padding: 90px 28px 40px;
  opacity: 0;
  transition: opacity 0.3s;
  overflow-y: auto;
}
.mm-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 103;
  transition: background 0.2s, transform 0.2s;
}
.mm-close:hover { background: var(--mint-deep); transform: scale(1.06); }
.mm-close:active { transform: scale(0.96); }
.mobile-menu.is-open {
  display: flex;
  opacity: 1;
}
.mobile-menu .mm-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}
.mobile-menu .mm-tab {
  font-family: 'Instrument Serif', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.mobile-menu .mm-tab:hover,
.mobile-menu .mm-tab.active { color: var(--mint-deep); font-style: italic; }
.mobile-menu .mm-tab:last-child { border-bottom: none; }
.mobile-menu .mm-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  padding: 18px 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}
body.has-mobile-menu { overflow: hidden; }
@media (max-width: 700px) {
  .nav-toggle { display: inline-flex !important; }
  .nav-tabs { display: none !important; }
  /* Keep the booking CTA visible directly in the header on mobile */
}

.btn-pill {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-pill:hover { background: #f5f6f5; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #2a2a2a; color: #fff; }

/* ============================
   Footer
   ============================ */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 80px 70px 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(74,215,165,0.10), transparent 45%),
    radial-gradient(circle at 80% 18%, rgba(74,215,165,0.08), transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* Booking CTA at the top of the footer */
.footer-booking {
  position: relative;
  z-index: 2;
  padding: 0 0 56px;
  text-align: center;
}
.footer-booking-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 22px;
}
.footer-booking-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
}
.footer-booking-text {
  font-family: 'Instrument Serif', serif;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: #fff;
  max-width: 920px;
  margin: 0 auto;
  text-wrap: balance;
}
.footer-booking-text a {
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid rgba(74,215,165,0.45);
  font-style: italic;
  word-break: keep-all;
  transition: color .2s, border-color .2s;
}
.footer-booking-text a:hover {
  color: #fff;
  border-color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.footer-brand h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 56px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.footer-brand h3 em {
  color: var(--mint);
  font-style: italic;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 320px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-col a:hover {
  color: var(--mint);
  transform: translateX(3px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  position: relative;
  z-index: 2;
}
.footer-bottom .links {
  display: flex;
  gap: 24px;
}
.footer-bottom .links a {
  color: rgba(255,255,255,0.6);
}
.footer-bottom .links a:hover {
  color: #fff;
}

/* footer ambient mint glow */
.site-footer::before {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 215, 165, 0.15), transparent 60%);
  pointer-events: none;
}

/* ============================
   Buttons / CTAs
   ============================ */
.btn-cta {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 18px 14px 24px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
}
.btn-cta:hover { transform: translateY(-2px); background: #2a2a2a; }
.btn-cta .arrow {
  background: #fff; color: var(--ink);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px;
  transition: transform 0.25s;
}
.btn-cta:hover .arrow { transform: rotate(45deg); }

.btn-mint {
  background: var(--mint);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-mint:hover { transform: translateY(-2px); background: var(--mint-deep); color: #fff; }

/* ============================
   Page header (for sub-pages)
   ============================ */
.page-header {
  background: var(--hero-bg);
  padding: 0 28px 100px;
  position: relative;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
}
.page-header::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 215, 165, 0.18), transparent 60%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 215, 165, 0.12), transparent 60%);
  bottom: -150px;
  left: -100px;
  pointer-events: none;
}
.page-header-inner {
  max-width: 1100px;
  margin: 80px auto 0;
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 28px;
}
.page-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.page-title {
  font-family: 'Instrument Serif', serif;
  font-size: 96px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 24px;
  text-wrap: balance;
}
.page-title em {
  font-style: italic;
  color: var(--mint);
}
.page-subtitle {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  text-wrap: balance;
}

/* breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: 0.4; }

/* ============================
   Reveal-on-scroll utility
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.54s; }

/* ============================
   Tilt card (3d hover)
   ============================ */
.tilt-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ============================
   Marquee / ribbon
   ============================ */
.marquee {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--ink), transparent); }
.marquee::after  { right: 0; background: linear-gradient(to left, var(--ink), transparent); }
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.marquee-item::after {
  content: '✦';
  color: var(--mint);
  font-style: normal;
  font-size: 16px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================
   Section title pattern
   ============================ */
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint-soft);
  color: var(--ink);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
}
.sec-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
}
.sec-title {
  font-family: 'Instrument Serif', serif;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-wrap: balance;
}
.sec-title em {
  font-style: italic;
  color: var(--mint);
}

/* ============================
   Common card
   ============================ */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-color: var(--mint);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-tabs { display: none; }
  .page-title { font-size: 64px; }
  .site-footer { padding: 60px 26px 28px; }
  .footer-booking { padding: 0 0 40px; }
  .footer-booking-text { font-size: 22px; }
}
@media (max-width: 700px) {
  /* Fixed nav — always visible while scrolling */
  .nav-sticky-wrap {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 100;
    margin: 0 !important;
    padding: 10px 12px !important;
    background: rgba(255,255,255,0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  }
  .nav-inner {
    padding: 6px 8px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  body { padding-top: 76px; }
  /* Bigger, prominent CTA */
  .nav-actions .btn-pill {
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
  }
  .logo {
    font-size: 26px;
    padding: 8px 18px 8px 10px;
    gap: 8px;
    height: 46px;
    box-sizing: border-box;
  }
  .logo-icon { width: 26px; height: 26px; }
  .nav-actions .btn-pill {
    height: 46px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
  }
  .nav-toggle {
    width: 46px;
    height: 46px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 8px; }
  .footer-brand { margin-bottom: 18px; text-align: center; }
  .footer-brand p { max-width: 100%; margin-left: auto; margin-right: auto; }

  /* Accordion for footer columns */
  .footer-col {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .footer-col:first-of-type { border-top: 1px solid rgba(255,255,255,0.1); }
  .footer-col-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
    margin-bottom: 0;
    padding: 18px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
  }
  .footer-col-title::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 1.8px solid rgba(255,255,255,0.7);
    border-bottom: 1.8px solid rgba(255,255,255,0.7);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.3s ease;
  }
  .footer-col.is-open .footer-col-title::after {
    transform: rotate(-135deg) translate(-2px, -2px);
  }
  .footer-col ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .footer-col.is-open ul {
    max-height: 600px;
    padding: 0 0 16px;
  }
  .footer-col li { margin-bottom: 12px; }
  .footer-col a { font-size: 15px; }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    margin-top: 32px;
  }
  .footer-bottom .links { justify-content: center; flex-wrap: wrap; }
  .footer-booking-text {
    font-size: clamp(20px, 6vw, 24px);
    line-height: 1.35;
    padding: 0 18px;
    color: #fff;
    text-wrap: pretty;
  }
  .footer-booking-text a {
    color: var(--mint);
    border-bottom-width: 2px;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .footer-booking { padding: 20px 18px 40px; }
  .btn-cta { padding: 12px 16px 12px 20px; font-size: 13px; }
}
