
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --bg-soft: #f5f5f7;
  --accent: #0071e3;
  --border: rgba(0,0,0,.08);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 52px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 26px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 13px; opacity: .8; transition: opacity .2s ease; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-cta {
  font-size: 13px; background: var(--accent); color: #fff; padding: 7px 16px;
  border-radius: 980px; text-decoration: none; transition: opacity .2s ease;
}
.nav-cta:hover { opacity: .85; }

.nav-search { position: relative; }
.nav-search input {
  font-family: var(--font); font-size: 13px; border: 1px solid var(--border);
  background: var(--bg-soft); border-radius: 980px; padding: 6px 14px 6px 30px;
  width: 160px; transition: width .2s ease, background .2s ease; outline: none;
}
.nav-search input:focus { width: 220px; background: #fff; }
.nav-search::before {
  content: "\1F50D"; position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  font-size: 11px; opacity: .5; pointer-events: none;
}
.nav-search-results {
  position: absolute; top: calc(100% + 8px); right: 0; width: 320px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12); overflow: hidden; display: none; z-index: 60;
}
.nav-search-results.open { display: block; }
.nav-search-results a {
  display: block; padding: 10px 16px; text-decoration: none; color: var(--ink);
  font-size: 13.5px; border-bottom: 1px solid var(--border);
}
.nav-search-results a:last-child { border-bottom: none; }
.nav-search-results a:hover, .nav-search-results a.active-result { background: var(--bg-soft); }
.nav-search-results a .result-desc { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.nav-search-results .no-results { padding: 14px 16px; font-size: 13px; color: var(--muted); }
@media (max-width: 820px) {
  .nav-search input { width: 120px; }
  .nav-search input:focus { width: 150px; }
}

.nav-burger {
  display: none; background: #fff; border: 1px solid var(--border); cursor: pointer;
  width: 34px; height: 34px; padding: 0; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px; border-radius: 10px;
  position: absolute; top: 100%; right: 24px; margin-top: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,.08); z-index: 55;
}
.nav-burger span {
  display: block; width: 16px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile-menu {
  display: none; flex-direction: column;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 56px 24px 16px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  color: var(--ink); text-decoration: none; font-size: 15px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a.active { color: var(--accent); font-weight: 600; }

section { padding: 100px 24px; }
section.tight { padding: 60px 24px; }
.section-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.section-inner.wide { max-width: 1100px; }
.section-inner.left { text-align: left; }

.eyebrow {
  font-size: 15px; font-weight: 600; color: var(--accent);
  letter-spacing: -.01em; margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.05;
  margin: 0 0 20px;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600; letter-spacing: -.015em; line-height: 1.1;
  margin: 0 0 20px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600; letter-spacing: -.01em; line-height: 1.2;
  margin: 0 0 10px;
}
h4 {
  font-size: 1.05rem;
  font-weight: 600; letter-spacing: -.005em;
  margin: 24px 0 8px;
}
.lede {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted); line-height: 1.5; margin: 0 auto 32px;
  max-width: 640px; font-weight: 400;
}
.section-inner.left .lede { margin-left: 0; }

p { line-height: 1.65; color: var(--ink); }
.section-inner.left p, .section-inner.left li { color: var(--muted); }

.buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.section-inner.left .buttons { justify-content: flex-start; }
.btn {
  display: inline-block; text-decoration: none; font-size: 16px; font-weight: 500;
  padding: 12px 26px; border-radius: 980px; transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
  white-space: nowrap; border: none; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(0,113,227,.15); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,113,227,.2); }
.btn-secondary { background: var(--bg-soft); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.btn-secondary:hover { background: #ececed; transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,.06); }

.section-soft { background: var(--bg-soft); }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1000px; margin: 0 auto; text-align: left; }
.cols.narrow-right { grid-template-columns: 2fr 1fr; }

.triptych {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 1000px; margin: 0 auto; text-align: left;
}
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.08); border-color: rgba(0,0,0,.14); }
.card .icon { font-size: 28px; margin-bottom: 16px; display: block; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 0; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: transform .3s ease, background .3s ease;
}
.icon-badge svg { width: 26px; height: 26px; color: var(--accent); }
.card:hover .icon-badge { transform: scale(1.08) rotate(-4deg); background: color-mix(in srgb, var(--accent) 20%, #fff); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; text-align: left; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; text-align: left; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; text-align: left; }
.steps .num { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.steps h3 { font-size: 16px; }
.steps p { font-size: 14px; color: var(--muted); margin: 0; }

.grid3 .card p, .grid2 .card p { font-size: 14px; }

ul.plain { padding-left: 1.2em; margin: 0 0 20px; }
ul.plain li { margin-bottom: 6px; }

.quicklinks { display: flex; flex-direction: column; gap: 10px; }
.quicklinks a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border: 1px solid var(--border); border-radius: 14px;
  text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 500;
  background: #fff; transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.quicklinks a:hover { background: var(--bg-soft); border-color: rgba(0,0,0,.14); transform: translateX(2px); }
.quicklinks .ql-label { display: flex; align-items: center; gap: 12px; }
.quicklinks .ql-arrow { color: var(--accent); font-weight: 600; opacity: .7; transition: transform .2s ease; }
.quicklinks a:hover .ql-arrow { transform: translateX(3px); opacity: 1; }

.icon-badge-sm { width: 32px; height: 32px; border-radius: 10px; margin-bottom: 0; flex-shrink: 0; }
.icon-badge-sm svg { width: 17px; height: 17px; }

.card-link-btn {
  display: inline-block; margin-top: 4px; padding: 9px 18px;
  background: var(--bg-soft); color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 500; font-family: inherit; border-radius: 980px;
  border: none; cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.card-link-btn:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.paypal-form { margin: 0; }

.booking-modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 100; align-items: center; justify-content: center; padding: 20px;
}
.booking-modal-overlay.open { display: flex; }
.booking-modal {
  background: #fff; border-radius: 24px; max-width: 480px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: 32px; position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.booking-modal-close {
  position: absolute; top: 20px; right: 20px; background: var(--bg-soft);
  border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  font-size: 16px; color: var(--muted); line-height: 1;
}
.booking-modal-close:hover { background: #ececed; }
.booking-modal h3 { margin: 0 0 4px; }
.booking-modal .bm-summary { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 20px; }
.booking-modal label {
  display: block; font-size: 13px; font-weight: 500; color: var(--muted);
  margin: 14px 0 5px;
}
.booking-modal label.required::after { content: " *"; color: var(--accent); }
.booking-modal input, .booking-modal select, .booking-modal textarea {
  width: 100%; font-family: inherit; font-size: 14.5px; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg-soft);
  outline: none; transition: border-color .2s ease, background .2s ease;
  box-sizing: border-box;
}
.booking-modal input:focus, .booking-modal select:focus, .booking-modal textarea:focus {
  border-color: var(--accent); background: #fff;
}
.booking-modal textarea { resize: vertical; min-height: 70px; }
.booking-modal .bm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking-modal .bm-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.booking-modal .bm-actions .btn { width: 100%; text-align: center; }
.booking-modal .bm-hint { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; }
@media (max-width: 480px) {
  .booking-modal .bm-row { grid-template-columns: 1fr; }
}

.price-card .price { font-size: 2rem; font-weight: 600; letter-spacing: -.02em; color: var(--accent); margin: 4px 0 10px; }
.price-card p { margin-bottom: 16px; }

.statement {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.15;
  max-width: 820px; margin: 0 auto;
}
.statement .muted-inline { color: var(--muted); }

footer {
  border-top: 1px solid var(--border);
  padding: 56px 24px 32px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: left; margin-bottom: 40px;
}
.footer-grid h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--ink); text-decoration: none; font-size: 14px; opacity: .85; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }

table.legal { border-collapse: collapse; margin: 20px 0; }
table.legal td { padding: 2px 12px 2px 0; vertical-align: top; font-size: 14.5px; color: var(--muted); }
table.legal td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }

.accordion-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.accordion-item h3 { margin-bottom: 6px; }
.accordion-item a { color: var(--accent); font-size: 14px; text-decoration: none; }
.accordion-item a:hover { text-decoration: underline; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Staggered reveal for grid items */
.grid3 .card.reveal:nth-child(1), .grid2 .card.reveal:nth-child(1), .triptych .card.reveal:nth-child(1), .steps .step.reveal:nth-child(1) { transition-delay: 0s; }
.grid3 .card.reveal:nth-child(2), .grid2 .card.reveal:nth-child(2), .triptych .card.reveal:nth-child(2), .steps .step.reveal:nth-child(2) { transition-delay: .08s; }
.grid3 .card.reveal:nth-child(3), .grid2 .card.reveal:nth-child(3), .triptych .card.reveal:nth-child(3), .steps .step.reveal:nth-child(3) { transition-delay: .16s; }
.grid3 .card.reveal:nth-child(4), .steps .step.reveal:nth-child(4) { transition-delay: .24s; }
.grid3 .card.reveal:nth-child(5) { transition-delay: .32s; }
.grid3 .card.reveal:nth-child(6) { transition-delay: .4s; }
.grid3 .card.reveal:nth-child(7) { transition-delay: .48s; }
.grid3 .card.reveal:nth-child(8) { transition-delay: .56s; }
.grid3 .card.reveal:nth-child(9) { transition-delay: .64s; }
.grid3 .card.reveal:nth-child(10) { transition-delay: .72s; }
@media (prefers-reduced-motion: reduce) {
  .grid3 .card.reveal, .grid2 .card.reveal, .triptych .card.reveal, .steps .step.reveal { transition-delay: 0s !important; }
}

@media (max-width: 820px) {
  .triptych, .grid3, .grid2, .steps, .cols, .cols.narrow-right, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  section { padding: 64px 20px; }
}
