/* =========================================================
   ARKSTRUX — Roofing Overview
   styles.css
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  --graphite: #191b1c;
  --graphite-light: #252829;
  --charcoal: #303334;
  --warm-white: #f6f4ef;
  --off-white: #fbfaf7;
  --bronze: #a77945;
  --bronze-dark: #805b35;
  --text-dark: #202223;
  --text-muted: #62686a;
  --border: #dcd8d0;
  --white: #ffffff;
  --footer-bg: #111314;

  --font-main: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container-max: 1280px;
  --container-max-xl: 1360px;
  --side-padding: 24px;

  --section-pad-desktop: 132px;
  --section-pad-tablet: 96px;
  --section-pad-mobile: 72px;

  --radius-sm: 4px;
  --radius-md: 8px;

  --transition-base: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 88px;
  --header-height-scrolled: 76px;
  --header-height-mobile: 64px;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, p {
  margin: 0;
}

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.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;
}

/* ---------- 3. Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

@media (min-width: 1600px) {
  .container {
    max-width: var(--container-max-xl);
  }
}

.section {
  padding: var(--section-pad-desktop) 0;
}

@media (max-width: 992px) {
  .section {
    padding: var(--section-pad-tablet) 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-pad-mobile) 0;
  }
}

.section--dark {
  background: var(--graphite);
  color: var(--warm-white);
}

.section--light {
  background: var(--off-white);
}

.section--white {
  background: var(--white);
}

.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 16px;
}

.section--dark .eyebrow {
  color: var(--bronze);
}

h2 {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.section-intro {
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
}

.section--dark .section-intro {
  color: rgba(246, 244, 239, 0.72);
}

@media (max-width: 768px) {
  h2 {
    font-size: 34px;
  }
  h3 {
    font-size: 21px;
  }
  .section-intro {
    font-size: 17px;
  }
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--bronze);
  color: var(--warm-white);
}

.btn-primary:hover {
  background: var(--bronze-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--warm-white);
  border-color: rgba(246, 244, 239, 0.4);
}

.btn-secondary:hover {
  border-color: var(--warm-white);
  background: rgba(246, 244, 239, 0.08);
}

.btn-secondary--onlight {
  color: var(--text-dark);
  border-color: var(--border);
}

.btn-secondary--onlight:hover {
  border-color: var(--text-dark);
  background: rgba(32, 34, 35, 0.04);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bronze);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.btn-link:hover {
  border-color: currentColor;
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }
}

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(17, 19, 20, 0.55), rgba(17, 19, 20, 0));
  transition: background var(--transition-base), box-shadow var(--transition-base), min-height var(--transition-base);
}

.site-header.is-scrolled {
  min-height: calc(var(--header-height-scrolled) + env(safe-area-inset-top, 0px));
  background: var(--graphite);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--warm-white);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--warm-white);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.nav-link:hover::after,
.has-mega:focus-within .nav-link::after {
  transform: scaleX(1);
}

.has-mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 32px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: 50;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 14px;
}

.mega-col a {
  display: block;
  padding: 7px 0;
  font-size: 14.5px;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: color var(--transition-base);
}

.mega-col a:hover {
  color: var(--bronze);
}

.header-cta {
  display: none;
}

@media (min-width: 993px) {
  .header-cta {
    display: inline-flex;
    height: 46px;
    padding: 0 22px;
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--warm-white);
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

/* ---------- 6. Mobile Menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--graphite);
  z-index: 200;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-base);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--warm-white);
  padding: 8px;
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}

.mobile-nav-link {
  display: block;
  padding: 16px 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--warm-white);
  border-bottom: 1px solid rgba(246, 244, 239, 0.1);
}

.mobile-accordion {
  border-bottom: 1px solid rgba(246, 244, 239, 0.1);
}

.mobile-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: none;
  border: none;
  color: var(--warm-white);
  font-size: 20px;
  font-weight: 500;
}

.mobile-accordion-trigger svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-base);
}

.mobile-accordion-trigger[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.mobile-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.mobile-accordion-panel a {
  display: block;
  padding: 10px 0 10px 14px;
  font-size: 16px;
  color: rgba(246, 244, 239, 0.75);
}

.mobile-menu-cta {
  margin-top: 28px;
  width: 100%;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 760px;
  height: 88vh;
  max-height: 920px;
  margin-top: calc(-1 * var(--header-height));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--warm-white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 17, 18, 0.86) 0%, rgba(15, 17, 18, 0.58) 45%, rgba(15, 17, 18, 0.22) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 96px;
}

.hero-text {
  max-width: 760px;
}

.hero h1 {
  font-size: 68px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
}

.hero-desc {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(246, 244, 239, 0.86);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.hero .btn {
  height: 56px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(246, 244, 239, 0.65);
  letter-spacing: 0.01em;
}

.trust-line .dot {
  color: var(--bronze);
}

@media (max-width: 992px) {
  .hero {
    min-height: 680px;
  }
  .hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .site-header,
  .site-header.is-scrolled {
    min-height: calc(var(--header-height-mobile) + env(safe-area-inset-top, 0px));
  }
  .hero {
    /* height:88vh (set at the base rule) can end up shorter than the actual
       hero copy once it wraps across several lines at narrow widths, which
       pushes the bottom-anchored text above the top of the hero box. Let
       the hero grow to fit its content instead, with min-height as a floor
       rather than a fixed/viewport-relative height. */
    height: auto;
    min-height: 720px;
    align-items: flex-end;
    /* There isn't enough vertical room on mobile to safely overlap the hero
       under the sticky header (the trick used on desktop/tablet), so the
       hero simply starts after the header's own reserved space instead. */
    margin-top: 0;
  }
  .hero-media img {
    object-position: 68% center;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-desc {
    font-size: 17px;
  }
  .hero-content {
    padding-bottom: 56px;
  }
}

/* ---------- 8. Roofing Systems Cards ---------- */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .systems-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.system-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.system-card:hover,
.system-card:focus-visible {
  box-shadow: 0 20px 40px rgba(25, 27, 28, 0.12);
  transform: translateY(-3px);
  border-color: transparent;
}

.system-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--graphite-light);
}

.system-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.system-card:hover .system-card-media img {
  transform: scale(1.035);
}

.system-card-body {
  padding: 26px 26px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.system-card-body h3 {
  margin-bottom: 8px;
}

.system-card-subtitle {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--bronze);
  margin-bottom: 12px;
}

.system-card-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
}

.system-card-cta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.system-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.system-card:hover .system-card-cta svg {
  transform: translateX(4px);
}

/* ---------- 9. Other Material CTA Strip ---------- */
.other-material {
  padding: 60px 0;
}

.other-material-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.other-material h3 {
  font-size: 26px;
  margin-bottom: 10px;
  max-width: 480px;
}

.other-material p {
  color: rgba(246, 244, 239, 0.72);
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .other-material-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .other-material .btn {
    width: 100%;
  }
}

/* ---------- 10. Comparison Table ---------- */
.compare-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table thead th {
  text-align: left;
  padding: 18px 24px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}

.compare-row {
  cursor: pointer;
  transition: background var(--transition-base);
}

.compare-row td {
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child td {
  border-bottom: none;
}

.compare-row-link {
  display: flex;
  align-items: center;
  min-height: 104px;
  padding: 0 24px;
  color: inherit;
  border-left: 3px solid transparent;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.compare-row:hover .compare-row-link {
  background: var(--warm-white);
  border-left-color: var(--bronze);
}

.compare-row:hover .compare-row-arrow {
  transform: translateX(4px);
  opacity: 1;
}

.compare-table td {
  font-size: 15.5px;
  vertical-align: middle;
}

.col-system {
  font-weight: 600;
  color: var(--text-dark);
}

.col-price {
  color: var(--bronze-dark);
  font-weight: 600;
  white-space: nowrap;
}

.col-why {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 340px;
}

.col-arrow {
  text-align: right;
}

.compare-row-arrow {
  width: 18px;
  height: 18px;
  opacity: 0.4;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.pricing-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 720px;
}

.compare-cta-link {
  margin-top: 18px;
}

/* Mobile stacked cards */
@media (max-width: 768px) {
  .compare-table thead {
    display: none;
  }
  .compare-table,
  .compare-table tbody,
  .compare-row,
  .compare-table td {
    display: block;
    width: 100%;
  }
  .compare-row {
    margin-bottom: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .compare-row td {
    border-bottom: none;
  }
  .compare-row-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 20px;
    min-height: 0;
  }
  .col-arrow {
    display: none;
  }
}

/* SEO text blocks below table */
.compare-faq {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .compare-faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.compare-faq h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.compare-faq p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ---------- 11. Why ARKSTRUX ---------- */
.why-section {
  position: relative;
  background: var(--graphite);
  color: var(--warm-white);
  overflow: hidden;
}

.why-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.why-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.why-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 20, 0.88);
}

.why-inner {
  position: relative;
  z-index: 1;
}

.why-lede {
  max-width: 620px;
  margin-bottom: 56px;
}

.why-lede p {
  margin-top: 16px;
  font-size: 17.5px;
  line-height: 1.65;
  color: rgba(246, 244, 239, 0.78);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  padding: 34px;
  background: rgba(246, 244, 239, 0.04);
  border: 1px solid rgba(246, 244, 239, 0.12);
  border-radius: var(--radius-md);
}

.why-card-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  color: var(--bronze);
}

.why-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--warm-white);
}

.why-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(246, 244, 239, 0.68);
}

.why-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(246, 244, 239, 0.14);
}

.why-footer .trust-line {
  color: rgba(246, 244, 239, 0.6);
}

/* ---------- 12. Featured Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}

@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.project-card:hover {
  box-shadow: 0 20px 40px rgba(25, 27, 28, 0.12);
  transform: translateY(-3px);
}

.project-card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--graphite-light);
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.project-card:hover .project-card-media img {
  transform: scale(1.035);
}

.project-card-body {
  padding: 22px 24px 26px;
}

.project-tag {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 10px;
}

.project-card-body h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.project-location {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.project-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.projects-footer {
  text-align: center;
}

/* ---------- 13. FAQ ---------- */
.faq-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.faq-trigger-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-trigger-icon::before,
.faq-trigger-icon::after {
  content: "";
  position: absolute;
  background: var(--bronze);
  transition: transform var(--transition-base);
}

.faq-trigger-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-trigger-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-trigger[aria-expanded="true"] .faq-trigger-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-panel-inner {
  padding: 0 4px 26px;
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 820px;
}

/* ---------- 14. Final CTA ---------- */
.final-cta {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--warm-white);
}

.final-cta-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 18, 0.78);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.final-cta h2 {
  margin-bottom: 18px;
}

.final-cta p {
  font-size: 17.5px;
  line-height: 1.6;
  color: rgba(246, 244, 239, 0.82);
  margin-bottom: 34px;
  max-width: 620px;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.final-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--warm-white);
  border-bottom: 1px solid rgba(246, 244, 239, 0.4);
  padding-bottom: 2px;
}

.final-cta-note {
  font-size: 14px;
  color: rgba(246, 244, 239, 0.6);
  max-width: 560px;
}

@media (max-width: 768px) {
  .final-cta {
    min-height: 540px;
  }
}

/* ---------- 15. Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: rgba(246, 244, 239, 0.7);
  padding: 88px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(246, 244, 239, 0.1);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-white);
  margin-bottom: 20px;
}

.footer-col a,
.footer-col p {
  display: block;
  padding: 7px 0;
  font-size: 14.5px;
  color: rgba(246, 244, 239, 0.62);
  transition: color var(--transition-base);
}

.footer-col a:hover {
  color: var(--bronze);
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--warm-white);
  margin-bottom: 4px;
}

/* Footer mobile accordions */
.footer-accordion-trigger {
  display: none;
}

@media (max-width: 768px) {
  .footer-col {
    border-bottom: 1px solid rgba(246, 244, 239, 0.1);
  }
  .footer-col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    margin-bottom: 0;
    cursor: pointer;
  }
  .footer-col-title svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
  }
  .footer-col.is-open .footer-col-title svg {
    transform: rotate(45deg);
  }
  .footer-col-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 13.5px;
  color: rgba(246, 244, 239, 0.45);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a:hover {
  color: var(--bronze);
}

/* ---------- 16. Standing Seam Page — Overview Split ---------- */
.overview-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.overview-text p {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.overview-text .eyebrow + h2 {
  margin-bottom: 4px;
}

.overview-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.overview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .overview-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .overview-media {
    order: -1;
  }
}

/* ---------- 17. Systems & Options ---------- */
.systems-options {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.system-option-card,
.system-parent {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
}

.system-option-card p,
.system-parent > p {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 720px;
}

.system-option-tag {
  margin-top: 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bronze);
}

.system-applications {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

.system-applications li {
  font-size: 14.5px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.system-applications li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze);
}

.system-children {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.system-child {
  padding-left: 20px;
  border-left: 2px solid var(--bronze);
}

.system-child h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.system-child p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .system-applications,
  .system-children {
    grid-template-columns: 1fr;
  }
}

/* ---------- 18. Component Grid ---------- */
.component-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.component-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.component-icon {
  width: 26px;
  height: 26px;
  color: var(--bronze);
  margin-bottom: 16px;
}

.component-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.component-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .component-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .component-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 19. Installation Scope Cards ---------- */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.scope-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.scope-card h3 {
  margin-top: 16px;
  margin-bottom: 12px;
  font-size: 19px;
}

.scope-card > p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.scope-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 20px 0 12px;
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.scope-list li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze);
}

@media (max-width: 900px) {
  .scope-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 20. Process Steps ---------- */
.process-steps {
  display: flex;
  flex-direction: column;
  max-width: 820px;
}

.process-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.process-step:last-child {
  border-bottom: none;
}

.process-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--warm-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bronze);
  font-size: 15px;
}

.process-content h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.process-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- 21. Why Considerations Panel ---------- */
.why-considerations {
  margin-top: 8px;
  padding: 28px 32px;
  background: rgba(167, 121, 69, 0.08);
  border: 1px solid rgba(167, 121, 69, 0.3);
  border-radius: var(--radius-md);
}

.why-considerations h3 {
  font-size: 17px;
  color: var(--warm-white);
  margin-bottom: 10px;
}

.why-considerations p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(246, 244, 239, 0.75);
}

.why-considerations p + p {
  margin-top: 10px;
}

/* ---------- 22. Simple Pricing Table (non-linked rows) ---------- */
.pricing-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

/* ---------- 23. Cost Factors List ---------- */
.cost-factors {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
}

.cost-factors li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.cost-factors li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze);
}

@media (max-width: 640px) {
  .cost-factors {
    grid-template-columns: 1fr;
  }
}

/* ---------- 24. Single Starting Price Display ---------- */
.price-lockup {
  margin-bottom: 24px;
}

.price-lockup-value {
  font-size: 40px;
  font-weight: 700;
  color: var(--bronze-dark);
  line-height: 1.1;
}

.price-lockup-unit {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .price-lockup-value {
    font-size: 32px;
  }
}
