/*
 * GDS Public Frontend Theme (landing + unauthenticated pages)
 * -----------------------------------
 * Aligns marketing/auth UI with staff + customer design reviews.
 * Brand: navy primary (#2F3C7E), coral accent (#E84351), calm surfaces.
 * Informed by ui-ux-pro-max (Trust & Authority + Minimalism/Swiss),
 * adapted to existing GDS tokens (not gold/purple defaults).
 */

:root {
  --gds-primary: #2F3C7E;
  --gds-primary-hover: #26326A;
  --gds-navy-dark: #14233C;
  --gds-accent: #E84351;
  --gds-accent-soft: rgba(232, 67, 81, 0.12);
  --gds-secondary: #64748B;
  --gds-success: #157F4B;
  --gds-warning: #9A6700;
  --gds-danger: #C0362C;
  --gds-info: #2F3C7E;
  --gds-light: #F1F5F9;
  --gds-dark: #0F1729;
  --gds-bg: #F8FAFC;
  --gds-card-bg: #FFFFFF;
  --gds-border: #E2E8F0;
  --gds-radius: 6px;
  --gds-radius-lg: 6px;
  --gds-shadow: 0 1px 2px rgb(15 23 41 / 0.06), 0 1px 3px rgb(15 23 41 / 0.04);
  --gds-shadow-md: 0 8px 24px rgb(15 23 41 / 0.08);
  --gds-font: 'Poppins', 'Segoe UI', ui-sans-serif, sans-serif;
  --gds-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --gds-focus: 0 0 0 3px rgba(47, 60, 126, 0.35);
  --gds-transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--gds-bg);
  font-family: var(--gds-font);
  color: var(--gds-dark);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.hero__title,
.section-header .title,
.section__title,
.account-section-left-inner .title,
.custom--card .card-header,
.main-menu li a {
  font-family: var(--gds-font) !important;
  letter-spacing: -0.01em;
}

a {
  transition: var(--gds-transition);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.form--control:focus-visible,
.navbar-toggler:focus-visible {
  outline: none;
  box-shadow: var(--gds-focus) !important;
}

/* ---- Buttons: navy primary, coral reserved for urgent CTAs ---- */
.btn--base,
.btn-base,
.custom--bg,
.btn.custom--bg,
.cmn-btn {
  background-color: var(--gds-primary) !important;
  background-image: none !important;
  border-color: var(--gds-primary) !important;
  color: #fff !important;
  border-radius: var(--gds-radius) !important;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: var(--gds-shadow);
  transition: var(--gds-transition);
  cursor: pointer;
}

.btn--base:hover,
.btn-base:hover,
.custom--bg:hover,
.btn.custom--bg:hover,
.cmn-btn:hover {
  background-color: var(--gds-primary-hover) !important;
  border-color: var(--gds-primary-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--gds-shadow-md);
}

.btn-outline--base,
.btn-outline--gradient,
.btn.btn-outline--base,
.btn.btn-outline--gradient {
  background: transparent !important;
  border: 1.5px solid var(--gds-accent) !important;
  color: #fff !important;
  border-radius: var(--gds-radius) !important;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  transition: var(--gds-transition);
  cursor: pointer;
}

.header .btn-outline--gradient,
.header .btn.btn-outline--gradient {
  color: var(--gds-dark) !important;
  border-color: var(--gds-primary) !important;
}

.header .btn-outline--gradient:hover,
.header .btn.btn-outline--gradient:hover {
  background: var(--gds-primary) !important;
  color: #fff !important;
}

.header .btn.custom--bg {
  background-color: var(--gds-accent) !important;
  border-color: var(--gds-accent) !important;
}

.header .btn.custom--bg:hover {
  background-color: #d03a47 !important;
  border-color: #d03a47 !important;
}

.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ---- Header / nav ---- */
.header {
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gds-border);
  box-shadow: var(--gds-shadow);
}

.header .site-logo img {
  max-height: 48px;
  width: auto;
}

.main-menu li a {
  color: var(--gds-dark) !important;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: none !important;
  letter-spacing: 0;
  padding: 0.5rem 0.75rem !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.main-menu li a:hover,
.main-menu li a.active {
  color: var(--gds-accent) !important;
}

.navbar-toggler {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--gds-border) !important;
  border-radius: var(--gds-radius);
  padding: 0.5rem;
  background: var(--gds-card-bg) !important;
}

.navbar-toggler .menu-toggle,
.navbar-toggler .menu-toggle::before,
.navbar-toggler .menu-toggle::after {
  background-color: var(--gds-dark) !important;
}

.btn-sm.btn-outline--base,
.btn.btn-sm.btn-outline--base,
.btn-sm.btn-outline--gradient {
  min-height: 44px;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-right .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-user-meta__name {
  font-weight: 600;
  color: var(--gds-dark);
  font-size: 0.9rem;
}

.header-user-meta__branch {
  color: var(--gds-secondary);
  font-size: 0.75rem;
}

.header-logout-btn {
  min-height: 44px;
  border: 1px solid var(--gds-border) !important;
  color: var(--gds-dark) !important;
  border-radius: var(--gds-radius) !important;
  padding: 0.45rem 0.9rem !important;
  font-weight: 500;
}

.header-logout-btn:hover {
  background: var(--gds-light) !important;
  border-color: var(--gds-secondary) !important;
}

/* ---- Hero (marketing) ---- */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  background-color: var(--gds-navy-dark) !important;
  background-size: cover;
  background-position: center;
}

.hero::before {
  background: linear-gradient(
    165deg,
    rgba(20, 35, 60, 0.92) 0%,
    rgba(47, 60, 126, 0.88) 55%,
    rgba(20, 35, 60, 0.94) 100%
  ) !important;
  opacity: 1 !important;
}

/* Soften decorative waves — keep structure, reduce AI-template look */
.hero__wave-shape {
  opacity: 0.35;
  pointer-events: none;
}

.hero-brand {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.75) !important;
}

.hero__title {
  font-size: clamp(1.75rem, 4vw, 3rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-wrap: balance;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero-cta-group .btn {
  margin: 0 !important;
}

.hero-cta-group .btn-outline--gradient {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  background: transparent !important;
}

.hero-cta-group .btn-outline--gradient:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #fff !important;
  color: #fff !important;
}

.hero p {
  font-size: 1rem !important;
  line-height: 1.6 !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(248, 250, 252, 0.88) !important;
  opacity: 1 !important;
}

.hero .btn.custom--bg,
.hero a.btn.custom--bg {
  background-color: var(--gds-accent) !important;
  border: 1px solid var(--gds-accent) !important;
  color: #fff !important;
  min-height: 48px;
  padding: 0.8rem 1.75rem !important;
  border-radius: var(--gds-radius) !important;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(232, 67, 81, 0.28);
}

.hero .btn.custom--bg:hover {
  background-color: #d03a47 !important;
  border-color: #d03a47 !important;
  transform: translateY(-1px);
}

/* Hide broken CMS placeholder graphics when path is placeholder-image */
.hero[style*="placeholder-image"],
.account-section[style*="placeholder-image"] {
  background-image: none !important;
}

/* ---- Feature / service cards ---- */
.feature-card,
.service-card,
.work-card,
.choose-card,
.overview-card,
.custom--card {
  border: 1px solid var(--gds-border) !important;
  border-radius: var(--gds-radius-lg) !important;
  box-shadow: var(--gds-shadow) !important;
  background: var(--gds-card-bg) !important;
  transition: var(--gds-transition);
}

.feature-card:hover,
.service-card:hover,
.work-card:hover,
.choose-card:hover {
  box-shadow: var(--gds-shadow-md) !important;
  transform: translateY(-2px);
  border-color: rgba(47, 60, 126, 0.2) !important;
}

/* Tone pink hexagon icon wells toward navy soft */
.feature-card .feature-card__icon,
.service-card .service-card__icon,
.work-card .work-card__icon,
.feature-item .icon,
.service-item .icon,
[class*="feature"] .icon,
[class*="service"] .thumb,
.how-work-item .thumb {
  background-color: rgba(47, 60, 126, 0.08) !important;
  color: var(--gds-primary) !important;
  border-radius: var(--gds-radius) !important;
}

.section-header .title,
.section__title {
  color: var(--gds-dark);
  font-weight: 700;
  text-wrap: balance;
}

.section-header p,
.section__content {
  color: var(--gds-secondary);
}

/* ---- Auth pages (login / register / OTP) ---- */
.account-section {
  background-color: var(--gds-navy-dark) !important;
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(47, 60, 126, 0.55), transparent 55%),
    linear-gradient(145deg, #0f1729 0%, #14233c 45%, #1a2a4a 100%) !important;
}

.account-section::before {
  background-color: transparent !important;
  opacity: 0 !important;
}

.account-section-left-inner .title {
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
  font-weight: 700 !important;
  text-wrap: balance;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.account-section-left-inner p {
  color: rgba(248, 250, 252, 0.8) !important;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.account-section-right {
  background-color: rgba(15, 23, 41, 0.72) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.account-section-right::before,
.account-section-right::after {
  background-color: rgba(15, 23, 41, 0.85) !important;
}

.account-logo img {
  max-height: 64px;
  width: auto;
}

.account-form .form-label,
.auth-form .form-label,
.account-section-right label {
  color: rgba(248, 250, 252, 0.92) !important;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.account-form .form--control,
.account-form .form-control,
.auth-form .form--control,
.auth-form .form-control,
.account-section-right .form--control,
.account-section-right .form-control,
.account-section-right select.form-control,
.account-section-right .input-group .form-control {
  background-color: rgba(248, 250, 252, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #F8FAFC !important;
  border-radius: var(--gds-radius) !important;
  min-height: 48px !important;
  height: 48px !important;
  font-size: 16px !important;
  padding: 0.65rem 0.9rem !important;
  box-shadow: none !important;
}

.account-form .form--control::placeholder,
.account-form .form-control::placeholder,
.auth-form .form--control::placeholder,
.auth-form .form-control::placeholder {
  color: rgba(248, 250, 252, 0.45);
}

.account-form .form--control:focus,
.account-form .form-control:focus,
.auth-form .form--control:focus,
.auth-form .form-control:focus,
.account-section-right .form-control:focus {
  background-color: rgba(248, 250, 252, 0.1) !important;
  border-color: rgba(47, 60, 126, 0.75) !important;
  color: #fff !important;
  box-shadow: var(--gds-focus) !important;
}

.account-section-right .input-group-text,
.account-form .input-group-text,
.auth-form .input-group-text,
.password-eye {
  background-color: rgba(248, 250, 252, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #F8FAFC !important;
  min-height: 48px;
  cursor: pointer;
  border-radius: 0 var(--gds-radius) var(--gds-radius) 0 !important;
}

.account-form .btn--base,
.auth-form .btn--base,
.account-section-right .btn--base {
  background-color: var(--gds-accent) !important;
  border-color: var(--gds-accent) !important;
  min-height: 48px;
  font-weight: 600;
  border-radius: var(--gds-radius) !important;
}

.account-form .btn--base:hover,
.auth-form .btn--base:hover {
  background-color: #d03a47 !important;
  border-color: #d03a47 !important;
}

.forgot-pass,
.account-section-right a.text--base,
.account-section-right .text--base {
  color: #FCA5A5 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.forgot-pass:hover,
.account-section-right a.text--base:hover {
  color: #fff !important;
}

.account-section-right .form-check-input {
  border-color: rgba(255, 255, 255, 0.35);
  background-color: transparent;
}

.account-section-right .form-check-input:checked {
  background-color: var(--gds-accent);
  border-color: var(--gds-accent);
}

/* Password recovery card on light surface */
.custom--card .form--control,
.custom--card .form-control {
  background: #fff !important;
  border: 1px solid var(--gds-border) !important;
  color: var(--gds-dark) !important;
  min-height: 48px !important;
  border-radius: var(--gds-radius) !important;
}

.custom--card .btn--base {
  background-color: var(--gds-primary) !important;
  border-color: var(--gds-primary) !important;
}

/* ---- FAQ / accordion ---- */
.accordion-button,
.faq-item .faq-item__title,
.accordion-item .accordion-header button {
  font-family: var(--gds-font) !important;
  font-weight: 600;
  color: var(--gds-dark);
}

.accordion-button:not(.collapsed),
.faq-item.active .faq-item__title {
  color: var(--gds-primary) !important;
  background: rgba(47, 60, 126, 0.06) !important;
}

/* ---- Footer ---- */
.footer-section,
.footer {
  background: var(--gds-navy-dark) !important;
}

.footer a:hover {
  color: var(--gds-accent) !important;
}

/* ---- Cookies ---- */
.cookies-card {
  background: var(--gds-card-bg) !important;
  color: var(--gds-dark) !important;
  border: 1px solid var(--gds-border);
  border-radius: var(--gds-radius-lg);
  box-shadow: var(--gds-shadow-md);
  max-width: min(520px, calc(100vw - 24px));
}

.cookies-card__icon {
  background-color: var(--gds-primary) !important;
}

/* ---- Contact / inner pages ---- */
.inner-hero {
  background-color: var(--gds-navy-dark) !important;
}

.inner-hero::before {
  background: linear-gradient(160deg, rgba(20, 35, 60, 0.9), rgba(47, 60, 126, 0.85)) !important;
}

.breadcrumb,
.breadcumb {
  font-size: 0.9rem;
}

/* ---- Mobile polish ---- */
@media (max-width: 991px) {
  .header .nav-right {
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gds-border);
  }

  .header .nav-right .btn {
    flex: 1 1 auto;
  }

  .hero {
    min-height: 70vh;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .account-section {
    padding: 1.25rem !important;
  }

  .account-section-right {
    border-left: 0;
    border-radius: var(--gds-radius-lg);
    margin-top: 1.5rem;
  }
}

@media (max-width: 575px) {
  .hero__title {
    max-width: none;
  }

  .main-menu li a {
    width: 100%;
  }
}

/* ---- Performance: lighter decorative motion ---- */
.wow {
  visibility: visible;
}

/* Preloader: keep brand navy */
.preloader {
  background: var(--gds-navy-dark);
}

.dl__square,
.dl__corner--top,
.dl__corner--bottom {
  border-color: var(--gds-accent) !important;
}

/* =========================================================
   STRUCTURAL REDESIGN v2 — Exaggerated Minimalism + Trust
   Asymmetric hero, editorial features, centered auth card
   ========================================================= */

/* Buttons (new system) */
.gds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--gds-radius);
  font-family: var(--gds-font);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--gds-transition);
  touch-action: manipulation;
}

.gds-btn--sm {
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.gds-btn--block {
  width: 100%;
}

.gds-btn.is-loading {
  pointer-events: none;
  opacity: 0.82;
  cursor: wait;
}

.gds-btn.is-loading .gds-btn__label {
  display: none;
}

.gds-btn__loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.gds-btn__loading[hidden] {
  display: none !important;
}

.gds-btn__spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: gds-btn-spin 0.7s linear infinite;
}

@keyframes gds-btn-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gds-btn__spinner {
    animation: none;
    border-top-color: rgba(255, 255, 255, 0.35);
    border-right-color: #fff;
  }
}

.gds-btn--accent {
  background: var(--gds-accent);
  color: #fff !important;
  border-color: var(--gds-accent);
  box-shadow: 0 10px 24px rgba(232, 67, 81, 0.28);
}

.gds-btn--accent:hover {
  background: #d03a47;
  border-color: #d03a47;
  color: #fff !important;
  transform: translateY(-1px);
}

.gds-btn--primary {
  background: var(--gds-primary);
  color: #fff !important;
  border-color: var(--gds-primary);
}

.gds-btn--primary:hover {
  background: var(--gds-primary-hover);
  border-color: var(--gds-primary-hover);
  color: #fff !important;
}

.gds-btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
}

.gds-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff !important;
}

.gds-btn--ghost-dark {
  background: transparent;
  color: var(--gds-dark) !important;
  border-color: var(--gds-border);
}

.gds-btn--ghost-dark:hover {
  background: var(--gds-light);
  border-color: var(--gds-secondary);
  color: var(--gds-dark) !important;
}

.gds-btn--quiet {
  background: rgba(248, 250, 252, 0.08);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.12);
}

.gds-btn--quiet:hover {
  background: rgba(248, 250, 252, 0.14);
  color: #fff !important;
}

/* ---- Floating header ---- */
.gds-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.gds-header__bar {
  background: rgba(248, 250, 252, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gds-border);
}

.gds-header__nav {
  min-height: 72px;
  gap: 1rem;
}

.gds-header__logo {
  display: inline-flex !important;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
  line-height: 0;
}

/* Bigger mark inside the same 72px bar (was 40–48px). */
.gds-header__logo img,
.gds-header .site-logo img {
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.gds-header__wordmark {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gds-navy-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.gds-header__menu {
  margin: 0 auto !important;
  gap: 0.15rem;
}

.gds-header__menu li a {
  text-transform: none !important;
  font-weight: 500 !important;
  color: var(--gds-dark) !important;
  border-radius: var(--gds-radius);
  padding: 0.55rem 0.85rem !important;
}

.gds-header__menu li a.active,
.gds-header__menu li a:hover {
  color: var(--gds-primary) !important;
  background: rgba(47, 60, 126, 0.06);
}

.gds-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gds-header__toolbar {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.gds-header__cta-mobile {
  display: none;
}

@media (min-width: 992px) {
  .gds-header__cta-mobile {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .gds-header__logo img,
  .gds-header .site-logo img {
    max-height: 52px;
  }

  .gds-header__toolbar {
    display: flex;
  }

  .gds-header__cta-mobile {
    display: inline-flex;
  }

  .gds-header__cta-desktop {
    display: none !important;
  }

  .gds-header__wordmark {
    display: none;
  }

  .gds-header__collapse {
    padding: 1rem 0 1.25rem;
    border-top: 1px solid var(--gds-border);
    margin-top: 0.75rem;
  }

  .gds-header__menu {
    width: 100%;
    margin-bottom: 0.75rem !important;
  }

  .gds-header__actions {
    width: 100%;
  }

  .gds-header__actions .gds-btn {
    flex: 1 1 auto;
  }
}

/* ---- Asymmetric hero ---- */
.gds-hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
  background: var(--gds-navy-dark);
  overflow: hidden;
}

.gds-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(232, 67, 81, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 50% at 10% 80%, rgba(47, 60, 126, 0.65), transparent 60%),
    linear-gradient(145deg, #0b1224 0%, #14233c 48%, #1c2d55 100%);
}

.gds-hero[style*="--gds-hero-image"] .gds-hero__atmosphere {
  background-image:
    linear-gradient(115deg, rgba(11, 18, 36, 0.94) 0%, rgba(20, 35, 60, 0.88) 52%, rgba(20, 35, 60, 0.55) 100%),
    var(--gds-hero-image);
  background-size: cover;
  background-position: center;
}

.gds-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}

.gds-hero__brand {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.7);
  margin-bottom: 1rem;
}

.gds-hero__title {
  font-size: clamp(2.4rem, 6vw, 4.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em;
  color: #fff !important;
  text-wrap: balance;
  max-width: 12ch;
  margin: 0 0 1.25rem;
}

.gds-hero__lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.82);
  max-width: 36rem;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin: 0 0 1.75rem;
}

.gds-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.gds-hero__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.gds-hero__trust li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.875rem;
  font-weight: 500;
}

.gds-hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gds-accent);
}

.gds-hero__panel {
  justify-self: end;
  width: 100%;
  max-width: 420px;
}

.gds-hero__panel-inner {
  background: rgba(248, 250, 252, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.gds-hero__panel-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
  margin-bottom: 0.65rem;
}

.gds-hero__panel-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 0.65rem;
}

.gds-hero__panel-text {
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.95rem;
  margin: 0 0 1.35rem;
}

.gds-hero__panel-actions {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.gds-hero__panel-link {
  color: #fecaca !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
}

.gds-hero__panel-link:hover {
  color: #fff !important;
}

@media (max-width: 991px) {
  .gds-hero {
    min-height: auto;
    padding: 2.5rem 0 2.75rem;
  }

  .gds-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gds-hero__title {
    max-width: none;
  }

  .gds-hero__panel {
    max-width: none;
    justify-self: stretch;
  }
}

/* Hide legacy wave hero when new home is active */
.gds-home .hero,
.gds-home .hero__wave-shape {
  display: none !important;
}

/* ---- Proof rail ---- */
.gds-proof {
  background: #fff;
  border-bottom: 1px solid var(--gds-border);
  padding: 1.75rem 0;
}

.gds-proof__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gds-secondary);
  margin-bottom: 1rem;
  text-align: center;
}

.gds-proof__rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  gap: 0;
}

.gds-proof__item {
  flex: 0 0 auto;
  min-width: 10.5rem;
  padding: 0.35rem 2rem;
  text-align: center;
  border-right: 1px solid var(--gds-border);
}

.gds-proof__item:last-child {
  border-right: 0;
}

.gds-proof__value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gds-navy-dark);
  margin: 0 0 0.25rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.gds-proof__meta {
  margin: 0;
  color: var(--gds-secondary);
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .gds-proof__rail {
    width: 100%;
    max-width: 22rem;
  }

  .gds-proof__item {
    flex: 1 1 50%;
    min-width: 0;
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid var(--gds-border);
  }

  .gds-proof__item:nth-child(2n) {
    border-right: 0;
  }

  .gds-proof__item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

/* ---- Editorial features ---- */
.gds-features {
  padding: 4.5rem 0 !important;
  background: var(--gds-bg);
}

.gds-features__head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.gds-features__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gds-accent);
  margin-bottom: 0.5rem;
}

.gds-features__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gds-navy-dark);
  margin: 0;
  text-wrap: balance;
}

.gds-features__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--gds-border);
}

.gds-features__row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gds-border);
  transition: background-color 180ms ease;
}

.gds-features__row:hover {
  background: rgba(47, 60, 126, 0.03);
}

.gds-features__index {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gds-primary);
  font-variant-numeric: tabular-nums;
}

.gds-features__name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gds-navy-dark);
  margin: 0 0 0.35rem;
}

.gds-features__desc {
  margin: 0;
  color: var(--gds-secondary);
  max-width: 42rem;
}

.gds-features__glyph {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--gds-radius);
  background: rgba(47, 60, 126, 0.08);
  color: var(--gds-primary);
  font-size: 1.35rem;
}

.gds-features__glyph .icon,
.gds-features__glyph i {
  background: transparent !important;
  color: inherit !important;
}

@media (max-width: 575px) {
  .gds-features__row {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .gds-features__glyph {
    display: none;
  }
}

/* Soften remaining CMS card sections inside new home */
.gds-home__sections .section-header {
  text-align: left !important;
  max-width: 40rem;
}

.gds-home__sections .feature-card,
.gds-home__sections .service-card,
.gds-home__sections .work-card,
.gds-home__sections .choose-card {
  border-radius: var(--gds-radius) !important;
}

/* Hide duplicate overview if still rendered elsewhere */
.gds-home .overview-section {
  display: none !important;
}

/* ---- Centered auth shell ---- */
.gds-auth {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 3rem;
  background: #14233c; /* plain navy — no gradient */
  overflow: hidden;
}

.gds-auth__atmosphere {
  display: none;
}

.gds-auth__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

.gds-auth__shell {
  position: relative;
  z-index: 1;
}

.gds-auth > .gds-auth__shell {
  width: min(440px, 100%);
}

.gds-auth--wide > .gds-auth__shell {
  width: min(720px, 100%);
}

.gds-auth__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(248, 250, 252, 0.75) !important;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none !important;
  margin-bottom: 1rem;
}

.gds-auth__back:hover {
  color: #fff !important;
}

.gds-auth__card {
  background: rgba(15, 23, 41, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.gds-auth__header {
  text-align: left;
  margin-bottom: 1.75rem;
}

.gds-auth__logo {
  display: inline-flex;
  align-items: center;
}

.gds-auth__logo img {
  max-height: 112px;
  width: auto;
  max-width: min(260px, 72vw);
  margin-bottom: 1.35rem;
  object-fit: contain;
}

@media (max-width: 575px) {
  .gds-auth__logo img {
    max-height: 88px;
  }
}

.gds-auth__title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 0.45rem;
}

.gds-auth__subtitle {
  margin: 0;
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.gds-auth__form .form-label {
  color: rgba(248, 250, 252, 0.9) !important;
}

.gds-auth__form .form--control,
.gds-auth__form .form-control,
.gds-auth__form select.form--control {
  background-color: rgba(248, 250, 252, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #F8FAFC !important;
  min-height: 48px !important;
  border-radius: var(--gds-radius) !important;
}

.gds-auth__form .input-group-text,
.gds-auth__form .password-eye {
  background-color: rgba(248, 250, 252, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #F8FAFC !important;
  min-height: 48px;
}

.gds-auth__form .form-check-label,
.gds-auth__meta label {
  color: rgba(248, 250, 252, 0.85) !important;
}

.gds-auth__footer {
  margin: 1.25rem 0 0;
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.925rem;
}

.gds-auth__footer a {
  color: #fecaca !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gds-auth__footer a:hover {
  color: #fff !important;
}

.gds-auth .policy-link,
.gds-auth .policy-link a {
  color: #fecaca !important;
}

.gds-auth .forgot-pass {
  color: #fecaca !important;
}

/* =========================================================
   SECTION SYSTEM v3 — offer bento, about, services, why,
   steps, FAQ, partners, footer
   ========================================================= */

.gds-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gds-accent);
}

.gds-kicker--on-dark {
  color: #fecaca;
}

.gds-display {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--gds-navy-dark);
  text-wrap: balance;
}

.gds-display--sm {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.gds-display--on-dark {
  color: #fff;
}

.gds-lead {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  color: var(--gds-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

.gds-home__sections > section,
.gds-home__sections > .gds-offer,
.gds-home__sections > .gds-about,
.gds-home__sections > .gds-services,
.gds-home__sections > .gds-why,
.gds-home__sections > .gds-steps,
.gds-home__sections > .gds-faq,
.gds-home__sections > .gds-partners {
  position: relative;
}

/* Kill legacy wave chrome inside redesigned home */
.gds-home .top-wave,
.gds-home .bottom-wave,
.gds-home .hero__wave-shape {
  display: none !important;
}

/* ---- Offer bento ---- */
.gds-offer {
  padding: 5rem 0;
  background: #fff;
}

.gds-offer__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.gds-offer__bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
  gap: 1rem;
}

.gds-offer__tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--gds-border);
  background: var(--gds-bg);
  min-height: 200px;
  transition: var(--gds-transition);
}

.gds-offer__tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--gds-shadow-md);
  border-color: rgba(47, 60, 126, 0.22);
}

.gds-offer__tile--1 {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 320px;
  justify-content: flex-end;
  background: linear-gradient(145deg, #14233c 0%, #2f3c7e 100%);
  border-color: transparent;
  color: #fff;
}

.gds-offer__tile--1 .gds-offer__name,
.gds-offer__tile--1 .gds-offer__text {
  color: #fff;
}

.gds-offer__tile--1 .gds-offer__text {
  color: rgba(248, 250, 252, 0.78);
}

.gds-offer__tile--1 .gds-offer__icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.gds-offer__tile--2,
.gds-offer__tile--3 {
  grid-column: span 1;
}

.gds-offer__tile--4 {
  grid-column: span 2;
}

.gds-offer__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--gds-radius);
  background: rgba(47, 60, 126, 0.08);
  color: var(--gds-primary);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.gds-offer__icon .icon,
.gds-offer__icon i,
.gds-offer__icon * {
  background: transparent !important;
  color: inherit !important;
}

.gds-offer__name {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gds-navy-dark);
}

.gds-offer__tile--1 .gds-offer__name {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.gds-offer__text {
  margin: 0;
  color: var(--gds-secondary);
  line-height: 1.55;
}

@media (max-width: 991px) {
  .gds-offer__bento {
    grid-template-columns: 1fr 1fr;
  }

  .gds-offer__tile--1,
  .gds-offer__tile--4 {
    grid-column: span 2;
  }
}

@media (max-width: 575px) {
  .gds-offer__bento {
    grid-template-columns: 1fr;
  }

  .gds-offer__tile--1,
  .gds-offer__tile--2,
  .gds-offer__tile--3,
  .gds-offer__tile--4 {
    grid-column: span 1;
    min-height: 180px;
  }
}

/* ---- About ---- */
.gds-about {
  padding: 5rem 0;
  background: var(--gds-bg);
}

.gds-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.gds-about__figure {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--gds-shadow-md);
  background: #0b1224;
  aspect-ratio: 650 / 485;
  width: 100%;
  max-width: 650px;
  isolation: isolate;
}

.gds-about__preview,
.gds-about__preview-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.gds-about__preview--empty {
  min-height: 100%;
  background: linear-gradient(145deg, #14233c 0%, #2f3c7e 100%);
}

.gds-about__preview-video {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gds-about__figure.is-playing .gds-about__preview-video {
  pointer-events: auto;
}

.gds-about__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gds-accent);
  color: #fff !important;
  font-size: 1.5rem;
  box-shadow: 0 12px 28px rgba(232, 67, 81, 0.35);
  cursor: pointer;
  padding: 0;
  transition: var(--gds-transition);
}

.gds-about__play:hover {
  transform: translate(-50%, -50%) scale(1.05);
  color: #fff !important;
}

.gds-about__play:focus-visible {
  outline: none;
  box-shadow: var(--gds-focus), 0 12px 28px rgba(232, 67, 81, 0.35);
}

.gds-about__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.gds-about__video,
.gds-about__iframe {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}

.gds-about__figure.is-playing .gds-about__preview,
.gds-about__figure.is-playing .gds-about__play {
  display: none !important;
}

.gds-about__points {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.gds-about__point {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.gds-about__point-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--gds-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--gds-border);
  color: var(--gds-primary);
  font-size: 1.15rem;
}

.gds-about__point-icon * {
  background: transparent !important;
  color: inherit !important;
}

.gds-about__point-title {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gds-navy-dark);
}

.gds-about__point-text {
  margin: 0;
  color: var(--gds-secondary);
  line-height: 1.55;
}

@media (max-width: 991px) {
  .gds-about__grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Services list ---- */
.gds-services {
  padding: 5rem 0;
  background: #fff;
}

.gds-services__intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.gds-services__list {
  border-top: 1px solid var(--gds-border);
}

.gds-services__item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--gds-border);
}

.gds-services__num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gds-primary);
  font-variant-numeric: tabular-nums;
}

.gds-services__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gds-navy-dark);
}

.gds-services__text {
  margin: 0;
  color: var(--gds-secondary);
  max-width: 46rem;
}

.gds-services__mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 60, 126, 0.08);
  color: var(--gds-primary);
  font-size: 1.25rem;
}

.gds-services__mark * {
  background: transparent !important;
  color: inherit !important;
}

@media (max-width: 575px) {
  .gds-services__item {
    grid-template-columns: 2.75rem minmax(0, 1fr);
  }

  .gds-services__mark {
    display: none;
  }
}

/* ---- Why choose ---- */
.gds-why {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 50% 60% at 10% 20%, rgba(232, 67, 81, 0.14), transparent 55%),
    linear-gradient(145deg, #0b1224 0%, #14233c 55%, #1c2d55 100%);
}

.gds-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.gds-why__intro .gds-btn {
  margin-top: 0.5rem;
}

.gds-why__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.gds-why__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gds-why__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--gds-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 67, 81, 0.15);
  color: #fecaca;
  font-size: 1.25rem;
}

.gds-why__icon * {
  background: transparent !important;
  color: inherit !important;
}

.gds-why__title {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.gds-why__text {
  margin: 0;
  color: rgba(248, 250, 252, 0.72);
  line-height: 1.55;
}

@media (max-width: 991px) {
  .gds-why__grid {
    grid-template-columns: 1fr;
  }
}

/* ---- How it works steps ---- */
.gds-steps {
  padding: 5rem 0;
  background: var(--gds-bg);
}

.gds-steps__head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.gds-steps__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: none;
  position: relative;
}

.gds-steps__track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 2%;
  right: 2%;
  height: 2px;
  background: linear-gradient(90deg, rgba(47, 60, 126, 0.15), rgba(232, 67, 81, 0.35), rgba(47, 60, 126, 0.15));
  z-index: 0;
}

.gds-steps__step {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--gds-border);
  border-radius: 12px;
  padding: 1.35rem 1.2rem 1.5rem;
  box-shadow: var(--gds-shadow);
}

.gds-steps__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gds-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.gds-steps__title {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gds-navy-dark);
}

.gds-steps__text {
  margin: 0;
  color: var(--gds-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 991px) {
  .gds-steps__track {
    grid-template-columns: 1fr 1fr;
  }

  .gds-steps__track::before {
    display: none;
  }
}

@media (max-width: 575px) {
  .gds-steps__track {
    grid-template-columns: 1fr;
  }
}

/* ---- FAQ ---- */
.gds-faq {
  padding: 5rem 0;
  background: #fff;
}

.gds-faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.gds-faq__accordion {
  display: grid;
  gap: 0.65rem;
}

.gds-faq__item {
  border: 1px solid var(--gds-border) !important;
  border-radius: 10px !important;
  overflow: hidden;
  background: var(--gds-bg);
}

.gds-faq__button {
  font-family: var(--gds-font) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  color: var(--gds-navy-dark) !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 1.05rem 1.15rem !important;
}

.gds-faq__button:not(.collapsed) {
  color: var(--gds-primary) !important;
  background: rgba(47, 60, 126, 0.05) !important;
}

.gds-faq__button::after {
  filter: none;
}

.gds-faq__body {
  padding: 0 1.15rem 1.15rem !important;
  color: var(--gds-secondary);
  line-height: 1.6;
}

.gds-faq__body p {
  margin: 0;
}

@media (max-width: 991px) {
  .gds-faq__layout {
    grid-template-columns: 1fr;
  }
}

/* ---- Partners ---- */
.gds-partners {
  padding: 3.5rem 0 4.5rem;
  background: var(--gds-bg);
  border-top: 1px solid var(--gds-border);
}

.gds-partners__head {
  text-align: center;
  margin-bottom: 2rem;
}

.gds-partners__head .gds-display {
  margin-left: auto;
  margin-right: auto;
}

.gds-partners__wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  align-items: center;
}

.gds-partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--gds-border);
  border-radius: 10px;
}

.gds-partners__item img {
  max-width: 120px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: filter 180ms ease, opacity 180ms ease;
}

.gds-partners__item:hover img {
  filter: grayscale(0) opacity(1);
}

/* ---- Newsletter subscribe ---- */
.gds-subscribe {
  padding: 2.5rem 0 2.75rem;
  background: #0b1224;
}

.gds-subscribe__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1.75rem;
  align-items: center;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 45% 80% at 90% 20%, rgba(232, 67, 81, 0.18), transparent 55%),
    linear-gradient(135deg, #14233c 0%, #2f3c7e 100%);
  box-shadow: var(--gds-shadow-md);
}

.gds-subscribe__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
  text-wrap: balance;
}

.gds-subscribe__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.gds-subscribe__field {
  position: relative;
  flex: 1 1 220px;
}

.gds-subscribe__field i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(248, 250, 252, 0.55);
  font-size: 1.15rem;
  pointer-events: none;
}

.gds-subscribe__input {
  width: 100%;
  height: 48px;
  padding: 0 1rem 0 2.6rem;
  border-radius: var(--gds-radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--gds-font);
  font-size: 0.95rem;
}

.gds-subscribe__input::placeholder {
  color: rgba(248, 250, 252, 0.55);
}

.gds-subscribe__input:focus {
  outline: none;
  border-color: rgba(254, 202, 202, 0.7);
  box-shadow: 0 0 0 3px rgba(232, 67, 81, 0.25);
  background: rgba(255, 255, 255, 0.12);
}

.gds-subscribe__form .gds-btn {
  flex: 0 0 auto;
  min-height: 48px;
  padding-inline: 1.35rem;
}

@media (max-width: 991px) {
  .gds-subscribe__panel {
    grid-template-columns: 1fr;
  }
}

/* ---- Public footer ---- */
.gds-footer {
  background: #0b1224 !important;
  color: rgba(248, 250, 252, 0.78);
  padding: 4rem 0 1.75rem !important;
}

.gds-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gds-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
  margin-bottom: 1rem;
}

.gds-footer__logo img {
  max-height: 40px;
  width: auto;
}

.gds-footer__logo span {
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.gds-footer__blurb {
  margin: 0 0 1.25rem;
  max-width: 28rem;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.68);
}

.gds-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gds-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--gds-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff !important;
  text-decoration: none !important;
}

.gds-footer__social a:hover {
  background: var(--gds-accent);
  border-color: var(--gds-accent);
}

.gds-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.gds-footer__heading {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
}

.gds-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.gds-footer__links a {
  color: rgba(248, 250, 252, 0.85) !important;
  text-decoration: none !important;
  font-weight: 500;
}

.gds-footer__links a:hover {
  color: #fecaca !important;
}

.gds-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.gds-footer__contact li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: rgba(248, 250, 252, 0.78);
  line-height: 1.45;
}

.gds-footer__contact-icon {
  color: #fecaca;
}

.gds-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
}

.gds-footer__copy {
  margin: 0;
  color: rgba(248, 250, 252, 0.55);
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .gds-footer__top {
    grid-template-columns: 1fr;
  }

  .gds-footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .gds-footer__cols {
    grid-template-columns: 1fr;
  }

  .gds-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero no longer needs action row when CTAs are in header/panel only */
.gds-hero__actions {
  display: none;
}

/* =========================================================
   Modern toast notifications (iziToast skin)
   ========================================================= */
.iziToast-wrapper-topRight {
  top: 1rem !important;
  right: 1rem !important;
}

.gds-toast.iziToast {
  font-family: var(--gds-font) !important;
  border-radius: 12px !important;
  padding: 0.9rem 1rem 0.95rem 1rem !important;
  min-height: 0 !important;
  width: min(360px, calc(100vw - 2rem)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  background: #1b2438 !important;
}

.gds-toast.iziToast::after {
  box-shadow: none !important;
  background: transparent !important;
}

.gds-toast .iziToast-body {
  margin: 0 !important;
  padding: 0 1.6rem 0 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

.gds-toast .iziToast-body .iziToast-texts {
  margin: 0 !important;
  display: grid !important;
  gap: 0.15rem;
}

.gds-toast .iziToast-title {
  display: block !important;
  float: none !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  background: transparent !important;
  color: rgba(248, 250, 252, 0.62) !important;
}

.gds-toast .iziToast-message {
  display: block !important;
  float: none !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #f8fafc !important;
}

.gds-toast .iziToast-close {
  top: 50% !important;
  transform: translateY(-50%);
  right: 0.7rem !important;
  opacity: 0.65;
  width: 1.35rem;
  height: 1.35rem;
  background-size: 10px !important;
}

.gds-toast .iziToast-progressbar {
  height: 3px !important;
}

.gds-toast.gds-toast--success {
  background: #143528 !important;
  border-color: rgba(74, 222, 128, 0.35) !important;
}

.gds-toast.gds-toast--error {
  background: #3a161b !important;
  border-color: rgba(248, 113, 113, 0.4) !important;
}

.gds-toast.gds-toast--warning {
  background: #3a2d12 !important;
  border-color: rgba(250, 204, 21, 0.35) !important;
}

.gds-toast.gds-toast--info,
.gds-toast.gds-toast--question {
  background: #1a2548 !important;
  border-color: rgba(147, 197, 253, 0.35) !important;
}

.gds-toast .iziToast-icon,
.gds-toast .iziToast-icon > * {
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
}

/* ---- Branches directory ---- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gds-branches {
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(47, 60, 126, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 10%, rgba(232, 67, 81, 0.05), transparent 50%),
    #f8fafc;
}

.gds-branches__intro {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.gds-branches__lede {
  margin: 0 0 1.5rem;
  color: var(--gds-secondary);
  font-size: 1.05rem;
  line-height: 1.55;
}

.gds-branches__search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.gds-branches__input {
  flex: 1 1 220px;
  min-height: 48px !important;
  border-radius: var(--gds-radius) !important;
  border: 1px solid var(--gds-border) !important;
  background: #fff !important;
  padding-inline: 1rem !important;
}

.gds-branches__input:focus {
  outline: none;
  border-color: rgba(47, 60, 126, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(47, 60, 126, 0.12);
}

.gds-branches__clear {
  color: var(--gds-primary) !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gds-branches__count {
  margin: 0;
  color: var(--gds-secondary);
  font-size: 0.9rem;
}

.gds-branches__list {
  display: grid;
  gap: 0.75rem;
}

.gds-branches__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.15rem 1.35rem;
  background: #fff;
  border: 1px solid var(--gds-border);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gds-branches__item:not(:has(.gds-branches__actions .gds-btn)) {
  grid-template-columns: auto minmax(0, 1fr);
}

.gds-branches__item:hover {
  border-color: rgba(47, 60, 126, 0.28);
  box-shadow: 0 12px 28px rgba(20, 35, 60, 0.08);
  transform: translateY(-1px);
}

.gds-branches__index {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(47, 60, 126, 0.45);
  padding-top: 0.2rem;
}

.gds-branches__name {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gds-navy-dark);
  line-height: 1.25;
}

.gds-branches__address {
  margin: 0 0 0.85rem;
  color: var(--gds-secondary);
  line-height: 1.45;
}

.gds-branches__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  margin: 0;
}

.gds-branches__meta dt {
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(20, 35, 60, 0.45);
}

.gds-branches__meta dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gds-navy-dark);
}

.gds-branches__meta a {
  color: var(--gds-primary) !important;
  text-decoration: none !important;
  font-weight: 500;
}

.gds-branches__meta a:hover {
  color: var(--gds-accent) !important;
  text-decoration: underline !important;
}

.gds-branches__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  align-self: center;
}

.gds-branches__empty {
  text-align: center;
  padding: 3rem 1.25rem;
  background: #fff;
  border: 1px dashed var(--gds-border);
  border-radius: 12px;
  color: var(--gds-secondary);
}

.gds-branches__empty .gds-btn {
  margin-top: 1rem;
}

.gds-branches__pager {
  margin-top: 2rem;
}

.gds-branches__pager .pagination {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.gds-branches__pager .page-link {
  border-radius: 8px !important;
  border-color: var(--gds-border) !important;
  color: var(--gds-navy-dark) !important;
  min-width: 40px;
  text-align: center;
}

.gds-branches__pager .page-item.active .page-link {
  background: var(--gds-primary) !important;
  border-color: var(--gds-primary) !important;
  color: #fff !important;
}

.gds-branches-modal .modal-content {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
}

.gds-branches-modal .modal-header {
  border-bottom: 1px solid var(--gds-border);
  padding: 1rem 1.25rem;
}

.gds-branches-modal .modal-title {
  font-weight: 700;
  color: var(--gds-navy-dark);
}

.gds-branches-modal .modal-body {
  padding: 1.25rem;
}

.gds-branches-modal .modal-body iframe {
  width: 100% !important;
  min-height: 320px;
  border: 0;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .gds-branches {
    padding: 2.5rem 0 3.25rem;
  }

  .gds-branches__item {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem 1rem;
  }

  .gds-branches__actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .gds-branches__actions .gds-btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gds-branches__item {
    transition: none;
  }

  .gds-branches__item:hover {
    transform: none;
  }
}
