:root {
  --brand-primary: #f97a09;
  --brand-accent: #d30a00;
  --brand-cool: #365bb6;
  --brand-dark: #0b0b0b;
  --brand-light: #fbe5ac;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
}

.header-shell.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border-color: rgba(15, 23, 42, 0.08);
}

.nav-link {
  position: relative;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-solid,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem; /* Slightly rounded, not full pill */
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.btn-solid {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #fff;
  box-shadow: 0 4px 12px rgba(227, 95, 0, 0.2);
}

.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(227, 95, 0, 0.25);
}

.btn-ghost {
  background: transparent;
  color: #020617;
  border-color: rgba(15, 23, 42, 0.15);
}

.btn-ghost:hover {
  border-color: rgba(15, 23, 42, 0.3);
  background: rgba(15, 23, 42, 0.03);
  transform: translateY(-1px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-soft {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  margin: 0.25rem 0;
  color: #0f172a;
}

.section-subtitle {
  color: #475569;
  font-size: 1rem;
}

.service-card,
.plan-card,
.coupon-card,
.review-card,
.placeholder-card {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.service-card:hover,
.plan-card:hover,
.coupon-card:hover,
.review-card:hover,
.placeholder-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  border-color: rgba(249, 122, 9, 0.15);
}

.service-card h3,
.plan-card h3,
.coupon-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.service-card p,
.plan-card p,
.coupon-card p,
.review-card p {
  color: #475569;
  margin: 0;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  color: #334155;
  font-size: 0.95rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-list li::before {
  content: "•";
  color: var(--brand-primary);
  font-weight: 800;
}

.glass-panel {
  border-radius: 2rem; /* More rounded */
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
}

.shadow-glow {
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.08);
}

.step-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(249, 122, 9, 0.1);
  border-color: rgba(249, 122, 9, 0.2);
}

.coupon-card {
  border: 2px dashed rgba(15, 23, 42, 0.12);
  background: #fff;
  position: relative;
  overflow: hidden;
}

.coupon-card::before,
.coupon-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background-color: #f8fafc; /* Match section bg if possible, or body bg */
  border-radius: 50%;
  transform: translateY(-50%);
}

.coupon-card::before { left: -10px; }
.coupon-card::after { right: -10px; }

.review-card {
  gap: 0.75rem;
}

.placeholder-card {
  display: grid;
  place-items: center;
  color: #94a3b8;
  border-style: dashed;
  font-weight: 700;
}

.faq-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}

.faq-card summary {
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
}

.faq-card p {
  color: #475569;
  margin-top: 0.5rem;
}

.input {
  width: 100%;
  border-radius: 9999px; /* Pill shape inputs */
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
  color: #0f172a;
  background: #f8fafc; /* Slight grey bg */
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.input:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(249, 122, 9, 0.1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-link {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  color: #0f172a;
  font-weight: 700;
  background: rgba(248, 250, 252, 0.8);
}

.mobile-cta-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}

.mobile-cta-item:hover {
  background: rgba(15, 23, 42, 0.03);
}

.footer-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--brand-light);
}

.booking-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 9999;
}

.booking-modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
}

.modal-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
  width: 92%;
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content.max-w-md {
  max-width: 28rem;
}

/* Mobile bottom bar spacing - prevent content from being hidden */
@media (max-width: 1023px) {
  body {
    padding-bottom: 56px; /* Height of mobile bottom CTA bar */
  }

  footer {
    margin-bottom: 0;
  }
}

/* Prevent horizontal overflow on mobile */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Mobile performance: backdrop-filter can cause scroll jank on iOS/low-end devices */
@media (max-width: 1023px) {
  .header-shell,
  .mobile-bottom-cta {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }
}

/* Ensure booking modal is scrollable on mobile */
@media (max-width: 640px) {
  .modal-content {
    width: 95%;
    max-height: 85vh;
    padding: 1rem;
  }

  .modal-content.max-w-md {
    max-width: 100%;
  }
}

iframe {
  border: none;
}
