:root {
  --ink: #11151b;
  --muted: #66717d;
  --line: #cbd0d4;
  --accent: #486b89;
  --page-width: min(1360px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.page-width { width: var(--page-width); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: 10px; z-index: 100; transform: translateY(-150%); padding: 9px 12px; background: #fff; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { height: 98px; background: #fff; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; line-height: 1; color: var(--ink); }
.brand-name strong { font-size: 20px; letter-spacing: .155em; white-space: nowrap; }
.brand-name span { margin-top: 7px; font-size: 11px; font-weight: 700; letter-spacing: .52em; }
.primary-nav { display: flex; align-items: center; gap: 40px; margin-left: auto; }
.primary-nav a { font-size: 13px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--accent); }
.chevron { display: inline-block; margin-left: 7px; font-size: 14px; transform: translateY(-1px); }
.quote-button { display: inline-flex; align-items: center; justify-content: center; width: 183px; height: 42px; margin-left: 24px; color: #fff; background: #111316; font-size: 13px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.quote-button:hover, .quote-button:focus-visible { background: var(--accent); }
.menu-toggle { display: none; }

.quote-dialog { width: min(880px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; color: var(--ink); background: transparent; overflow: visible; }
.quote-dialog::backdrop { background: rgba(7, 12, 18, .72); backdrop-filter: blur(3px); }
.quote-dialog-shell { position: relative; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-top: 4px solid var(--accent); box-shadow: 0 24px 80px rgba(0, 0, 0, .32); }
.quote-dialog-header { display: flex; justify-content: space-between; gap: 28px; padding: 32px 36px 25px; border-bottom: 1px solid #dce1e5; }
.quote-kicker { display: block; margin-bottom: 8px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.quote-dialog-header h2 { margin: 0 0 8px; font-size: 34px; line-height: 1.05; text-transform: uppercase; }
.quote-dialog-header p { max-width: 620px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.quote-close { flex: 0 0 auto; width: 40px; height: 40px; padding: 0; border: 1px solid #cdd3d8; color: #29333c; background: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.quote-close:hover, .quote-close:focus-visible { color: #fff; border-color: var(--accent); background: var(--accent); }
.quote-form { padding: 27px 36px 32px; }
.quote-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field > span, .service-options legend { color: #26313b; font-size: 13px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.form-field strong, .service-options strong { color: var(--accent); }
.form-field small { color: #7b858f; font-size: 11px; font-weight: 600; text-transform: none; }
.form-field-wide { grid-column: 1 / -1; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #bdc6cd; border-radius: 0; color: var(--ink); background: #fff; font: inherit; font-size: 15px; }
.form-field input { height: 44px; padding: 0 13px; }
.form-field textarea { min-height: 86px; padding: 11px 13px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 1px; border-color: var(--accent); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #8b949c; }
.service-options { margin: 24px 0; padding: 0; border: 0; }
.service-options legend { margin-bottom: 11px; }
.service-option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 12px; }
.service-option-grid label { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 11px; border: 1px solid #d2d8dd; color: #37424c; background: #f8fafb; font-size: 14px; cursor: pointer; }
.service-option-grid label:has(input:checked) { border-color: var(--accent); background: #eef3f7; }
.service-option-grid input { width: 17px; height: 17px; margin: 0; accent-color: var(--accent); }
.field-error { min-height: 17px; margin: 6px 0 0; color: #a32626; font-size: 12px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.quote-form-footer p { max-width: 350px; margin: 0; color: #74808a; font-size: 12px; line-height: 1.45; }
.quote-submit { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 230px; height: 48px; padding: 0 20px; border: 0; color: #fff; background: #111316; font-size: 12px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; cursor: pointer; }
.quote-submit:hover, .quote-submit:focus-visible { background: var(--accent); }
.quote-submit:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 20px; margin: 11px 0 0; color: #a32626; font-size: 13px; text-align: right; }
.quote-success { padding: 70px 36px 76px; text-align: center; }
.success-check { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 20px; border: 2px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 29px; }
.quote-success h3 { margin: 0 0 10px; font-size: 30px; text-transform: uppercase; }
.quote-success p { margin: 0 auto 25px; color: var(--muted); font-size: 15px; }
.quote-success button { height: 44px; padding: 0 28px; border: 0; color: #fff; background: #111316; font-size: 12px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.quote-success button:hover, .quote-success button:focus-visible { background: var(--accent); }
body.modal-open { overflow: hidden; }

.hero { position: relative; height: 560px; overflow: hidden; background: url("assets/hero-lake-louise.jpg") center 68% / cover no-repeat; }
.hero-panel { position: absolute; left: 0; bottom: 40px; width: min(630px, 75vw); height: 340px; color: #fff; background: rgba(9, 12, 15, .82); }
.hero-panel::before { content: ""; position: absolute; left: 0; top: 54px; width: 165px; height: 3px; background: var(--accent); }
.hero-panel-inner { height: 100%; padding: 48px 46px 42px; padding-left: clamp(40px, calc((100vw - 1360px) / 2 + 70px), 190px); }
.hero h1 { margin: 0 0 20px; font-size: 49px; line-height: 1.08; letter-spacing: -.015em; text-transform: uppercase; }
.hero p { margin: 0 0 30px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.hero-button { display: inline-flex; align-items: center; justify-content: space-between; width: 252px; height: 47px; padding: 0 25px; border: 2px solid var(--accent); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }
.hero-button:hover, .hero-button:focus-visible { background: var(--accent); }
.hero-button span { font-size: 18px; font-weight: 400; }

.service-strip { min-height: 312px; padding: 48px 0 14px; background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card { height: 196px; padding: 21px 39px; border: 1px solid var(--line); background: #fff; }
.service-icon { width: 58px; height: 52px; margin-bottom: 10px; fill: none; stroke: #27313a; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.service-icon .accent-stroke { stroke: var(--accent); }
.service-icon .accent-fill { fill: var(--accent); stroke: none; }
.service-card h2 { margin: 0 0 8px; font-size: 21px; line-height: 1.15; }
.service-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.45; }
.location-note { display: flex; flex-direction: column; align-items: center; margin-top: 22px; }
.location-rule { width: 63px; height: 2px; margin-bottom: 14px; background: var(--accent); }
.location-note p { display: flex; align-items: center; gap: 8px; margin: 0; color: #65717c; font-size: 12px; }
.location-note svg { width: 18px; height: 18px; fill: #20262c; }

@media (max-width: 1180px) {
  .primary-nav { gap: 22px; }
  .quote-button { margin-left: 0; }
  .brand-name strong { font-size: 17px; }
}

@media (max-width: 960px) {
  :root { --page-width: calc(100% - 32px); }
  body.menu-open { overflow: hidden; }
  .site-header { height: 78px; }
  .brand img { width: 48px; height: 48px; }
  .brand-name strong { font-size: 14px; }
  .brand-name span { font-size: 8px; }
  .quote-button { width: auto; height: 40px; margin-left: auto; padding-inline: 16px; font-size: 11px; }
  .menu-toggle { display: block; z-index: 12; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 0; z-index: 10; display: flex; flex-direction: column; justify-content: center; gap: 26px; margin: 0; background: #fff; transform: translateX(100%); transition: transform .25s ease; }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav a { font-size: 18px; }
  .hero { height: 610px; background-position: 54% 66%; }
  .hero-panel { width: min(620px, 86vw); }
  .hero-panel-inner { padding-left: 48px; }
  .service-grid { gap: 18px; }
  .service-card { padding-inline: 24px; }
  .service-card h2 { font-size: 18px; }
  .service-card p { font-size: 14px; }
}

@media (max-width: 680px) {
  .site-header { height: 72px; }
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 42px; height: 42px; }
  .brand-name strong { font-size: 12px; }
  .brand-name span { margin-top: 5px; font-size: 7px; }
  .quote-button { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero { height: 620px; background-position: 54% 68%; }
  .hero-panel { bottom: 28px; width: calc(100% - 22px); height: 330px; }
  .hero-panel::before { width: 52px; top: 43px; }
  .hero-panel-inner { padding: 38px 24px 30px 28px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .desktop-break { display: none; }
  .service-strip { padding-top: 28px; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { height: 190px; padding: 21px 28px; }
  .service-card h2 { font-size: 21px; }
  .service-card p { font-size: 16px; }
  .location-note { padding-bottom: 10px; text-align: center; }
  .quote-dialog { width: calc(100% - 18px); max-height: calc(100vh - 18px); }
  .quote-dialog-shell { max-height: calc(100vh - 18px); }
  .quote-dialog-header { padding: 24px 20px 20px; }
  .quote-dialog-header h2 { font-size: 28px; }
  .quote-dialog-header p { font-size: 14px; }
  .quote-form { padding: 22px 20px 25px; }
  .quote-fields, .service-option-grid { grid-template-columns: 1fr; }
  .quote-form-footer { align-items: stretch; flex-direction: column; }
  .quote-submit { width: 100%; }
  .form-status { text-align: left; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
