:root {
  --color-navy: #0b1f3a;
  --color-navy-dark: #081527;
  --color-blue: #1596d6;
  --color-blue-dark: #0f7bb3;
  --color-blue-darker: #0c5980;
  --color-gold: #d4af37;
  --color-white: #ffffff;
  --color-ink: #16212e;
  --color-ink-muted: #52616f;
  --color-bg-light: #f4f7fa;
  --color-border: #dfe6ec;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --radius: 10px;
  --container-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); color: var(--color-ink); background: var(--color-white); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.has-lightbox { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2 { margin: 0; font-weight: 800; line-height: 1.35; }
h1 { font-size: clamp(1.5rem, 3vw, 2.35rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.35rem); }
p { margin: 0; }
.container { max-width: var(--container-width); padding-inline: var(--space-3); margin-inline: auto; }
.sr-only, .honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: var(--space-2); left: var(--space-2); z-index: 10; padding: .8rem 1rem; color: var(--color-white); background: var(--color-navy-dark); border-radius: var(--radius); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 4px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.5rem; min-height: 48px; border: 2px solid transparent; border-radius: var(--radius); font-size: 1rem; font-weight: 700; line-height: 1.4; transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--color-blue-dark); color: var(--color-white); }
.btn--primary:hover { background: var(--color-blue-darker); box-shadow: 0 4px 14px rgb(15 123 179 / .25); }
.btn:disabled { cursor: wait; opacity: .7; transform: none; }
.btn--phone { color: var(--color-navy-dark); background: var(--color-gold); padding: .9rem 1.2rem; min-height: 56px; font-size: 1rem; white-space: nowrap; }
.btn--phone:hover { box-shadow: 0 4px 14px rgb(212 175 55 / .35); }
.btn--phone svg { flex-shrink: 0; }
.phone-options { display: flex; justify-content: center; gap: 20px; }
.phone-options > div { min-width: 0; }
.phone-options__county { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 600; }
.home-header { padding-block: 48px 32px; background: linear-gradient(180deg, var(--color-navy), var(--color-navy-dark)); color: var(--color-white); text-align: center; }
.logo { display: block; width: 314px; max-width: 100%; margin: 0 auto 28px; }
.logo img { width: 100%; }
.home-header__headline { font-size: clamp(1.5rem, 3vw, 2.35rem); font-weight: 800; line-height: 1.35; margin-bottom: 28px; }
.home-header__estimate { margin-top: 20px; }
.showroom-banner { display: block; width: 601px; max-width: 100%; margin: 12px auto 0; }
.showroom-banner img { width: 100%; }

.section-band { background: var(--color-blue-dark); color: var(--color-white); text-align: center; padding-block: 30px 42px; }
.section-band h1, .section-band h2 { color: var(--color-white); text-transform: uppercase; }
.section-band p { margin-top: 24px; font-weight: 600; }
.hero__heading { padding-block: 30px 54px; }
.hero__heading h1 { line-height: 1.4; }
.hero__image { width: 100%; height: 505px; object-fit: cover; object-position: center; }
.hero__services { padding-block: 28px 30px; }
.hero__services p { margin: 0; font-size: 1rem; line-height: 1.9; text-transform: uppercase; }
.hero__services a { display: inline-flex; align-items: center; color: var(--color-white); border-radius: var(--radius); padding-inline: 8px; min-height: 36px; transition: background-color .15s ease; }
.hero__services a:hover { background: rgb(255 255 255 / .12); text-decoration: none; }
.hero__services span { margin-inline: .2rem; }
.estimate { padding-block: var(--space-6); color: var(--color-white); background: var(--color-navy-dark); text-align: center; scroll-margin-top: 24px; }
.estimate__intro { max-width: 600px; margin: 0 auto var(--space-4); }
.estimate__eyebrow { color: var(--color-gold); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.estimate h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.2; margin-bottom: 16px; }
.estimate__description { color: rgb(255 255 255 / .8); line-height: 1.7; }
.estimate__description a { color: var(--color-white); text-decoration: underline; text-underline-offset: 3px; }
.contact-form { position: relative; width: 100%; max-width: 560px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); padding: var(--space-4); background: var(--color-white); color: var(--color-ink); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: 0 2px 14px rgb(11 31 58 / .08); text-align: left; }
.contact-form > div { min-width: 0; }
.contact-form label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: .35rem; }
.field-optional { color: var(--color-ink-muted); font-size: .85rem; font-weight: 400; }
.contact-form input:not([type="hidden"]), .contact-form select, .contact-form textarea { display: block; width: 100%; background: var(--color-white); color: var(--color-ink); border: 1px solid var(--color-border); border-radius: var(--radius); padding: .75rem; line-height: 1.5; font-size: 1rem; transition: border-color .15s ease; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--color-ink-muted); opacity: 1; }
.contact-form input, .contact-form select { min-height: 50px; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button { width: 100%; min-height: 54px; text-transform: uppercase; letter-spacing: .04em; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid var(--color-blue); outline-offset: 1px; }
.contact-form__note { color: var(--color-ink-muted); font-size: .85rem; text-align: center; }
.captcha { width: 304px; justify-self: center; min-height: 78px; display: flex; justify-content: center; }
.form-status { font-weight: 600; text-align: left; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #b3261e; }
.form-status[data-state="success"] { color: #1a7a3c; }
.contact-form noscript a { color: var(--color-blue-dark); text-decoration: underline; }

.portfolio { scroll-margin-top: 12px; }
.portfolio > .section-band { padding-block: 30px 42px; }
.portfolio > .section-band h2 { line-height: 1.4; }
.portfolio > .section-band p { margin-top: 28px; text-transform: uppercase; }
.gallery { padding-block: 30px; background: var(--color-navy-dark); }
.gallery__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.gallery__item { display: block; overflow: hidden; border-radius: var(--radius); background: var(--color-navy); aspect-ratio: 1; transition: box-shadow .15s ease; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.gallery__item:hover img { transform: scale(1.035); }
.gallery__item:focus-visible { outline-color: var(--color-gold); }
.gallery__more { margin-top: 22px; text-align: center; }
.gallery__more a { color: var(--color-white); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: 12px 20px; min-height: 48px; border: 1px solid rgb(255 255 255 / .35); border-radius: var(--radius); transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
.gallery__more a:hover { border-color: var(--color-white); background: rgb(255 255 255 / .08); text-decoration: none; transform: translateY(-2px); }

.showroom { padding-block: 34px 40px; }
.showroom__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.showroom__details { min-width: 0; }
.showroom__details > p { font-weight: 500; }
.showroom__details .showroom__name { text-transform: uppercase; margin-top: 28px; }
.showroom address { font-style: normal; text-transform: uppercase; margin-top: 22px; }
.showroom .phone-options { margin-top: 22px; }
.showroom__license { font-size: 1.1rem; line-height: 1.8; }
.showroom__area { font-size: .95rem; }
.showroom__estimate { margin-top: 24px; }
.showroom__estimate .btn { border-color: rgb(255 255 255 / .35); }
.showroom .text-link { display: inline-block; margin-top: 12px; color: var(--color-white); text-decoration: underline; min-height: 44px; padding-block: 10px; }
.showroom__map iframe { display: block; border: 0; border-radius: var(--radius); width: 100%; height: 400px; background: var(--color-bg-light); }
.showroom__map .text-link { font-size: .9rem; }
.faq { background: var(--color-bg-light); padding-block: var(--space-6); }
.faq__inner { max-width: 880px; }
.faq h2 { color: var(--color-navy); text-align: center; font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: var(--space-4); }
.faq__item { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 14px 20px; background: var(--color-white); margin-bottom: 12px; }
.faq__item[open] { border-color: var(--color-blue-dark); }
.faq__item summary { cursor: pointer; color: var(--color-navy); font-weight: 700; padding-block: 5px; }
.faq__item p { color: var(--color-ink); margin-top: 12px; }
.site-footer { background: var(--color-navy-dark); color: var(--color-white); padding-block: 30px; text-align: center; font-size: .85rem; }
.site-footer a { color: var(--color-white); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 20px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.back-to-top { position: fixed; right: 30px; bottom: 30px; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--color-white); color: var(--color-navy); box-shadow: 0 2px 10px rgb(8 21 39 / .2); z-index: 2; }
.back-to-top:hover { box-shadow: 0 4px 18px rgb(8 21 39 / .35); }
.mobile-contact { display: none; }

.lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; padding: 20px; border: 0; background: rgb(8 21 39 / .97); color: var(--color-white); }
.lightbox::backdrop { background: rgb(8 21 39 / .94); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lightbox h2 { font-size: 1.1rem; font-weight: 700; }
.lightbox button { display: grid; place-items: center; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .3); border-radius: var(--radius); color: var(--color-white); width: 48px; height: 48px; flex-shrink: 0; font-size: 2rem; line-height: 1; }
.lightbox button:hover { background: rgb(255 255 255 / .2); }
.lightbox__stage { display: flex; align-items: center; justify-content: center; gap: 16px; flex: 1; min-height: 0; margin-block: 16px; touch-action: pan-y pinch-zoom; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; max-width: 1200px; }
.lightbox__image { width: auto; max-width: 100%; max-height: calc(100dvh - 195px); object-fit: contain; border-radius: var(--radius); }
.lightbox__caption { text-align: center; font-size: .95rem; min-height: 1.5em; }
.lightbox__hint { color: #c1ccd9; text-align: center; font-size: .85rem; }
.lightbox__error { text-align: center; padding: 12px; }
.lightbox__error a { color: var(--color-white); text-decoration: underline; }

@media (max-width: 899px) {
  .gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .showroom__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .showroom__map { max-width: 640px; width: 100%; margin-inline: auto; }
}
@media (max-width: 599px) {
  html { scroll-padding-bottom: calc(98px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
  .home-header { padding-block: 44px 26px; }
  .logo { margin-bottom: 26px; }
  .home-header__headline { margin-bottom: 24px; line-height: 1.45; }
  .home-header > .container { padding-inline: 16px; }
  .phone-options { gap: 14px; }
  .btn--phone { padding-inline: 8px; font-size: clamp(.8rem, 3.8vw, .95rem); }
  .showroom-banner { max-width: calc(100% + 8px); width: calc(100% + 8px); margin-left: -4px; margin-top: 12px; }
  .hero__heading { padding-block: 24px 36px; }
  .hero__heading h1 { line-height: 1.45; }
  .hero__image { height: 410px; object-position: 50% 50%; }
  .hero__services { padding-block: 24px; }
  .hero__services p { font-size: .8rem; line-height: 2; }
  .hero__services a { min-height: 36px; padding-inline: 3px; }
  .hero__services span { margin-inline: .05rem; }
  .estimate { padding-block: 40px; }
  .estimate > .container { padding-inline: 16px; }
  .estimate h2 { font-size: 1.75rem; margin-bottom: 14px; }
  .estimate__description { font-size: .95rem; }
  .contact-form { padding: 20px 16px; }
  .contact-form label { font-size: .95rem; }
  .portfolio > .section-band { padding-block: 28px 30px; }
  .portfolio > .section-band p { font-size: .85rem; margin-top: 20px; }
  .gallery { padding-block: 24px; }
  .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .gallery__more { margin-top: 16px; font-size: .9rem; }
  .showroom { padding-block: 30px; }
  .showroom .phone-options { gap: 10px; }
  .showroom__map iframe { height: 320px; }
  .faq { padding-block: var(--space-5); }
  .mobile-contact { position: fixed; inset: auto 0 0; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--color-border); background: var(--color-white); box-shadow: 0 -4px 20px rgb(8 21 39 / .12); }
  .mobile-contact .btn { min-width: 0; padding: .8rem .6rem; font-size: .9rem; }
  .mobile-contact__call { color: var(--color-navy-dark); border-color: var(--color-border); }
  .mobile-contact__call:hover { background: var(--color-bg-light); }
  .back-to-top { right: 16px; bottom: calc(102px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; }
  body:has(.contact-form:focus-within) .back-to-top { visibility: hidden; }
  .lightbox { padding: 14px; }
  .lightbox__stage { position: relative; gap: 0; padding-bottom: 62px; }
  .lightbox__stage > button { position: absolute; bottom: 0; }
  .lightbox__previous { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
  .lightbox__image { max-height: calc(100dvh - 255px); }
}
@media (max-width: 359px) {
  .estimate > .container { padding-inline: 8px; }
  .mobile-contact { padding-inline: 12px; gap: 8px; }
  .mobile-contact .btn { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .btn:hover, .gallery__item:hover img, .gallery__more a:hover { transform: none; }
}
