/* WSU — palette reused verbatim from Whooso's own brand tokens
   (invitation/templates/base.html). Standard card-based business-site
   layout (icon cards, pricing cards, testimonial cards, numbered steps)
   rather than an editorial/asymmetric composition. */
:root {
  --w-navy: #202c4a;
  --w-navy-deep: #17213a;
  --w-teal: #29afc4;
  --w-teal-tint: #e2f4f6;
  --w-teal-deep: #1c8c9d;
  --w-orange: #ef8b2e;
  --w-orange-tint: #fdead2;
  --w-orange-deep: #d3711a;
  --w-slate: #626c7a;
  --w-ground: #fbfbf9;
  --w-surface: #ffffff;
  --w-line: #e4e7eb;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-card: 0 12px 28px -18px rgba(32, 44, 74, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--w-surface);
  color: var(--w-navy);
  font-family: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
code {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  background: var(--w-teal-tint); color: var(--w-teal-deep);
  padding: 1px 6px; border-radius: 4px; font-size: 0.9em;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700; line-height: 1.2; margin: 0; color: var(--w-navy);
}
p { margin: 0; }
.accent { color: var(--w-orange-deep); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 84px 0; }
.section--tint { background: var(--w-ground); }

.eyebrow {
  font-family: "Space Grotesk", sans-serif; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--w-teal-deep);
  margin: 0 0 10px;
}
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-sub { color: var(--w-slate); margin-top: 12px; font-size: 1rem; }

/* -------------------------------------------------- */
/* Buttons                                              */
/* -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: 0.94rem;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  font-family: "Inter", sans-serif;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--w-navy); color: #fff; }
.btn-solid:hover { background: var(--w-navy-deep); }
.btn-line { border-color: var(--w-navy); color: var(--w-navy); }
.btn-line:hover { border-color: var(--w-orange-deep); color: var(--w-orange-deep); }
.btn-solid-inverse { background: var(--w-orange); color: var(--w-navy-deep); }
.btn-solid-inverse:hover { background: var(--w-orange-deep); color: #fff; }
.btn-line-inverse { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-line-inverse:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; }

/* -------------------------------------------------- */
/* Header                                                */
/* -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(251,251,249,0.95);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-color: var(--w-line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 28px; }

.brand {
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.15rem;
  letter-spacing: -0.01em; color: var(--w-navy); display: flex; flex-direction: column; line-height: 1.1;
}
.brand-sub {
  font-family: "Inter", sans-serif; font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--w-slate); margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.88rem; font-weight: 500; }
.nav-links a { opacity: 0.72; }
.nav-links a:hover { opacity: 1; color: var(--w-teal-deep); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.desktop-only { display: inline-flex; }

.nav-toggle {
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  width: 40px; height: 40px; border-radius: 8px; flex: none;
  border: 1px solid var(--w-line); background: #fff; cursor: pointer; padding: 0;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--w-navy); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 2px; padding: 10px 28px 20px;
  border-top: 1px solid var(--w-line); background: #fff;
}
.mobile-menu.open { display: flex; }
.mobile-menu .menu-link { padding: 13px 2px; font-size: 1rem; font-weight: 600; color: var(--w-navy); border-bottom: 1px solid var(--w-line); }
.mobile-menu .menu-link:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 14px; width: 100%; }

/* -------------------------------------------------- */
/* Hero — standard two-column split                     */
/* -------------------------------------------------- */
.hero { padding: 56px 0 64px; background: linear-gradient(180deg, #F0F4FC 0%, var(--w-surface) 65%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.25; margin: 10px 0 18px; }
.lead { font-size: 1.04rem; color: var(--w-slate); max-width: 48ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* photo placeholders — dashed frame + guidance, swapped for a real photo
   later; never a fake stock image standing in for real people */
.photo-placeholder {
  background: var(--w-surface); border: 2px dashed var(--w-teal); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; color: var(--w-navy); padding: 24px; aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
}
.photo-placeholder svg { width: 32px; height: 32px; color: var(--w-teal-deep); }
.photo-placeholder .ph-title { font-weight: 700; font-size: 0.92rem; }
.photo-placeholder .ph-hint { font-size: 0.76rem; color: var(--w-slate); max-width: 24ch; }

/* Real photo frame — rounded corners + shadow so a real <img> matches the
   rest of the site's card language instead of sitting as a bare rectangle */
.about-photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3; background: var(--w-ground);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* -------------------------------------------------- */
/* Trust strip                                          */
/* -------------------------------------------------- */
.trust-strip { border-top: 1px solid var(--w-line); border-bottom: 1px solid var(--w-line); background: var(--w-ground); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; padding: 22px 28px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 600; color: var(--w-navy); }
.trust-item svg { width: 18px; height: 18px; color: var(--w-teal-deep); flex: none; }

/* -------------------------------------------------- */
/* Generic 3-up card grid (services / work / reviews)   */
/* -------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.feature-card { border: 1px solid var(--w-line); border-radius: var(--radius-md); padding: 28px 24px; background: var(--w-surface); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.feature-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.feature-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--w-teal-tint); color: var(--w-teal-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--w-slate); font-size: 0.92rem; }

/* -------------------------------------------------- */
/* Work — uniform cards, not masonry                    */
/* -------------------------------------------------- */
.work-card { display: block; border: 1px solid var(--w-line); border-radius: var(--radius-md); overflow: hidden; background: var(--w-surface); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.work-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.work-visual { aspect-ratio: 16 / 11; overflow: hidden; background: var(--w-ground); }
.work-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-body { padding: 18px 20px; }
.work-tag {
  display: inline-block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--w-teal-deep); background: var(--w-teal-tint); border-radius: 999px; padding: 4px 10px; margin-bottom: 10px;
}
.work-body h3 { font-size: 1.02rem; margin-bottom: 4px; }
.work-industry { color: var(--w-slate); font-size: 0.86rem; }

/* -------------------------------------------------- */
/* How it works — 4-up numbered step cards               */
/* -------------------------------------------------- */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { border: 1px solid var(--w-line); border-radius: var(--radius-md); padding: 26px 22px; background: var(--w-surface); text-align: center; }
.step-num {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--w-navy); color: #fff; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 0.94rem;
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { color: var(--w-slate); font-size: 0.88rem; }

/* -------------------------------------------------- */
/* Plans — 3-up pricing-style cards                      */
/* -------------------------------------------------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan-card { position: relative; border: 1px solid var(--w-line); border-radius: var(--radius-lg); padding: 30px 26px; background: var(--w-surface); }
.plan-card--highlight { border-color: var(--w-navy); box-shadow: var(--shadow-card); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--w-navy); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.plan-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan-features li { position: relative; padding-left: 22px; font-size: 0.9rem; color: var(--w-navy); line-height: 1.45; }
.plan-features li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--w-teal-deep); font-weight: 700; }
.plans-note { margin-top: 26px; color: var(--w-slate); font-size: 0.92rem; text-align: center; }
.plans-note a { color: var(--w-teal-deep); font-weight: 600; text-decoration: underline; }

/* -------------------------------------------------- */
/* About                                                 */
/* -------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.about-copy h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 10px 0 16px; }
.about-copy p { color: var(--w-slate); font-size: 1rem; }

/* -------------------------------------------------- */
/* Reviews — 3-up cards with avatar                      */
/* -------------------------------------------------- */
.review-card { border: 1px solid var(--w-line); border-radius: var(--radius-md); padding: 24px 22px; background: var(--w-surface); }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--w-navy), var(--w-teal-deep)); color: #fff; font-weight: 700; font-size: 0.9rem;
  font-family: "Space Grotesk", sans-serif;
}
.review-name { font-weight: 700; font-size: 0.9rem; color: var(--w-navy); }
.review-handle { font-size: 0.78rem; color: var(--w-slate); }
.review-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; }
.stars-track { color: var(--w-line); }
.stars-fill {
  position: absolute; top: 0; left: 0; width: var(--pct, 0%); overflow: hidden; white-space: nowrap;
  color: var(--w-orange-deep);
}
.rating-num { font-size: 0.78rem; font-weight: 700; color: var(--w-slate); }
.review-quote { font-size: 0.9rem; line-height: 1.55; color: var(--w-navy); margin: 0; }

/* -------------------------------------------------- */
/* Final CTA                                             */
/* -------------------------------------------------- */
.cta-band { background: var(--w-navy); color: #fff; padding: 76px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); max-width: 20ch; margin: 0 auto 26px; }
.cta-band .hero-cta { justify-content: center; margin-top: 0; }

/* -------------------------------------------------- */
/* Contact                                               */
/* -------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.contact h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 10px 0 12px; }
.contact-info { display: flex; gap: 36px; margin-top: 30px; flex-wrap: wrap; }
.contact-info .label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--w-slate); margin-bottom: 4px; }
.contact-info a, .contact-info span:not(.label) { font-weight: 600; font-size: 1rem; color: var(--w-navy); }
.contact-info a:hover { color: var(--w-teal-deep); }

.contact-form { border: 1px solid var(--w-line); border-radius: var(--radius-lg); padding: 30px; background: var(--w-surface); box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--w-navy); margin-bottom: 6px; }
.form-field .optional { font-weight: 400; color: var(--w-slate); }
.form-field input, .form-field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--w-line); border-radius: 8px;
  font-family: inherit; font-size: 0.96rem; color: var(--w-navy); background: var(--w-surface);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--w-teal); }
.form-field textarea { resize: vertical; min-height: 80px; }
.form-note { margin-top: 14px; font-size: 0.88rem; color: var(--w-teal-deep); font-weight: 600; min-height: 1.2em; }

/* -------------------------------------------------- */
/* Footer                                                */
/* -------------------------------------------------- */
.site-footer { background: var(--w-navy-deep); color: rgba(255,255,255,0.82); padding: 52px 0 0; }
.footer-top { padding-bottom: 30px; }
.brand--footer { color: #fff; font-size: 1.6rem; }
.brand--footer .brand-sub { color: rgba(255,255,255,0.5); }
.footer-tagline { margin-top: 10px; color: rgba(255,255,255,0.55); font-size: 0.94rem; }
.footer-links {
  display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.88rem;
  padding: 22px 28px; border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 28px; display: flex;
  justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.8rem; color: rgba(255,255,255,0.45);
}

/* -------------------------------------------------- */
/* Scroll reveal — subtle, respects reduced motion       */
/* -------------------------------------------------- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .reveal.in-view { opacity: 1; transform: none; }
}

/* -------------------------------------------------- */
/* Responsive                                            */
/* -------------------------------------------------- */
@media (max-width: 1024px) {
  .wrap { padding: 0 24px; }
  .section { padding: 68px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-photo { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 700px) {
  .card-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .wrap { padding: 0 18px; }
  .nav-row { padding: 14px 18px; }
  .hero { padding-top: 40px; }
  .hero-cta, .cta-band .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .cta-band .btn { width: 100%; }
  .contact-form { padding: 22px; }
  .footer-links { flex-direction: column; gap: 12px; }
  .footer-bottom { flex-direction: column; }
}
