/* =========================
        BANNER SECTION
        =========================  */
.premium-banner {
  position: relative;
  width: 100%;
  height: clamp(400px, 55vh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000;
}

/* Cinematic Background Animation */
.banner-bg-image {
  position: absolute;
  inset: -5%;
  /* Prevent white edges during scale */
  background-image: url("https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=2564&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: cinematicPan 25s linear infinite alternate;
}

/* Vignette / Spotlight Overlay */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(15, 15, 15, 0.2) 0%,
    rgba(15, 15, 15, 0.8) 100%
  );
  z-index: 1;
}

/* Content Container */
.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-4);
  max-width: 1000px;
  width: 100%;
}

/* --- ADVANCED GLASSMORPHISM BREADCRUMB --- */
.breadcrumb {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-pill);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.15),
    0 12px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeUp 1s var(--premium-ease) forwards;
  margin-bottom: var(--space-3);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 0;
  padding-left: 0;
}

.breadcrumb li {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
}

.breadcrumb a {
  color: var(--color-surface);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  opacity: 0.8;
}

.breadcrumb a:hover {
  opacity: 1;
  color: var(--color-surface);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

/* SVG Chevron Separator */
.breadcrumb .separator {
  opacity: 0.4;
  display: flex;
  align-items: center;
}

.breadcrumb .current {
  color: var(--color-yellow);
  /* Brand accent for active state */
  font-weight: 600;
  opacity: 1;
}

/* --- TYPOGRAPHY --- */
.title-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.page-title {
  font-size: var(--fs-xxl);
  color: var(--color-surface);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--premium-ease) 0.2s forwards;
  margin-bottom: 0;
}

.page-subtitle {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.75);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--premium-ease) 0.4s forwards;
}

/* --- GLOWING BRAND ACCENT LINE --- */
.brand-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  /* Thinner for elegance */
  z-index: 3;
  background: linear-gradient(
    90deg,
    var(--color-blue) 0%,
    var(--color-red) 33%,
    var(--color-yellow) 66%,
    var(--color-green) 100%
  );
}

/* Subtle glow beneath the line */
.brand-accent-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  z-index: 2;
  filter: blur(8px);
  opacity: 0.6;
  background: linear-gradient(
    90deg,
    var(--color-blue) 0%,
    var(--color-red) 33%,
    var(--color-yellow) 66%,
    var(--color-green) 100%
  );
}

/* --- KEYFRAMES --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cinematicPan {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
    /* Extremely subtle zoom */
  }
}

/* =========================
        MAIN SECTION
        ========================= */

.legals-section {
  position: relative;
  background:
    radial-gradient(
      circle at 8% 20%,
      rgba(66, 133, 244, 0.08),
      transparent 32%
    ),
    radial-gradient(
      circle at 90% 12%,
      rgba(52, 168, 83, 0.08),
      transparent 30%
    ),
    var(--color-bg);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.legals-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--space-4);
  align-items: start;
}

.legals-content-card {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.75);
  overflow: hidden;
}

.legals-content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  right: 34px;
  height: 5px;
  border-radius: 0 0 var(--radius-pill) var(--radius-pill);
  background: linear-gradient(
    90deg,
    var(--color-red),
    var(--color-yellow),
    var(--color-green),
    var(--color-blue)
  );
}

.legal-block {
  position: relative;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.legal-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-block h2,
.legal-block h3 {
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.legal-block h2::after,
.legal-block h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  border-radius: var(--radius-pill);
  background: var(--color-blue);
}

.legal-block p {
  color: #374151;
  margin-bottom: 14px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block a {
  color: var(--color-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-block a:hover {
  color: var(--color-green);
}

.legal-contact-top {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: var(--space-2);
  align-items: start;
  padding-top: var(--space-4);
}

.legal-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-green));
  box-shadow: 0 14px 32px rgba(66, 133, 244, 0.24);
}

.legal-final-contact {
  margin-top: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(66, 133, 244, 0.08), rgba(52, 168, 83, 0.08)),
    #fff;
  border: 1px solid rgba(66, 133, 244, 0.12);
}

/* =========================
        SIDEBAR
        ========================= */

.legals-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: var(--space-2);
}

.legal-side-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  overflow: hidden;
}

.legal-side-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.legal-side-card h4 {
  margin-bottom: 8px;
  color: var(--color-text);
}

.legal-side-card p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  text-align: left;
  margin-bottom: 0;
}

.legal-image-card {
  position: relative;
  min-height: 240px;
  padding: 0;
}

.legal-image-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.legal-image-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  color: #fff;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.side-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}

.side-icon.blue {
  background: linear-gradient(135deg, var(--color-blue), #6ea8ff);
}

.side-icon.green {
  background: linear-gradient(135deg, var(--color-green), #64d98b);
}

.side-icon.yellow {
  color: #111827;
  background: linear-gradient(135deg, var(--color-yellow), #ffe083);
}

.contact-highlight-card {
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(251, 188, 5, 0.24),
      transparent 35%
    ),
    linear-gradient(135deg, #ffffff, #f8fbff);
}

.contact-highlight-card .btn {
  margin-top: var(--space-2);
}

/* =========================
        RESPONSIVE
        ========================= */

@media (max-width: 1199px) {
  .legals-layout {
    grid-template-columns: 1fr 320px;
  }
}

@media (max-width: 991px) {
  .legals-hero {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .legals-layout {
    grid-template-columns: 1fr;
  }

  .legals-sidebar {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-image-card {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .legals-hero {
    padding-top: 120px;
    padding-bottom: 64px;
  }

  .legals-hero p {
    font-size: var(--fs-base);
  }

  .legals-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-outline-btn {
    width: 100%;
  }

  .legals-section {
    padding-top: var(--space-4);
    padding-bottom: var(--space-5);
  }

  .legals-content-card {
    padding: 22px;
    border-radius: var(--radius-lg);
  }

  .legals-content-card::before {
    left: 22px;
    right: 22px;
  }

  .legal-contact-top {
    grid-template-columns: 1fr;
  }

  .legal-icon {
    width: 52px;
    height: 52px;
  }

  .legals-sidebar {
    grid-template-columns: 1fr;
  }

  .legal-image-card {
    grid-column: span 1;
  }

  .legal-image-card img {
    height: 220px;
  }
}

/* =========================
        FAQ MAIN SECTION
        ========================= */

.faq-page-section {
  position: relative;
  padding: var(--space-6) 0;
  background:
    radial-gradient(
      circle at 8% 20%,
      rgba(66, 133, 244, 0.08),
      transparent 32%
    ),
    radial-gradient(
      circle at 92% 10%,
      rgba(52, 168, 83, 0.08),
      transparent 30%
    ),
    var(--color-bg);
  overflow: hidden;
}

.faq-page-section::before {
  content: "?";
  position: absolute;
  top: 40px;
  right: 5vw;
  font-size: clamp(8rem, 20vw, 22rem);
  line-height: 1;
  color: rgba(66, 133, 244, 0.05);
  font-weight: 900;
  pointer-events: none;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--space-4);
  align-items: start;
}

/* =========================
        FAQ CARD
        ========================= */

.faq-main-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.faq-main-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  right: 34px;
  height: 5px;
  border-radius: 0 0 var(--radius-pill) var(--radius-pill);
  background: linear-gradient(
    90deg,
    var(--color-red),
    var(--color-yellow),
    var(--color-green),
    var(--color-blue)
  );
}

.faq-section-head {
  margin-bottom: var(--space-4);
}

.faq-section-head .mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  font-size: var(--fs-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.faq-section-head h2 {
  margin-bottom: var(--space-2);
}

.faq-section-head p {
  max-width: 760px;
  color: var(--color-text-muted);
  text-align: left;
}

/* =========================
        ACCORDION
        ========================= */

.faq-accordion {
  display: grid;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family);
  color: var(--color-text);
  font-size: var(--fs-base);
  font-weight: 700;
}

.faq-question span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-question span i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-green));
  box-shadow: 0 10px 24px rgba(66, 133, 244, 0.2);
}

.faq-toggle-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  background: rgba(66, 133, 244, 0.08);
  transition: var(--transition);
}

.faq-question:not(.collapsed) .faq-toggle-icon {
  transform: rotate(45deg);
  color: #fff;
  background: linear-gradient(135deg, var(--color-red), var(--color-yellow));
}

.faq-answer {
  padding: 0 22px 22px 72px;
}

.faq-answer p {
  color: #374151;
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* =========================
        FAQ CATEGORY BLOCKS
        ========================= */

.faq-category-block {
  display: grid;
  gap: 16px;
  margin-bottom: var(--space-4);
}

.faq-category-block:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: var(--space-3);
  margin-bottom: 4px;
  padding: 18px 20px;
}

.faq-category-block:first-child .faq-category-title {
  margin-top: 0;
}

.faq-category-title i {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  font-size: 22px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-green));
  box-shadow: 0 12px 28px rgba(66, 133, 244, 0.22);
}

.faq-category-title h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.faq-list {
  margin: 12px 0 18px;
  padding-left: 22px;
}

.faq-list li {
  color: #374151;
  font-size: var(--fs-base);
  line-height: 1.7;
  margin-bottom: 10px;
  text-align: justify;
}

.faq-list li::marker {
  color: var(--color-blue);
  font-weight: 700;
}

.faq-answer a {
  color: var(--color-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-answer a:hover {
  color: var(--color-green);
}

@media (max-width: 600px) {
  .faq-category-title {
    align-items: flex-start;
    padding: 16px;
  }

  .faq-category-title i {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 20px;
  }

  .faq-category-title h3 {
    line-height: 1.25;
  }
}
