:root {
  --navy: #151c3a;
  --ink: #1a2638;
  --muted: #56616d;
  --gold: #ad916f;
  --gold-light: #d9c5a7;
  --line: #d9dfe2;
  --soft: #f2f5f4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Segoe UI", Arial, sans-serif; }
img { display: block; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid #c7924e; outline-offset: 3px; }
[id] { scroll-margin-top: 18px; }

.cb-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.cb-kicker { margin: 0 0 12px; color: #765839; font-size: 12px; font-weight: 800; line-height: 1.4; text-transform: uppercase; letter-spacing: 0; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 { letter-spacing: 0; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: 40px; font-weight: 500; line-height: 1.13; text-wrap: balance; }
.cb-section-heading { max-width: 700px; margin-bottom: 32px; }
.cb-section-heading h2 { margin: 0; }
.cb-section-heading > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.cb-button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid var(--gold); border-radius: 4px; background: var(--gold); color: var(--navy); font: inherit; font-size: 15px; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; transition: background .16s ease, border-color .16s ease; }
.cb-button:hover { border-color: var(--gold-light); background: var(--gold-light); }
.cb-button--small { min-height: 42px; padding: 9px 16px; font-size: 13px; }
.cb-button--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .78); }
.cb-button--outline:hover { background: #fff; border-color: #fff; color: var(--navy); }

.cb-header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); }
.cb-header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; }
.cb-brand { display: grid; gap: 3px; width: fit-content; color: var(--navy); text-decoration: none; white-space: nowrap; }
.cb-brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 29px; font-weight: 500; line-height: 1; letter-spacing: 0; }
.cb-brand small { color: #765839; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.cb-header-actions { display: flex; align-items: center; gap: 27px; }
.cb-header-builder { color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none; }
.cb-header-builder:hover { text-decoration: underline; text-underline-offset: 4px; }

.cb-hero { position: relative; display: flex; min-height: min(650px, calc(100svh - 130px)); align-items: center; overflow: hidden; background: var(--navy); color: #fff; }
.cb-hero-media, .cb-hero-shade { position: absolute; inset: 0; }
.cb-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.cb-hero-shade { background: linear-gradient(90deg, rgba(11, 19, 37, .94) 0%, rgba(11, 19, 37, .82) 40%, rgba(11, 19, 37, .34) 73%, rgba(11, 19, 37, .08) 100%); }
.cb-hero-content { position: relative; z-index: 1; padding-block: 76px 82px; }
.cb-hero .cb-kicker { color: #f1d7b4; }
.cb-hero h1 { max-width: 700px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 57px; font-weight: 500; line-height: 1.07; text-wrap: balance; }
.cb-hero-lead { max-width: 610px; margin: 24px 0 0; color: #f3f5f7; font-size: 18px; line-height: 1.55; }
.cb-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }

.cb-services { padding-block: 75px 80px; background: #fff; }
.cb-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.cb-service { display: flex; min-height: 235px; flex-direction: column; align-items: flex-start; padding-top: 20px; border-top: 2px solid var(--navy); }
.cb-service-number { color: #765839; font-size: 12px; font-weight: 800; }
.cb-service h3 { max-width: 320px; margin: 17px 0 9px; font-size: 21px; font-weight: 700; line-height: 1.3; }
.cb-service p { max-width: 320px; margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.cb-service a { margin-top: auto; color: var(--navy); font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cb-service a:hover { color: #765839; }

.cb-gallery-section { padding-block: 72px 82px; background: var(--soft); }
.cb-gallery { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: 250px; gap: 10px; }
.cb-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cb-gallery .cb-gallery-feature { grid-row: span 2; object-position: center 58%; }

.cb-difference { padding-block: 83px 89px; }
.cb-difference-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; }
.cb-difference h2 { max-width: 400px; margin: 0; }
.cb-difference-intro > p:last-child { max-width: 400px; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.cb-difference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.cb-difference-grid > div { padding: 16px 0 20px; border-top: 1px solid var(--line); }
.cb-difference-grid h3 { margin: 0 0 7px; font-size: 16px; line-height: 1.35; }
.cb-difference-grid h3::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; background: var(--gold); }
.cb-difference-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.cb-quote { padding-block: 79px 84px; background: var(--navy); color: #fff; }
.cb-quote-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 75px; }
.cb-quote .cb-kicker { color: #e6c9a4; }
.cb-quote h2 { max-width: 430px; margin: 0; }
.cb-quote-intro > p:not(.cb-kicker) { max-width: 420px; margin: 19px 0 0; color: #e3e7ee; font-size: 16px; line-height: 1.6; }
.cb-quote-intro .cb-quote-coverage { padding-top: 19px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 14px !important; }
.cb-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 15px; }
.cb-form-grid label { display: grid; align-content: start; gap: 7px; color: #f6f6f8; font-size: 13px; font-weight: 700; line-height: 1.4; }
.cb-form-grid label:last-child { grid-column: 1 / -1; }
.cb-form-grid input, .cb-form-grid select { width: 100%; min-width: 0; min-height: 48px; padding: 11px 12px; border: 1px solid #c8cdd4; border-radius: 3px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 400; }
.cb-form-grid input::placeholder { color: #727982; }
.cb-quote-form .cb-button { width: 100%; margin-top: 22px; }
.cb-quote-form .cb-button:disabled { opacity: .72; cursor: wait; }
.cb-form-note { margin: 12px 0 0; color: #d5dae3; font-size: 12px; line-height: 1.5; }
.cb-quote-direct { display: inline-block; margin-top: 17px; color: #fff; font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.cb-quote noscript { grid-column: 1 / -1; }
.cb-quote noscript a { color: #fff; }

.cb-questions { padding-block: 78px 83px; background: #fff; }
.cb-questions-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; }
.cb-questions h2 { margin: 0; }
.cb-question-list details { border-top: 1px solid var(--line); }
.cb-question-list details:last-child { border-bottom: 1px solid var(--line); }
.cb-question-list summary { padding-block: 19px; color: var(--ink); cursor: pointer; font-size: 16px; font-weight: 700; line-height: 1.4; }
.cb-question-list details p { margin: 0 0 19px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.cb-question-list details a { color: var(--navy); font-weight: 700; }

.cb-final { padding-block: 64px 70px; background: var(--soft); }
.cb-final-inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.cb-final h2 { max-width: 680px; margin: 0; }
.cb-final-inner > div > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.cb-final .cb-button { flex: 0 0 auto; max-width: 320px; }

.cb-footer { padding-block: 30px; background: var(--navy); color: #fff; }
.cb-footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 28px; }
.cb-footer strong, .cb-footer small { display: block; }
.cb-footer strong { font-size: 15px; }
.cb-footer small { margin-top: 5px; color: #d5dae3; font-size: 12px; }
.cb-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.cb-footer a { color: #fff; font-size: 13px; text-decoration: none; }
.cb-footer a:hover { text-decoration: underline; }

@media (max-width: 920px) {
  .cb-hero h1 { font-size: 49px; }
  .cb-difference-layout, .cb-questions-grid { gap: 44px; }
  .cb-quote-layout { gap: 42px; }
}

@media (max-width: 760px) {
  .cb-header-builder { display: none; }
  .cb-service-grid { gap: 18px; }
  .cb-service h3 { font-size: 18px; }
  .cb-difference-layout, .cb-questions-grid, .cb-quote-layout { grid-template-columns: 1fr; gap: 32px; }
  .cb-difference-intro > p:last-child, .cb-quote-intro > p:not(.cb-kicker) { max-width: 680px; }
}

@media (max-width: 640px) {
  .cb-shell { width: calc(100% - 32px); }
  .cb-header-inner { min-height: 68px; }
  .cb-brand strong { font-size: 25px; }
  .cb-header-actions .cb-button { min-height: 40px; padding-inline: 12px; font-size: 12px; }
  .cb-hero { min-height: min(625px, calc(100svh - 108px)); align-items: end; }
  .cb-hero-media img { object-position: center 44%; }
  .cb-hero-shade { background: linear-gradient(0deg, rgba(11, 19, 37, .97) 0%, rgba(11, 19, 37, .85) 42%, rgba(11, 19, 37, .30) 87%, rgba(11, 19, 37, .15) 100%); }
  .cb-hero-content { padding-block: 110px 32px; }
  .cb-kicker { font-size: 11px; }
  .cb-hero h1 { font-size: 37px; line-height: 1.1; }
  .cb-hero-lead { margin-top: 17px; font-size: 16px; line-height: 1.5; }
  .cb-hero-actions { display: grid; margin-top: 23px; }
  .cb-hero-actions .cb-button { width: 100%; }
  h2 { font-size: 31px; }
  .cb-services, .cb-gallery-section, .cb-difference, .cb-quote, .cb-questions, .cb-final { padding-block: 52px 57px; }
  .cb-section-heading { margin-bottom: 25px; }
  .cb-section-heading > p:last-child { font-size: 15px; }
  .cb-service-grid { grid-template-columns: 1fr; gap: 25px; }
  .cb-service { min-height: 0; }
  .cb-service h3 { margin-top: 12px; font-size: 19px; }
  .cb-service p { margin-bottom: 14px; }
  .cb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 340px; grid-auto-rows: 150px; gap: 8px; }
  .cb-gallery .cb-gallery-feature { grid-column: 1 / -1; grid-row: auto; }
  .cb-difference-grid { column-gap: 18px; }
  .cb-difference-grid h3 { font-size: 15px; }
  .cb-difference-grid p { font-size: 13px; }
  .cb-form-grid { grid-template-columns: 1fr; gap: 14px; }
  .cb-quote-intro > p:not(.cb-kicker) { margin-top: 14px; font-size: 15px; }
  .cb-question-list summary { font-size: 15px; }
  .cb-final-inner { display: block; }
  .cb-final-inner > div > p:last-child { font-size: 15px; }
  .cb-final .cb-button { width: 100%; max-width: none; margin-top: 23px; }
  .cb-footer { padding-block: 28px; }
  .cb-footer-inner { display: block; }
  .cb-footer nav { margin-top: 21px; }
}

@media (max-width: 360px) {
  .cb-hero h1 { font-size: 32px; }
  .cb-hero-content { padding-block: 75px 27px; }
  .cb-hero-lead { font-size: 15px; }
  .cb-header-actions .cb-button { max-width: 112px; }
  .cb-difference-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) and (max-height: 600px) {
  .cb-hero-content { padding-block: 34px 24px; }
  .cb-hero h1 { font-size: 31px; }
  .cb-hero-lead { margin-top: 12px; font-size: 14px; }
  .cb-hero-actions { gap: 8px; margin-top: 16px; }
  .cb-hero-actions .cb-button { min-height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cb-button { transition: none; }
}
