:root {
  --navy: #17366F;
  --red: #B3262D;
  --white: #FFFFFF;
  --cyan: #27A8D1;
  --text: #111827;
  --muted: #5b6475;
  --tint: #F3F6FB;
  --line: #E1E7F0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(23, 54, 111, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif; color: var(--text); line-height: 1.6; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
code { background: #eef2f9; padding: .1em .35em; border-radius: 4px; }

/* Buttons */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: .2s; cursor: pointer; font-size: 1rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .95rem; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #8f1d23; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.btn-row.center { justify-content: center; margin-top: 2rem; }

/* Top bar + header */
.topbar { background: var(--navy); color: #dbe6ff; font-size: .88rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .45rem 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { text-decoration: none; display: flex; align-items: center; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark strong { font-size: 1.7rem; color: var(--navy); letter-spacing: .02em; }
.wordmark small { font-size: .62rem; letter-spacing: .28em; color: var(--red); font-weight: 700; margin-top: 4px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { text-decoration: none; font-weight: 600; color: var(--text); }
.main-nav a:hover { color: var(--red); }
.main-nav a.btn-red, .main-nav a.btn-red:hover { color: #fff; }
.has-sub { position: relative; }
.sub { display: none !important; position: absolute; top: 100%; left: -1rem; background: #fff; min-width: 270px; padding: .6rem 0 !important; border-radius: 12px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch !important; gap: 0 !important; border: 1px solid var(--line); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex !important; }
.sub a { display: block; padding: .5rem 1.2rem; font-weight: 500; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Placeholder photo block */
.photo-ph { width: 100%; height: 100%; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .4rem; padding: 1rem; color: #fff; background: linear-gradient(135deg, var(--navy) 0%, #24509f 60%, var(--cyan) 130%); font-weight: 600; }
.photo-ph small { font-weight: 400; opacity: .75; font-size: .75rem; }
img { object-fit: cover; }
.slide-photo img, .card-photo img, .step-photo img, .page-hero-photo img { width: 100%; height: 100%; }

/* Hero slider */
.hero { background: linear-gradient(180deg, var(--tint), #fff); padding: 2.5rem 0 2rem; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-photo { border-radius: 20px; overflow: hidden; height: 460px; box-shadow: var(--shadow); }
.eyebrow { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin: 0 0 .8rem; }
.lead { font-size: 1.12rem; color: #374151; max-width: 34em; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.6rem; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: .2s; }
.arrow:hover { background: var(--navy); color: #fff; }
.dots { display: flex; gap: .6rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 0; background: #c3cde0; cursor: pointer; padding: 0; transition: .2s; }
.dot.is-active { background: var(--red); width: 32px; border-radius: 8px; }

/* Sections */
.section { padding: 5rem 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2.8rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--red); margin: .7rem auto 0; }

/* Service cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-photo { height: 190px; overflow: hidden; }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); margin: 0 0 1rem; flex: 1; }
.more { color: var(--red); font-weight: 700; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 0 0 1.5rem; text-align: center; box-shadow: var(--shadow); position: relative; overflow: visible; }
.step-photo { height: 130px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.step-num { position: relative; z-index: 2; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; margin: -26px 0 .7rem; border: 4px solid #fff; }
.step h3, .step p { padding: 0 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: calc(130px - 1px); right: -1.4rem; width: 1.4rem; border-top: 2px dashed var(--cyan); z-index: 1; }

/* Reviews */
.reviews-head { display: flex; justify-content: center; align-items: center; gap: .7rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.g-badge { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-weight: 800; color: #4285F4; }
.stars { color: #f5a623; letter-spacing: 2px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.review blockquote { margin: .6rem 0 1rem; color: #374151; }
.review figcaption { font-weight: 600; font-size: .92rem; }
.review-ph { opacity: .6; border-style: dashed; }
.draft-note { text-align: center; color: #8a5a00; background: #fff5d6; border-radius: 8px; padding: .5rem 1rem; font-size: .88rem; margin-top: 1rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy), #1f4a99); color: #fff; padding: 3.5rem 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #dbe6ff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #0f2550; color: #c9d6f2; padding: 3.5rem 0 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h3 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer h3.mt { margin-top: 1.4rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr 1.2fr; gap: 2rem; }
.footer-brand strong { font-size: 1.6rem; color: #fff; letter-spacing: .02em; }
.footer-brand small { color: #ff8b91; letter-spacing: .25em; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.15); font-size: .88rem; }

/* Inner pages */
.page-hero { background: linear-gradient(180deg, var(--tint), #fff); padding: 3rem 0; }
.page-hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.page-hero-photo { border-radius: 20px; overflow: hidden; height: 380px; box-shadow: var(--shadow); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: .8rem; }
.crumbs a { color: var(--muted); }
.prose-section { padding: 3.2rem 0; border-bottom: 1px solid var(--line); }
.prose-section:last-of-type { border-bottom: 0; }
.narrow { max-width: 860px; }
.tick-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .7rem; }
.tick-list li { position: relative; padding-left: 2rem; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--cyan); color: #fff; font-size: .85rem; display: grid; place-items: center; }
.step-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.step-card { background: var(--tint); border-radius: var(--radius); padding: 1.3rem; border-top: 4px solid var(--red); }
.step-card .n { color: var(--red); font-weight: 800; font-size: 1.4rem; }
.step-card p { margin: 0; color: #374151; }
.note-box { background: #fff4f4; border-left: 4px solid var(--red); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; margin: .8rem 0; }
.info-box { background: var(--tint); border-left: 4px solid var(--cyan); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; }
.todo-box { background: #fff5d6; color: #6b4a00; border-radius: 10px; padding: 1rem 1.2rem; margin-top: 1rem; font-size: .92rem; }
.todo-box ul { margin: .4rem 0 0; padding-left: 1.2rem; }
details.faq { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .8rem; background: #fff; }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details.faq p { margin: .7rem 0 0; color: #374151; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.4rem; }
.related-grid .card-photo { height: 140px; }

/* Responsive */
@media (max-width: 960px) {
  .slide, .page-hero-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .slide-photo { height: 300px; }
  .page-hero-photo { height: 260px; order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.4rem; box-shadow: var(--shadow); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .sub { display: flex !important; position: static; box-shadow: none; border: 0; padding: .2rem 0 0 .8rem !important; min-width: 0; }
  .sub a { padding: .25rem 0; font-size: .92rem; }
  .topbar-inner > span:first-child { display: none; }
}
@media (max-width: 700px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .card-photo { height: 120px; }
  .card-body { padding: 1rem; }
  .card-body h3 { font-size: 1rem; }
  .card-body p { font-size: .9rem; }
  .section { padding: 3.4rem 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  html { scroll-behavior: auto; }
}
