/* ==========================================================================
   Design tokens — pulled from the JB Minani mockups (navy + gold, serif/sans)
   ========================================================================== */
:root {
  --color-navy: #13294b;
  --color-navy-dark: #0f1f3d;
  --color-navy-light: #1c3a63;
  --color-gold: #c99a45;
  --color-gold-light: #d4a94a;
  --color-cream: #faf7f2;
  --color-white: #ffffff;
  --color-text: #2b2e33;
  --color-text-muted: #6b7280;
  --color-border: #e7e2d8;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 10px 30px rgba(15, 31, 61, 0.08);
  --shadow-card-hover: 0 16px 40px rgba(15, 31, 61, 0.14);

  --container-width: 1320px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-navy-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
  color: var(--color-text);
}
a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}
.section--cream {
  background: var(--color-cream);
}
.section--navy {
  background: var(--color-navy-dark);
  color: var(--color-white);
}
.section--navy h2,
.section--navy h3 {
  color: var(--color-white);
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-title-underline {
  width: 64px;
  height: 3px;
  background: var(--color-gold);
  margin: 0 auto 2rem;
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  background: var(--color-navy-dark);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-white);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
}
.brand-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand-text .brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--color-white);
  font-size: 0.92rem;
  opacity: 0.85;
}
.main-nav a.active,
.main-nav a:hover {
  opacity: 1;
  color: var(--color-gold-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lang-switch {
  display: flex;
  gap: 0.35rem;
  font-size: 0.85rem;
}
.lang-switch a {
  text-decoration: none;
  color: var(--color-white);
  opacity: 0.6;
}
.lang-switch a.active {
  opacity: 1;
  color: var(--color-gold-light);
  font-weight: 600;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-navy {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn-navy:hover {
  background: var(--color-navy-light);
}
.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy-dark);
}
.btn-gold:hover {
  background: var(--color-gold-light);
}
.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-navy);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Cards (services, packages, testimonials-as-cards)
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.card h3 {
  margin-bottom: 0.25rem;
}
.card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-top: 1px dashed var(--color-border);
  padding-top: 0.85rem;
  margin-top: auto;
}
.card-price {
  font-weight: 700;
  color: var(--color-navy-dark);
  font-size: 1.1rem;
}
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ==========================================================================
   Icon circles
   ========================================================================== */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.icon-circle--navy {
  background: var(--color-navy);
  color: var(--color-white);
}
.icon-circle--gold {
  background: var(--color-gold);
  color: var(--color-navy-dark);
}
.icon-circle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Numbered step process
   ========================================================================== */
.step-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 2rem;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  z-index: 2;
}
.step-icon--navy {
  background: var(--color-navy-dark);
}
.step-icon--gold {
  background: #c5a059;
}
.step-icon-circle svg {
  width: 28px;
  height: 28px;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  width: 100%;
  border-top: 2px dotted #ccd0d7;
  z-index: 1;
}

.step h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step-title--navy {
  color: var(--color-navy);
}
.step-title--gold {
  color: #c5a059;
}

.step p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #555555;
  margin: 0;
  max-width: 240px;
}

/* ==========================================================================
   Trust badges strip (repeated on every page)
   ========================================================================== */
.trust-badges {
  background: var(--color-cream);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
}
.trust-badges .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.trust-badge .icon-circle {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}
.trust-badge h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.trust-badge p {
  font-size: 0.82rem;
  margin: 0;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-dark {
  background: var(--color-navy-dark);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}
.testimonial-dark .quote-mark {
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
}
.testimonial-dark .stars {
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin-top: 0.75rem;
}
.testimonial-dark .author {
  margin-top: 0.5rem;
  opacity: 0.75;
  font-size: 0.9rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* Phone field: country picker + national number reading as one control. */
.phone-input {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}
.phone-input input[type='tel'] {
  flex: 1 1 auto;
  min-width: 0;
}
.country-select {
  position: relative;
  flex: 0 0 auto;
}
.country-select-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  padding: 0.7rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-navy);
  cursor: pointer;
  white-space: nowrap;
}
.country-select-trigger:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}
.country-select-dial {
  font-weight: 600;
}
.country-select-caret {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}
/* Emoji flags: keep them on a font that actually has the glyphs, and stop the
   two-letter fallback on Windows from reflowing the row. */
.country-flag {
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 1.05rem;
  line-height: 1;
  min-width: 1.5em;
}
.country-select-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  width: 20rem;
  max-width: calc(100vw - 3rem);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}
.country-select-search {
  padding: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.country-select-search input {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.country-select-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  max-height: 15rem;
  overflow-y: auto;
}
.country-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.country-option.is-active {
  background: var(--color-cream);
}
.country-option[aria-selected='true'] .country-option-name {
  font-weight: 600;
}
.country-option-name {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.country-option-dial {
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}
.country-option.is-empty {
  color: var(--color-text-muted);
  cursor: default;
  justify-content: center;
}
.form-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 2rem;
}
.alert {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}
.alert-success {
  background: #eaf6ec;
  color: #1f6e33;
  border: 1px solid #bfe3c6;
}
.alert-error {
  background: #fbeaea;
  color: #9b2c2c;
  border: 1px solid #f1c2c2;
}
.alert-info {
  background: var(--color-cream);
  color: var(--color-navy-dark);
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   Slot picker
   ========================================================================== */
.slot-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.slot-day-heading {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border);
}
.slot-day-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.slot-option {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  background: var(--color-white);
  font-size: 0.9rem;
  transition: border-color 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}
.slot-option-time {
  display: block;
  font-weight: 600;
  color: var(--color-navy-dark);
}
.slot-option-duration {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
}
.slot-option:hover {
  border-color: var(--color-gold);
  background-color: var(--color-cream);
}
.slot-option.selected {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.slot-option.selected .slot-option-time {
  color: var(--color-white);
}
.slot-option.selected .slot-option-duration {
  color: rgba(255, 255, 255, 0.75);
}
.slot-option[aria-busy="true"] {
  opacity: 0.6;
  cursor: wait;
}

@media (max-width: 640px) {
  .slot-day-items {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .slot-day-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Booking wizard: step indicator, panels, order summary, hold countdown
   ========================================================================== */
.booking-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 2rem 0 2.25rem;
}
.booking-step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.booking-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  width: 100%;
  border-top: 2px dashed var(--color-border);
  z-index: 1;
}
.booking-step.is-done:not(:last-child)::after {
  border-top-style: solid;
  border-top-color: var(--color-gold);
}
.booking-step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  position: relative;
  z-index: 2;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.booking-step-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 600;
}
.booking-step.is-active .booking-step-circle {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}
.booking-step.is-active .booking-step-label {
  color: var(--color-navy-dark);
}
.booking-step.is-done .booking-step-circle {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy-dark);
  font-size: 0;
}
.booking-step.is-done .booking-step-circle::after {
  content: "✓";
  font-size: 1.1rem;
  font-weight: 700;
}
.booking-step.is-done {
  cursor: pointer;
}
.booking-step.is-done .booking-step-label {
  color: var(--color-navy);
}

.step-panel[hidden] {
  display: none;
}
.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}
.order-summary-card {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}
.order-summary-card h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}
.order-summary-card p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
  color: var(--color-navy-dark);
}
.hold-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}
.hold-countdown.is-expired {
  background: #fbeaea;
  color: #9b2c2c;
  border-color: #f1c2c2;
}
.payment-processing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  z-index: 5;
}
.payment-processing-overlay[hidden] {
  display: none;
}
.payment-processing-overlay .spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-navy);
  animation: booking-spin 0.7s linear infinite;
}
@keyframes booking-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 580px) {
  .booking-step-label {
    font-size: 0.7rem;
  }
  .step-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.5rem 0;
  font-size: 0.82rem;
  text-align: center;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center {
  text-align: center;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 2rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* ==========================================================================
   Home hero (photo hero, distinct from .hero-grid used elsewhere)
   ========================================================================== */
.hero {
  position: relative;
  overflow: visible;
  background: var(--color-white);
  z-index: 2;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(280px, 0.85fr);
  align-items: stretch;
  min-height: clamp(580px, 70vh, 660px);
}
.hero-content {
  padding: 2rem 1.5rem 3rem max(1.5rem, calc((100vw - var(--container-width)) / 2 + 1.5rem));
  max-width: 660px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-content h1 {
  max-width: 620px;
  font-size: clamp(2.35rem, 3.8vw, 3.25rem);
  line-height: 1.08;
  margin-bottom: 0.3em;
}
.hero-content > p {
  font-size: 1rem;
  margin-bottom: 0.75em;
}
.hero-divider {
  width: 64px;
  height: 3px;
  background: var(--color-gold);
  margin: 0.6rem 0 0.9rem;
  border-radius: 2px;
}
.hero-value-prop {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
  align-items: flex-start;
}
.hero-value-prop strong {
  display: block;
  font-size: 1.02rem;
}
.hero-value-prop p {
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}
.link-chevron {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: none;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    var(--color-white) 0%,
    rgba(255, 255, 255, 0.75) 15%,
    rgba(255, 255, 255, 0) 38%
  );
  pointer-events: none;
}

.hero-stats-container {
  position: relative;
  z-index: 10;
  height: 0;
}
.hero-stats {
  position: relative;
  top: -3.2rem;
  margin-left: auto;
  width: min(640px, 62%);
  background: var(--color-navy-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(15, 30, 54, 0.22);
  display: flex;
  padding: 1.1rem 1.25rem;
  color: rgba(255, 255, 255, 0.75);
}
.hero-stats > div {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stats > div:last-child {
  border-right: none;
}
.hero-stat-icon {
  display: flex;
  justify-content: center;
  color: var(--color-gold-light);
}
.hero-stat-icon svg {
  width: 22px;
  height: 22px;
}
.hero-stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-gold-light);
}

.hero-stats {
  display: flex;
  gap: 2rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stat-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-stat-top strong {
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-stat-label {
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.hero-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stat-icon svg {
  width: 22px;
  height: 22px;
}

#services {
  padding-top: 6.5rem;
  padding-bottom: 5rem;
}

.section--white {
  background: #ffffff;
  padding: 5rem 0;
}

/* Home 5-card Services Grid */
.home-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

.home-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 2.25rem 1.25rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.home-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.home-card .card-meta {
  width: 100%;
  margin-top: auto;
}

.home-card .card-actions {
  width: 100%;
  margin-top: 0.75rem;
}

.card-icon-wrapper {
  margin-bottom: 1.25rem;
}

.home-card-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-navy);
  margin-bottom: 0.85rem;
  text-align: center;
}

.home-card-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #555555;
  margin: 0;
  text-align: center;
}

.stats-strip {
  background: var(--color-navy-dark);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  text-align: center;
}
.stats-strip strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-gold-light);
}
.badge-popular {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Admin (functional, not marketing-styled)
   ========================================================================== */
.admin-shell {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 220px;
  background: var(--color-navy-dark);
  color: #fff;
  padding: 1.5rem 1rem;
  flex-shrink: 0;
}
.admin-sidebar a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.admin-sidebar a.active,
.admin-sidebar a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.admin-main {
  flex: 1;
  padding: 2rem;
  background: var(--color-cream);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.admin-table th {
  background: var(--color-navy);
  color: #fff;
  font-weight: 600;
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.pill {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.pill-open,
.pill-new,
.pill-paid {
  background: #eaf6ec;
  color: #1f6e33;
}
.pill-held,
.pill-read {
  background: #fff4e0;
  color: #92610e;
}
.pill-booked,
.pill-replied {
  background: #e7eefa;
  color: #1d4ed8;
}
.pill-cancelled,
.pill-failed {
  background: #fbeaea;
  color: #9b2c2c;
}
/* Details captured at step 2, never paid — a lead, not a booking. */
.pill-draft {
  background: #f0f0f2;
  color: #55555f;
}

/* ==========================================================================
   Admin: dashboard — range tabs, stat cards, revenue chart, funnel, pager
   ========================================================================== */
.range-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.range-tabs a {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}
.range-tabs a.active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.1rem 1.25rem;
}
.stat-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--color-navy-dark);
}
.stat-card span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--color-text);
}
.stat-card em {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-style: normal;
  color: var(--color-text-muted);
}

/* A white card for the two chart-bearing sections; the tables bring their own. */
.panel {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.25rem 1.5rem 1.5rem;
  margin-bottom: 1.5rem;
}
.panel-plain {
  margin-bottom: 2rem;
}
.panel h2,
.panel-plain h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* One series, so one hue and no legend — the heading names it. Height is set inline
   as a percentage of the tallest bar; everything else is here. */
.chart-scale {
  border-bottom: 1px dashed var(--color-border);
  text-align: right;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  padding-bottom: 0.2rem;
  margin-bottom: -1px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 180px;
  border-bottom: 1px solid var(--color-border);
}
.chart-col {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.chart-bar {
  width: 100%;
  min-height: 1px;
  background: var(--color-navy);
  border-radius: 4px 4px 0 0;
}
.chart-col:hover .chart-bar {
  background: var(--color-navy-light);
}
/* Sits just above the tallest bar; the label wears text ink, never the series color. */
.chart-peak {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}
.chart-axis {
  display: flex;
  gap: 2px;
  margin-top: 0.4rem;
}
.chart-axis span {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.funnel-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.funnel-label {
  width: 150px;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.funnel-track {
  flex: 1;
  height: 18px;
  background: var(--color-cream);
  border-radius: 4px;
  overflow: hidden;
}
.funnel-fill {
  display: block;
  height: 100%;
  min-width: 2px;
  background: var(--color-navy);
  border-radius: 4px;
}
.funnel-value {
  width: 110px;
  flex-shrink: 0;
  text-align: right;
  font-size: 0.85rem;
}
.funnel-value em {
  font-style: normal;
  color: var(--color-text-muted);
}
.funnel-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
}

.pager {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.pager a {
  color: var(--color-navy);
}
.pager-off {
  opacity: 0.35;
}

@media (max-width: 720px) {
  .funnel-label {
    width: 100px;
  }
  .funnel-value {
    width: 90px;
  }
}

/* ==========================================================================
   Admin: timezone pill, agenda list, ellipsis popover, slide-over drawer,
   duration chips
   ========================================================================== */
.tz-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}
.tz-pill select {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--color-navy);
  font-weight: 600;
  cursor: pointer;
  padding: 0.1rem 0.2rem;
}
.tz-pill select:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.agenda-day-heading {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border);
}
.agenda-day-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.agenda-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.agenda-row:hover,
.agenda-row:focus-within {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-card);
}
.agenda-row-time {
  font-weight: 600;
  color: var(--color-navy-dark);
  min-width: 80px;
}
.agenda-row-duration {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
.agenda-row-status {
  margin-left: auto;
}
.agenda-empty {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Ellipsis quick-action popover */
.slot-menu-wrap {
  position: relative;
  flex-shrink: 0;
}
.slot-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.agenda-row:hover .slot-menu-trigger,
.agenda-row:focus-within .slot-menu-trigger,
.slot-menu-trigger[aria-expanded="true"] {
  opacity: 1;
}
.slot-menu-trigger:hover {
  background: var(--color-cream);
}
.slot-menu-trigger svg {
  width: 18px;
  height: 18px;
}
@media (hover: none) {
  .slot-menu-trigger {
    opacity: 1;
  }
}
.slot-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 160px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card-hover);
  padding: 0.35rem;
  z-index: 20;
}
.slot-menu[hidden] {
  display: none;
}
.slot-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.65rem;
  border: none;
  background: none;
  font-size: 0.88rem;
  font-family: var(--font-body);
  border-radius: 4px;
  cursor: pointer;
  color: var(--color-text);
}
.slot-menu-item:hover,
.slot-menu-item:focus {
  background: var(--color-cream);
}
.slot-menu-item--danger {
  color: #9b2c2c;
}
.slot-menu-item--danger:hover,
.slot-menu-item--danger:focus {
  background: #fbeaea;
}

/* Slide-over drawer (Add/Edit slot) */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 61, 0.45);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.drawer-backdrop[hidden] {
  display: none;
}
.drawer-backdrop.is-open {
  opacity: 1;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 100vw);
  background: var(--color-white);
  box-shadow: var(--shadow-card-hover);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.drawer[hidden] {
  display: none;
}
.drawer.is-open {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.drawer-header h3 {
  font-family: var(--font-heading);
}
.drawer-close {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-text-muted);
  padding: 0.25rem;
}
.drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}
@media (max-width: 480px) {
  .drawer {
    width: 100vw;
  }
}

/* Duration quick-select chips */
.chip-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy-dark);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip:hover {
  border-color: var(--color-gold);
}
.chip.selected {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}
.chip-duration-custom-input {
  margin-top: 0.6rem;
}
.chip-duration-custom-input[hidden] {
  display: none;
}

@media (max-width: 1200px) {
  .home-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: none;
  }
  .hero-media {
    height: 340px;
    order: -1;
  }
  .hero-media::before {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 60%,
      var(--color-white) 100%
    );
  }
  .hero-content {
    padding: 2.5rem 1.5rem;
    max-width: none;
  }
  .hero-content h1 {
    max-width: none;
  }
  .hero-stats-container {
    height: auto;
    margin-top: 1.5rem;
  }
  .hero-stats {
    position: static;
    top: 0;
    flex-direction: column;
    margin-top: 0;
    margin-left: 0;
    width: 100%;
    border-radius: var(--radius-md);
  }
  .hero-stats > div {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem 0;
  }
  .hero-stats > div:last-child {
    border-bottom: none;
  }
  #services {
    padding-top: 3.5rem;
  }

  .home-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-process {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
  .step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 580px) {
  .home-card-grid {
    grid-template-columns: 1fr;
  }
  .step-process {
    grid-template-columns: 1fr;
  }
}
