:root {
  --navy: #0b213b;
  --navy-2: #153552;
  --ink: #17233a;
  --slate: #5c6b7d;
  --teal: #1c6a72;
  --teal-dark: #14535a;
  --orange: #f47b20;
  --orange-dark: #d85d08;
  --gold: #c99c45;
  --cream: #f5f0e6;
  --mist: #edf3f4;
  --white: #ffffff;
  --line: #d9e1e5;
  --shadow: 0 18px 50px rgba(11, 33, 59, .13);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.65rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.28rem, 2vw, 1.65rem); }
.container { width: min(calc(100% - 34px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 34px), 860px); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--orange); border-radius: 3px; }
.lede { max-width: 760px; color: var(--slate); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.fine-print { color: var(--slate); font-size: .82rem; line-height: 1.45; }
.skip-link { position: fixed; left: 12px; top: -70px; z-index: 999; background: var(--navy); color: white; padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.utility-bar { background: var(--navy); color: white; font-size: .86rem; }
.utility-inner { min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.utility-bar a { color: white; text-decoration: none; font-weight: 750; }
.utility-bar a:hover { color: #ffc48e; }
.utility-links { display: flex; align-items: center; gap: 18px; }
.site-header { position: relative; z-index: 100; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.header-main { min-height: 112px; display: grid; grid-template-columns: minmax(270px, 430px) 1fr auto; align-items: center; gap: 26px; }
.brand img { width: min(100%, 395px); height: auto; }
.contact-block { justify-self: end; color: var(--slate); font-size: .93rem; line-height: 1.35; }
.contact-block strong { display: block; color: var(--navy); font-size: 1.25rem; }
.contact-block a { color: var(--navy); font-weight: 850; }
.header-cta { min-width: 205px; }
.nav-wrap { background: var(--white); border-top: 1px solid #edf0f2; box-shadow: 0 7px 20px rgba(11,33,59,.055); }
.nav-inner { position: relative; min-height: 58px; display: flex; align-items: center; justify-content: space-between; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 17px 13px; border-bottom: 3px solid transparent; color: var(--navy); font-size: .86rem; font-weight: 850; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--orange); color: var(--teal-dark); }
.nav-actions { display: flex; gap: 8px; }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--navy); padding: 10px; font-weight: 850; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 24px; height: 3px; background: currentColor; border-radius: 3px; }
.nav-toggle-bars { position: relative; margin-right: 9px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border: 2px solid transparent; border-radius: 999px; background: var(--orange); color: white; font-weight: 900; text-align: center; text-decoration: none; box-shadow: 0 10px 24px rgba(244,123,32,.22); transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.button:hover { color: white; background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(244,123,32,.28); }
.button--navy { background: var(--navy); box-shadow: 0 10px 24px rgba(11,33,59,.18); }
.button--navy:hover { background: var(--navy-2); }
.button--outline { border-color: var(--teal); background: white; color: var(--teal-dark); box-shadow: none; }
.button--outline:hover { background: var(--teal); color: white; }
.button--small { min-height: 42px; padding: 8px 16px; font-size: .86rem; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 900; }
.text-link::after { content: "→"; transition: transform .16s ease; }
.text-link:hover::after { transform: translateX(4px); }

.guide-ribbon { background: var(--cream); border-bottom: 1px solid #e5dcc8; }
.guide-ribbon__inner { min-height: 260px; display: grid; grid-template-columns: 215px minmax(0,1fr) auto; align-items: center; gap: 34px; padding-block: 28px; }
.guide-ribbon__cover { align-self: end; width: 196px; margin-top: 8px; filter: drop-shadow(0 12px 16px rgba(11,33,59,.22)); }
.guide-ribbon h2 { margin-bottom: 9px; font-size: clamp(1.85rem,3.4vw,3.1rem); }
.guide-ribbon p { max-width: 680px; margin-bottom: 0; color: var(--slate); }
.guide-ribbon__action { min-width: 245px; }

.hero { position: relative; min-height: 690px; display: grid; align-items: center; overflow: hidden; color: white; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(4,21,38,.94) 0%, rgba(4,21,38,.78) 47%, rgba(4,21,38,.15) 78%), url("images/hero-home.webp"); background-size: cover; background-position: center; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(transparent, rgba(4,21,38,.34)); }
.hero__inner { position: relative; z-index: 2; padding-block: 90px 105px; }
.hero__content { max-width: 750px; }
.hero h1 { margin-bottom: 22px; color: white; }
.hero .eyebrow { color: #ffd1aa; }
.hero__lede { max-width: 680px; color: #e8eef3; font-size: clamp(1.12rem,2vw,1.38rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero .button--outline { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); color: white; }
.hero .button--outline:hover { background: white; color: var(--navy); }
.hero__promise { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; color: #f2f6f8; font-size: .92rem; font-weight: 750; }
.hero__promise span::before { content: "✓"; color: #ffb777; margin-right: 7px; }
.image-note { position: absolute; z-index: 3; right: 18px; bottom: 13px; margin: 0; color: rgba(255,255,255,.78); font-size: .7rem; }

.trust-strip { position: relative; z-index: 4; margin-top: -48px; }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.trust-item { padding: 27px 22px; border-right: 1px solid var(--line); text-align: center; }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; color: var(--navy); font-size: 1.04rem; }
.trust-item span { color: var(--slate); font-size: .84rem; }

.section { padding-block: 95px; }
.section--compact { padding-block: 65px; }
.section--mist { background: var(--mist); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: white; }
.section--navy h2, .section--navy h3 { color: white; }
.section--navy .lede, .section--navy p { color: #cfdae5; }
.section-heading { margin-bottom: 38px; }
.section-heading h2 { max-width: 850px; margin-bottom: 17px; }
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(42px,7vw,90px); }
.two-col--reverse > :first-child { order: 2; }
.photo-card { position: relative; overflow: hidden; border-radius: var(--radius); background: #d8e2e5; box-shadow: var(--shadow); }
.photo-card img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.photo-card figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(11,33,59,.85); color: white; font-size: .72rem; }
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 28px; }
.stat { padding: 18px; border-left: 4px solid var(--orange); background: white; box-shadow: 0 8px 24px rgba(11,33,59,.08); }
.stat strong { display: block; color: var(--navy); font-size: 1.2rem; }
.stat span { color: var(--slate); font-size: .82rem; }

.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.card-grid--4 { grid-template-columns: repeat(4,1fr); }
.card { position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 9px 28px rgba(11,33,59,.065); }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: linear-gradient(90deg,var(--teal),var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 11px; }
.card p { color: var(--slate); }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; background: var(--mist); color: var(--teal-dark); font-size: 1.5rem; font-weight: 900; }
.card__number { color: var(--orange); font: 900 2rem/1 Georgia,serif; }

.window-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.window-type { min-height: 330px; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.window-sketch { flex: 1; min-height: 150px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; background: linear-gradient(155deg,#d9edf1,#f8fbfc); }
.window-frame { position: relative; width: 94px; height: 132px; border: 9px solid white; outline: 4px solid var(--navy); background: linear-gradient(150deg,#cceaf0,#edf8fa 60%,#aad5df); box-shadow: 0 8px 18px rgba(11,33,59,.15); }
.window-frame::before, .window-frame::after { content: ""; position: absolute; background: var(--navy); }
.window-frame--double::before { left: -5px; right: -5px; top: 50%; height: 4px; }
.window-frame--double::after { top: -5px; bottom: -5px; left: 50%; width: 3px; }
.window-frame--casement::after { top: -5px; bottom: -5px; left: 50%; width: 4px; }
.window-frame--slider { width: 145px; height: 94px; }
.window-frame--slider::after { top: -5px; bottom: -5px; left: 50%; width: 4px; }
.window-frame--picture { width: 145px; height: 105px; }
.window-frame--awning { width: 135px; height: 80px; transform: perspective(300px) rotateX(-7deg); }
.window-frame--bay { width: 155px; height: 105px; clip-path: polygon(12% 0,88% 0,100% 100%,0 100%); }
.window-frame--bay::before, .window-frame--bay::after { top: -5px; bottom: -5px; width: 4px; }
.window-frame--bay::before { left: 30%; }.window-frame--bay::after { right: 30%; }
.window-frame--special { border-radius: 50% 50% 0 0; height: 128px; }
.window-type h3 { margin-bottom: 7px; font-size: 1.3rem; }
.window-type p { margin-bottom: 0; color: var(--slate); font-size: .9rem; }

.process { position: relative; display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; counter-reset: steps; }
.process::before { content: ""; position: absolute; top: 30px; left: 9%; right: 9%; height: 3px; background: #c9d9dd; }
.process-step { position: relative; padding-top: 82px; counter-increment: steps; }
.process-step::before { content: counter(steps); position: absolute; z-index: 2; top: 0; left: 0; width: 60px; height: 60px; display: grid; place-items: center; border: 5px solid white; border-radius: 50%; background: var(--orange); color: white; font-weight: 950; box-shadow: 0 7px 18px rgba(11,33,59,.16); }
.process-step h3 { font-size: 1.18rem; }
.process-step p { color: var(--slate); font-size: .9rem; }

.promise-panel { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; padding: clamp(32px,5vw,60px); border-radius: 28px; background: var(--navy); color: white; box-shadow: var(--shadow); }
.promise-panel h2, .promise-panel h3 { color: white; }
.promise-panel p { color: #d7e2ea; }
.promise-badge { width: 170px; height: 170px; display: grid; place-items: center; margin: auto; border: 3px solid rgba(255,255,255,.2); border-radius: 50%; background: radial-gradient(circle at 30% 30%,#2a7180,var(--navy)); color: white; text-align: center; font: 900 1.28rem/1.2 Georgia,serif; }
.promise-badge strong { display: block; color: #ffb577; font: 900 2.9rem/1 system-ui,sans-serif; }
.check-list { margin: 24px 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 10px 0; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 950; }
.section--navy .check-list li::before, .promise-panel .check-list li::before { color: #ffb577; }

.comparison { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.comparison th, .comparison td { padding: 19px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { background: var(--navy); color: white; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }
.comparison tr:last-child td { border: 0; }
.comparison td:first-child { color: var(--navy); font-weight: 850; }
.price-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.price-card--featured { border: 3px solid var(--orange); transform: translateY(-8px); box-shadow: var(--shadow); }
.price-tag { display: block; margin: 12px 0; color: var(--teal-dark); font: 900 1.7rem/1.2 Georgia,serif; }
.callout { padding: 28px; border-left: 6px solid var(--orange); border-radius: 0 16px 16px 0; background: var(--cream); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 42px 22px 0; color: var(--navy); font-weight: 900; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 18px; color: var(--orange); font-size: 1.45rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { max-width: 780px; padding: 0 0 22px; color: var(--slate); }

.page-hero { padding-block: 78px 70px; background: linear-gradient(120deg,var(--navy),#17455e); color: white; }
.page-hero h1 { max-width: 980px; margin-bottom: 18px; color: white; font-size: clamp(2.5rem,5vw,4.55rem); }
.page-hero p { max-width: 780px; margin-bottom: 0; color: #d9e4ec; font-size: 1.2rem; }
.breadcrumbs { margin-bottom: 18px; color: #c2d3df; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.breadcrumbs a { color: white; }
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.contact-card { min-height: 260px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 9px 28px rgba(11,33,59,.07); }
.contact-card p { flex: 1; color: var(--slate); }
.contact-card .button { width: 100%; }
.legal-list { font-size: .92rem; color: var(--slate); }

.final-cta { background: linear-gradient(120deg,#1f6671,#0f344d); color: white; }
.final-cta__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 36px; padding-block: 62px; }
.final-cta h2 { margin-bottom: 8px; color: white; font-size: clamp(2rem,4vw,3.3rem); }
.final-cta p { margin-bottom: 0; color: #dcebee; }
.final-cta__actions { display: flex; gap: 10px; }
.site-footer { padding: 62px 0 100px; background: #08192d; color: #cbd6e1; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr .8fr 1fr; gap: 42px; }
.footer-brand img { max-width: 330px; padding: 10px; border-radius: 8px; background: white; }
.site-footer h3 { color: white; font: 900 .93rem/1.2 system-ui,sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.site-footer a { color: #dde7ee; text-decoration: none; }
.site-footer a:hover { color: #ffb777; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 8px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 40px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.13); color: #9eb0be; font-size: .78rem; }
.mobile-action-bar { display: none; }

@media (max-width: 1050px) {
  .header-main { grid-template-columns: 1fr auto; min-height: 96px; }
  .contact-block { display: none; }
  .guide-ribbon__inner { grid-template-columns: 160px 1fr; }
  .guide-ribbon__cover { width: 150px; }
  .guide-ribbon__action { grid-column: 2; margin-top: -18px; }
  .card-grid--4, .window-grid { grid-template-columns: repeat(2,1fr); }
  .process { grid-template-columns: repeat(3,1fr); }
  .process::before { display: none; }
}

@media (max-width: 860px) {
  body { padding-bottom: 72px; }
  .utility-links .optional { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { position: absolute; top: 58px; left: -17px; right: -17px; display: none; flex-direction: column; align-items: stretch; padding: 12px 17px 18px; background: white; border-top: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 10px; border-bottom: 1px solid var(--line); }
  .nav-actions { display: none; }
  .hero { min-height: 620px; }
  .hero::before { background-image: linear-gradient(90deg,rgba(4,21,38,.93),rgba(4,21,38,.67)),url("images/hero-home.webp"); background-position: 63% center; }
  .trust-strip__inner { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .two-col, .promise-panel { grid-template-columns: 1fr; }
  .two-col--reverse > :first-child { order: initial; }
  .card-grid, .contact-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .final-cta__inner { grid-template-columns: 1fr; }
  .mobile-action-bar { position: fixed; z-index: 300; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: .55fr .55fr 1.9fr; gap: 8px; padding: 9px max(10px,env(safe-area-inset-left)) calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 25px rgba(11,33,59,.12); }
  .mobile-action-bar a { min-height: 52px; padding: 9px; border: 2px solid var(--teal); border-radius: 12px; color: var(--teal-dark); font-size: .8rem; font-weight: 900; text-align: center; text-decoration: none; }
  .mobile-action-bar .schedule { display: grid; place-items: center; border-color: #bd633b; background: #bd633b; color: white; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .utility-inner { justify-content: center; min-height: 34px; }
  .utility-inner > span { display: none; }
  .header-main { min-height: 86px; gap: 12px; }
  .brand img { width: min(100%,280px); }
  .header-cta { min-width: auto; }
  .header-cta .button { width: 44px; height: 44px; min-height: 44px; padding: 0; font-size: 0; }
  .header-cta .button::before { content: "☎"; font-size: 1.15rem; }
  .guide-ribbon__inner { grid-template-columns: 112px 1fr; gap: 18px; min-height: 230px; }
  .guide-ribbon__cover { width: 112px; }
  .guide-ribbon h2 { font-size: 1.65rem; }
  .guide-ribbon p { font-size: .9rem; line-height: 1.42; }
  .guide-ribbon__action { grid-column: 1 / -1; margin: 0; }
  .guide-ribbon__action .button { width: 100%; }
  .hero { min-height: 650px; }
  .hero__inner { padding-block: 65px 85px; }
  .hero h1 { font-size: clamp(2.55rem,14vw,4.2rem); }
  .hero__actions .button { width: 100%; }
  .trust-strip { margin-top: -34px; }
  .trust-item { padding: 19px 12px; }
  .section { padding-block: 70px; }
  .section--compact { padding-block: 50px; }
  .card-grid, .card-grid--4, .window-grid, .contact-grid, .stat-row { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-step { min-height: 90px; padding: 4px 0 12px 78px; }
  .photo-card img { min-height: 330px; }
  .promise-panel { padding: 30px 22px; }
  .promise-badge { width: 140px; height: 140px; }
  .comparison { display: block; overflow-x: auto; }
  .final-cta__actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding-block: 60px; }
}

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