/* Full Picture Estimate: public demonstration page (fictional sample customer) */

/* 1. Parallax Hero with Home Photo + Centered Content */
.fpe-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(440px, 64vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background-color: var(--navy-dark, #06253d);
  border-bottom: 3px solid var(--gold);
  text-align: center;
}
.fpe-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("img/2026_02_20260214_140453-scaled.jpg");
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  pointer-events: none;
}
.fpe-hero-media .fpe-hero-img {
  display: none;
}
@supports (-webkit-touch-callout: none) {
  .fpe-hero-media { background-attachment: scroll; }
}
@media (hover: none) and (pointer: coarse) {
  .fpe-hero-media { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
  .fpe-hero-media { background-attachment: scroll; }
}
.fpe-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(6, 37, 61, 0.50) 0%,
    rgba(6, 37, 61, 0.62) 52%,
    rgba(6, 37, 61, 0.84) 100%
  );
  pointer-events: none;
}
.fpe-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fpe-hero .fpe-eyebrow,
.fpe-hero .hr-eyebrow {
  display: inline-block;
  background: rgba(196, 145, 59, 0.25);
  border: 1px solid rgba(196, 145, 59, 0.72);
  color: #f6d58e;
  font-weight: 700;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.fpe-hero h1 {
  color: #fff;
  font-size: clamp(2.15rem, 4.8vw, 3.35rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  margin: 0 auto 0.65rem;
  text-align: center;
}
.fpe-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.02rem;
  margin: 0 auto 1.45rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.fpe-hero-meta strong { color: #f6d58e; }
.fpe-hero .est-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* 2. Centered Jump-Link Navigation Bar (safe on mobile horizontal scroll) */
.hr-toc ul {
  justify-content: flex-start;
}
.hr-toc ul > li:first-child {
  margin-left: auto;
}
.hr-toc ul > li:last-child {
  margin-right: auto;
}

/* 3. Center Section Headings, Eyebrows & Lead Copy Across Estimate Sections */
.hr-section > .container > .hr-eyebrow {
  display: block;
  text-align: center;
  color: var(--gold-text, #a87830);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.hr-section > .container > h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.hr-section > .container > p.lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.fpe-sub {
  color: var(--navy);
  font-size: 1.18rem;
  margin: 1.75rem auto 0.85rem;
  text-align: center;
}
.fpe-h2-gap {
  margin-top: 2.5rem;
  text-align: center;
}

/* 4. Thank You Section (Centered) */
#thanks .hr-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
}
#thanks .hr-thanks h2 {
  text-align: center;
  margin-bottom: 0.45rem;
}
#thanks .hr-thanks p {
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
}
#thanks .hr-contact-card {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}
.fpe-social {
  font-size: 0.85rem !important;
  color: var(--gray-500);
  margin-top: 0.4rem;
}

/* 5. About AdEx Section & Centered "Insured & local · Since 2002" Pills */
#about .container {
  text-align: center;
}
.fpe-lead-strong {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
  max-width: 66ch;
  margin: 0 auto 0.85rem;
  text-align: center;
}
.fpe-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin: 1.15rem auto 0;
}
.fpe-badges span {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border: 1.5px solid var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
}

/* 6. Formal Estimate Sheet & Header (#estimate) */
.fpe-est-sheet {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  margin-top: 1.15rem;
  text-align: left;
}
.fpe-est-header {
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 1.35rem;
  margin-bottom: 1.25rem;
}
.fpe-est-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}
.fpe-est-company {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.fpe-est-logo {
  height: 52px;
  width: auto;
  display: block;
}
.fpe-est-company-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.fpe-est-company-text strong {
  font-size: 1.12rem;
  color: var(--navy);
}
.fpe-est-company-text a {
  color: var(--navy);
  font-weight: 600;
}
.fpe-est-title-box {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}
.fpe-est-doc-badge {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.32rem 0.85rem;
  border-radius: 6px;
}
.fpe-est-project-type {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}
.fpe-est-date {
  font-size: 0.9rem;
  color: var(--gray-500);
}
.fpe-est-date strong {
  color: var(--charcoal);
}
.fpe-est-parties {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  padding-top: 1.2rem;
}
@media (min-width: 820px) {
  .fpe-est-parties {
    grid-template-columns: 1.1fr 1.35fr 1fr;
    align-items: stretch;
  }
}
.fpe-est-party {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0.95rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.fpe-est-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-text, #a87830);
  margin-bottom: 0.2rem;
}
.fpe-est-client-name {
  font-size: 1.08rem;
  color: var(--navy);
}
.fpe-est-kv {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.15rem 0;
  border-bottom: 1px dashed var(--gray-200);
  font-size: 0.86rem;
}
.fpe-est-kv:last-child {
  border-bottom: 0;
}
.fpe-est-kv span {
  color: var(--gray-500);
}
.fpe-est-kv strong {
  color: var(--charcoal);
  text-align: right;
}
.fpe-est-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  background: var(--cream);
  border-color: var(--gold);
  align-items: center;
}
.fpe-est-kpi {
  text-align: center;
  padding: 0.25rem;
}
.fpe-est-kpi:first-child {
  border-right: 1px solid rgba(196, 145, 59, 0.35);
}
.fpe-est-kpi span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
}
.fpe-est-kpi strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 0.15rem;
}
@media (max-width: 639px) {
  .fpe-est-sheet { padding: 1.15rem; }
  .fpe-est-title-box { text-align: left; align-items: flex-start; }
}

.fpe-note {
  background: #fffdf8;
  border: 1px solid #ead4a6;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  text-align: left;
}
.fpe-note strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.fpe-note p {
  font-size: 0.88rem;
  color: var(--gray-700);
  margin: 0;
}

.fpe-line-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.75rem;
}
.fpe-line-header h3 {
  font-size: 1.12rem;
  color: var(--navy);
  margin: 0;
}
.fpe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
}
.fpe-tags span {
  background: var(--cream);
  border: 1px solid var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}

.fpe-total-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.15rem;
  align-items: stretch;
}
@media (min-width: 760px) {
  .fpe-total-row {
    grid-template-columns: 1.6fr 1fr;
  }
}
.fpe-total-row .fpe-note {
  margin-bottom: 0;
}
.fpe-total {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 1.1rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
}
.fpe-total span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f6d58e;
  font-weight: 700;
}
.fpe-total strong {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0.15rem 0;
}
.fpe-total small {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

.fpe-thanks-note {
  margin-top: 1rem;
  background: var(--gray-50);
  border-color: var(--gray-200);
  border-left-color: var(--navy);
}
.fpe-sign {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--gray-700);
}
@media (min-width: 760px) {
  .fpe-sign {
    grid-template-columns: 1.3fr 1fr;
  }
}
.fpe-sign p {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
  flex-wrap: wrap;
}
.fpe-sign .line {
  flex: 1;
  min-width: 140px;
  border-bottom: 1.5px solid var(--gray-500);
  padding: 0 0.35rem 0.1rem;
  font-weight: 600;
  color: var(--navy);
}
.fpe-sign .line.short {
  flex: 0 0 90px;
  min-width: 80px;
}

.fpe-doc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.fpe-pages {
  margin-top: 1rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 0.85rem;
  text-align: center;
}
.fpe-pages summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}
.fpe-pages img {
  width: 100%;
  max-width: 820px;
  height: auto;
  display: block;
  margin: 0.85rem auto 0;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
}

/* 7. Window Breakdown Table */
.fpe-wide {
  min-width: 780px;
}
.fpe-table th,
.fpe-table td {
  text-align: center;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--gray-100);
}
.fpe-table th:nth-child(2),
.fpe-table td:nth-child(2) {
  text-align: left;
}
.fpe-table tfoot td {
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--navy);
  border-top: 2px solid var(--navy);
  background: var(--cream);
  text-align: right;
}
@media (max-width: 599px) {
  .fpe-wide { min-width: 680px; }
  .fpe-wide th:nth-child(2),
  .fpe-wide td:nth-child(2) { display: table-cell; }
}

/* 8. Numbered Window Photos & Terms (Centered) */
.fpe-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 1.25rem;
}
.fpe-photos a {
  display: block;
}
.fpe-photos img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.fpe-terms {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--gray-700);
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  max-width: 880px;
  margin: 0.75rem auto 0;
  text-align: center;
}

/* 9. Industry References, Financial References & Warranty (Centered) */
#references .container,
#warranty .container {
  text-align: center;
}
#references h2,
#warranty h2 {
  text-align: center;
}
#references .ref-grid.fpe-docs,
#warranty .ref-grid.fpe-docs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  max-width: 760px;
  margin: 0.85rem auto 0;
}
#references .ref-card,
#warranty .ref-card {
  flex: 0 1 320px;
  width: 100%;
  max-width: 340px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.35rem;
}
#references .ref-card p,
#warranty .ref-card p {
  margin-bottom: 0;
}

/* 10. About the Product — 3 Columns on Desktop, Centered Cards */
#product .container {
  text-align: center;
}
#product .spec-grid.fpe-spec {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  #product .spec-grid.fpe-spec {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
#product .spec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 1.4rem;
}
#product .spec-card .hr-eyebrow {
  display: block;
  text-align: center;
  color: var(--gold-text, #a87830);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.fpe-brand {
  font-size: 1.75rem !important;
  color: var(--navy);
  margin: 0.1rem 0 0.9rem !important;
  text-align: center;
}
#product .spec-card .check-list {
  text-align: left;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 1.25rem;
}
#product .spec-card .bar-group {
  width: 100%;
  text-align: left;
}
#product .spec-card .bar-group h4 {
  text-align: center;
  font-size: 1.02rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
}
.fpe-spec-img {
  max-width: 220px;
  height: auto;
  margin: 0.5rem auto 0.9rem;
  display: block;
}
#product .spec-card .btn {
  margin-top: auto;
}

/* 11. Window Options — Window Color Options & Common Grid Patterns (Non-Stacked Horizontal Grids) */
#options .container {
  text-align: center;
}
.fpe-colors,
.fpe-grids {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  max-width: 1020px;
  margin: 0 auto;
}
.fpe-colors .swatch,
.fpe-grids .swatch {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.85rem 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
}
.fpe-colors img {
  width: 100%;
  max-width: 140px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.fpe-grids img {
  width: 72px;
  height: 122px;
  object-fit: contain;
  margin: 0 auto 0.5rem;
  display: block;
}
.fpe-grids figcaption {
  font-size: 0.86rem;
  color: var(--navy);
  text-align: center;
}
@media (max-width: 767px) {
  .fpe-colors,
  .fpe-grids {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 12. Reviews (Centered Header) */
#reviews .container > h2,
#reviews .container > p.lead {
  text-align: center;
}
.fpe-reviews {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* 13. Projects in Your Area — 3 Closest Projects in 3-Column Grid */
#projects .container {
  text-align: center;
}
.fpe-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.15rem;
}
@media (max-width: 820px) {
  .fpe-projects {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
}
.fpe-project {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}
.fpe-project:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.fpe-project img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.fpe-project div {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.fpe-project strong {
  color: var(--navy);
  font-size: 0.96rem;
}
.fpe-project span {
  color: var(--gold-text, #a87830);
  font-size: 0.84rem;
  font-weight: 700;
}

/* 14. Contact Us Section (Centered) */
.fpe-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.15rem;
}
.fpe-contact .est-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}


/* Mobile horizontal overflow guard */
html, body {
  overflow-x: clip;
  max-width: 100%;
}
.fpe-est-sheet,
.fpe-est-parties > *,
.fpe-total-row > *,
.fpe-sign > *,
.est-table-wrap {
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 639px) {
  .fpe-hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    word-break: break-word;
  }
  .fpe-hero .est-actions {
    width: 100%;
  }
  .fpe-hero .est-actions .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
}
