/* ==========================================================================
   FQRS Roofing System Dedicated Pages (system-pages.css)
   Applies to: Tile Roofing, Shingle Roofing, Flat Roofing
   Theme: Deep Charcoal (#05070a, #0f172a, #121316) & FQRS Gold (#e5a93c, #f59e0b)
   Responsive, modular, and optimized for high conversion in South Florida
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Compact Hero Section
   -------------------------------------------------------------------------- */
.system-hero-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background-color: #05070a;
  overflow: hidden;
  padding: 6.5rem 0 5rem;
}

.system-hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.system-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.55) contrast(1.15);
}

.system-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 7, 10, 0.97) 0%,
    rgba(5, 7, 10, 0.90) 42%,
    rgba(15, 23, 42, 0.70) 70%,
    rgba(5, 7, 10, 0.25) 100%
  );
}

.system-hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max, 1240px);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.system-hero-content {
  max-width: 860px;
}

.system-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  background: rgba(229, 169, 60, 0.15);
  border: 1px solid rgba(229, 169, 60, 0.4);
  color: #e5a93c;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.system-hero-title {
  font-family: var(--font-heading, "Outfit", sans-serif);
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.system-hero-title .gold-accent {
  color: #e5a93c;
}

.system-hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 760px;
}

/* Metric Stats Bar */
.system-hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.25rem;
}

.system-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 1rem;
}

.system-stat-card:last-child {
  border-right: none;
  padding-right: 0;
}

.system-stat-value {
  font-family: var(--font-heading, "Outfit", sans-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: #e5a93c;
  line-height: 1.1;
}

.system-stat-label {
  font-size: 0.775rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.system-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.btn-system-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #e5a93c;
  color: #05070a;
  font-family: var(--font-heading, "Outfit", sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1.05rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(229, 169, 60, 0.28);
}

.btn-system-primary:hover {
  background-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229, 169, 60, 0.4);
  color: #05070a;
}

.btn-system-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--font-heading, "Outfit", sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 1.05rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-system-phone:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #e5a93c;
  color: #e5a93c;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   2. Core Advantages Section (CLARA - Light Background)
   -------------------------------------------------------------------------- */
.system-advantages-section {
  padding: 5.5rem 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.system-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.system-section-eyebrow {
  display: inline-block;
  color: #b45309;
  font-size: 0.825rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.system-section-heading {
  font-family: var(--font-heading, "Outfit", sans-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.system-section-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
}

.system-advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.system-adv-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.system-adv-card:hover {
  transform: translateY(-4px);
  border-color: #e5a93c;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.system-adv-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #b45309;
}

.system-adv-title {
  font-family: var(--font-heading, "Outfit", sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.system-adv-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.system-adv-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Profiles & System Styles Section
   -------------------------------------------------------------------------- */
.system-profiles-section {
  padding: 5.5rem 0;
  background-color: #05070a;
}

.system-profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.system-profile-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.system-profile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 169, 60, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.system-profile-img-wrap {
  width: 100%;
  height: 190px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background-color: #0b0f19;
}

.system-profile-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.system-profile-card:hover .system-profile-thumb {
  transform: scale(1.04);
}

.system-profile-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e5a93c;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.system-profile-name {
  font-family: var(--font-heading, "Outfit", sans-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.system-profile-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.system-profile-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

.system-profile-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.system-profile-features li svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.btn-profile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  background: rgba(229, 169, 60, 0.12);
  border: 1px solid rgba(229, 169, 60, 0.3);
  border-radius: 6px;
  color: #e5a93c;
  font-family: var(--font-heading, "Outfit", sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-profile-cta:hover {
  background: #e5a93c;
  color: #05070a;
}

/* --------------------------------------------------------------------------
   4. Common FAQs Section (CLARA - Light Background)
   -------------------------------------------------------------------------- */
.system-faqs-section {
  padding: 5.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.system-faqs-section .system-section-eyebrow {
  color: #b45309;
}

.system-faqs-section .system-section-heading {
  color: #0f172a;
}

.system-faqs-section .system-section-desc {
  color: #475569;
}

.system-faqs-container {
  max-width: 900px;
  margin: 0 auto;
}

.system-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.system-faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.system-faq-item.is-open {
  border-color: #e5a93c;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(229, 169, 60, 0.14);
}

.system-faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.system-faq-question {
  font-family: var(--font-heading, "Outfit", sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.system-faq-item.is-open .system-faq-question {
  color: #b45309;
}

.system-faq-icon {
  width: 22px;
  height: 22px;
  color: #d97706;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.system-faq-item.is-open .system-faq-icon {
  transform: rotate(180deg);
}

.system-faq-body {
  display: none;
  padding: 0 1.75rem 1.5rem;
  color: #334155;
  font-size: 0.975rem;
  line-height: 1.65;
}

.system-faq-item.is-open .system-faq-body {
  display: block;
}

/* --------------------------------------------------------------------------
   5. Warranty Certificate Banner
   -------------------------------------------------------------------------- */
.system-warranty-section {
  padding: 4.5rem 0;
  background-color: #05070a;
}

.system-warranty-card {
  background: #121316;
  border: 1px solid rgba(229, 169, 60, 0.35);
  border-radius: 14px;
  padding: 2.75rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.system-warranty-seal {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(229, 169, 60, 0.12);
  border: 2px solid #e5a93c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5a93c;
}

.system-warranty-content {
  flex-grow: 1;
}

.system-warranty-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #e5a93c;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.system-warranty-title {
  font-family: var(--font-heading, "Outfit", sans-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.system-warranty-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

.system-warranty-cta-wrap {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .system-hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .system-stat-card:nth-child(2) {
    border-right: none;
  }
  .system-profiles-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .system-warranty-card {
    flex-direction: column;
    text-align: center;
  }
  .system-warranty-seal {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .system-hero-section {
    padding: 5rem 0 3.5rem;
  }
  .system-hero-stats-bar {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .system-stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
  }
  .system-stat-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .system-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-system-primary,
  .btn-system-phone {
    width: 100%;
    text-align: center;
  }
}
