/* Public site — Bootstrap 5.3 + brand theme (standalone; does not need app.css) */
:root {
  --font: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --display: "Outfit", "Noto Sans JP", sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --brand: #0b3d5c;
  --accent: #c45c26;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.page-public,
body.page-home {
  margin: 0;
  font-family: var(--font);
  color: #07131f;
  line-height: 1.7;
  overflow-x: hidden;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
}
.brand span,
.brand .brand-suffix { color: #f0a070; }
.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.page-public {
  --home-ink: #07131f;
  --home-line: rgba(255, 255, 255, 0.14);
  --bs-primary: #0b3d5c;
  --bs-primary-rgb: 11, 61, 92;
  --bs-link-color: #147a8a;
  --bs-link-hover-color: #c45c26;
  --bs-body-font-family: var(--font);
  --bs-body-color: var(--home-ink);
  --bs-border-radius: .85rem;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(20, 122, 138, 0.12), transparent 55%),
    radial-gradient(900px 420px at -10% 30%, rgba(11, 61, 92, 0.08), transparent 50%),
    #f3f6fa;
}
.page-home {
  --home-ink: #07131f;
  --home-line: rgba(255, 255, 255, 0.14);
}

.page-public .btn {
  --bs-btn-font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.page-public .btn-primary {
  --bs-btn-bg: #0b3d5c;
  --bs-btn-border-color: #0b3d5c;
  --bs-btn-hover-bg: #147a8a;
  --bs-btn-hover-border-color: #147a8a;
  --bs-btn-active-bg: #0a334d;
  --bs-btn-active-border-color: #0a334d;
}
.page-public .btn-outline-primary {
  --bs-btn-color: #0b3d5c;
  --bs-btn-border-color: #0b3d5c;
  --bs-btn-hover-bg: #0b3d5c;
  --bs-btn-hover-border-color: #0b3d5c;
  --bs-btn-hover-color: #fff;
}
.page-public .btn-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: #c45c26;
  --bs-btn-border-color: #c45c26;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #a94c1e;
  --bs-btn-hover-border-color: #a94c1e;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #934219;
  --bs-btn-active-border-color: #934219;
}

/* Navbar */
.site-header--public {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(7, 19, 31, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--safe-top, 0px);
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.page-home .site-header--public:not(.is-solid) {
  position: absolute;
  left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.page-home .site-header--public.is-solid {
  position: sticky;
  background: rgba(7, 19, 31, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.site-header--public .navbar-brand.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  letter-spacing: .02em;
}
.site-header--public .brand-logo {
  height: 34px;
  max-width: 170px;
}
.site-header--public .brand span { color: #f0a070; }
.site-header--public .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
}
.site-header--public .nav-link:hover,
.site-header--public .nav-link.active {
  color: #f0a070 !important;
}
.site-header--public .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}
.site-header--public .navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(255, 255, 255, 0.15);
}
.site-header--public .lang-switch,
.site-header--public .lang-switch a,
.site-header--public .lang-switch span {
  color: rgba(255, 255, 255, 0.88);
}
.site-header--public .lang-switch a.active { color: #f0a070; }

@media (max-width: 991.98px) {
  .site-header--public .navbar-collapse {
    background: rgba(7, 19, 31, 0.96);
    border-radius: 1rem;
    margin-top: .75rem;
    padding: .75rem 1rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* Inner page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7, 19, 31, 0.96), rgba(11, 61, 92, 0.88)),
    linear-gradient(160deg, #0b3d5c, #07131f);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 20% 40%, #000 15%, transparent 70%);
  opacity: .7;
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}
.page-hero__eyebrow {
  margin: 0 0 .65rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f0a070;
}
.page-hero__title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 .85rem;
}
.page-hero__lead {
  max-width: 46ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.75;
}
.page-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.35rem;
}
.page-jump {
  position: sticky;
  top: 4.25rem;
  z-index: 20;
  background: rgba(243, 246, 250, 0.94);
  border-bottom: 1px solid rgba(11, 61, 92, 0.1);
  backdrop-filter: blur(10px);
}
.page-jump__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  margin: 0;
  padding: .7rem 0;
}
.page-jump__list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .2rem .15rem;
  font-weight: 700;
  font-size: .92rem;
  color: #0b3d5c;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.page-jump__list a:hover,
.page-jump__list a:focus-visible {
  color: #c45c26;
  border-bottom-color: rgba(196, 92, 38, 0.55);
}
.services-dev-callout {
  padding: 1rem 0 0;
}
.services-dev-callout__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background:
    linear-gradient(120deg, rgba(11, 61, 92, 0.06), rgba(20, 122, 138, 0.08)),
    #fff;
  border: 1px solid rgba(11, 61, 92, 0.1);
  box-shadow: 0 10px 28px rgba(7, 19, 31, 0.05);
}
.services-dev-callout__kicker {
  margin: 0 0 .2rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #147a8a;
}
.services-dev-callout__text {
  color: #334155;
  font-weight: 600;
  max-width: 48ch;
}
.services-portal-blurb {
  max-width: 40rem;
}
.about-visual {
  margin: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #0b3d5c;
  box-shadow: 0 18px 40px rgba(7, 19, 31, 0.12);
}
.about-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 40%;
}
.about-visual figcaption {
  padding: .7rem 1rem .85rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, rgba(7, 19, 31, 0.55), rgba(7, 19, 31, 0.88));
  margin-top: -3.2rem;
  position: relative;
}
.about-root {
  padding: 1.25rem 1.2rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(11, 61, 92, 0.08);
}
.about-root__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  margin-bottom: .75rem;
  background: rgba(11, 61, 92, 0.08);
  color: #0b3d5c;
  font-size: 1.2rem;
}
#export,
#purchase,
#digital,
#portal,
#business {
  scroll-margin-top: 5.5rem;
}

/* Hero */
.home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero__photo {
  position: absolute;
  inset: 0;
  background-color: #0b3d5c;
  background-image: url("../img/hero-home.jpg");
  background-image: -webkit-image-set(
    url("../img/hero-home.webp") type("image/webp"),
    url("../img/hero-home.jpg") type("image/jpeg")
  );
  background-image: image-set(
    url("../img/hero-home.webp") type("image/webp"),
    url("../img/hero-home.jpg") type("image/jpeg")
  );
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.03);
  animation: homeKenBurns 18s ease-in-out infinite alternate;
}
.home-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 19, 31, 0.92) 0%, rgba(11, 61, 92, 0.72) 48%, rgba(7, 19, 31, 0.55) 100%),
    linear-gradient(to top, rgba(7, 19, 31, 0.78) 0%, transparent 52%);
}
.home-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 28% 65%, #000 18%, transparent 68%);
  opacity: .4;
}
.home-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(6.5rem + var(--safe-top, 0px)) 0 5rem;
  display: flex;
  align-items: flex-end;
  min-height: inherit;
}
.home-hero__copy {
  max-width: 38rem;
  padding-bottom: .5rem;
}
.home-hero__brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.75rem, 9vw, 5.2rem);
  line-height: .92;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: #fff;
}
.home-hero__title {
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  font-weight: 700;
  max-width: 22ch;
  margin: 0 0 .85rem;
  color: #fff;
}
.home-hero__lead {
  max-width: 36ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(.98rem, 2.2vw, 1.08rem);
  line-height: 1.7;
}
.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.35rem;
}
.home-hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.home-hero__scroll span {
  width: 4px;
  height: 8px;
  border-radius: 99px;
  background: #fff;
  animation: homeScroll 1.6s ease-in-out infinite;
}

/* Hero illustrative stage */
.hero-stage {
  width: min(100%, 520px);
  margin-left: auto;
}
.hero-stage__frame {
  position: relative;
  min-height: 320px;
  border-radius: 1.35rem;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(10, 28, 44, 0.92), rgba(15, 40, 58, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  padding: 1.15rem 1.15rem 1rem;
}
.hero-stage__glow {
  position: absolute;
  inset: auto -20% -30% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 122, 138, 0.4), transparent 68%);
  pointer-events: none;
  animation: homeFloat 7s ease-in-out infinite;
}
.hero-stage__scene {
  position: absolute;
  inset: 1.15rem 1.15rem 3.4rem;
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.hero-stage__scene.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.hero-stage__tag {
  align-self: flex-start;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f0a070;
  margin-bottom: .45rem;
}
.hero-stage__title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .85rem;
  line-height: 1.25;
}
.hero-stage__copy {
  margin: auto 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: .9rem;
  line-height: 1.55;
}
.hero-stage__route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .55rem;
  align-items: center;
  margin-bottom: .9rem;
}
.hero-stage__node {
  min-width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #147a8a;
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
}
.hero-stage__node--end { background: #c45c26; padding: 0 .55rem; }
.hero-stage__path {
  position: relative;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(20, 122, 138, 0.4), rgba(240, 160, 112, 0.7));
}
.hero-stage__path i {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #fff;
  color: #0b3d5c;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.hero-stage__scene--export.is-visible .hero-stage__path i {
  animation: heroShip 3.6s ease-in-out infinite;
}
.hero-stage__quote {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .7rem;
  margin-bottom: .85rem;
  padding: .7rem .85rem;
  border-radius: .9rem;
  background: rgba(196, 92, 38, 0.18);
  border: 1px solid rgba(240, 160, 112, 0.35);
}
.hero-stage__quote small {
  width: 100%;
  color: rgba(255, 255, 255, 0.65);
  font-size: .7rem;
}
.hero-stage__quote strong {
  font-family: var(--display);
  font-size: 1.55rem;
  color: #fff;
}
.hero-stage__quote em {
  font-style: normal;
  font-size: .78rem;
  font-weight: 700;
  color: #f0a070;
}
.hero-stage__stock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-bottom: .85rem;
}
.hero-stage__stock-item {
  padding: .65rem;
  border-radius: .85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stage__stock-item span {
  display: block;
  margin-top: .45rem;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}
.hero-stage__car {
  width: 100%;
  height: 54px;
  border-radius: .65rem;
  position: relative;
  overflow: hidden;
}
.hero-stage__car::before {
  content: "";
  position: absolute;
  inset: 18% 12% 30% 12%;
  border-radius: .4rem .85rem .35rem .35rem;
  background: currentColor;
}
.hero-stage__car::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 14%;
  height: 8px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 30px 0 0 rgba(0, 0, 0, 0.28);
}
.hero-stage__car--suv {
  color: #d7e7f1;
  background: linear-gradient(135deg, #24586f, #0b3d5c);
}
.hero-stage__car--sedan {
  color: #f4d7c4;
  background: linear-gradient(135deg, #a8643b, #7a3418);
  margin-bottom: .75rem;
}
.hero-stage__car--compact {
  color: #d8f0ef;
  background: linear-gradient(135deg, #2f7f86, #147a8a);
}
.hero-stage__scene--export .hero-stage__car,
.hero-stage__scene--purchase .hero-stage__car {
  max-width: 180px;
  animation: heroCarIn .7s ease both;
}
.hero-stage__tabs {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: .85rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35rem;
  z-index: 2;
}
.hero-stage__tabs span {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: .4rem .35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
}
.hero-stage__tabs span.is-on {
  color: #fff;
  background: rgba(20, 122, 138, 0.45);
  border-color: rgba(20, 122, 138, 0.65);
}
.hero-stage__links {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.1rem;
  margin-top: .85rem;
  justify-content: flex-end;
}
.hero-stage__links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
}
.hero-stage__links a:hover { color: #f0a070; }

@keyframes heroShip {
  0% { left: 8%; }
  50% { left: 78%; }
  100% { left: 8%; }
}
@keyframes heroCarIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 991.98px) {
  .home-hero {
    align-items: flex-end;
    /* Avoid clipping brand + CTAs on short phones / large text */
    overflow: visible;
    min-height: min(100dvh, 920px);
  }
  .home-hero__media {
    /* Keep photo clipped while content can grow */
    overflow: hidden;
    border-radius: 0;
  }
  .home-hero__photo {
    background-position: center 35%;
    transform: none;
    animation: none;
  }
  .home-hero__shade {
    background:
      linear-gradient(180deg, rgba(7, 19, 31, 0.55) 0%, rgba(7, 19, 31, 0.35) 28%, rgba(7, 19, 31, 0.82) 62%, rgba(7, 19, 31, 0.94) 100%),
      linear-gradient(105deg, rgba(7, 19, 31, 0.88) 0%, rgba(11, 61, 92, 0.55) 100%);
  }
  .home-hero__inner {
    padding: calc(5.25rem + var(--safe-top, 0px)) 0 calc(3.25rem + var(--safe-bottom, 0px));
    min-height: min(100dvh, 920px);
    align-items: flex-end;
  }
  .home-hero__copy {
    max-width: 100%;
    padding-bottom: 0;
  }
  .home-hero__brand {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
    margin-bottom: .65rem;
  }
  .home-hero__title {
    max-width: 18ch;
    font-size: clamp(1.05rem, 4.2vw, 1.35rem);
    margin-bottom: .6rem;
  }
  html[lang="en"] .home-hero__title {
    max-width: 30ch;
  }
  .home-hero__lead {
    max-width: 34ch;
    font-size: .95rem;
    line-height: 1.65;
  }
  html[lang="en"] .home-hero__lead {
    max-width: 38ch;
  }
  .home-hero__cta {
    gap: .55rem;
    margin-top: 1.3rem;
  }
  .home-hero__cta .btn {
    flex: 1 1 100%;
    justify-content: center;
    min-height: 48px;
    font-size: .95rem;
  }
  .home-hero__scroll {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .home-hero__inner {
    padding-left: .35rem;
    padding-right: .35rem;
  }
  .home-hero__cta .btn.btn-lg {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-height: 700px) and (max-width: 991.98px) {
  .home-hero,
  .home-hero__inner {
    min-height: auto;
  }
  .home-hero__inner {
    padding-top: calc(4.5rem + var(--safe-top, 0px));
    padding-bottom: calc(2.25rem + var(--safe-bottom, 0px));
  }
  .home-hero__brand {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
    margin-bottom: .45rem;
  }
  .home-hero__title {
    margin-bottom: .5rem;
  }
  .home-hero__lead {
    font-size: .9rem;
  }
  .home-hero__cta {
    margin-top: 1.1rem;
  }
}

/* Sections */
.home-section__title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 .7rem;
  color: var(--home-ink);
  font-weight: 800;
}
.home-section__lead {
  color: #4b5d73;
  font-size: 1.02rem;
  max-width: 36rem;
}
.home-copy {
  color: #445566;
  font-size: 1.02rem;
  line-height: 1.85;
}
.home-text-link { color: var(--bs-primary); }
.home-text-link:hover { color: #c45c26; }

.home-about { background: #fff; }
.home-business {
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}
.home-flow { background: #fff; }
.home-portal {
  background:
    radial-gradient(800px 320px at 100% 0%, rgba(20, 122, 138, 0.08), transparent 55%),
    #f7fafc;
}
.home-company { background: #fff; }

.home-biz__panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border-radius: 1.25rem;
  color: #fff;
  box-shadow: 0 20px 50px rgba(7, 19, 31, 0.14);
}
.home-biz__panel--export {
  background: linear-gradient(145deg, #0b3d5c, #147a8a);
}
.home-biz__panel--purchase {
  background: linear-gradient(145deg, #7a3418, #c45c26);
}
.home-biz__kicker {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: .55rem;
  font-weight: 700;
}
.home-biz__name {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 .55rem;
  color: #fff;
}
.home-biz__desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.home-biz__points {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: .55rem;
  flex: 1;
}
.home-biz__points li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: .92rem;
  line-height: 1.55;
}
.home-biz__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}
.home-biz__panel .btn-light {
  align-self: flex-start;
  color: var(--home-ink);
  font-weight: 700;
}

.biz-kicker {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .55rem;
}
.biz-kicker--export { color: #147a8a; }
.biz-kicker--purchase { color: #c45c26; }

/* Business illustrative previews */
.biz-viz {
  margin: 0;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(15, 28, 46, 0.08);
  box-shadow: 0 24px 50px rgba(7, 19, 31, 0.14);
  background: #fff;
}
.biz-viz__chrome {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem .85rem;
  background: #121f2e;
}
.biz-viz__dots {
  display: inline-flex;
  gap: .35rem;
}
.biz-viz__dots span {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
}
.biz-viz__dots span:nth-child(1) { background: #e35d6a; }
.biz-viz__dots span:nth-child(2) { background: #e6b45c; }
.biz-viz__dots span:nth-child(3) { background: #4caf82; }
.biz-viz__url {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  flex: 1;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: .25rem .75rem;
  font-size: .72rem;
}
.biz-viz__body {
  padding: .95rem;
}
.biz-viz--export .biz-viz__body {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(20, 122, 138, 0.14), transparent 60%),
    linear-gradient(180deg, #f4f8fb, #eef3f7);
}
.biz-viz--purchase .biz-viz__body {
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(196, 92, 38, 0.14), transparent 60%),
    linear-gradient(180deg, #fff8f3, #f7f1ec);
}
.biz-viz__head {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .75rem;
}
.biz-viz__head strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  color: var(--home-ink);
}
.biz-viz__head small {
  display: block;
  color: #64748b;
  font-size: .78rem;
  margin-top: .15rem;
}
.biz-viz__live {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border-radius: 999px;
  padding: .28rem .6rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: #147a8a;
  flex-shrink: 0;
}
.biz-viz__live--warm { background: #c45c26; }
.biz-viz__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin-bottom: .85rem;
  color: #94a3b8;
  font-size: .72rem;
}
.biz-viz__flow > span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 28, 46, 0.08);
  color: #475569;
}
.biz-viz--export .biz-viz__flow > span.is-on {
  background: rgba(20, 122, 138, 0.12);
  border-color: rgba(20, 122, 138, 0.28);
  color: #0b3d5c;
  font-weight: 700;
}

/* Export procedure journey */
.export-journey {
  margin-bottom: .9rem;
  padding: .75rem;
  border-radius: .9rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 28, 46, 0.08);
}
.export-journey__route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .55rem;
  align-items: center;
  margin-bottom: .65rem;
}
.export-journey__pin {
  min-width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
}
.export-journey__pin--jp { background: #0b3d5c; }
.export-journey__pin--world { background: #147a8a; padding: 0 .55rem; }
.export-journey__line {
  position: relative;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(11, 61, 92, 0.25), rgba(20, 122, 138, 0.55));
  overflow: visible;
}
.export-journey__ship {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0b3d5c;
  box-shadow: 0 6px 14px rgba(11, 61, 92, 0.18);
  font-size: .85rem;
}
.biz-viz.is-in .export-journey__ship {
  animation: exportShip 3.8s ease-in-out infinite;
}
.export-journey__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
}
.export-journey__meta small {
  display: block;
  font-size: .62rem;
  color: #7b8a9b;
  margin-bottom: .1rem;
}
.export-journey__meta strong {
  display: block;
  font-size: .78rem;
  color: var(--home-ink);
}

.export-steps {
  list-style: none;
  margin: 0 0 .85rem;
  padding: 0;
  display: grid;
  gap: .4rem;
  max-height: 250px;
  overflow: auto;
  padding-right: .15rem;
}
.export-steps li {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: .55rem;
  align-items: start;
  padding: .5rem .55rem;
  border-radius: .75rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 28, 46, 0.07);
}
.export-steps li.is-done {
  border-color: rgba(20, 122, 138, 0.18);
}
.export-steps li.is-active {
  background: rgba(20, 122, 138, 0.1);
  border-color: rgba(20, 122, 138, 0.3);
  box-shadow: inset 3px 0 0 #147a8a;
}
.export-steps__num {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 800;
  color: #94a3b8;
  min-width: 1.4rem;
  padding-top: .2rem;
}
.export-steps li.is-done .export-steps__num,
.export-steps li.is-active .export-steps__num {
  color: #0b3d5c;
}
.export-steps__icon {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: .55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 61, 92, 0.08);
  color: #0b3d5c;
  font-size: .9rem;
}
.export-steps li.is-active .export-steps__icon {
  background: #147a8a;
  color: #fff;
}
.export-steps strong {
  display: block;
  font-size: .8rem;
  color: var(--home-ink);
  margin-bottom: .1rem;
}
.export-steps span {
  display: block;
  font-size: .7rem;
  color: #64748b;
  line-height: 1.4;
}

.export-order {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: .65rem;
  align-items: center;
  padding: .55rem;
  border-radius: .85rem;
  background: rgba(11, 61, 92, 0.06);
  border: 1px solid rgba(11, 61, 92, 0.12);
}
.export-order__car {
  width: 64px;
  height: 42px;
}
.export-order__meta strong {
  display: block;
  font-size: .82rem;
  color: var(--home-ink);
}
.export-order__meta span,
.export-order__meta em {
  display: block;
  font-size: .68rem;
  color: #64748b;
  font-style: normal;
}
.export-order__meta em {
  color: #147a8a;
  font-weight: 700;
}
.export-order__status {
  text-align: right;
}
.export-order__status small {
  display: block;
  font-size: .62rem;
  color: #7b8a9b;
}
.export-order__status b {
  font-family: var(--display);
  font-size: 1rem;
  color: #0b3d5c;
}

@keyframes exportShip {
  0% { left: 6%; }
  50% { left: 78%; }
  100% { left: 6%; }
}

@media (max-width: 575.98px) {
  .export-journey__meta { grid-template-columns: 1fr; }
  .export-order {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .export-order__status {
    grid-column: 2;
    text-align: left;
  }
}
.biz-viz--purchase .biz-viz__flow > span.is-on {
  background: rgba(196, 92, 38, 0.12);
  border-color: rgba(196, 92, 38, 0.28);
  color: #7a3418;
  font-weight: 700;
}
.biz-viz__lots {
  display: grid;
  gap: .55rem;
  margin-bottom: .75rem;
}
.biz-viz__lot {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: center;
  padding: .55rem;
  border-radius: .85rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 28, 46, 0.08);
}
.biz-viz__car {
  width: 72px;
  height: 48px;
  border-radius: .55rem;
  position: relative;
  overflow: hidden;
}
.biz-viz__car::before {
  content: "";
  position: absolute;
  inset: 18% 10% 28% 10%;
  border-radius: .45rem .8rem .35rem .35rem;
  background: currentColor;
  opacity: .9;
}
.biz-viz__car::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 12%;
  height: 8px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 28px 0 0 rgba(0, 0, 0, 0.25);
}
.biz-viz__car--a {
  color: #0b3d5c;
  background: linear-gradient(135deg, #d9e8f0, #b9d3e0);
}
.biz-viz__car--b {
  color: #147a8a;
  background: linear-gradient(135deg, #d7efef, #b7dddd);
}
.biz-viz__lot-meta strong {
  display: block;
  font-size: .82rem;
  color: var(--home-ink);
}
.biz-viz__lot-meta span,
.biz-viz__lot-meta em {
  display: block;
  font-size: .68rem;
  color: #64748b;
  font-style: normal;
}
.biz-viz__bid {
  font-size: .68rem;
  color: #64748b;
  text-align: right;
  white-space: nowrap;
}
.biz-viz__bid b {
  display: block;
  color: #0b3d5c;
  font-family: var(--display);
  font-size: .95rem;
}
.biz-viz__dest span {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: .4rem;
}
.biz-viz__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.biz-viz__chips em {
  font-style: normal;
  font-size: .68rem;
  font-weight: 700;
  padding: .22rem .5rem;
  border-radius: 999px;
  background: rgba(11, 61, 92, 0.08);
  color: #0b3d5c;
}
.biz-viz__quote {
  display: grid;
  gap: .65rem;
}
.biz-viz__quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}
.biz-viz__field,
.biz-viz__offer {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 28, 46, 0.08);
  border-radius: .8rem;
  padding: .55rem .65rem;
}
.biz-viz__field small,
.biz-viz__offer small {
  display: block;
  font-size: .65rem;
  color: #7b8a9b;
  margin-bottom: .15rem;
}
.biz-viz__field strong {
  font-size: .84rem;
  color: var(--home-ink);
}
.biz-viz__offer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .45rem .75rem;
  background: linear-gradient(135deg, rgba(196, 92, 38, 0.12), rgba(255, 255, 255, 0.9));
  border-color: rgba(196, 92, 38, 0.22);
}
.biz-viz__offer strong {
  font-family: var(--display);
  font-size: 1.35rem;
  color: #7a3418;
}
.biz-viz__offer em {
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  color: #c45c26;
  margin-left: auto;
}
.biz-viz__types {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.biz-viz__types span {
  font-size: .7rem;
  font-weight: 700;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 28, 46, 0.08);
  color: #64748b;
}
.biz-viz__types span.is-on {
  background: rgba(196, 92, 38, 0.14);
  border-color: rgba(196, 92, 38, 0.28);
  color: #7a3418;
}
.biz-viz__caption {
  margin: 0;
  padding: .55rem .9rem .7rem;
  font-size: .74rem;
  color: rgba(255, 255, 255, 0.62);
  background: #121f2e;
  display: flex;
  gap: .4rem;
  align-items: flex-start;
  line-height: 1.45;
}
.biz-viz.is-in .biz-viz__lot,
.biz-viz.is-in .biz-viz__offer {
  animation: bizRise .55s ease both;
}
.biz-viz.is-in .biz-viz__lot:nth-child(2) { animation-delay: .1s; }

@keyframes bizRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 575.98px) {
  .biz-viz__lot {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .biz-viz__bid {
    grid-column: 2;
    text-align: left;
  }
  .biz-viz__car { width: 56px; height: 40px; }
}

.home-flow__item {
  padding-top: 1rem;
  border-top: 2px solid #0b3d5c;
}
.home-flow__num {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #147a8a;
  letter-spacing: .04em;
  margin-bottom: .55rem;
}
.home-flow__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  background: rgba(20, 122, 138, 0.12);
  color: #0b3d5c;
  font-size: 1.25rem;
  margin-bottom: .85rem;
}

.home-portal__list {
  --bs-list-group-bg: transparent;
  --bs-list-group-border-color: rgba(15, 28, 46, 0.1);
  border-top: 1px solid rgba(15, 28, 46, 0.1);
}
.home-portal__list .list-group-item {
  background: transparent;
}

/* Portal UI visualization */
.portal-section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: .75rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgba(20, 122, 138, 0.12);
  color: #0b3d5c;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.portal-section-points {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.portal-section-points li {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  color: #445566;
  font-size: .95rem;
  line-height: 1.5;
}
.portal-section-points i {
  color: #147a8a;
  margin-top: .15rem;
}

.portal-viz {
  position: relative;
  margin: 0;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #0b1724;
  box-shadow: 0 28px 60px rgba(7, 19, 31, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.portal-viz__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -40px;
  top: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 122, 138, 0.35), transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: portalGlow 6s ease-in-out infinite;
}
.portal-viz__chrome,
.portal-viz__app,
.portal-viz__caption {
  position: relative;
  z-index: 1;
}
.portal-viz__chrome {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .9rem;
  background: rgba(18, 31, 46, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.portal-viz__dots {
  display: inline-flex;
  gap: .35rem;
}
.portal-viz__dots span {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
}
.portal-viz__dots span:nth-child(1) { background: #e35d6a; }
.portal-viz__dots span:nth-child(2) { background: #e6b45c; }
.portal-viz__dots span:nth-child(3) { background: #4caf82; }
.portal-viz__url {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: .28rem .8rem;
  white-space: nowrap;
  overflow: hidden;
}
.portal-viz__url i { font-size: .68rem; color: #7fd9c7; }
.portal-viz__chrome-actions {
  color: rgba(255, 255, 255, 0.45);
  font-size: .9rem;
}
.portal-viz__app {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  min-height: 360px;
}
.portal-viz__side {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0f2133, #0c1a29);
  padding: .9rem .7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.portal-viz__brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: .9rem;
  color: #fff;
  margin-bottom: 1rem;
  padding: 0 .25rem;
}
.portal-viz__brand em {
  font-style: normal;
  color: #f0a070;
}
.portal-viz__side nav {
  display: grid;
  gap: .28rem;
  flex: 1;
}
.portal-viz__side nav span {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: .72rem;
  padding: .48rem .55rem;
  border-radius: .6rem;
}
.portal-viz__side nav span.is-active {
  background: linear-gradient(135deg, rgba(20, 122, 138, 0.45), rgba(11, 61, 92, 0.55));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.portal-viz__plan {
  margin-top: .8rem;
  padding: .55rem .6rem;
  border-radius: .65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.portal-viz__plan small {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: .62rem;
  margin-bottom: .15rem;
}
.portal-viz__plan strong {
  color: #f0a070;
  font-size: .78rem;
}
.portal-viz__main {
  padding: .9rem;
  background:
    radial-gradient(480px 200px at 100% 0%, rgba(20, 122, 138, 0.2), transparent 60%),
    #152536;
}
.portal-viz__toolbar {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .7rem;
}
.portal-viz__hello {
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: .95rem;
}
.portal-viz__sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: .7rem;
  margin-top: .15rem;
}
.portal-viz__toolbar-btns {
  display: inline-flex;
  gap: .4rem;
  flex-shrink: 0;
}
.portal-viz__ghost-btn,
.portal-viz__accent-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border-radius: 999px;
  padding: .35rem .65rem;
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
}
.portal-viz__ghost-btn {
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.portal-viz__accent-btn {
  color: #fff;
  background: #c45c26;
}
.portal-viz__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin-bottom: .75rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: .68rem;
}
.portal-viz__flow > span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.portal-viz__flow > span.is-on {
  color: #fff;
  background: rgba(20, 122, 138, 0.28);
  border-color: rgba(20, 122, 138, 0.45);
}
.portal-viz__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin-bottom: .75rem;
}
.portal-viz__kpis > div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: .75rem;
  padding: .55rem .6rem;
}
.portal-viz__kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .2rem;
}
.portal-viz__kpis small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: .62rem;
}
.portal-viz__kpis strong {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-size: 1.02rem;
  margin-bottom: .35rem;
}
.portal-viz__spark svg {
  width: 100%;
  height: 28px;
  display: block;
  margin-top: .25rem;
}
.portal-viz__spark-line {
  fill: none;
  stroke: #3d8db8;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.portal-viz__spark-fill {
  fill: rgba(61, 141, 184, 0.2);
}
.portal-viz.is-in .portal-viz__spark-line {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: portalSpark 1.4s ease forwards .3s;
}
.portal-viz__bar {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.portal-viz__bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #3d8db8;
  border-radius: inherit;
}
.portal-viz.is-in .portal-viz__bar::after {
  animation: portalBar 1.25s ease forwards .2s;
}
.portal-viz__bar--teal::after { background: #147a8a; }
.portal-viz__bar--accent::after { background: #c45c26; }
.portal-viz__split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr);
  gap: .65rem;
  align-items: stretch;
}
.portal-viz__table {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: .8rem;
  overflow: hidden;
}
.portal-viz__table-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem .65rem .35rem;
  color: #fff;
  font-size: .72rem;
}
.portal-viz__table-title span {
  color: rgba(255, 255, 255, 0.45);
  font-size: .65rem;
}
.portal-viz__table-head,
.portal-viz__row {
  display: grid;
  grid-template-columns: 1.15fr 1fr .7fr .7fr;
  gap: .3rem;
  padding: .42rem .6rem;
  font-size: .66rem;
  align-items: center;
}
.portal-viz__table-head {
  color: rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.portal-viz__row {
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.portal-viz__row:last-child { border-bottom: 0; }
.portal-viz__row.is-active {
  background: rgba(20, 122, 138, 0.16);
}
.portal-viz__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .12rem .4rem;
  background: rgba(61, 141, 184, 0.25);
  color: #9fd4ea;
  font-size: .6rem;
  white-space: nowrap;
}
.portal-viz__pill--ok {
  background: rgba(15, 118, 110, 0.28);
  color: #7fd9c7;
}
.portal-viz__pill--warn {
  background: rgba(196, 92, 38, 0.25);
  color: #f0b28a;
}
.portal-viz__doc {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f4f7fb);
  color: #0f1c2e;
  border-radius: .8rem;
  padding: .8rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  animation: portalDoc 4.5s ease-in-out infinite;
}
.portal-viz__doc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: .35rem;
}
.portal-viz__doc-badge {
  display: inline-flex;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #0b3d5c;
  background: rgba(11, 61, 92, 0.1);
  border-radius: 999px;
  padding: .2rem .5rem;
}
.portal-viz__doc-no {
  font-size: .62rem;
  color: #7b8a9b;
  font-weight: 700;
}
.portal-viz__doc-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: .86rem;
  margin-bottom: .25rem;
}
.portal-viz__doc-meta {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  font-size: .65rem;
  color: #7b8a9b;
  margin-bottom: .55rem;
}
.portal-viz__doc-items {
  display: grid;
  gap: .3rem;
  margin-bottom: .2rem;
}
.portal-viz__doc-items div {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  font-size: .68rem;
  padding: .28rem 0;
  border-bottom: 1px solid rgba(15, 28, 46, 0.08);
}
.portal-viz__doc-items em {
  font-style: normal;
  font-weight: 700;
  color: #0b3d5c;
}
.portal-viz__doc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .45rem;
  padding-top: .5rem;
  border-top: 1px dashed rgba(15, 28, 46, 0.18);
  font-size: .72rem;
}
.portal-viz__doc-total strong {
  font-family: var(--display);
  font-size: 1rem;
  color: #0b3d5c;
}
.portal-viz__doc-actions {
  display: flex;
  gap: .35rem;
  margin-top: .55rem;
}
.portal-viz__doc-actions span {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: .45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 61, 92, 0.08);
  color: #0b3d5c;
  font-size: .8rem;
}
.portal-viz__caption {
  margin: 0;
  padding: .6rem .95rem .75rem;
  font-size: .74rem;
  color: rgba(255, 255, 255, 0.52);
  background: #121f2e;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: .4rem;
  align-items: flex-start;
  line-height: 1.45;
}
.portal-feat {
  height: 100%;
  padding: 1rem 0;
  border-top: 2px solid #0b3d5c;
  display: grid;
  gap: .35rem;
}
.portal-feat i {
  font-size: 1.25rem;
  color: #147a8a;
}
.portal-feat strong {
  color: var(--home-ink);
  font-size: .98rem;
}
.portal-feat span {
  color: #546579;
  font-size: .88rem;
  line-height: 1.6;
}

@keyframes portalBar {
  from { width: 0; }
  to { width: var(--w); }
}
@keyframes portalDoc {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes portalGlow {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes portalSpark {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 991.98px) {
  .portal-viz__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-viz__spark { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .portal-viz__app { grid-template-columns: 1fr; }
  .portal-viz__side { display: none; }
  .portal-viz__split { grid-template-columns: 1fr; }
  .portal-viz__doc { max-width: 280px; }
  .portal-viz__toolbar { flex-direction: column; }
  .portal-viz__table-head,
  .portal-viz__row {
    grid-template-columns: 1.1fr 1fr .7fr;
  }
  .portal-viz__table-head span:nth-child(3),
  .portal-viz__row span:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .portal-viz__bar::after,
  .portal-viz__doc,
  .portal-viz__glow,
  .portal-viz__spark-line,
  .export-journey__ship {
    animation: none !important;
  }
  .portal-viz__bar::after { width: var(--w); }
  .portal-viz__spark-line { stroke-dashoffset: 0; }
  .export-journey__ship { left: 50%; }
}

.home-facts-table {
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(15, 28, 46, 0.1);
}
.home-facts-table th {
  width: 9rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7b8a9b;
  border-style: none none solid;
}
.home-facts-table td {
  font-weight: 600;
  color: var(--home-ink);
  border-style: none none solid;
}
.home-facts-table a { color: inherit; }
.home-facts-table a:hover { color: #c45c26; }

.home-cta-band {
  background:
    linear-gradient(120deg, rgba(7, 19, 31, 0.94), rgba(11, 61, 92, 0.9)),
    linear-gradient(160deg, #0b3d5c, #07131f);
}
.home-cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
}

.page-public .home-footer,
.page-public .site-footer {
  margin-top: 0;
  background: #07131f;
}
.page-public .home-footer a { color: #fff; }
.page-public .home-footer a:hover { color: #f0a070; }

.home-contact-form .form-control {
  border-radius: .9rem;
  border-color: rgba(15, 28, 46, 0.14);
}
.home-contact-form .form-control:focus {
  border-color: rgba(20, 122, 138, 0.55);
  box-shadow: 0 0 0 .2rem rgba(20, 122, 138, 0.15);
}
.home-hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.home-captcha,
.auth-captcha {
  display: grid;
  grid-template-columns: minmax(7.5rem, auto) minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
}
.home-captcha__q,
.auth-captcha__q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: .65rem 1rem;
  border-radius: .9rem;
  background: rgba(11, 61, 92, 0.08);
  color: #0b3d5c;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .04em;
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .home-captcha,
  .auth-captcha { grid-template-columns: 1fr; }
}

/* Reveal motion */
[data-home-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-home-reveal].is-in {
  opacity: 1;
  transform: none;
}
.home-hero [data-home-reveal]:nth-child(1) { transition-delay: .05s; }
.home-hero [data-home-reveal]:nth-child(2) { transition-delay: .12s; }
.home-hero [data-home-reveal]:nth-child(3) { transition-delay: .2s; }
.home-hero [data-home-reveal]:nth-child(4) { transition-delay: .28s; }
.home-hero [data-home-reveal]:nth-child(5) { transition-delay: .36s; }
.home-hero__cta[data-home-reveal] { transition-delay: .16s; }

@keyframes homeKenBurns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
@keyframes homeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes homeScroll {
  0% { opacity: .2; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
  100% { opacity: .2; transform: translateY(18px); }
}

@media (max-width: 575.98px) {
  .home-facts-table th {
    width: auto;
    display: block;
    border-bottom: 0;
    padding-bottom: .15rem;
  }
  .home-facts-table td {
    display: block;
    padding-top: 0;
  }
}

/* Legal documents */
.home-legal { background: #fff; }
.legal-updated {
  color: #6a7a8a;
  font-size: .9rem;
  margin-bottom: 1.75rem;
}
.legal-doc {
  max-width: 48rem;
}
.legal-section + .legal-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 28, 46, 0.1);
}
.legal-section__title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--home-ink);
  margin-bottom: .85rem;
}
.legal-section__body p {
  color: #445566;
  font-size: .98rem;
  line-height: 1.85;
  margin-bottom: .9rem;
}
.legal-section__body p:last-child { margin-bottom: 0; }
.legal-nav a { color: #0b3d5c; }
.legal-nav a:hover { color: #c45c26; }
.home-footer .footer-copy a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.home-footer .footer-copy a:hover { color: #fff; }

/* Blog */
.home-blog { background: #fff; }
.blog-empty {
  max-width: 36rem;
  padding: 2rem 1.5rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(11, 61, 92, 0.08);
  box-shadow: 0 12px 32px rgba(7, 19, 31, 0.05);
}
.blog-empty__icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .85rem;
  margin-bottom: 1rem;
  background: rgba(11, 61, 92, 0.08);
  color: #0b3d5c;
  font-size: 1.4rem;
}
.blog-tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.blog-tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .25rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 61, 92, 0.14);
  background: #fff;
  color: #0b3d5c;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
}
.blog-tag-chip:hover,
.blog-tag-chip.is-active {
  background: #0b3d5c;
  border-color: #0b3d5c;
  color: #fff;
}
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 3px solid #0b3d5c;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 40%);
  overflow: hidden;
}
.blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eef4;
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card__media img { transform: scale(1.03); }
.blog-card__placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: #147a8a;
  font-size: 2rem;
  background:
    radial-gradient(400px 180px at 20% 20%, rgba(20,122,138,.18), transparent 60%),
    #e8eef4;
}
.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.1rem 0 1.25rem;
  flex: 1;
}
.blog-card__date {
  font-size: .82rem;
  color: #6a7a8a;
  letter-spacing: .04em;
}
.blog-card__title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.35;
}
.blog-card__title a {
  color: var(--home-ink);
  text-decoration: none;
}
.blog-card__title a:hover { color: #147a8a; }
.blog-card__excerpt {
  color: #546579;
  font-size: .92rem;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.blog-card__tags,
.blog-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.blog-card__tags a,
.blog-article__tags a,
.blog-tag-filter {
  font-size: .78rem;
  font-weight: 700;
  color: #0b3d5c;
  text-decoration: none;
  background: rgba(20, 122, 138, 0.12);
  padding: .25rem .55rem;
  border-radius: 999px;
}
.blog-card__more {
  font-weight: 700;
  color: #c45c26;
  text-decoration: none;
  margin-top: .25rem;
}
.blog-card__more:hover { color: #0b3d5c; }
.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.blog-pagination a {
  min-width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 28, 46, 0.12);
  color: #0b3d5c;
  text-decoration: none;
  font-weight: 700;
  border-radius: .55rem;
}
.blog-pagination a.is-active,
.blog-pagination a:hover {
  background: #0b3d5c;
  border-color: #0b3d5c;
  color: #fff;
}
.page-hero--blog .page-hero__lead { max-width: 48rem; }
.blog-article__cover {
  margin: 0 0 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #e8eef4;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.blog-article__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.blog-article__content {
  color: #2c3a48;
  font-size: 1.05rem;
  line-height: 1.9;
}
.blog-article__content h2,
.blog-article__content h3 {
  font-family: var(--display);
  font-weight: 800;
  margin: 1.6rem 0 .8rem;
  color: var(--home-ink);
}
.blog-article__content p { margin-bottom: 1rem; }
.blog-article__content img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(420px, 56vw);
  object-fit: contain;
  border-radius: .75rem;
  margin: 1rem auto;
  background: #f3f6fa;
}
.blog-article__content a { color: #147a8a; }
.blog-article__footer {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  border-top: 1px solid rgba(15, 28, 46, 0.1);
}
.blog-aside {
  position: sticky;
  top: 5.5rem;
  padding-top: .25rem;
}
.blog-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .9rem;
}
.blog-aside__list a {
  display: grid;
  gap: .2rem;
  text-decoration: none;
  color: var(--home-ink);
  padding-top: .75rem;
  border-top: 1px solid rgba(15, 28, 46, 0.1);
}
.blog-aside__list a:hover strong { color: #147a8a; }
.blog-aside__date {
  font-size: .78rem;
  color: #6a7a8a;
}

/* Digital / custom development services */
.home-digital {
  background:
    linear-gradient(180deg, rgba(11, 61, 92, 0.04), transparent 40%),
    #fff;
}
.digital-offer {
  height: 100%;
  padding: 1.25rem 0 0;
  border-top: 3px solid #0b3d5c;
}
.digital-offer__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .85rem;
  background: rgba(20, 122, 138, 0.12);
  color: #0b3d5c;
  font-size: 1.35rem;
  margin-bottom: .9rem;
}
.digital-offer__title {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--home-ink);
  margin-bottom: .65rem;
}
.digital-offer__lead {
  color: #546579;
  line-height: 1.7;
  margin-bottom: 1.1rem;
}
.digital-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(15, 28, 46, 0.1);
}
.digital-cta__note {
  color: #546579;
  font-size: .95rem;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__photo,
  .home-hero__glow,
  .home-hero__scroll span,
  .hero-stage__path i,
  .hero-stage__glow,
  .hero-stage__car,
  [data-home-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
