/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #2D2D2D;
  background: #FAFAF8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; }

/* ── Section spacing ────────────────────────────────────── */
.section { padding: 7rem 0; }
.section-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
  position: relative;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,105,79,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.contact { padding: 7rem 0; background: #F3F1EE; }

/* ── Eyebrow ───────────────────────────────────────────── */
.eyebrow { letter-spacing: 0.2em; }

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #D4694F;
  color: #fff;
  font-weight: 500;
  font-size: 0.938rem;
  padding: 14px 30px;
  border-radius: 50px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(212,105,79,0.25);
}
.btn-primary:hover {
  background: #B8543E;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212,105,79,0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  font-weight: 500;
  font-size: 0.938rem;
  padding: 13px 28px;
  border-radius: 50px;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  font-weight: 500;
  font-size: 0.938rem;
  padding: 13px 28px;
  border-radius: 50px;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(45,45,45,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(45,45,45,0.1);
}
.icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(212,105,79,0.08);
}
.facility-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem;
  border: 1px solid rgba(45,45,45,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(45,45,45,0.09);
}

/* ── Inputs ─────────────────────────────────────────────── */
.input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(45,45,45,0.15);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.938rem;
  color: #2D2D2D;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.input::placeholder { color: rgba(45,45,45,0.35); }
.input:focus {
  border-color: #D4694F;
  box-shadow: 0 0 0 3px rgba(212,105,79,0.12);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(26,26,26,0.82) 0%, rgba(45,45,45,0.72) 50%, rgba(26,26,26,0.85) 100%),
    url('https://images.pexels.com/photos/13060600/pexels-photo-13060600.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(212,105,79,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-headline {
  font-weight: 500;
}
.hero-sub {
  font-weight: 300;
}
.hero-eyebrow {
  font-weight: 600;
}

/* ── Scroll indicator ───────────────────────────────────── */
.hero-scroll-indicator {
  display: flex;
  justify-content: center;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Navbar ─────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
#site-header.scrolled {
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #E8836B;
  transition: width 0.25s;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile menu ────────────────────────────────────────── */
#mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
#mobile-menu.closed {
  opacity: 0;
  pointer-events: none;
}
.mobile-link {
  font-family: 'Lora', serif;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: #111111;
  color: #fff;
}

/* ── Back to top ────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #D4694F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212,105,79,0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 90;
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: #B8543E; }

/* ── Reveal animations (progressive enhancement) ───────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal:nth-child(2) { transition-delay: 0.08s; }
  .reveal:nth-child(3) { transition-delay: 0.16s; }
  .reveal:nth-child(4) { transition-delay: 0.24s; }
  .reveal:nth-child(5) { transition-delay: 0.32s; }
  .reveal:nth-child(6) { transition-delay: 0.40s; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .section { padding: 5rem 0; }
  .contact { padding: 5rem 0; }
  .section-cta { padding: 4rem 0; }
  .hero { min-height: 80vh; }
  .hero-headline { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-headline { font-size: 2.75rem; }
}
@media (min-width: 1024px) {
  .hero-headline { font-size: 3.25rem; }
}
