/* ==========================================
   ENDEAVOUR AUTOMOTIVE - Main Stylesheet
   Font: Poppins | Colors: Navy #1B1B3A
   Breakpoints: Mobile ≤480, Tablet ≤768, Desktop-sm ≤1024, Desktop 1025+
   ========================================== */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #1B1B3A;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

a:hover { opacity: 0.8; }

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.8rem;
}

.btn--outline {
  background: #fff;
  color: #1B1B3A;
  border-color: #1B1B3A;
}
.btn--outline:hover {
  background: #1B1B3A;
  color: #fff;
  opacity: 1;
}

.btn--dark {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn--dark:hover {
  background: rgba(255,255,255,0.3);
  opacity: 1;
}

.btn--white {
  background: #fff;
  color: #1B1B3A;
  border-color: #fff;
}
.btn--white:hover {
  background: transparent;
  color: #fff;
  opacity: 1;
}

.btn--dark-solid {
  background: #1B1B3A;
  color: #fff;
  border-color: #1B1B3A;
  border-radius: 6px;
  padding: 14px 40px;
}
.btn--dark-solid:hover {
  background: #2d2d5e;
  border-color: #2d2d5e;
  opacity: 1;
}

/* ==========================================
   CONSENT POPUP - floating bottom card
   ========================================== */
.consent-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 9999;
  width: calc(100% - 48px);
  max-width: 680px;
  background: #1B1B3A;
  color: #fff;
  padding: 28px 32px;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.05);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s ease;
  opacity: 1;
}

.consent-banner.hidden {
  transform: translateX(-50%) translateY(calc(100% + 40px));
  opacity: 0;
  pointer-events: none;
}

.consent-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.consent-banner__inner p {
  font-size: 0.85rem;
  line-height: 1.65;
  opacity: 0.92;
  margin: 0;
}

.consent-banner__inner p a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}

.consent-banner__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.consent-banner__buttons .btn--dark-solid {
  background: #fff;
  color: #1B1B3A;
  border-color: #fff;
  border-radius: 10px;
  font-weight: 600;
}
.consent-banner__buttons .btn--dark-solid:hover {
  background: rgba(255,255,255,0.88);
  opacity: 1;
}

.consent-banner__buttons .btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  border-radius: 10px;
}
.consent-banner__buttons .btn--outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  opacity: 1;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header--scrolled {
  background: rgba(27,27,58,0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  color: #fff;
  white-space: nowrap;
}
.header__logo img {
  display: block;
  height: 32px;
  width: auto;
}

.header__nav {
  display: flex;
  gap: 32px;
}

.header__nav a {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 400;
  transition: opacity 0.2s;
}
.header__nav a:hover,
.header__nav a.active { opacity: 0.7; }
.header__nav a.active { font-weight: 600; }

/* Hamburger - hidden on desktop */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}
.nav-backdrop.visible { display: block; }

/* ==========================================
   HERO (Home page - full viewport)
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images/holden-commodore-zb-calais.jpg?v=20260517img1') center/cover no-repeat;
  color: #fff;
  overflow: visible;
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}
.hero__wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,27,58,0.75) 0%, rgba(27,27,58,0.35) 60%, rgba(27,27,58,0.15) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Social sidebar */
.hero__social {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__social a {
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.25s;
}
.hero__social a:hover {
  background: rgba(255,255,255,0.25);
  opacity: 1;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: #1B1B3A;
  background: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero__scroll:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.18);
  opacity: 1;
}

/* ==========================================
   PAGE HERO (Sub-pages - shorter banner)
   ========================================== */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background: url('../images/holden-commodore-zb-calais.jpg?v=20260517img1') center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.page-hero--short { padding: 120px 0 60px; }

.page-hero--sell-your-car { background-image: url('../images/mazda-cx60-trade-in-appraisal-sydney.jpg?v=20260517img3'); }
.page-hero--why-us        { background-image: url('../images/bmw-x5-broker-dealership-sydney.jpg?v=20260517img3'); }
.page-hero--about         { background-image: url('../images/mercedes-eclass-dealership-team-sydney.jpg?v=20260517img3'); }
.page-hero--finance       { background-image: url('../images/audi-a6-finance-consultation-sydney.jpg?v=20260517img3'); }
.page-hero--services      { background-image: url('../images/volvo-xc60-service-bay-sydney.jpg?v=20260517img3'); }
.page-hero--contact       { background-image: url('../images/landrover-discovery-sport-welcome-sydney.jpg?v=20260517img3'); }

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,50,0.70) 0%, rgba(20,20,50,0.65) 45%, rgba(20,20,50,0.55) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero__content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.page-hero__content p {
  font-size: 1.05rem;
  font-weight: 300;
  opacity: 0.85;
}

/* ==========================================
   SECTIONS (generic)
   ========================================== */
.section { padding: 80px 0; }
.section--white { background: #fff; }
.section--light { background: #f8f8fa; }

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 40px;
}

.section__title--left { text-align: left; }

.section__subtitle {
  font-size: 1rem;
  color: #555;
  margin-top: -24px;
  margin-bottom: 48px;
  max-width: 700px;
}

.section__cta {
  text-align: center;
  margin-top: 48px;
}

/* ==========================================
   TWO-COLUMN LAYOUT
   ========================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

.two-col__text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 16px;
  text-align: justify;
}

.two-col__text .btn { margin-top: 8px; }

.partner-of {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 12px 18px;
  border: 1px solid #e5e5ec;
  border-radius: 10px;
  background: #fafafc;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.partner-of:hover {
  border-color: #1B1B3A;
  background: #fff;
  transform: translateY(-1px);
  opacity: 1;
}
.partner-of__label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}
.partner-of__logo {
  height: 28px;
  width: auto;
  display: block;
}

.brand-logo {
  display: block;
  height: 32px;
  width: auto;
  margin: 8px 0 24px;
  opacity: 0.85;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn--icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn--icon svg { flex-shrink: 0; }

.two-col__image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.two-col__image--rounded img { border-radius: 20px; }

/* ==========================================
   CTA BANNER
   ========================================== */
.cta-banner {
  position: relative;
  padding: 100px 0;
  background: url('../images/service-concierge-background.jpg?v=20260517img5') center/cover no-repeat;
  text-align: center;
  color: #fff;
  border-radius: 30px;
  margin: 0 24px;
  margin-bottom: 60px;
  overflow: hidden;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: rgba(27,27,58,0.68);
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-banner__content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}

.cta-banner__content p {
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* ==========================================
   STEP CARDS - image on top, slides open on hover
   ========================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.step-card {
  background: #f8f8fa;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  cursor: default;
}
.step-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

/* Image container - hidden by default, opens on hover. Navy top line hints at the slide-down. */
.step-card__image-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 3px solid #1B1B3A;
}
.step-card:hover .step-card__image-wrap {
  max-height: 300px;
}

.step-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.step-card:hover .step-card__image {
  transform: scale(1.02);
}

.step-card__body { padding: 32px 28px; }

.step-card__number {
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(27,27,58,0.15);
  margin-bottom: 12px;
  display: block;
  transition: color 0.3s ease;
}
.step-card:hover .step-card__number {
  color: #1B1B3A;
}

.step-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-card__text {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.7;
}

/* ==========================================
   BENEFITS
   ========================================== */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.benefits--four {
  grid-template-columns: repeat(4, 1fr);
}

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

.benefit-card { text-align: left; }

.benefit-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #f0f0f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #1B1B3A;
}

.benefit-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
}

.benefit-card__text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.65;
}

/* ==========================================
   SHOWCASE (dark cards + images)
   ========================================== */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  min-height: 400px;
}

.showcase--reverse { direction: rtl; }
.showcase--reverse > * { direction: ltr; }

.showcase__card {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase__card--dark {
  background: #1B1B3A;
  color: #fff;
}

.showcase__card--dark p {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.9;
  text-align: justify;
}

.showcase__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.3;
}

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

.showcase__image--rounded {
  border-radius: 20px;
  overflow: hidden;
}

/* ==========================================
   VALUES GRID
   ========================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.value-item {
  background: #f8f8fa;
  border-radius: 16px;
  padding: 32px 24px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.value-item:hover {
  box-shadow: 0 6px 30px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.value-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1B1B3A;
}

.value-item p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.65;
}

/* ==========================================
   SERVICES LIST
   ========================================== */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-item {
  background: #f8f8fa;
  border-radius: 16px;
  padding: 36px 32px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-item:hover {
  box-shadow: 0 6px 30px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.service-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1B1B3A;
}

.service-item p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.7;
}

/* ==========================================
   FINANCE CARDS
   ========================================== */
.finance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.finance-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.finance-card:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.finance-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #f0f0f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #1B1B3A;
}

.finance-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1B1B3A;
}

.finance-card p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.7;
}

/* ==========================================
   CONTACT LAYOUT
   ========================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact-layout__form > p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-info-card {
  background: #f8f8fa;
  border-radius: 16px;
  padding: 36px 32px;
  margin-bottom: 24px;
}

.contact-info-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #1B1B3A;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #1B1B3A;
}

.contact-info-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1B1B3A;
  margin-bottom: 2px;
}

.contact-info-item p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.contact-info-item a {
  color: #1B1B3A;
  font-weight: 500;
}

/* Testimonials */
.testimonials-card {
  background: #1B1B3A;
  border-radius: 16px;
  padding: 36px 32px;
  color: #fff;
}

.testimonials-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.testimonial {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.testimonial:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.testimonial p {
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.9;
  font-style: italic;
  margin-bottom: 8px;
}

.testimonial cite {
  font-size: 0.8rem;
  font-style: normal;
  opacity: 0.6;
}

/* ==========================================
   FORMS
   ========================================== */
.form { margin-top: 8px; }

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
}

.form__group--full { margin-bottom: 20px; }

.form__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1B1B3A;
  margin-bottom: 6px;
}

.form__required { color: #ef4444; }

.form__input,
.form__textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: #f8f8fa;
  color: #1B1B3A;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: #1B1B3A;
  box-shadow: 0 0 0 3px rgba(27,27,58,0.1);
  background: #fff;
}

.form__input::placeholder,
.form__textarea::placeholder { color: #aaa; }

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

select.form__input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #555;
  cursor: pointer;
  line-height: 1.5;
}

.form__checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #1B1B3A;
  cursor: pointer;
}

.form__checkbox a {
  color: #1B1B3A;
  font-weight: 500;
  text-decoration: underline;
}

/* Honeypot - invisible to users */
.form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ==========================================
   LEGAL CONTENT (Terms, Privacy)
   ========================================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content__updated {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 32px;
  font-style: italic;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1B1B3A;
  margin-top: 36px;
  margin-bottom: 14px;
}

.legal-content p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 14px 20px;
  padding: 0;
}

.legal-content li {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 6px;
}

.legal-content a {
  color: #1B1B3A;
  font-weight: 500;
  text-decoration: underline;
}

/* ==========================================
   ARROW LINK
   ========================================== */
.arrow-link {
  font-size: 1.5rem;
  display: inline-block;
  transition: transform 0.2s;
}
.arrow-link:hover {
  transform: translateX(6px);
  opacity: 1;
}

/* ==========================================
   MEET DAREN (cinematic dark section)
   ========================================== */
.meet-daren {
  position: relative;
  background: #1B1B3A;
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
}

.meet-daren__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(45,45,94,0.6) 0%, transparent 70%);
}

.meet-daren__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}

.meet-daren__text h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.meet-daren__text p {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 20px;
}

.meet-daren__text .btn {
  margin-top: 8px;
}

.meet-daren__video {
  position: relative;
}

.video-card {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.video-card video {
  width: 100%;
  max-height: 450px;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ==========================================
   SECTION EYEBROW
   ========================================== */
.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1B1B3A;
  opacity: 0.45;
  margin-bottom: 10px;
}

/* ==========================================
   TESTIMONIALS GRID (Home page)
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.03);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  box-shadow: 0 12px 44px rgba(0,0,0,0.1);
  transform: translateY(-6px);
}

.testimonial-card__quote {
  color: #1B1B3A;
  margin-bottom: 8px;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 18px;
}

.testimonial-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #444;
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1B1B3A;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card__author cite {
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  color: #1B1B3A;
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: #1B1B3A;
  color: #fff;
  border: 3px solid #fff;
  outline: 3px solid #1B1B3A;
  outline-offset: 0px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.25s ease;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #2d2d5e;
  color: #fff;
  outline-color: #2d2d5e;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  transform: translateY(-3px);
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.steps .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.steps .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.testimonials-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.testimonials-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.benefits .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.benefits .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #1B1B3A;
  color: #fff;
  padding: 60px 0 30px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 16px;
}
.footer__logo img {
  display: block;
  height: 36px;
  width: auto;
}

.footer__brand p {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.6;
}

.footer__links h4,
.footer__contact h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer__links nav a {
  display: block;
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 10px;
}
.footer__links nav a:hover { opacity: 1; }

.footer__contact p {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 8px;
  line-height: 1.5;
}
.footer__contact a { color: #fff; }
.footer__contact a:hover { opacity: 1; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  opacity: 0.5;
}

.footer__powered { margin-top: 8px; }

.footer__powered a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  opacity: 1;
}
.footer__powered a:hover { opacity: 0.8; }

/* ==========================================
   RESPONSIVE - SMALL DESKTOP (≤ 1024px)
   ========================================== */
@media (max-width: 1024px) {
  .header__nav { gap: 20px; }
  .hero__social { right: 16px; gap: 14px; }
  .hero__social a { width: 36px; height: 36px; }
  .section { padding: 64px 0; }
  .two-col { gap: 32px; }
  .showcase__card { padding: 36px 28px; }
  .showcase { min-height: 350px; }
  .benefits { gap: 28px; }
  .benefits--four { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .finance-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .meet-daren__inner { gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand { grid-column: 1 / -1; }
}

/* ==========================================
   RESPONSIVE - TABLET (≤ 768px)
   ========================================== */
@media (max-width: 768px) {
  .header__hamburger { display: flex; }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: #1B1B3A;
    flex-direction: column;
    padding: 90px 32px 32px;
    gap: 24px;
    transition: right 0.35s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    z-index: 1000;
  }
  .header__nav.open { right: 0; }
  .header__nav a { font-size: 1.1rem; }

  .hero__social { display: none; }
  .hero__title br { display: none; }

  .page-hero { padding: 120px 0 60px; }
  .page-hero--short { padding: 100px 0 48px; }

  .section { padding: 56px 0; }
  .section__title { margin-bottom: 28px; }

  .two-col {
    grid-template-columns: 1fr 40%;
    gap: 20px;
    align-items: start;
  }
  .two-col--reverse { direction: ltr; }
  .two-col__image { order: 0; }
  .two-col__image img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
  }

  .partner-of {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }
  .partner-of__label { white-space: nowrap; }
  .partner-of__logo { height: 32px; }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .steps .step-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  /* Show images by default on tablet */
  .step-card__image-wrap { max-height: 300px; }

  .benefits,
  .benefits--four,
  .benefits--six {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .showcase--reverse { direction: ltr; }
  .showcase__image { min-height: 280px; }
  .showcase__image img { height: 280px; }

  .cta-banner {
    margin: 0 16px 48px;
    padding: 72px 0;
    border-radius: 20px;
  }
  .cta-banner__overlay { border-radius: 20px; }

  .meet-daren { padding: 64px 0; }
  .meet-daren__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .meet-daren__text .btn { margin: 0 auto; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .services-list { grid-template-columns: 1fr; }
  .finance-grid { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand { grid-column: 1 / -1; }

  /* Consent popup */
  .consent-banner {
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 22px 24px;
    border-radius: 16px;
  }
}

/* ==========================================
   RESPONSIVE - MOBILE (≤ 480px)
   ========================================== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header__inner { padding: 14px 16px; }
  .header__logo img { height: 28px; }
  .footer__logo img { height: 32px; }

  .hero {
    min-height: 100svh;
    align-items: flex-end;
    padding-bottom: 80px;
  }
  .hero__title { font-size: 1.5rem; line-height: 1.3; }
  .hero__subtitle { font-size: 0.8rem; line-height: 1.6; }
  .hero__subtitle br { display: none; }
  .hero__buttons { flex-direction: column; gap: 12px; }
  .hero__buttons .btn { width: 100%; text-align: center; }
  .hero__scroll { width: 44px; height: 44px; bottom: -20px; }
  .hero__wave svg { height: 40px; }

  .page-hero { padding: 100px 0 48px; }
  .page-hero--short { padding: 90px 0 36px; }
  .page-hero__content h1 { font-size: 1.75rem; }

  .section { padding: 44px 0; }
  .section__title { font-size: 1.35rem; margin-bottom: 20px; }
  .section__subtitle { font-size: 0.875rem; margin-top: -12px; margin-bottom: 32px; }

  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps .step-card:last-child { grid-column: auto; max-width: 100%; }
  .step-card__image-wrap { max-height: 300px; }
  .step-card__image { height: 180px; }
  .step-card__body { padding: 24px 20px; }

  .benefits,
  .benefits--four,
  .benefits--six {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }

  .cta-banner {
    margin: 0 12px 40px;
    padding: 56px 0;
    border-radius: 16px;
  }
  .cta-banner__overlay { border-radius: 16px; }
  .cta-banner__content h2 { font-size: 1.15rem; }
  .cta-banner__content h2 br { display: none; }
  .cta-banner__content p br { display: none; }

  .meet-daren { padding: 48px 0; }
  .meet-daren__text h2 { font-size: 1.75rem; }
  .showcase__card { padding: 28px 20px; }
  .showcase__title { font-size: 1.25rem; }
  .showcase__image { min-height: 220px; }
  .showcase__image img { height: 220px; }

  .two-col__text p { font-size: 0.875rem; text-align: left; }
  .two-col { grid-template-columns: 1fr 35%; gap: 16px; }

  .contact-layout { gap: 32px; }

  .footer { padding: 40px 0 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { grid-column: auto; }

  .btn { padding: 11px 24px; font-size: 0.8125rem; }
  .btn--dark-solid { padding: 12px 28px; }

  .consent-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 20px 20px;
    border-radius: 14px;
  }
  .consent-banner__buttons { flex-direction: column; gap: 8px; }
  .consent-banner__buttons .btn { width: 100%; }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
  .header, .hero__social, .hero__scroll, .hero__wave, .consent-banner { display: none; }
  .hero { min-height: auto; padding: 40px 0; }
  .section { padding: 20px 0; }
  .cta-banner { border-radius: 0; margin: 0 0 32px; }
}




