/* Iscale: shared site styles */

*, *::before, *::after { box-sizing: border-box; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--text-display); font-weight: 800; }
h2 { font-size: var(--text-3xl); font-weight: 700; }
h3 { font-size: var(--text-xl); font-weight: 700; }
h4 { font-size: var(--text-lg); font-weight: 600; }

p { margin: 0 0 var(--sp-4); max-width: var(--measure); }
p.lede { font-size: var(--text-lg); color: var(--ink-soft); }

a { color: inherit; }
img, svg { max-width: 100%; display: block; }

em.accent-word { font-style: italic; font-family: var(--font-serif); color: var(--muted-2); font-weight: 500; }
strong.accent { color: var(--accent); font-weight: 700; font-style: normal; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}
@media (max-width: 640px) {
  .wrap { width: min(1180px, 100% - 32px); }
}

.section { padding-block: var(--sp-24); }
.section--tight { padding-block: var(--sp-16); }
/* Site is white throughout; --dark is reserved for the Ultimate Package
   card only, matching the reference screenshots. */
.section--alt { background: var(--canvas); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.bg-grid {
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out-quart), background var(--dur-mid) var(--ease-out-quart), box-shadow var(--dur-mid) var(--ease-out-quart);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--dark-alt); box-shadow: 0 8px 24px oklch(0.19 0.02 260 / 0.28); }

.btn-accent { background: var(--accent); color: var(--paper); }
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 8px 24px oklch(0.47 0.17 27 / 0.35); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-soft); }

.btn-on-dark { background: var(--on-dark); color: var(--fixed-ink); }
.btn-on-dark:hover { background: var(--on-dark-muted); }

.btn-link {
  background: none; border: none; padding: 0; cursor: pointer;
  font-weight: 600; font-size: var(--text-sm); color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: var(--sp-1);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-out-quart), color var(--dur-fast);
}
.btn-link:hover { color: var(--ink); border-color: var(--ink); }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn[disabled]:hover { transform: none; box-shadow: none; }

/* ---------- Nav ---------- */
.nav-shell {
  position: sticky;
  top: var(--sp-4);
  z-index: 40;
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-6);
  box-shadow: 0 12px 32px oklch(0.22 0.02 260 / 0.08);
}
.nav-logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
  margin: 0; padding: 0;
}
/* :not(.btn) keeps this from overriding the CTA button's own colors now
   that the CTA lives inside .nav-links as its last list item. */
.nav-links a:not(.btn) {
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  transition: color var(--dur-fast) var(--ease-out-quart);
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn)[aria-current="page"],
.nav-links a:not(.btn).is-active { color: var(--ink); }
.nav-cta-item { margin-left: var(--sp-2); }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-2);
    position: fixed;
    top: calc(72px + var(--sp-4));
    left: 16px; right: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    box-shadow: 0 16px 40px oklch(0.22 0.02 260 / 0.14);
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
  }
  body.nav-open .nav-links a:not(.btn) {
    display: block;
    padding-block: var(--sp-3);
    font-size: var(--text-lg);
  }
  body.nav-open .nav-links .nav-cta-item {
    margin-left: 0;
    margin-top: var(--sp-2);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--line-soft);
  }
  body.nav-open .nav-links .nav-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  padding-block: var(--sp-24) var(--sp-16);
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: var(--sp-12); padding-block: var(--sp-16); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-pill);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--sp-6);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex: none;
}
.badge-dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse-ring 2.2s var(--ease-out-quart) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .badge-dot::after { animation: none; opacity: 0.5; }
}
@keyframes pulse-ring {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero h1 { margin-bottom: var(--sp-6); }
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
  flex-wrap: wrap;
}

/* Hero visual: illustrative campaign snapshot (no stock photography).
   White card with a soft shadow, matching the reference screenshots'
   light hero treatment rather than a dark panel. */
.snapshot-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 24px 48px oklch(0.22 0.02 260 / 0.1);
}
.snapshot-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 15%, oklch(0.47 0.17 27 / 0.08), transparent 55%);
  pointer-events: none;
}
.snapshot-label {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-6);
}
.snapshot-chart {
  width: 100%;
  height: 120px;
  margin-bottom: var(--sp-6);
}
.snapshot-chart path.fill { fill: oklch(0.47 0.17 27 / 0.12); }
.snapshot-chart path.line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.snapshot-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.snapshot-stat {
  background: var(--canvas-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
}
.snapshot-stat .num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--ink);
}
.snapshot-stat .cap {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 2px;
}
.snapshot-footnote {
  font-size: var(--text-xs);
  color: var(--muted-2);
  margin-top: var(--sp-6);
  margin-bottom: 0;
}

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}

/* ---------- Pricing cards ---------- */
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card--featured {
  border-color: var(--accent-soft-line);
  box-shadow: 0 0 0 1px var(--accent-soft-line), 0 20px 40px oklch(0.47 0.17 27 / 0.12);
}
.price-card--featured h4 { color: var(--accent); }
.price-card--dark {
  background: var(--dark);
  color: var(--on-dark);
  border-color: var(--dark-line);
}
.price-card--dark h4, .price-card--dark .price { color: var(--on-dark); }
.price-card--dark .price .amount { color: var(--on-dark); }
.price-card--dark .price .term { color: var(--on-dark-muted); }
.price-card--dark p { color: var(--on-dark-muted); }
.price-card--dark .check { color: var(--accent); }

.pill-badge {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  background: var(--accent);
  color: var(--on-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-1) var(--sp-2);
  margin: var(--sp-2) 0 var(--sp-4);
}
.price .amount { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; }
.price .term { font-size: var(--text-sm); color: var(--muted); }

.feature-list { list-style: none; margin: var(--sp-4) 0 var(--sp-8); padding: 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: var(--sp-2);
  font-size: var(--text-sm); color: var(--ink-soft);
  padding-block: 6px;
}
.feature-list .check { color: var(--accent); flex: none; margin-top: 2px; }
.price-card > .btn { margin-top: auto; justify-content: center; }
.price-card-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: auto;
}
.price-card-actions .btn { justify-content: center; }
.price-card-actions .btn-link { align-self: center; margin-top: 2px; }
.price-card--dark .price-card-actions .btn-link { color: var(--on-dark-muted); }
.price-card--dark .price-card-actions .btn-link:hover { color: var(--on-dark); border-color: var(--on-dark); }
.price-card--dark .price-card-actions .btn-ghost {
  border-color: var(--dark-line);
  color: var(--on-dark);
}
.price-card--dark .price-card-actions .btn-ghost:hover {
  border-color: var(--on-dark-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: var(--sp-16);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--sp-8);
}
.footer-meta { font-size: var(--text-sm); color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; row-gap: var(--sp-3); column-gap: var(--sp-6); list-style: none; padding: 0; margin: 0; }
.footer-links a { text-decoration: none; font-size: var(--text-sm); color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-email {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.footer-email:hover { color: var(--accent); }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-entrance) var(--ease-out-quart), transform var(--dur-entrance) var(--ease-out-quart);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Booking widget ---------- */
.booking {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
}
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .booking { padding: var(--sp-4); gap: var(--sp-8); } }

.cal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--sp-4);
  font-weight: 700;
}
.cal-nav-btn {
  background: var(--canvas-alt);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex: none;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}
.cal-grid .dow { font-size: var(--text-xs); color: var(--muted-2); font-weight: 600; padding-block: 6px; }
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: var(--text-sm);
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink);
}
.cal-day:disabled { color: var(--muted-2); cursor: default; }
.cal-day:not(:disabled):hover { background: var(--canvas-alt); }
.cal-day[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); margin-top: var(--sp-6); }
.time-slot {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-2);
  min-height: 44px;
  font-size: var(--text-sm);
  background: var(--paper);
  cursor: pointer;
  text-align: center;
}
@media (max-width: 400px) {
  .time-grid { grid-template-columns: repeat(2, 1fr); }
}
.time-slot:hover { border-color: var(--ink-soft); }
.time-slot[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.field textarea { resize: vertical; min-height: 96px; }

.form-note { font-size: var(--text-xs); color: var(--muted-2); margin-top: var(--sp-2); }
.form-status { font-size: var(--text-sm); margin-top: var(--sp-4); display: none; }
.form-status.is-visible { display: block; }

/* ---------- Misc content pages ---------- */
.legal h2 { margin-top: var(--sp-12); }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.25em; }

.icon-row { display: flex; align-items: center; gap: var(--sp-2); }
.check-icon, .arrow-icon { width: 18px; height: 18px; flex: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }
