:root {
  /* the single-color logo, used as a CSS mask so it takes the text color */
  --logo: url(/images/logo-mask.png);
  --ink: #0d1b2a;
  --ink-soft: #3d4b5c;
  --muted: #6b7889;
  --bg: #f7f8f6;
  --surface: #ffffff;
  --line: #e3e7ea;
  --sky: #2f7fc1;
  --sky-deep: #1d5f97;
  --sky-tint: #e8f2fa;
  --navy: #0f2236;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(13,27,42,.04), 0 8px 24px rgba(13,27,42,.06);
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 62ch; }
section { padding: 112px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, background .15s, border-color .15s; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sky); color: #fff; }
.btn-primary:hover { background: var(--sky-deep); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn svg { width: 18px; height: 18px; }

/* Header */
header.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
header.nav.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: Fraunces, serif; font-size: 1.3rem; font-weight: 600; }
.logo-img { display: block; height: 58px; aspect-ratio: 1594 / 420; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; transition: background-color .25s; }
footer .logo-img { height: 72px; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #8cc7f0, var(--sky)); display: grid; place-items: center; }
.logo-mark svg { width: 20px; height: 20px; }
.nav.scrolled .logo, .nav.scrolled .nav-links a { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(255,255,255,.9); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a:hover { color: var(--sky); }
.nav-links .btn { padding: 10px 18px; color: #fff !important; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav.scrolled .menu-btn { color: var(--ink); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; padding: 140px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--hero-bg) center 30% / cover no-repeat; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,24,40,.88) 0%, rgba(10,24,40,.65) 50%, rgba(10,24,40,.35) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero .eyebrow { color: #9fd0f5; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); max-width: 14ch; }
.hero h1 em { font-style: italic; font-weight: 400; color: #bfe1fb; }
.hero .lead { color: rgba(255,255,255,.85); margin: 24px 0 36px; max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 56px; font-size: .92rem; color: rgba(255,255,255,.85); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: #9fd0f5; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.hero-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 22%; border-radius: 22px; border: 6px solid rgba(255,255,255,.92); box-shadow: 0 30px 60px rgba(0,0,0,.35); rotate: 2deg; }
.hero-photo .chip { position: absolute; left: -28px; bottom: 36px; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.hero-photo .chip svg { flex: none; width: 30px; height: 30px; color: var(--sky); }
.hero-photo .chip b { display: block; font-size: .95rem; line-height: 1.3; }
.hero-photo .chip span { font-size: .82rem; color: var(--muted); }

/* Stats */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: Fraunces, serif; font-size: 2.4rem; font-weight: 600; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Services */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .lead { max-width: 46ch; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--sky-tint); color: var(--sky); display: grid; place-items: center; margin-bottom: 22px; }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .tag { display: inline-block; margin-top: 18px; font-size: .82rem; font-weight: 600; color: var(--sky-deep); background: var(--sky-tint); padding: 5px 12px; border-radius: 999px; }
.card.wide { grid-column: span 2; }
.card.feature { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.card.feature .body { padding: 36px; }
.card.feature img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

/* Plans */
.plans { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.plans::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; background: radial-gradient(circle, rgba(47,127,193,.35), transparent 65%); }
.plans .wrap { position: relative; }
.plans .eyebrow { color: #9fd0f5; }
.plans .lead { color: rgba(255,255,255,.75); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.plan { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 36px 32px; background: rgba(255,255,255,.04); position: relative; }
.plan.popular { background: #fff; color: var(--ink); border-color: #fff; }
.plan .badge { position: absolute; top: -13px; left: 32px; background: var(--sky); color: #fff; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-family: Inter, sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
.plan .save { font-family: Fraunces, serif; font-size: 3.4rem; font-weight: 600; line-height: 1; margin: 18px 0 6px; }
.plan .save small { font-size: 1.1rem; font-weight: 400; opacity: .7; }
.plan .freq { opacity: .72; font-size: .95rem; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-size: .95rem; }
.plan li { display: flex; gap: 10px; align-items: start; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: #6fb6ea; }
.plan.popular li svg { color: var(--sky); }
.plans-note { margin-top: 32px; color: rgba(255,255,255,.65); font-size: .92rem; }

/* Promise */
.promise-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.promise-img { position: relative; }
.promise-img img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.promise-img .chip { position: absolute; right: -20px; bottom: 32px; background: #fff; border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: 260px; }
.promise-img .chip svg { flex: none; width: 34px; height: 34px; color: var(--sky); }
.promise-img .chip b { display: block; font-size: .98rem; }
.promise-img .chip span { font-size: .85rem; color: var(--muted); }
.promise h2 { margin-bottom: 22px; }
.points { display: grid; gap: 22px; margin-top: 36px; }
.point { display: flex; gap: 16px; }
.point .num { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--sky); color: var(--sky); display: grid; place-items: center; font-weight: 600; font-size: .9rem; }
.point b { display: block; margin-bottom: 2px; }
.point p { color: var(--ink-soft); font-size: .97rem; }

/* About */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.tl { position: relative; padding: 0 0 30px 30px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--sky); }
.tl b { font-family: Fraunces, serif; font-size: 1.35rem; color: var(--navy); display: block; }
.tl span { color: var(--ink-soft); font-size: .97rem; }
.about h2 { margin-bottom: 22px; }
.about .lead + .lead { margin-top: 16px; }
.sig { margin-top: 28px; font-family: Fraunces, serif; font-style: italic; font-size: 1.5rem; color: var(--sky-deep); }

/* Gallery */
.gallery-grid { columns: 4 240px; column-gap: 14px; }
.gallery-grid button { all: unset; display: block; margin-bottom: 14px; border-radius: 12px; overflow: hidden; cursor: zoom-in; break-inside: avoid; position: relative; }
.gallery-grid button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.gallery-grid img { width: 100%; transition: transform .4s; }
.gallery-grid button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,16,26,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: min(92vw, 1100px); border-radius: 10px; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }

/* Testimonials */
.reviews { background: var(--sky-tint); }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.review { background: #fff; border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; color: #f2a93b; margin-bottom: 16px; }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 1.05rem; color: var(--ink); flex: 1; }
.review blockquote p + p { margin-top: 12px; }
.review cite { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-style: normal; font-weight: 600; font-size: .95rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .85rem; letter-spacing: .02em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact h2 { margin-bottom: 18px; }
.info { display: grid; gap: 22px; margin-top: 36px; }
.info-row { display: flex; gap: 16px; }
.info-row .icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sky-tint); color: var(--sky); display: grid; place-items: center; }
.info-row .icon svg { width: 20px; height: 20px; }
.info-row small { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.info-row a { text-decoration: none; font-weight: 500; }
.info-row a:hover { color: var(--sky); }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 24px; font-size: .95rem; justify-content: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
input, select, textarea { width: 100%; font: inherit; font-size: .98rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); transition: border-color .15s, background .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky); background: #fff; }
textarea { resize: vertical; min-height: 110px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* Footer */
footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 40px; font-size: .93rem; }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: center; }
footer .logo { color: #fff; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 24px; font-size: .85rem; }

/* Mobile call bar */
.callbar { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 980px) {
  section { padding: 84px 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: span 2; }
.card.feature { grid-column: span 2; }
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; }
  .promise-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .promise-img { max-width: 480px; }
  .promise-img .chip { right: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { justify-self: start; max-width: 420px; }
  .hero-photo img { aspect-ratio: 4/3; object-position: 50% 18%; rotate: 0deg; }
  .hero-photo .chip { left: 16px; bottom: -20px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .wrap { padding: 0 16px; }
  .menu-btn { display: block; }
  .nav-links { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.08); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--ink) !important; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  header.nav.menu-open { background: #fff; }
  header.nav.menu-open .logo, header.nav.menu-open .menu-btn { color: var(--ink); }
  .services-grid, .review-grid { grid-template-columns: 1fr; }
  .card.feature, .card.wide { grid-column: auto; } .card.feature { grid-template-columns: 1fr; }
  .card.feature img { min-height: 220px; max-height: 260px; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .stat { padding: 28px 12px; }
  .stat b { font-size: 1.9rem; }
  .logo-img { height: 46px; }
  .callbar { display: flex; position: fixed; inset: auto 0 0 0; z-index: 40; background: var(--sky); padding: 12px 16px; gap: 10px; }
  .callbar a { flex: 1; text-align: center; color: #fff; font-weight: 600; text-decoration: none; padding: 10px; border-radius: 999px; }
  .callbar a:first-child { background: rgba(255,255,255,.18); }
  .callbar a:last-child { background: #fff; color: var(--sky-deep); }
  .lb-prev, .lb-next { top: auto; bottom: 24px; translate: none; }
}
