/* =========================================================
   Acron Trust — Modern Theme
   Layered on top of the legacy template. Scoped to `at-`
   prefixed classes plus a redesign of the shared header/
   footer chrome so it doesn't fight the old page CSS.
   ========================================================= */

:root {
  --at-navy: #070b17;
  --at-navy-2: #0d1428;
  --at-navy-3: #131c38;
  --at-navy-soft: #1a2340;
  --at-gold: #d7b15c;
  --at-gold-2: #f0d99a;
  --at-emerald: #1fe3a8;
  --at-cream: #f8f6ef;
  --at-cream-2: #f1ece0;
  --at-ink: #0d1017;
  --at-muted: #6c7280;
  --at-muted-light: #a8adc0;
  --at-line: rgba(255, 255, 255, 0.09);
  --at-line-dark: rgba(13, 16, 23, 0.1);
  --at-white: #ffffff;
  --at-shadow: 0 30px 80px -30px rgba(7, 11, 23, 0.45);
  --at-radius: 20px;
  --at-radius-sm: 12px;
  --at-serif: "Fraunces", "DM Sans", serif;
  --at-sans: "Manrope", sans-serif;
  --at-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.at-scope, body {
  font-family: var(--at-sans);
}

/* ---------- utility ---------- */
.at-section { position: relative; padding: 128px 0; overflow: hidden; }
.at-section--tight { padding: 96px 0; }
.at-section--dark { background: var(--at-navy); color: var(--at-white); }
.at-section--cream { background: var(--at-cream); }
.at-section--white { background: var(--at-white); }
.at-container { max-width: 1260px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.at-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--at-sans); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--at-gold);
  margin-bottom: 18px;
}
.at-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--at-gold); display: inline-block; }
.at-h2 {
  font-family: var(--at-serif); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(32px, 4vw, 48px); line-height: 1.12; margin: 0 0 18px;
  color: var(--at-ink);
}
.at-section--dark .at-h2 { color: var(--at-white); }
.at-lede { font-size: 17px; line-height: 1.7; color: var(--at-muted); max-width: 560px; }
.at-section--dark .at-lede { color: var(--at-muted-light); }
.at-head { margin-bottom: 56px; }
.at-head--center { text-align: center; }
.at-head--center .at-lede { margin-left: auto; margin-right: auto; }
.at-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }

.at-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--at-sans); font-weight: 700; font-size: 14.5px; letter-spacing: 0.01em;
  padding: 16px 30px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .45s var(--at-ease), box-shadow .45s var(--at-ease), background .3s ease, color .3s ease, border-color .3s ease;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.at-btn:hover { transform: translateY(-3px); color: inherit; }
.at-btn--gold { background: linear-gradient(135deg, var(--at-gold-2), var(--at-gold)); color: var(--at-ink); box-shadow: 0 14px 30px -12px rgba(215,177,92,.55); }
.at-btn--gold:hover { box-shadow: 0 20px 40px -14px rgba(215,177,92,.7); color: var(--at-ink); }
.at-btn--ghost-dark { border-color: rgba(255,255,255,.28); color: var(--at-white); }
.at-btn--ghost-dark:hover { border-color: var(--at-gold); background: rgba(215,177,92,.08); color: var(--at-white); }
.at-btn--ghost-light { border-color: rgba(13,16,23,.16); color: var(--at-ink); }
.at-btn--ghost-light:hover { border-color: var(--at-ink); background: rgba(13,16,23,.04); color: var(--at-ink); }
.at-btn--sm { padding: 12px 22px; font-size: 13.5px; }
.at-btn .icn { display: inline-flex; transition: transform .35s var(--at-ease); }
.at-btn:hover .icn { transform: translateX(4px); }

.at-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px;
  color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
  opacity: .85; transition: opacity .3s ease, gap .3s ease;
}
.at-link:hover { opacity: 1; gap: 12px; color: inherit; }

/* reveal-on-scroll */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--at-ease), transform .9s var(--at-ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="left"].is-visible { transform: none; }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="right"].is-visible { transform: none; }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="scale"].is-visible { transform: none; }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* =========================================================
   HEADER
   ========================================================= */
.at-topbar {
  background: var(--at-navy); color: var(--at-muted-light); font-size: 13px;
  border-bottom: 1px solid var(--at-line);
}
.at-topbar__inner { max-width: 1260px; margin: 0 auto; padding: 9px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.at-topbar__left { display: flex; align-items: center; gap: 8px; }
.at-topbar__left .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--at-emerald); box-shadow: 0 0 0 4px rgba(31,227,168,.18); flex: none; }
.at-topbar__right { display: flex; align-items: center; gap: 22px; }
.at-topbar__right a { color: var(--at-muted-light); text-decoration: none; transition: color .25s ease; }
.at-topbar__right a:hover { color: var(--at-gold-2); }
.at-topbar__rates { display: flex; align-items: center; gap: 16px; }
.at-topbar__rates span b { color: var(--at-gold-2); font-weight: 700; }

.at-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(7,11,23,.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--at-line);
  transition: background .4s ease, box-shadow .4s ease, padding .35s ease;
}
.at-header.is-scrolled { box-shadow: 0 18px 40px -20px rgba(0,0,0,.55); background: rgba(7,11,23,.92); }
.at-header__inner { max-width: 1260px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: padding .35s ease; }
.at-header.is-scrolled .at-header__inner { padding: 12px 24px; }
.at-logo { display: flex; align-items: center; }
.at-logo img { height: 30px; width: auto; display: block; }

.at-nav { display: flex; align-items: center; gap: 4px; }
.at-nav > li { position: relative; }
.at-nav > li > a {
  display: flex; align-items: center; gap: 6px; color: var(--at-white); text-decoration: none;
  font-size: 14.5px; font-weight: 600; padding: 12px 16px; border-radius: 999px; transition: background .25s ease, color .25s ease;
}
.at-nav > li > a:hover, .at-nav > li.at-open > a { background: rgba(255,255,255,.08); color: var(--at-gold-2); }
.at-nav > li > a svg { width: 11px; height: 11px; transition: transform .3s ease; opacity: .7; }
.at-nav > li.at-open > a svg { transform: rotate(180deg); }

.at-mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  min-width: 560px; background: var(--at-navy-2); border: 1px solid var(--at-line); border-radius: 18px;
  box-shadow: var(--at-shadow); padding: 22px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--at-ease), transform .3s var(--at-ease); z-index: 40;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 22px;
}
.at-nav > li.at-open .at-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.at-mega__col h6 { font-family: var(--at-sans); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--at-gold); margin: 4px 0 10px; }
.at-mega a.at-mega__item {
  display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 10px; text-decoration: none;
  color: var(--at-muted-light); transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.at-mega a.at-mega__item:hover { background: rgba(255,255,255,.06); color: var(--at-white); padding-left: 14px; }
.at-mega a.at-mega__item .ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(215,177,92,.12); color: var(--at-gold-2); display: flex; align-items: center; justify-content: center; flex: none; font-size: 15px; }
.at-mega a.at-mega__item strong { display: block; font-size: 14px; font-weight: 700; color: var(--at-white); }
.at-mega a.at-mega__item span { display: block; font-size: 12px; color: var(--at-muted-light); margin-top: 1px; }

.at-header__actions { display: flex; align-items: center; gap: 10px; }
.at-icon-btn, .at-burger {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--at-line);
  background: transparent; color: var(--at-white); align-items: center; justify-content: center; cursor: pointer;
  text-decoration: none; transition: background .25s ease, border-color .25s ease;
}
.at-icon-btn { display: inline-flex; }
.at-icon-btn:hover { background: rgba(255,255,255,.08); border-color: var(--at-gold); color: var(--at-gold-2); }
.at-burger { display: none; }

@media (max-width: 1199px) {
  .at-nav { display: none; }
  .at-burger { display: inline-flex; }
  .at-topbar__rates { display: none; }
}
@media (max-width: 560px) {
  .at-topbar__left span.at-topbar__label { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.at-hero {
  position: relative; background: var(--at-navy); color: var(--at-white); overflow: hidden;
  padding: 108px 0 0;
}
.at-hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.at-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; transform: scale(1.08); }
.at-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,11,23,.55) 0%, rgba(7,11,23,.86) 62%, var(--at-navy) 100%),
              radial-gradient(65% 55% at 18% 15%, rgba(215,177,92,.16), transparent 60%);
}
.at-hero__glow {
  position: absolute; width: 640px; height: 640px; border-radius: 50%; filter: blur(120px); opacity: .35; z-index: 0;
  background: radial-gradient(circle, var(--at-emerald), transparent 70%); top: -220px; right: -160px; pointer-events: none;
}
.at-hero__inner { position: relative; z-index: 2; max-width: 1260px; margin: 0 auto; padding: 88px 24px 0; }
.at-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.at-hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid var(--at-line); font-size: 13px; font-weight: 600;
  color: var(--at-gold-2); margin-bottom: 26px;
}
.at-hero h1 {
  font-family: var(--at-serif); font-weight: 500; letter-spacing: -0.015em;
  font-size: clamp(40px, 5.2vw, 68px); line-height: 1.06; margin: 0 0 22px;
  color: var(--at-white);
}
.at-hero h1 em { font-style: italic; color: var(--at-gold-2); }
.at-hero p.at-hero__sub { font-size: 18px; line-height: 1.7; color: var(--at-muted-light); max-width: 520px; margin-bottom: 38px; }
.at-hero__ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }
.at-hero__trust { display: flex; gap: 34px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--at-line); }
.at-hero__trust .stat b { display: block; font-family: var(--at-serif); font-size: 30px; color: var(--at-white); line-height: 1; margin-bottom: 6px; }
.at-hero__trust .stat span { font-size: 13px; color: var(--at-muted-light); }

.at-hero__panel {
  position: relative; background: rgba(19,28,56,.62); border: 1px solid var(--at-line); border-radius: 24px;
  padding: 30px; backdrop-filter: blur(20px); box-shadow: var(--at-shadow);
}
.at-hero__panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.at-hero__panel-top span.tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--at-muted-light); }
.at-hero__balance { font-family: var(--at-serif); font-size: 40px; margin: 0 0 4px; color: var(--at-white); }
.at-hero__balance small { font-size: 16px; color: var(--at-muted-light); font-family: var(--at-sans); }
.at-hero__delta { display: inline-flex; align-items: center; gap: 6px; color: var(--at-emerald); font-weight: 700; font-size: 13px; margin-bottom: 26px; }
.at-hero__sparkline { width: 100%; height: 64px; display: block; margin-bottom: 22px; }
.at-hero__sparkline path.line { fill: none; stroke: var(--at-emerald); stroke-width: 2.2; stroke-linecap: round; }
.at-hero__sparkline path.fill { fill: url(#atSparkFill); stroke: none; }
.at-hero__mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.at-hero__mini { background: rgba(255,255,255,.04); border: 1px solid var(--at-line); border-radius: 14px; padding: 14px 16px; }
.at-hero__mini span { display: block; font-size: 11.5px; color: var(--at-muted-light); margin-bottom: 6px; }
.at-hero__mini b { font-family: var(--at-serif); font-size: 19px; }
.at-hero__float-card {
  position: absolute; right: -26px; bottom: -26px; width: 190px; background: linear-gradient(135deg, #16213f, #0d1428);
  border: 1px solid var(--at-line); border-radius: 16px; padding: 16px; box-shadow: var(--at-shadow);
  animation: atFloat 5s ease-in-out infinite;
}
.at-hero__float-card .row { display: flex; align-items: center; gap: 10px; }
.at-hero__float-card .ic { width: 32px; height: 32px; border-radius: 9px; background: rgba(31,227,168,.16); color: var(--at-emerald); display: flex; align-items: center; justify-content: center; }
.at-hero__float-card strong { display: block; font-size: 13px; }
.at-hero__float-card span { display: block; font-size: 11px; color: var(--at-muted-light); }
@keyframes atFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.at-scroll-cue {
  display: flex; align-items: center; gap: 10px; justify-content: center; margin: 56px 0 0; padding-bottom: 34px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--at-muted-light);
}
.at-scroll-cue .bar { width: 1px; height: 30px; background: linear-gradient(var(--at-gold), transparent); position: relative; overflow: hidden; }
.at-scroll-cue .bar::after { content:""; position:absolute; inset:0; background: var(--at-gold-2); animation: atScrollLine 1.8s ease-in-out infinite; }
@keyframes atScrollLine { 0% { transform: translateY(-100%);} 100% { transform: translateY(100%);} }

@media (max-width: 991px) {
  .at-hero__grid { grid-template-columns: 1fr; }
  .at-hero__panel { max-width: 460px; }
  .at-hero__float-card { display: none; }
  .at-hero__glow { width: 320px; height: 320px; opacity: .22; top: -120px; right: -140px; }
}

/* =========================================================
   MARQUEE / PARTNER STRIP
   ========================================================= */
.at-marquee-wrap { background: var(--at-cream-2); padding: 34px 0; overflow: hidden; border-bottom: 1px solid var(--at-line-dark); }
.at-marquee-wrap .label { text-align:center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--at-muted); margin-bottom: 20px; }
.at-marquee { display: flex; width: max-content; gap: 72px; animation: atMarquee 32s linear infinite; }
.at-marquee:hover { animation-play-state: paused; }
.at-marquee span { font-family: var(--at-serif); font-size: 22px; color: var(--at-ink); opacity: .55; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
@keyframes atMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.at-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.at-service-card {
  display: block; color: inherit; text-decoration: none;
  background: var(--at-white); border: 1px solid var(--at-line-dark); border-radius: var(--at-radius);
  padding: 30px 26px; transition: transform .5s var(--at-ease), box-shadow .5s var(--at-ease), border-color .5s ease;
  position: relative; overflow: hidden;
}
.at-service-card:hover { transform: translateY(-8px); box-shadow: var(--at-shadow); border-color: transparent; color: inherit; }
.at-service-card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #16213f, #0d1428); color: var(--at-gold-2); font-size: 21px; margin-bottom: 22px;
}
.at-service-card h3 { font-family: var(--at-serif); font-size: 20px; margin: 0 0 10px; color: var(--at-ink); }
.at-service-card p { font-size: 14.5px; color: var(--at-muted); line-height: 1.65; margin: 0 0 18px; }
.at-service-card .at-card-link { font-size: 13px; font-weight: 700; color: var(--at-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.at-service-card .at-card-link svg { transition: transform .3s var(--at-ease); }
.at-service-card:hover .at-card-link svg { transform: translateX(5px); }
@media (max-width: 991px) { .at-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .at-services { grid-template-columns: 1fr; } }

/* =========================================================
   SPLIT FEATURE (why us)
   ========================================================= */
.at-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.at-split.rev .at-split__media { order: 2; }
.at-split__media { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--at-shadow); aspect-ratio: 4/3.1; }
.at-split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--at-ease); }
.at-split__media:hover img { transform: scale(1.06); }
.at-split__badge {
  position: absolute; left: 22px; bottom: 22px; background: rgba(7,11,23,.78); backdrop-filter: blur(10px);
  border: 1px solid var(--at-line); border-radius: 14px; padding: 14px 18px; color: #fff; display: flex; gap: 12px; align-items: center;
}
.at-split__badge .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(31,227,168,.18); color: var(--at-emerald); display: flex; align-items: center; justify-content: center; }
.at-split__badge strong { font-size: 14px; display: block; }
.at-split__badge span { font-size: 11.5px; color: var(--at-muted-light); }

.at-feature-list { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; gap: 18px; }
.at-feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.at-feature-list .ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(215,177,92,.14); color: #b6862c; display: flex; align-items: center; justify-content: center; flex: none; margin-top: 2px; }
.at-feature-list strong { display: block; font-size: 15.5px; color: var(--at-ink); margin-bottom: 3px; }
.at-feature-list p { margin: 0; font-size: 14px; color: var(--at-muted); line-height: 1.6; }
@media (max-width: 991px) { .at-split, .at-split.rev .at-split__media { grid-template-columns: 1fr; order: 0; } .at-split { grid-template-columns: 1fr; gap: 40px; } }

/* =========================================================
   STATS / COUNTER (dark, parallax bg)
   ========================================================= */
.at-stats { position: relative; background: var(--at-navy); color: #fff; }
.at-stats__bg { position: absolute; inset: 0; z-index: 0; }
.at-stats__bg img { width: 100%; height: 130%; object-fit: cover; opacity: .22; will-change: transform; }
.at-stats__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, var(--at-navy) 0%, rgba(7,11,23,.85) 100%); }
.at-stats .at-h2 { color: var(--at-white); }
.at-stats .at-lede { color: var(--at-muted-light); }
.at-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.at-stat b { display: block; font-family: var(--at-serif); font-size: clamp(38px, 4vw, 54px); color: var(--at-gold-2); line-height: 1; }
.at-stat span { display: block; margin-top: 12px; font-size: 14px; color: var(--at-muted-light); }
@media (max-width: 767px) { .at-stats-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; } }

/* =========================================================
   CALCULATOR
   ========================================================= */
.at-calc { background: var(--at-white); border-radius: 26px; box-shadow: var(--at-shadow); border: 1px solid var(--at-line-dark); overflow: hidden; }
.at-calc__tabs { display: flex; gap: 8px; padding: 18px; background: var(--at-cream-2); flex-wrap: wrap; }
.at-calc__tab { border: none; background: transparent; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--at-muted); cursor: pointer; transition: all .3s ease; }
.at-calc__tab.active, .at-calc__tab:hover { background: var(--at-ink); color: #fff; }
.at-calc__body { padding: 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
.at-calc__row { margin-bottom: 26px; }
.at-calc__row .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.at-calc__row label { font-weight: 700; font-size: 13.5px; color: var(--at-ink); }
.at-calc__row output { font-family: var(--at-serif); font-size: 18px; color: #b6862c; }
.at-calc__row input[type="range"] {
  -webkit-appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--at-cream-2); outline: none;
}
.at-calc__row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--at-gold-2), var(--at-gold)); cursor: pointer; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.at-calc__result { background: linear-gradient(160deg, var(--at-navy-2), var(--at-navy)); border-radius: 20px; padding: 30px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.at-calc__result span.lbl { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--at-muted-light); }
.at-calc__result .amt { font-family: var(--at-serif); font-size: 44px; color: var(--at-gold-2); margin: 8px 0 22px; }
.at-calc__result ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.at-calc__result li { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--at-muted-light); border-top: 1px solid var(--at-line); padding-top: 10px; }
.at-calc__result li b { color: #fff; }
@media (max-width: 860px) { .at-calc__body { grid-template-columns: 1fr; } }

/* =========================================================
   WEALTH CAROUSEL CARDS
   ========================================================= */
.at-wealth-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
.at-wealth-track::-webkit-scrollbar { display: none; }
.at-wealth-card { scroll-snap-align: start; flex: 0 0 300px; border-radius: 22px; overflow: hidden; position: relative; height: 380px; box-shadow: var(--at-shadow); }
.at-wealth-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--at-ease); }
.at-wealth-card:hover img { transform: scale(1.08); }
.at-wealth-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(7,11,23,0) 30%, rgba(7,11,23,.92) 100%); }
.at-wealth-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 2; color: #fff; }
.at-wealth-card__tag { display: inline-block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--at-gold-2); margin-bottom: 8px; }
.at-wealth-card__body h3 { font-family: var(--at-serif); font-size: 21px; margin: 0 0 10px; color: #fff; }
.at-wealth-card__body ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.at-wealth-card__body li { font-size: 12px; color: var(--at-muted-light); position: relative; padding-left: 12px; }
.at-wealth-card__body li::before { content: ""; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--at-emerald); }
.at-wealth-nav { display: flex; gap: 10px; margin-top: 24px; justify-content: flex-end; }
.at-wealth-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--at-line-dark); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .3s ease; }
.at-wealth-nav button:hover { background: var(--at-ink); color: #fff; border-color: var(--at-ink); }

/* =========================================================
   APP DOWNLOAD CTA
   ========================================================= */
.at-app { position: relative; background: linear-gradient(135deg, #101830, #070b17); color: #fff; border-radius: 32px; overflow: hidden; }
.at-app__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 70px; }
.at-app h2 { font-family: var(--at-serif); font-size: clamp(30px, 3.4vw, 42px); margin: 0 0 18px; color: #fff; }
.at-app p { color: var(--at-muted-light); font-size: 16px; line-height: 1.7; max-width: 460px; margin-bottom: 30px; }
.at-store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.at-store-badge { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--at-line); padding: 12px 18px; border-radius: 14px; color: #fff; text-decoration: none; transition: background .3s ease, transform .3s ease; }
.at-store-badge:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); color: #fff; }
.at-store-badge small { display: block; font-size: 10.5px; color: var(--at-muted-light); }
.at-store-badge strong { display: block; font-size: 15px; }
.at-app__phone { position: relative; display: flex; justify-content: center; }
.at-app__phone img { width: 78%; border-radius: 28px; box-shadow: var(--at-shadow); border: 6px solid #0d1428; animation: atFloat 6s ease-in-out infinite; }
@media (max-width: 860px) { .at-app__grid { grid-template-columns: 1fr; padding: 44px 28px; text-align: center; } .at-app p { margin-left: auto; margin-right: auto; } .at-store-badges { justify-content: center; } }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.at-testi-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 10px; }
.at-testi-track::-webkit-scrollbar { display: none; }
.at-testi-card { scroll-snap-align: start; flex: 0 0 min(420px, 88vw); background: var(--at-white); border: 1px solid var(--at-line-dark); border-radius: 22px; padding: 32px; box-shadow: 0 20px 50px -30px rgba(13,16,23,.15); }
.at-testi-card .stars { color: var(--at-gold); letter-spacing: 3px; margin-bottom: 16px; font-size: 14px; }
.at-testi-card p.quote { font-family: var(--at-serif); font-size: 19px; line-height: 1.55; color: var(--at-ink); margin: 0 0 24px; }
.at-testi-card .who { display: flex; align-items: center; gap: 12px; }
.at-testi-card .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.at-testi-card .who strong { display: block; font-size: 14px; }
.at-testi-card .who span { display: block; font-size: 12.5px; color: var(--at-muted); }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.at-faq { max-width: 820px; margin: 0 auto; }
.at-faq-item { border-bottom: 1px solid var(--at-line-dark); }
.at-faq-q { width: 100%; text-align: left; background: none; border: none; padding: 24px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-family: var(--at-serif); font-size: 19px; color: var(--at-ink); }
.at-faq-q .plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--at-line-dark); flex: none; display: flex; align-items: center; justify-content: center; position: relative; transition: transform .35s var(--at-ease), background .3s ease; }
.at-faq-q .plus::before, .at-faq-q .plus::after { content: ""; position: absolute; background: var(--at-ink); transition: transform .3s ease; }
.at-faq-q .plus::before { width: 11px; height: 1.6px; }
.at-faq-q .plus::after { width: 1.6px; height: 11px; }
.at-faq-item.open .at-faq-q .plus { background: var(--at-ink); transform: rotate(180deg); }
.at-faq-item.open .at-faq-q .plus::before, .at-faq-item.open .at-faq-q .plus::after { background: #fff; }
.at-faq-item.open .at-faq-q .plus::after { transform: scaleY(0); }
.at-faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--at-ease); }
.at-faq-a p { margin: 0 0 24px; color: var(--at-muted); font-size: 15px; line-height: 1.7; max-width: 680px; }

/* =========================================================
   SECURITY BAND
   ========================================================= */
.at-security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--at-line-dark); border: 1px solid var(--at-line-dark); border-radius: 20px; overflow: hidden; }
.at-security-item { background: var(--at-white); padding: 32px 26px; text-align: center; }
.at-security-item .ic { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 12px; background: var(--at-cream-2); display: flex; align-items: center; justify-content: center; color: #b6862c; font-size: 19px; }
.at-security-item strong { display: block; font-size: 14.5px; margin-bottom: 6px; color: var(--at-ink); }
.at-security-item span { font-size: 12.5px; color: var(--at-muted); }
@media (max-width: 860px) { .at-security-grid { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   NEWS
   ========================================================= */
.at-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.at-news-card { display: block; color: var(--at-ink); text-decoration: none; border-radius: 20px; overflow: hidden; border: 1px solid var(--at-line-dark); background: #fff; transition: transform .5s var(--at-ease), box-shadow .5s var(--at-ease); }
.at-news-card:hover { color: var(--at-ink); }
.at-news-card:hover { transform: translateY(-6px); box-shadow: var(--at-shadow); }
.at-news-card__img { position: relative; height: 200px; overflow: hidden; }
.at-news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--at-ease); }
.at-news-card:hover .at-news-card__img img { transform: scale(1.08); }
.at-news-card__tag { position: absolute; top: 14px; left: 14px; background: rgba(7,11,23,.8); color: var(--at-gold-2); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.at-news-card__body { padding: 22px 22px 26px; }
.at-news-card__meta { font-size: 12px; color: var(--at-muted); margin-bottom: 10px; }
.at-news-card__body h3 { font-family: var(--at-serif); font-size: 18.5px; line-height: 1.35; margin: 0 0 14px; color: var(--at-ink); transition: color .3s ease; }
.at-news-card__body h3 a { color: var(--at-ink); text-decoration: none; }
.at-news-card__body h3 a:hover { color: #b6862c; }
.at-news-card:hover .at-news-card__body h3 { color: #b6862c; }
@media (max-width: 991px) { .at-news-grid { grid-template-columns: 1fr; } }

/* =========================================================
   NEWSLETTER / FINAL CTA
   ========================================================= */
.at-cta { position: relative; border-radius: 32px; overflow: hidden; background: var(--at-navy); color: #fff; text-align: center; padding: 90px 40px; }
.at-cta__bg { position: absolute; inset: 0; z-index: 0; }
.at-cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.at-cta__bg::after { content:""; position:absolute; inset:0; background: radial-gradient(60% 80% at 50% 0%, rgba(215,177,92,.18), transparent 70%), var(--at-navy); mix-blend-mode: normal; opacity:.85; }
.at-cta__inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.at-cta h2 { font-family: var(--at-serif); font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 16px; color: #fff; }
.at-cta p { color: var(--at-muted-light); font-size: 16px; margin-bottom: 34px; }
.at-cta-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto 20px; flex-wrap: wrap; justify-content: center; }
.at-cta-form input { flex: 1 1 240px; padding: 15px 20px; border-radius: 999px; border: 1px solid var(--at-line); background: rgba(255,255,255,.06); color: #fff; font-size: 14px; }
.at-cta-form input::placeholder { color: var(--at-muted-light); }
.at-cta-form input:focus { outline: none; border-color: var(--at-gold); }

/* =========================================================
   FOOTER
   ========================================================= */
.at-footer { background: var(--at-navy); color: var(--at-muted-light); padding-top: 96px; }
.at-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--at-line); }
.at-footer-brand img { height: 26px; margin-bottom: 20px; }
.at-footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; margin-bottom: 22px; }
.at-footer-social { display: flex; gap: 10px; }
.at-footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--at-line); display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: all .3s ease; }
.at-footer-social a:hover { background: var(--at-gold); color: var(--at-ink); border-color: var(--at-gold); transform: translateY(-3px); }
.at-footer-col h5 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.at-footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.at-footer-col a { color: var(--at-muted-light); text-decoration: none; font-size: 14.5px; transition: color .25s ease, padding-left .25s ease; }
.at-footer-col a:hover { color: var(--at-gold-2); padding-left: 4px; }
.at-footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.6; }
.at-footer-contact .ic { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; flex: none; color: var(--at-gold-2); }
.at-footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; font-size: 13px; flex-wrap: wrap; gap: 14px; }
.at-footer-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }
.at-footer-bottom a { color: var(--at-muted-light); text-decoration: none; }
.at-footer-bottom a:hover { color: var(--at-gold-2); }
.at-back-top { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--at-line); display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: all .3s ease; }
.at-back-top:hover { background: var(--at-gold); border-color: var(--at-gold); color: var(--at-ink); }
@media (max-width: 991px) { .at-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .at-footer-grid { grid-template-columns: 1fr; } .at-footer-bottom { flex-direction: column; text-align: center; } }

/* =========================================================
   MOBILE SIDE MENU
   (mechanics — slide transform, overlay, expanded state — come
   from the legacy 01-header-section.css; this restyles the look)
   ========================================================= */
.at-mnav .mobile-nav__overlay { background-color: var(--at-navy); opacity: .78; }
.at-mnav .mobile-nav__content {
  width: min(360px, 86vw);
  background: linear-gradient(175deg, var(--at-navy-2), var(--at-navy) 60%);
  padding: 30px 24px 34px;
  border-right: 1px solid var(--at-line);
}
.at-mnav .mobile-nav__close {
  background: rgba(255,255,255,.08); border: 1px solid var(--at-line); border-radius: 50%;
  top: 22px; right: 20px; color: #fff;
}
.at-mnav .mobile-nav__close:hover { background: var(--at-gold); color: var(--at-ink); }
.at-mnav .mobile-nav__close i:before { transform: none; }
.at-mnav .logo-box img { height: 24px; }

.at-mnav-actions { display: flex; gap: 10px; margin-bottom: 28px; }
.at-mnav-actions .at-btn { flex: 1; padding-left: 14px; padding-right: 14px; }

.at-mnav-list { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--at-line); }
.at-mnav-list > li { border-bottom: 1px solid var(--at-line); }
.at-mnav-list > li > a {
  display: block; padding: 15px 4px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  transition: color .25s ease, padding-left .25s ease;
}
.at-mnav-list > li > a:hover { color: var(--at-gold-2); padding-left: 8px; }

.at-mnav-group__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: none; padding: 15px 4px; color: #fff; text-decoration: none; font-weight: 700;
  font-size: 15px; font-family: var(--at-sans); cursor: pointer;
}
.at-mnav-group__head .plus {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--at-line); position: relative; flex: none;
  transition: transform .35s var(--at-ease), background .3s ease;
}
.at-mnav-group__head .plus::before, .at-mnav-group__head .plus::after { content: ""; position: absolute; top: 50%; left: 50%; background: #fff; transform: translate(-50%, -50%); }
.at-mnav-group__head .plus::before { width: 9px; height: 1.4px; }
.at-mnav-group__head .plus::after { width: 1.4px; height: 9px; transition: transform .3s ease; }
.at-mnav-group.open .at-mnav-group__head .plus { background: var(--at-gold); border-color: var(--at-gold); }
.at-mnav-group.open .at-mnav-group__head .plus::before, .at-mnav-group.open .at-mnav-group__head .plus::after { background: var(--at-ink); }
.at-mnav-group.open .at-mnav-group__head .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.at-mnav-group__body {
  list-style: none; margin: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height .4s var(--at-ease);
}
.at-mnav-group__body li a {
  display: block; padding: 10px 4px 10px 18px; color: var(--at-muted-light); text-decoration: none; font-size: 14px;
  position: relative; transition: color .25s ease, padding-left .25s ease;
}
.at-mnav-group__body li a::before { content: ""; position: absolute; left: 2px; top: 18px; width: 6px; height: 1px; background: var(--at-muted-light); }
.at-mnav-group__body li a:hover { color: var(--at-gold-2); padding-left: 22px; }
.at-mnav-group__body li:last-child a { padding-bottom: 16px; }

.at-mnav .mobile-nav__contact { list-style: none; margin: 0 0 20px; padding: 20px 0 0; border-top: 1px solid var(--at-line); display: grid; gap: 12px; }
.at-mnav .mobile-nav__contact li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--at-muted-light); }
.at-mnav .mobile-nav__contact li i { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; color: var(--at-gold-2); flex: none; }
.at-mnav .mobile-nav__contact li a { color: inherit; text-decoration: none; }
.at-mnav .mobile-nav__contact li a:hover { color: var(--at-gold-2); }
.at-mnav .mobile-nav__social { display: flex; gap: 10px; }
.at-mnav .mobile-nav__social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--at-line); display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 13px; transition: all .3s ease;
}
.at-mnav .mobile-nav__social a:hover { background: var(--at-gold); border-color: var(--at-gold); color: var(--at-ink); }

/* =========================================================
   AUTH PAGES (login / enroll)
   ========================================================= */
.at-auth { min-height: calc(100vh - 130px); display: grid; grid-template-columns: 1fr 1fr; background: var(--at-cream); }
.at-auth__visual { position: relative; background: var(--at-navy); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 56px; }
.at-auth__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.at-auth__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(175deg, rgba(7,11,23,.55), rgba(7,11,23,.94) 75%), radial-gradient(55% 45% at 85% 10%, rgba(215,177,92,.16), transparent 60%); }
.at-auth__visual > * { position: relative; z-index: 2; }
.at-auth__brand img { height: 26px; }
.at-auth__quote { max-width: 420px; }
.at-auth__quote .qmark { font-family: var(--at-serif); font-size: 52px; color: var(--at-gold-2); line-height: .6; display: block; margin-bottom: 8px; }
.at-auth__quote p { font-family: var(--at-serif); font-size: 24px; line-height: 1.45; margin: 0 0 22px; }
.at-auth__quote .who { display: flex; align-items: center; gap: 12px; }
.at-auth__quote .who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; opacity: 1; position: static; }
.at-auth__quote .who strong { display: block; font-size: 13.5px; }
.at-auth__quote .who span { display: block; font-size: 12px; color: var(--at-muted-light); }
.at-auth__stats { display: flex; gap: 36px; }
.at-auth__stats b { display: block; font-family: var(--at-serif); font-size: 26px; color: var(--at-gold-2); }
.at-auth__stats span { font-size: 12.5px; color: var(--at-muted-light); }

.at-auth__form-side { display: flex; align-items: center; justify-content: center; padding: 56px 24px; }
.at-auth__form-wrap { width: 100%; max-width: 480px; }
.at-auth__form-wrap.wide { max-width: 640px; }
.at-auth__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #b6862c; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.at-auth__form-wrap h1 { font-family: var(--at-serif); font-size: clamp(28px, 3vw, 36px); margin: 0 0 10px; color: var(--at-ink); }
.at-auth__sub { color: var(--at-muted); font-size: 15px; margin-bottom: 34px; }
.at-auth__switch { margin-top: 26px; text-align: center; font-size: 14px; color: var(--at-muted); }
.at-auth__switch a { color: var(--at-ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--at-ink); }

@media (max-width: 991px) {
  .at-auth { grid-template-columns: 1fr; }
  .at-auth__visual { display: none; }
}

/* ---------- form fields (shared) ---------- */
.at-field { margin-bottom: 20px; }
.at-field label { display: block; font-size: 13px; font-weight: 700; color: var(--at-ink); margin-bottom: 8px; }
.at-field label .opt { font-weight: 500; color: var(--at-muted); text-transform: none; }
.at-input, .at-select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--at-line-dark);
  background: #fff; font-family: var(--at-sans); font-size: 14.5px; color: var(--at-ink);
  transition: border-color .25s ease, box-shadow .25s ease; appearance: none;
}
.at-select {
  -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3e%3cpath fill='%236c7280' d='M1 1l5 5 5-5'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.at-select::-ms-expand { display: none; }
.at-input:focus, .at-select:focus { outline: none; border-color: var(--at-gold); box-shadow: 0 0 0 4px rgba(215,177,92,.14); }
.at-input::placeholder { color: #a3a8b8; }
.at-field-row { display: grid; gap: 18px; }
.at-field-row.cols-2 { grid-template-columns: 1fr 1fr; }
.at-field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.at-field-row.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
@media (max-width: 640px) { .at-field-row.cols-2, .at-field-row.cols-3, .at-field-row.cols-4 { grid-template-columns: 1fr; } }

.at-field.has-error .at-input, .at-field.has-error .at-select { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214,69,69,.1); }
.at-field__error { display: none; align-items: center; gap: 6px; margin-top: 7px; font-size: 12.5px; color: #d64545; }
.at-field.has-error .at-field__error { display: flex; }

.at-pwd-wrap { position: relative; }
.at-pwd-wrap .at-input { padding-right: 46px; }
.at-pwd-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%;
  border: none; background: transparent; color: var(--at-muted); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.at-pwd-toggle:hover { background: var(--at-cream-2); color: var(--at-ink); }
.at-pwd-meter { display: flex; gap: 5px; margin-top: 9px; }
.at-pwd-meter i { flex: 1; height: 4px; border-radius: 2px; background: var(--at-line-dark); transition: background .3s ease; }
.at-pwd-hint { font-size: 12px; color: var(--at-muted); margin-top: 7px; }
.at-pwd-hint.ok { color: #1a9c6e; }

/* ---------- custom JS select (progressive enhancement over <select class="at-select">) ---------- */
.at-csel { position: relative; }
.at-csel .at-select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.at-csel-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left;
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--at-line-dark); background: #fff;
  font-family: var(--at-sans); font-size: 14.5px; color: var(--at-ink); cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.at-csel-trigger .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.at-csel-trigger .txt.placeholder { color: #a3a8b8; }
.at-csel-trigger svg { flex: none; transition: transform .3s var(--at-ease); color: var(--at-muted); }
.at-csel.open .at-csel-trigger svg { transform: rotate(180deg); }
.at-csel.open .at-csel-trigger, .at-csel-trigger:focus-visible { outline: none; border-color: var(--at-gold); box-shadow: 0 0 0 4px rgba(215,177,92,.14); }
.at-field.has-error .at-csel-trigger { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214,69,69,.1); }

.at-csel-panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; background: #fff; border-radius: 14px;
  border: 1px solid var(--at-line-dark); box-shadow: var(--at-shadow); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease; overflow: hidden;
}
.at-csel.open .at-csel-panel { opacity: 1; visibility: visible; transform: none; }
.at-csel-search { padding: 10px; border-bottom: 1px solid var(--at-line-dark); }
.at-csel-search input { width: 100%; border: 1px solid var(--at-line-dark); border-radius: 9px; padding: 9px 12px; font-size: 13.5px; font-family: var(--at-sans); }
.at-csel-search input:focus { outline: none; border-color: var(--at-gold); }
.at-csel-list { max-height: 240px; overflow-y: auto; padding: 6px; }
.at-csel-opt { padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--at-ink); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.at-csel-opt:hover, .at-csel-opt.hl { background: var(--at-cream-2); }
.at-csel-opt.selected { color: #b6862c; font-weight: 700; }
.at-csel-opt.selected::after { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 11px; }
.at-csel-empty { padding: 16px; text-align: center; font-size: 13px; color: var(--at-muted); }

.at-live-check { margin: 0; font-size: 12.5px; transition: margin .2s ease; }
.at-live-check:empty { margin: 0; }
.at-live-check:not(:empty) { margin-top: 8px; }
.at-live-check p { margin: 0; font-size: 12.5px; }
.at-live-check .spinner-border { width: 14px; height: 14px; border-width: .15em; color: var(--at-gold) !important; vertical-align: -2px; margin-right: 6px; }
.at-live-check .fa { margin-right: 6px; font-size: 11px; }

.at-checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13.5px; color: var(--at-muted); line-height: 1.55; }
.at-checkbox input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--at-gold); flex: none; }
.at-checkbox a { color: var(--at-ink); font-weight: 700; text-decoration: underline; }

/* ---------- wizard (signup steps) ---------- */
.at-wizard-steps { display: flex; align-items: center; margin-bottom: 48px; }
.at-wizard-step { flex: none; }
.at-wizard-step .dot-wrap { position: relative; }
.at-wizard-step .dot {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--at-line-dark); background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--at-muted);
  transition: all .35s var(--at-ease); position: relative; z-index: 2;
}
.at-wizard-step .lbl { position: absolute; top: 42px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700;
  color: var(--at-muted); white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.at-wizard-steps > .line { flex: 1; height: 2px; background: var(--at-line-dark); margin: 0 6px; position: relative; overflow: hidden; }
.at-wizard-steps > .line::after { content: ""; position: absolute; inset: 0; background: var(--at-gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--at-ease); }
.at-wizard-steps > .line.done::after { transform: scaleX(1); }
.at-wizard-step.active .dot, .at-wizard-step.done .dot { border-color: var(--at-gold); }
.at-wizard-step.active .dot { background: var(--at-gold); color: var(--at-ink); box-shadow: 0 6px 16px -6px rgba(215,177,92,.6); }
.at-wizard-step.done .dot { background: var(--at-navy); color: var(--at-gold-2); border-color: var(--at-navy); }
.at-wizard-step.active .lbl { color: var(--at-ink); }
@media (max-width: 640px) { .at-wizard-step .lbl { display: none; } }

.at-wizard-panel { display: none; }
.at-wizard-panel.is-active { display: block; animation: atStepIn .45s var(--at-ease); }
@keyframes atStepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.at-wizard-panel h2 { font-family: var(--at-serif); font-size: 22px; margin: 0 0 6px; color: var(--at-ink); }
.at-wizard-panel .hint { font-size: 13.5px; color: var(--at-muted); margin-bottom: 26px; }
.at-wizard-note { background: var(--at-cream-2); border-radius: 14px; padding: 18px 20px; font-size: 13px; color: var(--at-muted); line-height: 1.65; margin: 6px 0 26px; }
.at-wizard-note strong { display: block; color: var(--at-ink); font-size: 14px; margin-bottom: 6px; }

.at-wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.at-wizard-nav .spacer { flex: 1; }
.at-btn--nav-back { background: none; border: none; color: var(--at-muted); font-weight: 700; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 6px; }
.at-btn--nav-back:hover { color: var(--at-ink); }
button.at-btn { border: none; }
button.at-btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.at-btn--skip { background: none; border: none; color: var(--at-muted); font-weight: 700; font-size: 13.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 12px 6px; }
.at-btn--skip:hover { color: var(--at-ink); }
.at-wizard-skip-hint { font-size: 12.5px; color: var(--at-muted); margin-top: -6px; margin-bottom: 22px; }

/* ---------- upload dropzone ---------- */
.at-upload-wrap { text-align: center; }
.at-upload {
  position: relative; display: block; border: 1.5px dashed var(--at-line-dark); border-radius: 16px; padding: 34px 24px;
  text-align: center; background: var(--at-cream-2); cursor: pointer; transition: border-color .25s ease, background .25s ease;
}
.at-upload:hover, .at-upload-wrap.dragover .at-upload { border-color: var(--at-gold); background: #fdf9ef; }
.at-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.at-upload .ic { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--at-line-dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 20px; color: #b6862c; }
.at-upload strong { display: block; font-size: 14.5px; color: var(--at-ink); margin-bottom: 5px; }
.at-upload span { display: block; font-size: 12.5px; color: var(--at-muted); }
.at-upload-wrap.has-file .at-upload { border-style: solid; border-color: #1a9c6e; background: #f3faf6; }
.at-upload-wrap.has-file .at-upload .ic { color: #1a9c6e; border-color: #1a9c6e; }
.at-upload .filename { display: none; font-size: 13.5px; font-weight: 700; color: #1a9c6e; margin-top: 6px; word-break: break-all; }
.at-upload-wrap.has-file .at-upload .filename { display: block; }
.at-upload-wrap.has-file .at-upload .default-txt { display: none; }
.at-upload-remove { display: none; margin-top: 14px; font-size: 12.5px; font-weight: 700; color: #d64545; background: none; border: none; cursor: pointer; text-decoration: underline; }
.at-upload-wrap.has-file .at-upload-remove { display: inline-block; }

/* cursor glow (desktop only, decorative) */
#atCursorGlow { position: fixed; width: 380px; height: 380px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(215,177,92,.10), transparent 70%); transform: translate(-50%, -50%); left: -400px; top: -400px; transition: opacity .4s ease; }
@media (max-width: 991px) { #atCursorGlow { display: none; } }

/* preloader restyle (keep old markup/logic, new look) */
.loader-wrap { background: var(--at-navy); }
.handle-preloader { background-color: var(--at-navy) !important; }
.handle-preloader .letters-loading { color: var(--at-gold-2) !important; font-family: var(--at-serif) !important; }
.handle-preloader .letters-loading::before { color: var(--at-gold-2) !important; }
.handle-preloader .spinner { border-top-color: var(--at-gold) !important; }
