@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --bg: #f2f1ee;
  --surface: #ffffff;
  --dark: #14161a;
  --dark-2: #1e2127;
  --text: #14161a;
  --muted: #5c616b;
  --border: #dcdad4;
  --accent: #2952e3;
  --accent-dark: #1c3aab;
  --radius: 2px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; margin: 0; }
a { color: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: 0.1s; }
.reveal-delay-2.is-visible { transition-delay: 0.2s; }
.reveal-delay-3.is-visible { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(242, 241, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--dark);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled { background: rgba(242, 241, 238, 0.97); box-shadow: 0 8px 24px rgba(20,22,26,0.15); }
.nav .container { display: flex; align-items: center; justify-content: space-between; padding: 1.15rem 1.5rem; }

.brand { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }

.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted);
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--dark); color: #fff; border: none; padding: 0.65rem 1.4rem;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: var(--radius); cursor: pointer; text-decoration: none;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--accent); }

@media (max-width: 720px) { .nav-links { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20,22,26,0.55) 0%, rgba(20,22,26,0.88) 100%),
    url('https://images.unsplash.com/photo-1578209143563-177db741ac0c?auto=format&fit=crop&w=1800&q=75');
  background-size: 48px 48px, 48px 48px, cover, cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding: 6rem 1.5rem 9rem;
  text-align: left;
}
@media (max-width: 900px) { .hero { background-attachment: scroll; } }

.hero .inner { max-width: 640px; }
.hero .eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem; border-left: 3px solid var(--accent); padding-left: 0.6rem;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; margin-bottom: 1.25rem; }
.hero p { color: #c2c5cc; max-width: 480px; margin: 0 0 2rem; font-size: 1rem; line-height: 1.6; }

.hero .eyebrow, .hero h1, .hero p, .hero .btn {
  opacity: 0; transform: translateY(18px); animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero .eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.25s; }
.hero p { animation-delay: 0.4s; }
.hero .btn { animation-delay: 0.55s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero p, .hero .btn { opacity: 1; transform: none; animation: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block; background: var(--accent); color: #fff; border: none;
  padding: 0.9rem 2rem; font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; border-radius: var(--radius); cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 6px 6px 0 var(--dark); }
.btn-block { width: 100%; }

/* ============================================================
   BOOKING CARD
   ============================================================ */
.booking-card {
  background: var(--surface); border: 2px solid var(--dark); border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--accent);
  max-width: 780px; margin: -5.5rem auto 5rem; padding: 2.25rem; position: relative; z-index: 5;
}
.booking-card h2 { text-align: left; font-size: 1.3rem; margin-bottom: 1.4rem; text-transform: uppercase; letter-spacing: 0.02em; }

.booking-row { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.booking-row select {
  flex: 1; min-width: 220px; padding: 0.7rem 0.9rem; border: 1.5px solid var(--dark);
  border-radius: var(--radius); font-family: inherit; font-size: 0.88rem; background: var(--bg);
}

.day-picker { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.4rem; margin-bottom: 1.25rem; }
.day-btn {
  border: 1.5px solid var(--dark); background: var(--bg); border-radius: var(--radius);
  padding: 0.55rem 0.2rem; text-align: center; cursor: pointer; font-family: inherit;
  transition: transform 0.15s ease;
}
.day-btn:hover { transform: translateY(-2px); }
.day-btn .dow { display: block; font-size: 0.64rem; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.day-btn .dom { display: block; font-size: 1.05rem; font-weight: 700; margin-top: 0.1rem; }
.day-btn.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.day-btn.active .dow { color: var(--accent); }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 0.45rem; }
.slot-btn {
  border: 1.5px solid var(--dark); background: var(--bg); border-radius: var(--radius);
  padding: 0.55rem; font-size: 0.84rem; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.slot-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.booking-empty { color: var(--muted); font-size: 0.85rem; text-align: left; padding: 1rem 0; }

.booking-form { margin-top: 1.25rem; border-top: 2px solid var(--dark); padding-top: 1.25rem; }
.booking-form label {
  display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted); margin: 0.7rem 0 0.3rem;
}
.booking-form input, .booking-form textarea {
  width: 100%; padding: 0.65rem 0.8rem; border: 1.5px solid var(--dark); border-radius: var(--radius);
  font-family: inherit; font-size: 0.88rem; background: var(--bg);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 4.5rem 0; }
.section.alt { background: var(--surface); border-top: 2px solid var(--dark); border-bottom: 2px solid var(--dark); }
.section-header { margin-bottom: 3rem; max-width: 480px; }
.section-header .eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  border-left: 3px solid var(--accent); padding-left: 0.6rem; margin-bottom: 0.6rem; display: block;
}
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0; border: 2px solid var(--dark); border-radius: var(--radius); overflow: hidden;
}
.service-card { background: var(--surface); padding: 2rem 1.5rem; text-align: left; border-right: 2px solid var(--dark); transition: background 0.2s ease; }
.service-card:last-child { border-right: none; }
.service-card:hover { background: var(--bg); }
.service-card .icon {
  width: 44px; height: 44px; margin-bottom: 1rem; border-radius: var(--radius); background: var(--dark);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  transition: transform 0.25s ease, background 0.25s ease;
}
.service-card:hover .icon { transform: scale(1.1); background: var(--accent); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.01em; }
.service-card p { color: var(--muted); font-size: 0.85rem; margin: 0; }

@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 2px solid var(--dark); }
  .service-card:last-child { border-bottom: none; }
}

/* ---------- Image break ---------- */
.image-break {
  position: relative;
  min-height: 400px;
  background-image:
    linear-gradient(180deg, rgba(20,22,26,0.5) 0%, rgba(20,22,26,0.82) 100%),
    url('https://images.unsplash.com/photo-1573529034998-1d2e6eb2adf4?auto=format&fit=crop&w=1800&q=75');
  background-size: cover; background-position: center; background-attachment: fixed;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff; padding: 4rem 1.5rem; border: 2px solid var(--dark);
}
@media (max-width: 900px) { .image-break { background-attachment: scroll; } }
.image-break .eyebrow { color: var(--accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.image-break h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); max-width: 620px; margin: 0 auto 1.1rem; text-transform: uppercase; }
.image-break p { max-width: 500px; margin: 0 auto; font-size: 0.9rem; line-height: 1.7; color: #d5d5d0; }

/* ---------- Stats ---------- */
.stats-section { background: var(--dark); color: #fff; padding: 3.5rem 0; border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2rem; text-align: left; }
.stat-number { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9a9da4; opacity: 0.85; margin-top: 0.4rem; }
.stats-note { color: #8a8d94; font-size: 0.7rem; margin-top: 2rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.gallery-tile { position: relative; overflow: hidden; border: 2px solid var(--dark); border-radius: var(--radius); aspect-ratio: 4/3; }
.gallery-tile img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  filter: grayscale(0.3); transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-tile:hover img { transform: scale(1.08); filter: grayscale(0); }
.gallery-label {
  position: relative; z-index: 2; color: #fff;
  background: linear-gradient(0deg, rgba(20,22,26,0.85), transparent 60%);
  width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border: 2px solid var(--dark); }
.testimonial-card { background: var(--surface); padding: 1.75rem; border-right: 2px solid var(--dark); transition: background 0.2s ease; }
.testimonial-card:last-child { border-right: none; }
.testimonial-card:hover { background: var(--bg); }
.testimonial-stars { color: var(--accent); font-size: 0.85rem; margin-bottom: 0.75rem; }
.testimonial-quote { font-size: 0.9rem; line-height: 1.7; color: var(--text); margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: var(--radius); background: var(--dark); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; flex-shrink: 0;
}
.testimonial-name { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; }
.testimonial-role { font-size: 0.72rem; color: var(--muted); }

@media (max-width: 720px) {
  .testimonial-card { border-right: none; border-bottom: 2px solid var(--dark); }
  .testimonial-card:last-child { border-bottom: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: #c2c5cc; padding: 3rem 0 2rem; text-align: left; }
.footer .brand { font-family: var(--font-display); font-size: 1.2rem; color: #fff; margin-bottom: 0.75rem; text-transform: uppercase; }
.footer p { margin: 0.3rem 0; font-size: 0.85rem; }
.footer .socials { margin-top: 1rem; font-size: 0.8rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
