* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f2f2f4;
  color: #1a1a2e;
}

/* Constrain page like the flyer composition */
.page-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.top-bar {
  background: #e4e4e6;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 40px;
  position: relative;
}

.top-bar .site-title {
  color: #111111;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

.top-bar .site-title a {
  color: inherit;
  text-decoration: none;
}

.btn-contact-top {
  background: #1a2744;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-contact-top:hover {
  background: #c0420a;
  color: #ffffff;
}

/* Hero: image slightly wider, top-aligned (no tall empty left column) */
.hero {
  background: #f2f2f4;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
  padding: 22px 40px 8px;
}

.hero-left {
  padding: 4px 8px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-areas {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1a2744;
  text-transform: uppercase;
  line-height: 1.65;
  margin-bottom: 16px;
}

.hero-headline {
  font-size: 28px;
  font-weight: 900;
  color: #1a2744;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}

.hero-sub {
  font-size: 11px;
  font-weight: 600;
  color: #222222;
  text-transform: uppercase;
  line-height: 1.75;
  letter-spacing: 0.4px;
  margin-bottom: 22px;
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 11px 24px;
  font-size: 18px;
  font-weight: 900;
  color: #1a1a2e;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 12px;
  max-width: 280px;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.btn-phone:hover { background: #fff8f5; }

.btn-phone svg {
  width: 24px;
  height: 24px;
  background: #c0420a;
  border-radius: 50%;
  padding: 5px;
  flex-shrink: 0;
}

.btn-upload {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 11px 22px;
  font-size: 10px;
  font-weight: 800;
  color: #1a1a2e;
  cursor: pointer;
  text-decoration: none;
  max-width: 280px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.35;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.btn-upload:hover { background: #fff8f5; }

.btn-upload svg {
  width: 38px;
  height: 38px;
  background: #c0420a;
  border-radius: 50%;
  padding: 7px;
  flex-shrink: 0;
}

.hero-right {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  background: #ddd;
  align-self: stretch;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 460px;
  aspect-ratio: 4 / 5;
}

/* SEO content between hero and product */
.seo-content {
  background: #1a2744;
  padding: 36px 40px;
  border-top: 3px solid #c0420a;
}

.seo-content-inner {
  max-width: 900px;
  margin: 0 auto;
}

.seo-content h2 {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 12px;
}

.seo-content h2 + h2,
.seo-content p + h2 {
  margin-top: 28px;
}

.seo-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #e8eaf0;
  margin-bottom: 0;
}

.seo-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.seo-content li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #e8eaf0;
}

.seo-content li:last-child {
  margin-bottom: 0;
}

.seo-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c0420a;
}

/* Product row mirrors hero columns so card sits under copy, logo under image */
.product-section {
  background: #f2f2f4;
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 16px;
  justify-content: center;
  align-items: start;
  padding: 12px 40px 28px;
}

.product-card {
  background: #e4e4e6;
  border-radius: 16px;
  padding: 22px;
  width: 100%;
  max-width: 340px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.product-card-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.product-card-icons svg {
  width: 32px;
  height: 32px;
  color: #c0420a;
}

.product-img-box {
  background: #888;
  border-radius: 10px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.product-card h3 {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  color: #111111;
  letter-spacing: 1px;
  line-height: 1.3;
}

.product-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding-top: 4px;
}

.firescreen-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.firescreen-logo img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

.product-photo-2 {
  background: #888;
  border-radius: 14px;
  height: 150px;
  width: 260px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.product-photo-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

footer {
  background: #e4e4e6;
  color: #222222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px 10px 40px;
  font-size: 11px;
  letter-spacing: 0.4px;
  flex-wrap: wrap;
  gap: 8px;
}

footer .footer-details {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

footer .footer-logo img {
  display: block;
  height: 38px;
  width: auto;
}

footer a { color: #1a2744; text-decoration: none; font-weight: 700; }
footer a:hover { text-decoration: underline; color: #c0420a; }

/* Contact / thank-you pages */
.page-main {
  background: #f2f2f4;
  padding: 60px 40px;
  border-top: 3px solid #c0420a;
  min-height: 50vh;
}

.page-main-inner { max-width: 600px; margin: 0 auto; }

.page-main h1,
.page-main h2 {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  color: #1a2744;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.page-main .intro {
  font-size: 13px;
  color: #555;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a2744;
  display: block;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.form-group textarea { resize: vertical; }

.file-drop {
  border: 2px dashed #c0420a;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  background: #fff8f5;
  margin-bottom: 28px;
}

.file-drop input[type="file"] {
  display: block;
  width: 100%;
  margin: 0 auto;
  font-size: 13px;
}

.file-drop .hint {
  font-size: 11px;
  color: #888;
  margin-top: 8px;
}

.btn-submit {
  background: #c0420a;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 14px 40px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
}

.btn-submit:hover { background: #a33808; }

.error-box {
  background: #fff5f0;
  border: 2px solid #c0420a;
  border-radius: 8px;
  padding: 20px;
  color: #1a2744;
  margin-bottom: 20px;
}

.error-box a { color: #c0420a; font-weight: 700; }

.thank-you-msg {
  font-size: 16px;
  line-height: 1.6;
  color: #1a2744;
  margin: 24px 0 32px;
}

.btn-home {
  display: inline-block;
  background: #1a2744;
  color: #fff;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  border-radius: 4px;
}

.btn-home:hover { background: #c0420a; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 18px 20px 8px;
    gap: 18px;
  }
  .hero-right img { min-height: 300px; aspect-ratio: 4 / 3; }
  .seo-content { padding: 28px 20px; }
  .product-section {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 16px 20px 24px;
    gap: 24px;
  }
  .product-card { width: 100%; max-width: 320px; }
  .product-right { align-items: center; }
  .product-photo-2 { width: 100%; max-width: 320px; }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 12px 16px;
  }

  .top-bar .site-title {
    font-size: 12px;
    letter-spacing: 0.4px;
    padding-right: 96px;
    text-align: left;
    line-height: 1.3;
    word-break: break-word;
  }

  .btn-contact-top {
    right: 16px;
    padding: 8px 14px;
    font-size: 11px;
  }

  /* Hero: photo on top, text/buttons below */
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-right {
    order: -1;
    height: 300px;
  }

  .hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-left {
    order: 1;
    padding: 20px;
  }

  .hero-headline {
    font-size: 22px;
  }

  .btn-phone,
  .btn-upload {
    max-width: 100%;
  }

  .seo-content {
    padding: 28px 16px;
  }

  .seo-content h2 {
    font-size: 16px;
  }

  /* Product: card full width, then logo + install photo full width */
  .product-section {
    grid-template-columns: 1fr;
    justify-items: stretch;
    padding: 16px 16px 24px;
    gap: 20px;
  }

  .product-card {
    width: 100%;
    max-width: none;
  }

  .product-right {
    width: 100%;
    align-items: stretch;
  }

  .firescreen-logo img {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .product-photo-2 {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  footer {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  footer .footer-details {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-main {
    padding: 40px 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
