/* Mile High Windows & Cars — private launch preview */
:root {
  --ink: #172033;
  --muted: #5e6a7d;
  --brand: #0f4c81;
  --brand-dark: #0a2f4f;
  --accent: #22a6b3;
  --cream: #f6f8fb;
  --card: #ffffff;
  --line: #d9e2ec;
  --shadow: 0 10px 25px rgba(15, 76, 129, 0.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}
a { color: var(--brand); font-weight: 700; text-decoration: none; }
a:hover, a:focus { color: var(--brand-dark); text-decoration: underline; }
.site-header {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  text-align: center;
  padding: 34px 18px 0;
  box-shadow: var(--shadow);
}
.brand-wrap { max-width: 1050px; margin: 0 auto; }
.eyebrow { margin: 0 0 8px; color: #bdeaf0; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; }
.tagline { margin: 12px auto 22px; max-width: 760px; font-size: 1.1rem; color: #e8f6ff; }
.slogan {
  color: #bdeaf0;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .05em;
  margin: 9px auto 0;
  text-transform: uppercase;
}
.site-nav {
  background: rgba(255,255,255,.12);
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.nav-menu { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.site-nav a, .services-toggle, .menu-toggle {
  color: #fff;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
}
.services-toggle, .menu-toggle { background: transparent; border: 0; cursor: pointer; font-family: inherit; }
.site-nav a:hover, .site-nav a:focus, .services-toggle:hover, .services-toggle:focus, .services-toggle.is-active { background: #fff; color: var(--brand-dark); text-decoration: none; }
.site-nav a[aria-current="page"] { background: rgba(255,255,255,.2); }
.site-nav .nav-cta { background: #fff; color: var(--brand-dark); }
.menu-toggle { display: none; margin: 0 auto; }
.nav-group { position: relative; }
.services-menu { display: none; position: absolute; z-index: 20; left: 50%; top: calc(100% + 8px); min-width: 220px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 32px rgba(10,47,79,.22); transform: translateX(-50%); text-align: left; }
.services-menu.is-open, .nav-group:focus-within .services-menu { display: grid; }
.services-menu a { color: var(--brand-dark); border-radius: 9px; padding: 9px 11px; }
.services-menu a:hover, .services-menu a:focus, .services-menu a[aria-current="page"] { background: #e8f6ff; }
main { max-width: 1080px; margin: 0 auto; padding: 30px 18px 46px; }
section, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
h2 { margin: 0 0 14px; color: var(--brand-dark); font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { margin: 18px 0 8px; color: var(--brand); }
p { margin-top: 0; }
ul { padding-left: 1.25rem; }
.eyebrow-dark {
  color: var(--brand);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: stretch;
}
.hero .card { margin: 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.badge { background: #e8f6ff; color: var(--brand-dark); border: 1px solid #b8dced; padding: 8px 12px; border-radius: 999px; font-weight: 700; }
.services-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.gallery-grid, .gallery-preview {
  display: grid;
  gap: 16px;
}
.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery-preview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0 4px;
}
.gallery-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(15, 76, 129, 0.08);
  margin: 0;
  overflow: hidden;
}
.gallery-card img, .gallery-preview img {
  aspect-ratio: 4 / 3;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.gallery-preview img {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.gallery-card figcaption {
  color: var(--ink);
  font-weight: 800;
  padding: 10px 12px 12px;
}
.before-after-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}
.before-after-grid figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}
.before-after-grid figure:first-child { border-top: 7px solid #c2410c; }
.before-after-grid figure:last-child { border-top: 7px solid #15803d; }
.before-after-grid img {
  aspect-ratio: 5 / 4;
  display: block;
  object-fit: cover;
  object-position: 50% 18%;
  width: 100%;
}
.before-after-grid figcaption {
  font-size: 1.05rem;
  font-weight: 800;
  padding: 12px 14px;
}
.comparison-label {
  color: #fff;
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .08em;
  padding: 9px 14px;
  text-align: center;
}
.comparison-label.before { background: #c2410c; }
.comparison-label.after { background: #15803d; }
.featured-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 22px;
  align-items: center;
}
.gallery-feature {
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  margin-top: 14px;
}
.commercial-media video {
  aspect-ratio: 9 / 16;
  background: #07111d;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: block;
  max-height: 640px;
  object-fit: cover;
  width: 100%;
}
.commercial-media img,
.media-poster {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: block;
  object-fit: cover;
  width: 100%;
}
.trust-grid, .process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.career-path-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.trust-item, .process-step {
  background: #f7fbfe;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.process-step strong, .process-step > span {
  align-items: center;
  background: var(--brand);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  margin-right: 8px;
  width: 32px;
}
.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.small-note {
  color: var(--muted);
  font-size: .92rem;
}
.number-list li { margin-bottom: 10px; }
.check-list li { margin-bottom: 8px; }
.service-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 22px;
}
.service-option {
  align-items: flex-start;
  background: #f7fbfe;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 14px;
}
.service-option:has(input:checked) {
  background: #e8f6ff;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(18, 116, 145, .12);
}
.service-option input { margin-top: 4px; }
.service-option small {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.upload-summary {
  background: #f7fbfe;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  margin-top: 8px;
  padding: 10px 12px;
}
.form-status[data-status-type="error"] {
  background: #fff1f0;
  border-color: #e0a19b;
  color: #7b2119;
}
.form-status[data-status-type="pending"] {
  background: #fff8e6;
  border-color: #e3c87d;
  color: #654b08;
}
.quote-form button:disabled {
  cursor: wait;
  opacity: .65;
}
.photo-tag {
  border-radius: 999px;
  display: inline-block;
  font-size: .78rem;
  margin-right: 6px;
  padding: 3px 8px;
  text-transform: uppercase;
}
.photo-tag.before { background: #fff2d6; color: #7a4a00; }
.photo-tag.after { background: #def7ec; color: #0d5c3d; }
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
}
.price { color: var(--brand); font-weight: 800; font-size: 1.05rem; }
.btn {
  display: inline-block;
  border: 0;
  background: var(--accent);
  color: #08313a;
  cursor: pointer;
  font: inherit;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 800;
  margin-top: 10px;
}
.btn:hover, .btn:focus { background: #7ee1e8; color: #06262e; text-decoration: none; }
.btn-disabled {
  background: #cbd5df;
  color: #4b5968;
  cursor: not-allowed;
}
.btn-disabled:hover, .btn-disabled:focus {
  background: #cbd5df;
  color: #4b5968;
  text-decoration: none;
}
.notice { background: #fff8e7; border-left: 5px solid #f0b429; }
.welcome-note { background: linear-gradient(135deg, #ffffff, #f0fbf6); border-left: 5px solid #58b88b; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { border: 1px solid var(--line); padding: 12px; text-align: left; }
th { background: #eef6fb; color: var(--brand-dark); }
.faq-question {
  width: 100%;
  background: #eef6fb;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brand-dark);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
  padding: 13px 14px;
  margin-top: 10px;
}
.faq-answer { display: none; padding: 10px 14px 2px; color: var(--muted); }
.contact-box { background: linear-gradient(135deg, #ffffff, #e8f6ff); }
.quote-intro { background: linear-gradient(135deg, #ffffff, #f0fbf6); }
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 22px;
  align-items: start;
}
.quote-form, .quote-result {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.quote-form fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 0 0 18px;
  padding: 18px;
}
.quote-form legend {
  color: var(--brand-dark);
  font-weight: 800;
  padding: 0 6px;
}
.quote-form label {
  display: block;
  color: var(--ink);
  font-weight: 800;
  margin: 12px 0 6px;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #b8c7d7;
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
  background: #fff;
}
.input-help {
  color: var(--muted);
  font-size: .9rem;
  margin: 6px 0 0;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(34, 166, 179, .25);
  border-color: var(--accent);
}
.estimate-fields[hidden] { display: none; }
.estimate-fields {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 6px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.optional { color: var(--muted); font-size: .9em; font-weight: 500; }
.estimate-notes { padding-left: 20px; color: var(--muted); }
.estimate-breakdown {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 12px;
}
.estimate-breakdown h3 {
  font-size: 1rem;
  margin-top: 10px;
}
.estimate-breakdown ul {
  margin-bottom: 10px;
}
.estimate-breakdown li {
  margin-bottom: 7px;
}
.check-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.check-row input { width: auto; }
.agreement-fieldset { background: #f7fbfe; }
.agreement-row { align-items: flex-start; font-weight: 600 !important; }
.agreement-row input { margin-top: 6px; }
.spam-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.add-on-list {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 6px;
}
.field-note {
  color: var(--brand-dark);
  font-weight: 900;
  margin: 12px 0 4px;
}
.quote-result {
  position: sticky;
  top: 18px;
  background: #fffdf7;
  border-left: 5px solid #f0b429;
}
.result-label {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.estimate-total {
  color: var(--brand-dark);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 14px;
}
.fine-print {
  color: var(--muted);
  font-size: .92rem;
  margin-top: 16px;
}
[hidden] { display: none !important; }
footer { background: var(--brand-dark); color: #dfeaf3; text-align: center; padding: 20px 12px; }
footer p { margin: 4px 0; }
footer a { color: #bdeaf0; }
.print-doc section { break-inside: avoid; }
.print-checklist { list-style: none; padding-left: 0; }
.print-checklist li { border-bottom: 1px solid #d8e2ea; padding: 7px 0; }
.signature-box { border: 1px solid var(--line); min-height: 110px; margin-top: 10px; background: #fff; }
.signature-grid { display: grid; gap: 18px; margin-top: 18px; }
.page-break { break-before: page; }
@media print {
  body { background: #fff; color: #111; }
  .site-header, footer { background: #fff !important; color: #111 !important; box-shadow: none; }
  .site-nav, .btn { display: none !important; }
  main { max-width: none; padding: 0; }
  section, .card, .notice { box-shadow: none; border: 1px solid #bbb; page-break-inside: avoid; }
  a { color: #111; text-decoration: none; }
}
@media (max-width: 760px) {
  .hero, .services-grid, .pricing-grid, .quote-layout, .gallery-grid, .featured-work, .gallery-feature, .trust-grid, .process-grid, .before-after-grid, .form-grid, .two-column, .service-picker { grid-template-columns: 1fr; }
  .gallery-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { padding-top: 26px; }
  section, .card { padding: 20px; }
  .quote-result { position: static; }
  .quote-form, .quote-result { padding: 18px; }
  .quote-form input, .quote-form select, .quote-form textarea { font-size: 16px; min-height: 48px; }
  .check-row { align-items: flex-start; padding: 5px 0; }
  .check-row input[type="checkbox"] { flex: 0 0 22px; height: 22px; margin-top: 3px; }
  .quote-result .btn { display: block; width: 100%; min-height: 50px; }
  .site-nav { padding: 8px; }
  .menu-toggle { display: block; min-height: 44px; }
  .nav-menu { display: none; align-items: stretch; padding: 8px 0 2px; }
  .nav-menu.is-open { display: grid; }
  .site-nav a, .services-toggle { width: 100%; padding: 11px 14px; border-radius: 9px; text-align: left; font-size: 1rem; }
  .nav-group { width: 100%; }
  .services-menu { position: static; min-width: 0; margin: 3px 8px 8px; transform: none; box-shadow: none; }
  .services-menu a { color: var(--brand-dark); padding-left: 20px; }
}
@media (max-width: 480px) {
  main { padding: 18px 10px 34px; }
  .site-header { padding-left: 10px; padding-right: 10px; }
  section, .card, .quote-form, .quote-result { border-radius: 12px; padding: 15px; }
  .quote-form fieldset { padding: 14px 12px; }
  h1 { font-size: 2rem; }
  .tagline { font-size: 1rem; }
  .estimate-total { font-size: 2.25rem; }
  th, td { padding: 9px; min-width: 120px; }
}

/* Private preparation and accessibility */
.preview-banner { margin:0; padding:12px 18px; background:#fff1cf; color:#302600; text-align:center; font-size:.95rem; }
.skip-link { position:absolute; left:12px; top:-90px; z-index:100; background:white; padding:12px; color:#15342b; }
.skip-link:focus { top:12px; }
:focus-visible { outline:3px solid #bc781a; outline-offset:3px; }
button:disabled { cursor:not-allowed; opacity:.65; }
fieldset:disabled { opacity:.65; }
main, .card, .quote-result, .quote-form { min-width:0; }
.estimate-breakdown { overflow-wrap:anywhere; }
@media(max-width:760px) { .quote-result { position:static; } }

/* Owner-selected Mile High identity, November 7. */
:root { --brand:#123d56; --brand-dark:#082c40; --accent:#c69221; --cream:#f7f5ef; --ink:#142b3b; --muted:#54636d; --line:#dbe0e2; --shadow:0 8px 24px rgba(8,44,64,.07); }
.site-header { background:#fff; color:var(--ink); padding-top:20px; }
.brand-identity { display:flex; justify-content:center; align-items:center; gap:18px; width:fit-content; max-width:100%; margin:0 auto 16px; text-align:left; color:var(--brand-dark); }
.brand-identity:hover { color:var(--brand-dark); text-decoration:none; }
.brand-identity img { width:104px; height:104px; object-fit:contain; flex-shrink:0; }
.brand-identity>span { border-left:2px solid var(--accent); padding-left:18px; line-height:1.12; }
.brand-identity strong { display:block; font-size:clamp(1.5rem,4vw,2.4rem); letter-spacing:.06em; }
.brand-identity>span>span { display:block; margin-top:6px; font-size:clamp(1.1rem,3vw,1.7rem); font-weight:800; letter-spacing:.025em; }
.site-header h1 { font-size:clamp(1.8rem,4vw,2.6rem); }
.site-header .tagline { color:var(--muted); font-size:1rem; }
.slogan, .eyebrow { color:var(--brand); }
.site-nav { background:var(--brand-dark); border-top:3px solid var(--accent); }
.site-nav a[aria-current="page"] { background:#fff; color:var(--brand-dark); }
.badge { background:#f5efdf; color:var(--brand-dark); border-color:#e1d4b3; }
.action-row { display:flex; gap:12px; flex-wrap:wrap; margin:18px 0; }
.btn-secondary { background:#f6f0e0; color:var(--brand-dark); border:1px solid #d8c99e; }
.btn-secondary:hover, .btn-secondary:focus { background:#ede2c5; color:var(--brand-dark); }
details { border-top:1px solid var(--line); padding:16px 0; }
summary { cursor:pointer; font-weight:700; color:var(--brand-dark); min-height:32px; }
details p { margin:12px 0 0; }
footer a { color:#eed9a2; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.preview-banner { font-size:.82rem; padding:8px 14px; background:#f1e8d0; }
@media(max-width:480px) { .action-row .btn { width:100%; text-align:center; } .brand-identity { gap:10px; } .brand-identity img { width:72px; height:72px; } .brand-identity>span { padding-left:10px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Contact links remain usable without JavaScript. */
.contact-strip { display:flex; justify-content:center; flex-wrap:wrap; gap:8px 22px; padding:12px 16px; background:#f7f5ef; font-size:.95rem; }
.contact-strip a { color:#082c40; overflow-wrap:anywhere; min-height:28px; display:inline-flex; align-items:center; }
footer a { overflow-wrap:anywhere; }
#emailEstimate { margin-top:18px; }
