/* Glass Act Peoria LLC — flyer colors and type; multi-page layout */
:root {
  --navy: #0B2A4A;
  --blue: #2E8BC0;
  --sky: #9FD3F2;
  --pale: #E6F2FA;
  --ink: #1F2933;
  --muted: #4B5563;
  --footer-muted: #C9DFEE;
  --white: #ffffff;
  --bg: #f4f7fa;
  --card: #ffffff;
  --shadow: 0 8px 28px rgba(11, 42, 74, 0.12);
  --radius: 4px;
  --wrap: 1040px;
  --header-offset: 0px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Lato, "Segoe UI", Calibri, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: Poppins, "Segoe UI", sans-serif;
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p { margin: 0 0 0.85em; }

a { color: var(--blue); }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.visually-hidden {
  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: absolute;
  left: 12px; top: -48px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }

.wrap {
  width: min(calc(100% - 40px), var(--wrap));
  margin-inline: auto;
}

/* Top brand bar (structural nod to a full-width brand banner) */
.brand-bar {
  height: 10px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 55%, var(--sky) 100%);
}

/* Header: logo left, nav, prominent Call CTA */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(11, 42, 74, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  padding: 10px 0;
  position: relative;
}

.logo img {
  width: auto;
  height: 58px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-family: Poppins, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
}
.header-phone:hover { background: var(--blue); color: var(--white); }

.logo { order: 1; }
.site-nav { order: 2; }
.header-phone { order: 3; }
.nav-toggle-btn { order: 4; }


.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.nav-toggle-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle-btn span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle:checked + .nav-toggle-btn span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle:checked + .nav-toggle-btn span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-toggle-btn span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-left: auto;
  padding: 0;
}

.site-nav a {
  font-family: Poppins, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 0 8px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--blue);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Poppins, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: #071c32; border-color: #071c32; color: var(--white); }
.btn-secondary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-secondary:hover { background: #2474a3; border-color: #2474a3; color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-ghost-dark {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost-dark:hover { background: var(--pale); color: var(--navy); }
.btn-accent {
  background: var(--sky);
  color: var(--navy);
  border-color: var(--sky);
  width: 100%;
  padding: 14px 18px;
}
.btn-accent:hover { background: #b9e0f6; border-color: #b9e0f6; color: var(--navy); }

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  background-color: var(--navy);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 42, 74, 0.82) 0%,
    rgba(11, 42, 74, 0.55) 48%,
    rgba(11, 42, 74, 0.2) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 0 56px;
  max-width: 640px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.hero .lede {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.hero .sublede {
  color: var(--footer-muted);
  margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Content card on gray page */
.page-body { padding: 0 0 64px; }
.page-card {
  background: var(--card);
  margin-top: -28px;
  position: relative;
  z-index: 2;
  padding: 48px 56px 56px;
  box-shadow: var(--shadow);
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 28px;
}
.page-title + .page-lead {
  text-align: center;
  max-width: 40rem;
  margin: -8px auto 36px;
  color: var(--muted);
  font-size: 1.1rem;
}

.section { margin: 0 0 48px; }
.section:last-child { margin-bottom: 0; }

.section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: var(--blue);
  margin-top: 10px;
}

.intro p { font-size: 1.12rem; max-width: 42rem; }

/* What we clean */
.service-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
}
.service-list li { display: flex; gap: 14px; align-items: flex-start; }
.check {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 2px;
}
.service-list h3 {
  font-family: Lato, "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 2px;
}
.service-list p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Plans */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.plan-card {
  background: var(--pale);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan-card h3 {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.plan-card p { margin: 0; }
.plan-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
}
.plan-pills li {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: var(--radius);
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}
.cta-band h2 {
  color: var(--sky);
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
}
.cta-band h2::after { display: none; }
.cta-band p { color: var(--footer-muted); margin-bottom: 22px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Contact details */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: Poppins, "Segoe UI", sans-serif;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-list a {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  word-break: break-word;
}
.contact-list a:hover { color: var(--blue); }
.note { color: var(--muted); }

/* FAQ */
.faq-item {
  border-top: 1px solid #d7e2ea;
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid #d7e2ea; }
.faq-item h3 {
  font-size: 1.25rem;
  margin: 0 0 8px;
}
.faq-item p { margin: 0 0 0.6em; color: var(--ink); }
.faq-item p:last-child { margin-bottom: 0; }

/* Forms */
.estimate-form, .message-form {
  display: grid;
  gap: 0;
}
.form-block { margin-bottom: 28px; }
.form-block h3 {
  font-size: 1.2rem;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pale);
}
.field { margin-bottom: 14px; }
.field label,
.field legend {
  display: block;
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}
fieldset.field { border: 0; margin: 0 0 14px; padding: 0; }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 2px solid #c9d6e0;
  border-radius: var(--radius);
  padding: 10px 12px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  margin: 0;
}
.choice input { accent-color: var(--navy); width: 16px; height: 16px; }
.form-note { color: var(--muted); font-size: 0.98rem; margin-bottom: 16px; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--footer-muted);
  padding: 40px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.site-footer h2,
.site-footer h3 {
  color: var(--sky);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.site-footer h2::after, .site-footer h3::after { display: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.footer-brand p { margin: 0 0 6px; }
.footer-bottom {
  border-top: 1px solid rgba(159, 211, 242, 0.2);
  padding-top: 18px;
  text-align: center;
  font-size: 0.92rem;
}
.footer-bottom p { margin: 0 0 4px; }
.footer-bottom .copyright { margin-top: 10px; font-size: 0.85rem; opacity: 0.85; }

/* Inner page hero strip (uses the same photo, shorter) */
.page-hero {
  background: var(--navy) center 40% / cover no-repeat;
  min-height: 180px;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 42, 74, 0.45);
}


/* Homepage full-width sections */
.home-section {
  padding: 64px 0;
  background: var(--white);
}
.home-section.alt { background: var(--pale); }
.home-section .section { margin: 0; }

/* Service cards on the homepage */
.service-list.cards li {
  background: var(--white);
  border: 1px solid #d7e2ea;
  border-radius: var(--radius);
  padding: 18px 18px 18px 16px;
}
.home-section.alt .service-list.cards li { background: var(--white); }

@media (max-width: 1100px) {
  .wrap { width: min(calc(100% - 36px), var(--wrap)); }
}

@media (max-width: 1080px) {
  .logo img { height: 48px; }
  .header-inner { flex-wrap: wrap; min-height: 68px; gap: 10px; }
  .nav-toggle-btn { display: flex; margin-left: 0; }
  .header-phone { padding: 8px 12px; margin-left: auto; }
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    order: 5;
    padding: 8px 0 12px;
    margin-left: 0;
  }
  .site-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--pale);
    white-space: normal;
  }
  .site-nav a.active { border-bottom-color: var(--pale); box-shadow: inset 3px 0 0 var(--blue); padding-left: 10px; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

@media (max-width: 860px) {
  .page-card { padding: 32px 22px 40px; margin-top: -20px; }
  .service-list,
  .plan-grid,
  .contact-grid,
  .field-row,
  .footer-grid { grid-template-columns: 1fr; }

  .hero { min-height: 420px; align-items: flex-end; }
  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(11, 42, 74, 0.2) 0%,
      rgba(11, 42, 74, 0.72) 70%,
      rgba(11, 42, 74, 0.88) 100%
    );
  }
  .hero-inner { padding: 40px 0 36px; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 24px), var(--wrap)); }
  .header-phone .phone-num { display: none; }
  .service-list { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.85rem; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; }
  .page-hero { min-height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* Add to home screen hint — unobtrusive, dismissible */
.a2hs {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: none;
  align-items: flex-start;
  gap: 12px;
  max-width: 400px;
  margin-inline: auto;
  background: var(--navy);
  color: var(--white);
  padding: 14px 16px 14px 16px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(11, 42, 74, 0.28);
  font-size: 0.95rem;
  line-height: 1.4;
}
.a2hs.is-visible { display: flex; }
.a2hs-body { flex: 1; min-width: 0; }
.a2hs p { margin: 0; color: var(--white); }
.a2hs .a2hs-tip { margin-top: 4px; color: var(--sky); font-size: 0.88rem; }
.a2hs-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.a2hs-install,
.a2hs-dismiss {
  font-family: Poppins, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius);
  padding: 8px 12px;
  cursor: pointer;
  line-height: 1.2;
}
.a2hs-install {
  background: var(--sky);
  color: var(--navy);
  border: 2px solid var(--sky);
}
.a2hs-install:hover { background: #b9e0f6; border-color: #b9e0f6; }
.a2hs-dismiss {
  background: transparent;
  color: var(--sky);
  border: 2px solid transparent;
}
.a2hs-dismiss:hover { color: var(--white); }
.a2hs-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin: -4px -6px 0 0;
  border: 0;
  background: transparent;
  color: var(--sky);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
}
.a2hs-close:hover { color: var(--white); }
@media (min-width: 561px) {
  .a2hs {
    left: auto;
    right: 20px;
    bottom: 20px;
    width: 360px;
    margin-inline: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .a2hs { transition: none; }
}
