/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
  --color-heading: #041430;
  --color-brand: #041f5e;
  --color-accent: #1D4298;
  --color-body: #1C2C46;
  --color-bg-light: #F2F5F9;
  --color-light-grey: #f7f7f7;
  --color-btn-light: #E1E6EC;
  --color-white: #ffffff;
  --border-radius: 8px;
  --font-family: 'Spline Sans', sans-serif;
  --container-max: 1200px;
  --container-padding: 20px;
}

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--color-body);
  line-height: 1.6;
  background-color: var(--color-white);
}

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

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

ul {
  list-style: none;
}

/* ========================================
   Container
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 22px;
}

.subtitle {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 16px;
}

.body-text {
  color: var(--color-body);
  font-size: 18px;
  line-height: 1.6;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn-secondary {
  background-color: var(--color-btn-light);
  color: var(--color-heading);
}

.btn-sm {
  padding: 0 12px;
  height: 32px;
  font-size: 14px;
}

/* ========================================
   Glass Effect Utilities
   ======================================== */
.glass {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(12px)) {
  .glass {
    background-color: rgba(4, 20, 48, 0.75);
  }

  .glass-brand {
    background-color: rgba(29, 66, 152, 0.8);
  }
}

.glass-dark {
  background: rgba(4, 20, 48, 0.45);
  color: var(--color-white);
}

.glass-brand {
  background: rgba(29, 66, 152, 0.45);
  color: var(--color-white);
}

/* ========================================
   Header / Navbar
   ======================================== */
.header {
  background-color: var(--color-white);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(28, 44, 70, 0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

/* White bar that sits above mobile nav overlay */
.header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-white);
  border-bottom: 1px solid rgba(28, 44, 70, 0.08);
  z-index: 2;
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-heading);
  z-index: 10;
}

.logo-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

/* Hamburger */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: 1.5px solid var(--color-btn-light);
  border-radius: var(--border-radius);
  cursor: pointer;
}

.menu-toggle .hamburger {
  display: block;
  width: 14px;
  height: 0;
  position: relative;
}

.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 14px;
  height: 1.5px;
  background-color: var(--color-body);
  transition: transform 0.3s ease, top 0.3s ease;
}

.menu-toggle .hamburger::before {
  top: -3px;
}

.menu-toggle .hamburger::after {
  top: 3px;
}

/* Hamburger active state (cross) */
.menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ========================================
   Main Nav (responsive — mobile overlay / desktop inline)
   ======================================== */

/* --- Shared nav styles --- */
.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-body);
  background: none;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: var(--color-bg-light);
  color: var(--color-heading);
}

.nav-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--border-radius);
  transition: background-color 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.nav-dropdown-item:hover {
  background-color: var(--color-bg-light);
}

.nav-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-brand);
}

.nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.nav-dropdown-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-heading);
}

.nav-dropdown-desc {
  font-size: 13px;
  color: var(--color-body);
  opacity: 0.7;
}

.nav-cta {
  display: flex;
  gap: 12px;
}

/* --- Mobile nav (default) --- */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 72px var(--container-padding) 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.main-nav.open {
  transform: translateX(0);
}

.main-nav .nav-list {
  flex-direction: column;
  gap: 4px;
}

.main-nav .nav-link {
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-heading);
  width: 100%;
}

.main-nav .nav-dropdown {
  display: none;
  padding: 4px 0 8px 16px;
}

.main-nav .nav-item.open>.nav-dropdown {
  display: block;
}

.main-nav .nav-item.open>.nav-link .nav-chevron {
  transform: rotate(180deg);
}

.main-nav .nav-dropdown-item {
  padding: 10px 14px;
}

.main-nav .nav-cta {
  margin-top: auto;
  flex-direction: column;
}

.main-nav .nav-cta .btn {
  width: 100%;
}

/* --- Desktop nav --- */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .nav-actions .btn-sm {
    padding: 0 18px;
    height: 36px;
    font-size: 15px;
  }

  .main-nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
    transform: none;
    flex-direction: row;
    align-items: center;
    margin-right: auto;
    margin-left: 32px;
    z-index: auto;
    overflow: visible;
  }

  .main-nav .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }

  .main-nav .nav-link {
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 400;
    color: var(--color-body);
  }

  .main-nav .nav-cta {
    display: none;
  }

  /* Desktop dropdown — hover to open */
  .main-nav .nav-dropdown {
    display: block;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 320px;
    background: var(--color-white);
    border: 1px solid rgba(28, 44, 70, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(4, 20, 48, 0.1), 0 1px 4px rgba(4, 20, 48, 0.05);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 110;
    /* Invisible bridge: real padding creates gap, negative margin keeps hover zone connected */
    padding-top: 18px;
    background-clip: padding-box;
  }

  .main-nav .nav-item:hover>.nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .main-nav .nav-item:hover>.nav-link .nav-chevron {
    transform: rotate(180deg);
  }

  /* Desktop: remove mobile open behaviour */
  .main-nav .nav-item.open>.nav-dropdown {
    display: block;
  }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background-color: var(--color-white);
  padding: 80px 0 100px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-content .subtitle {
  margin-bottom: 16px;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content .body-text {
  margin-bottom: 26px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Features strip */
.features-section {
  background-color: var(--color-white);
  ;
  padding: 48px 0;
  border-top: 1px solid var(--color-btn-light);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  padding: 0 2rem;
  border-left: 1px solid var(--color-btn-light);
}

.feature:first-child {
  border-left: none;
  padding-left: 0;
}

.feature:last-child {
  padding-right: 0;
}

.feature p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-body);
}

.feature strong {
  color: var(--color-heading);
  font-weight: 600;
}

/* ========================================
   Before/After Slider
   ======================================== */
.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: col-resize;
  box-shadow: 0 4px 24px rgba(27, 42, 74, 0.1), 0 1px 4px rgba(27, 42, 74, 0.06);
  user-select: none;
  -webkit-user-select: none;
}

.slider-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slider-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-before {
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, #000 calc(50% - 20px), transparent calc(50% + 20px));
  mask-image: linear-gradient(to right, #000 calc(50% - 20px), transparent calc(50% + 20px));
}

.slider-after {
  z-index: 0;
}

.slider-label {
  position: absolute;
  bottom: 16px;
  z-index: 5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  pointer-events: none;
}

.slider-label-before {
  left: 16px;
}

.slider-label-after {
  right: 16px;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 10;
  width: 12px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
  pointer-events: none;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.slider-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 32px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  cursor: col-resize;
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

/* Slider hint animation */
@keyframes slider-hint-handle {

  0%,
  100% {
    left: 50%;
  }

  30% {
    left: 35%;
  }

  60% {
    left: 65%;
  }
}

@keyframes slider-hint-mask {

  0%,
  100% {
    -webkit-mask-image: linear-gradient(to right, #000 calc(50% - 20px), transparent calc(50% + 20px));
    mask-image: linear-gradient(to right, #000 calc(50% - 20px), transparent calc(50% + 20px));
  }

  30% {
    -webkit-mask-image: linear-gradient(to right, #000 calc(35% - 20px), transparent calc(35% + 20px));
    mask-image: linear-gradient(to right, #000 calc(35% - 20px), transparent calc(35% + 20px));
  }

  60% {
    -webkit-mask-image: linear-gradient(to right, #000 calc(65% - 20px), transparent calc(65% + 20px));
    mask-image: linear-gradient(to right, #000 calc(65% - 20px), transparent calc(65% + 20px));
  }
}

.slider-handle.hint {
  animation: slider-hint-handle 2s ease-in-out 1s 1;
}

.slider-before.hint {
  animation: slider-hint-mask 2s ease-in-out 1s 1;
}

/* Slider placeholders (remove when real images added) */
.slider-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 14px;
  color: var(--color-body);
}

.slider-placeholder-exterior {
  background: linear-gradient(145deg, #d4dce8 0%, #b8c5d8 40%, #e0d5cc 70%, #c9bdb0 100%);
}

.slider-placeholder-interior {
  background: linear-gradient(145deg, #0a1628 0%, #152240 50%, #1a2d50 100%);
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Section Utility
   ======================================== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .subtitle {
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header .body-text {
  max-width: 520px;
  margin: 0 auto;
}

/* ========================================
   Layers (How It Works)
   ======================================== */
.layers {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

/* Left: step labels */
.layers-labels {
  display: flex;
  flex-direction: column;
  justify-self: end;
  width: 170px;
}

.layers-labels button {
  padding: 0.85rem 0;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  border: none;
  background: none;
  text-align: left;
  font-family: var(--font-family);
}

.layers-labels .label-number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-btn-light);
  transition: color 0.4s ease;
  display: block;
  margin-bottom: 2px;
}

.layers-labels .label-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-btn-light);
  transition: color 0.4s ease;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.layers-labels button.active .label-number {
  color: var(--color-brand);
}

.layers-labels button.active .label-title {
  color: var(--color-heading);
}

.layers-labels button:hover .label-title {
  color: var(--color-body);
}

.layers-labels button.active:hover .label-title {
  color: var(--color-heading);
}

.layers-labels button::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--color-heading);
  transition: width 0.4s ease;
  transform: translateY(-50%);
}

.layers-labels button.active::after {
  width: 1.5rem;
}

/* Centre: SVG diamonds */
.layers-visual {
  flex-shrink: 0;
  width: 300px;
  height: 380px;
}

.layers-visual svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.layers-visual .diamond {
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

.layers-visual .diamond.active {
  filter: drop-shadow(0 8px 20px rgba(29, 66, 152, 0.3));
}

.layers-visual .diamond.dimmed {
  opacity: 0.28;
}

/* Right: detail cards */
.layers-detail {
  flex: 1;
  min-width: 0;
  max-width: 340px;
}

.layers-detail .card {
  display: none;
  animation: layers-fade-in 0.4s ease;
}

.layers-detail .card.active {
  display: block;
}

@keyframes layers-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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

.layers-detail .card h3 {
  margin-bottom: 8px;
}

.layers-detail .card p {
  font-size: 15px;
  color: var(--color-body);
  line-height: 1.6;
}

.layers-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.layers-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-btn-light);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}

.layers-dots button.active {
  background: var(--color-brand);
  transform: scale(1.3);
}

/* ========================================
   Timeline
   ======================================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 4rem;
}

/* Vertical track */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-btn-light);
  transform: translateX(-50%);
}

/* Progress fill */
.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--color-btn-light), var(--color-brand));
  transform: translateX(-50%);
  transition: height 0.4s ease;
  z-index: 1;
}

/* Step */
.timeline-step {
  position: relative;
  z-index: 2;
  width: 50%;
  padding-bottom: 4rem;
  opacity: 0.15;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Odd: left side */
.timeline-step:nth-child(odd) {
  padding-right: 3.5rem;
  text-align: right;
}

.timeline-step:nth-child(odd) .body-text {
  margin-left: auto;
}

/* Even: right side */
.timeline-step:nth-child(even) {
  padding-left: 3.5rem;
  margin-left: 50%;
  text-align: left;
}

/* Diamond marker */
.timeline-marker {
  position: absolute;
  top: 4px;
  width: 20px;
  height: 20px;
  z-index: 2;
}

.timeline-step:nth-child(odd) .timeline-marker {
  right: -10px;
}

.timeline-step:nth-child(even) .timeline-marker {
  left: -10px;
}

.timeline-marker svg {
  width: 100%;
  height: 100%;
}

.timeline-marker .marker-diamond {
  fill: var(--color-btn-light);
  stroke: var(--color-btn-light);
  stroke-width: 1;
  transition: all 0.5s ease;
}

/* Progressive diamond fills on reveal — opaque, lightest to full brand */
.timeline-step.visible:nth-child(1) .marker-diamond {
  fill: #9DADD2;
  stroke: #9DADD2;
}

.timeline-step.visible:nth-child(2) .marker-diamond {
  fill: #728ABF;
  stroke: #728ABF;
}

.timeline-step.visible:nth-child(3) .marker-diamond {
  fill: #4866AB;
  stroke: #4866AB;
}

.timeline-step.visible:nth-child(4) .marker-diamond {
  fill: var(--color-brand);
  stroke: var(--color-brand);
}

/* Step card */
.timeline-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.5rem;
  /* border: 1px solid rgba(29, 66, 152, 0.06); */
}

.timeline-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-top: 12px;
}

.timeline-card .subtitle {
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-card h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.timeline-card p {
  font-size: 15px;
  line-height: 1.6;
}

/* Timeline CTA */
.timeline-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-top: 48px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 22px;
  }

  .body-text {
    font-size: 16px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature {
    border-left: none;
    border-top: 1px solid var(--color-btn-light);
    padding: 24px 0 0;
  }

  .feature:first-child {
    border-top: none;
    padding-top: 0;
  }

  .slider {
    max-width: 400px;
    margin: 0 auto;
  }

  .section {
    padding: 48px 0;
  }

  .layers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .layers-labels {
    flex-direction: row;
    width: 100%;
    justify-content: center;
    gap: 4px;
  }

  .layers-labels button {
    padding: 0.5rem 0.7rem;
    text-align: center;
  }

  .layers-labels button::after {
    display: none;
  }

  .layers-labels .label-number {
    font-size: 10px;
  }

  .layers-labels .label-title {
    font-size: 12px;
  }

  .layers-visual {
    width: 240px;
    height: 300px;
  }

  .layers-detail {
    text-align: center;
    padding: 0 1rem;
    max-width: 100%;
  }

  .layers-dots {
    justify-content: center;
  }

  /* Timeline mobile: single column, left-aligned */
  .timeline::before,
  .timeline-progress {
    left: 1rem;
    transform: none;
  }

  .timeline-step,
  .timeline-step:nth-child(odd),
  .timeline-step:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 3rem;
    padding-right: 0;
    text-align: left;
  }

  .timeline-step:nth-child(odd) .timeline-marker,
  .timeline-step:nth-child(even) .timeline-marker {
    left: 6px;
    right: auto;
  }

  .btn {
    padding: 8px 16px;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

/* ========================================
   Conditions — Scrolling Cards
   ======================================== */
.conditions-section {
  overflow: hidden;
}

.conditions-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.conditions-header h2 {
  margin-bottom: 8px;
}

.conditions-header h2 em {
  font-style: italic;
  color: var(--color-accent);
}

.conditions-header .body-text {
  max-width: 440px;
}

.scroll-arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.scroll-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-btn-light);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--color-body);
  opacity: 0.5;
}

.scroll-arrow:hover {
  border-color: var(--color-heading);
  color: var(--color-heading);
  opacity: 1;
}

.scroll-arrow.active {
  border-color: var(--color-heading);
  background: var(--color-heading);
  color: var(--color-white);
  opacity: 1;
}

.conditions-track-wrapper {
  overflow: hidden;
  margin: 0 calc(var(--container-padding) * -1);
  padding: 0 var(--container-padding);
}

.conditions-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.conditions-track::-webkit-scrollbar {
  display: none;
}

.condition-card {
  min-width: 260px;
  max-width: 260px;
  height: 340px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.3s;
}

.condition-card:hover {
  transform: translateY(-3px);
}

.condition-card .card-bg {
  position: absolute;
  inset: 0;
  background: var(--color-heading);
}

/* Gradient variations using heading/brand colours */
.condition-card:nth-child(1) .card-bg {
  background: linear-gradient(135deg, var(--color-heading) 0%, var(--color-accent) 60%, #3B6FD4 100%);
}

.condition-card:nth-child(2) .card-bg {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-heading) 60%, #0a1628 100%);
}

.condition-card:nth-child(3) .card-bg {
  background: linear-gradient(135deg, #0a1628 0%, var(--color-accent) 60%, #3B6FD4 100%);
}

.condition-card:nth-child(4) .card-bg {
  background: linear-gradient(135deg, #3B6FD4 0%, var(--color-heading) 60%, #0a1628 100%);
}

.condition-card:nth-child(5) .card-bg {
  background: linear-gradient(135deg, var(--color-heading) 0%, #0a1628 60%, var(--color-accent) 100%);
}

.condition-card:nth-child(6) .card-bg {
  background: linear-gradient(135deg, var(--color-accent) 0%, #3B6FD4 60%, var(--color-heading) 100%);
}

.condition-card:nth-child(7) .card-bg {
  background: linear-gradient(135deg, #0a1628 0%, var(--color-heading) 60%, var(--color-accent) 100%);
}

.condition-card:nth-child(8) .card-bg {
  background: linear-gradient(135deg, #3B6FD4 0%, var(--color-accent) 60%, #0a1628 100%);
}

/* Diamond watermark on cards */
.condition-card .card-bg::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  transform: rotate(45deg);
}

.condition-card .card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.condition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.condition-tag {
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.2px;
}

.condition-card .card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.condition-card .card-title {
  font-family: var(--font-family);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.15;
}

.condition-card .card-plus {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.condition-card:hover .card-plus {
  background: rgba(255, 255, 255, 0.25);
}

.condition-card .card-plus svg {
  stroke: rgba(255, 255, 255, 0.8);
}

.conditions-footer {
  margin-top: 28px;
}

.conditions-footer a {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-heading);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.conditions-footer a:hover {
  gap: 10px;
}

/* ========================================
   About
   ======================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about-visual {
  background: var(--color-heading);
  border-radius: 16px;
  height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-axis-v {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 10%, rgba(29, 66, 152, 0.15) 50%, transparent 90%);
  left: 50%;
}

.about-axis-h {
  position: absolute;
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent 10%, rgba(29, 66, 152, 0.15) 50%, transparent 90%);
  top: 50%;
}

.about-ring {
  position: absolute;
  border: 1.5px solid rgba(29, 66, 152, 0.12);
  border-radius: 4px;
  transform: rotate(45deg);
}

.about-ring:nth-child(3) {
  width: 220px;
  height: 220px;
}

.about-ring:nth-child(4) {
  width: 150px;
  height: 150px;
  border-color: rgba(29, 66, 152, 0.2);
}

.about-ring:nth-child(5) {
  width: 80px;
  height: 80px;
  border-color: rgba(29, 66, 152, 0.3);
}

.about-centre {
  width: 20px;
  height: 20px;
  background: var(--color-brand);
  transform: rotate(45deg);
  border-radius: 3px;
  z-index: 1;
}

.about-placeholder {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.about-text .subtitle {
  margin-bottom: 12px;
}

.about-text h2 {
  margin-bottom: 18px;
}

.about-text .body-text {
  margin-bottom: 14px;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.credential-tag {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-brand);
  background: var(--color-bg-light);
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}

/* ========================================
   FAQ
   ======================================== */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.faq-layout h2 {
  margin-bottom: 12px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-btn-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--color-body);
}

.faq-item.open {
  border-color: var(--color-brand);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-family);
}

.faq-diamond {
  width: 8px;
  height: 8px;
  background: var(--color-heading);
  transform: rotate(45deg);
  border-radius: 1.5px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.faq-item.open .faq-diamond {
  background: var(--color-brand);
  transform: rotate(0deg);
  border-radius: 2px;
}

.faq-question h4 {
  flex: 1;
  font-size: 15px;
  line-height: 1.4;
}

.faq-toggle {
  font-size: 18px;
  color: var(--color-btn-light);
  transition: transform 0.3s, color 0.3s;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  color: var(--color-brand);
}

.faq-answer {
  display: none;
  padding: 0 22px 20px 44px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-body);
}

/* ========================================
   Responsive — New sections
   ======================================== */
@media (max-width: 768px) {
  .conditions-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .condition-card {
    min-width: 220px;
    max-width: 220px;
    height: 290px;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: 2;
    height: 280px;
  }

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