/*
 * Theme 1 — Courier Blue
 * Brand colours come from --brand-primary / --brand-accent set on <body>.
 */

.theme1 {
  --t1-ink: #0b1220;
  --t1-muted: #5b6475;
  --t1-line: color-mix(in srgb, var(--t1-ink) 9%, transparent);
  --t1-deep: color-mix(in srgb, var(--brand-primary) 38%, #020617);
  --t1-glow: color-mix(in srgb, var(--brand-primary) 35%, transparent);
  --t1-ease: cubic-bezier(.22, 1, .36, 1);
  --t1-radius: 1.25rem;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: var(--t1-ink);
  background: #fff;
}

.theme1 h1,
.theme1 h2,
.theme1 h3,
.theme1 h4,
.theme1 h5,
.theme1 .t1-display {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.theme1 ::selection {
  background: var(--brand-accent);
  color: var(--t1-ink);
}

.theme1 :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand-accent) 80%, transparent);
  outline-offset: 3px;
}

/* Text fields draw their own focus treatment on their wrapper or border */
.theme1 input:focus-visible,
.theme1 textarea:focus-visible,
.theme1 select:focus-visible {
  outline: none;
}

html.theme1-document,
body.theme1 {
  overscroll-behavior: none;
}

.theme1 main {
  overflow-x: clip;
}

/* ---------- Skip link & scroll progress ---------- */

.t1-skip {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .6rem 1rem;
  border-radius: .75rem;
  background: var(--t1-ink);
  color: #fff;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform .2s var(--t1-ease);
}

.t1-skip:focus {
  transform: none;
}

.t1-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  transform-origin: 0 50%;
  transform: scaleX(var(--t1-scroll, 0));
  pointer-events: none;
}

/* ---------- Header ---------- */

.t1-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: color-mix(in srgb, #fff 100%, transparent);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--t1-ease), box-shadow .35s var(--t1-ease), border-color .35s var(--t1-ease);
}

.t1-header.is-scrolled {
  background: color-mix(in srgb, #fff 82%, transparent);
  border-color: var(--t1-line);
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .35);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.t1-header nav {
  transition: padding .35s var(--t1-ease);
}

.t1-header.is-scrolled nav {
  padding-top: .55rem;
  padding-bottom: .55rem;
}

.t1-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .5rem .8rem;
  border-radius: .6rem;
  color: #334155;
  transition: color .2s ease;
}

.t1-nav-link::after {
  content: '';
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .35s var(--t1-ease);
}

.t1-nav-link:hover,
.t1-nav-link.is-active {
  color: var(--brand-primary);
}

.t1-nav-link:hover::after,
.t1-nav-link.is-active::after {
  transform: scaleX(1);
}

.t1-nav-link.is-active {
  font-weight: 600;
}

.t1-dropdown {
  position: absolute;
  left: -1rem;
  top: 100%;
  width: 20rem;
  padding: .5rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .35), 0 0 0 1px var(--t1-line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.98);
  transform-origin: top left;
  transition: opacity .25s var(--t1-ease), transform .3s var(--t1-ease), visibility .25s;
}

.group:hover > .t1-dropdown,
.group:focus-within > .t1-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.t1-dropdown a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .7rem;
  border-radius: .7rem;
  font-size: .875rem;
  font-weight: 500;
  color: #1e293b;
  transition: background-color .2s ease, transform .2s var(--t1-ease);
}

.t1-dropdown a:hover {
  background: var(--brand-soft);
  transform: translateX(3px);
}

.t1-dropdown .t1-dropdown-icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: .6rem;
  background: var(--brand-soft);
  color: var(--brand-primary);
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */

.t1-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--t1-ease), box-shadow .3s var(--t1-ease), background-color .25s ease, color .25s ease, border-color .25s ease;
}

.t1-btn svg {
  transition: transform .3s var(--t1-ease);
}

.t1-btn:hover svg:last-child {
  transform: translateX(3px);
}

.t1-btn:active {
  transform: scale(.97);
}

.t1-btn-primary {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 12px 28px -12px var(--t1-glow);
}

.t1-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px var(--t1-glow);
}

.t1-btn-accent {
  background: var(--brand-accent);
  color: var(--t1-ink);
  box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--brand-accent) 70%, transparent);
}

.t1-btn-accent:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Sheen sweep across solid buttons */
.t1-btn-primary::before,
.t1-btn-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--t1-ease);
}

.t1-btn-primary:hover::before,
.t1-btn-accent:hover::before {
  transform: translateX(120%);
}

.t1-btn-ghost-light {
  border: 1.5px solid rgba(255, 255, 255, .55);
  color: #fff;
}

.t1-btn-ghost-light:hover {
  background: #fff;
  color: var(--brand-primary);
  border-color: #fff;
}

.t1-btn-outline {
  border: 1.5px solid color-mix(in srgb, var(--brand-primary) 30%, transparent);
  color: var(--brand-primary);
  padding: .6rem 1.2rem;
  font-size: .875rem;
}

.t1-btn-outline:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.t1-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.t1-link-arrow svg {
  transition: transform .3s var(--t1-ease);
}

.t1-link-arrow:hover svg,
.group:hover .t1-link-arrow svg {
  transform: translateX(4px);
}

/* ---------- Section primitives ---------- */

.t1-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.t1-eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.t1-eyebrow.is-light {
  color: var(--brand-accent);
}

.t1-title {
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--t1-ink);
  text-wrap: balance;
}

.t1-lead {
  font-size: 1.075rem;
  line-height: 1.85;
  color: var(--t1-muted);
  text-wrap: pretty;
}

.t1-highlight {
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--brand-accent) 45%, transparent) 62%);
  padding: 0 .1em;
}

.t1-icon-tile {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: var(--brand-soft);
  color: var(--brand-primary);
  transition: transform .4s var(--t1-ease), background-color .3s ease, color .3s ease;
}

.t1-icon-tile.is-solid {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 12px 24px -12px var(--t1-glow);
}

.t1-card {
  position: relative;
  border-radius: var(--t1-radius);
  background: #fff;
  box-shadow: 0 0 0 1px var(--t1-line), 0 1px 2px rgba(15, 23, 42, .04);
  transition: transform .45s var(--t1-ease), box-shadow .45s var(--t1-ease);
}

.t1-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand-primary) 18%, transparent), 0 28px 50px -24px rgba(15, 23, 42, .28);
}

.t1-card:hover .t1-icon-tile:not(.is-solid) {
  background: var(--brand-primary);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}

/* Legacy hook still used by some markup */
.theme1 .hover-card {
  transition: transform .45s var(--t1-ease), box-shadow .45s var(--t1-ease);
}

.theme1 .hover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px -24px rgba(15, 23, 42, .28);
}

.t1-img-zoom {
  overflow: hidden;
}

.t1-img-zoom img {
  transition: transform 1.1s var(--t1-ease);
}

.t1-img-zoom:hover img,
.group:hover .t1-img-zoom img {
  transform: scale(1.06);
}

/* ---------- Hero ---------- */

.theme1 .hero-gradient {
  background:
    radial-gradient(60rem 40rem at 85% -10%, color-mix(in srgb, var(--brand-primary) 70%, #60a5fa) 0%, transparent 60%),
    radial-gradient(40rem 30rem at -10% 110%, color-mix(in srgb, var(--brand-accent) 22%, transparent) 0%, transparent 65%),
    linear-gradient(135deg, var(--brand-primary) 0%, var(--t1-deep) 100%);
}

.t1-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.t1-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  animation: t1-grid-pan 30s linear infinite;
}

@keyframes t1-grid-pan {
  to {
    background-position: 56px 56px, 56px 56px;
  }
}

.t1-orb {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(60px);
  opacity: .55;
  animation: t1-float 14s ease-in-out infinite;
}

.t1-orb.is-accent {
  background: color-mix(in srgb, var(--brand-accent) 55%, transparent);
}

.t1-orb.is-sky {
  background: color-mix(in srgb, #38bdf8 50%, transparent);
  animation-delay: -6s;
}

@keyframes t1-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -22px, 0);
  }
}

.t1-hero-title {
  font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.t1-hero-title .t1-accent-word {
  position: relative;
  display: inline-block;
  color: var(--brand-accent);
}

.t1-hero-title .t1-accent-word svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.18em;
  width: 100%;
  height: .32em;
  color: var(--brand-accent);
  opacity: .9;
}

.t1-hero-title .t1-accent-word path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: t1-draw 1.4s .9s var(--t1-ease) forwards;
}

@keyframes t1-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.t1-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .9rem .4rem .45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  font-size: .82rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.t1-pill-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--brand-accent);
}

.t1-pill-dot::before,
.t1-live-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: t1-ping 1.8s ease-in-out infinite;
}

.t1-pill-dot::after {
  content: '';
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  background: var(--t1-ink);
}

/* Breathing pulse: swells out and returns (never ripples away) */
@keyframes t1-ping {
  0%,
  100% {
    transform: scale(1);
    opacity: .7;
  }

  50% {
    transform: scale(1.8);
    opacity: .2;
  }
}

.t1-live-dot {
  position: relative;
  display: inline-block;
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: #22c55e;
}

.t1-track-form {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 30px 60px -30px rgba(2, 6, 23, .6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color .3s ease, box-shadow .3s ease;
}

.t1-track-form:focus-within {
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 30px 70px -28px rgba(2, 6, 23, .7);
}

@media (min-width: 640px) {
  .t1-track-form {
    flex-direction: row;
  }
}

.t1-track-input {
  position: relative;
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: .6rem;
  padding: 0 1.1rem;
  border-radius: .9rem;
  background: #fff;
  color: var(--t1-ink);
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow .25s ease;
}

/* Ring stays inside the white field so it never collides with the button */
.t1-track-input:focus-within {
  box-shadow: inset 0 0 0 2px var(--brand-primary), inset 0 0 0 5px color-mix(in srgb, var(--brand-primary) 12%, transparent);
}

.t1-track-input svg {
  color: #94a3b8;
  flex-shrink: 0;
  transition: color .25s ease, transform .3s var(--t1-ease);
}

.t1-track-input:focus-within svg {
  color: var(--brand-primary);
  transform: scale(1.1);
}

.t1-track-input input:focus::placeholder {
  color: #cbd5e1;
}

.t1-track-input input::placeholder {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  text-transform: none;
  letter-spacing: normal;
}

.t1-track-input input {
  flex: 1;
  min-width: 0;
  padding: 1rem 0;
  border: 0;
  outline: none;
  background: transparent;
  font-weight: 500;
}

.t1-track-input input::placeholder {
  color: #94a3b8;
}

.t1-track-form button {
  border-radius: .9rem;
}

/* Hero visual */

.t1-hero-visual {
  position: relative;
  perspective: 1200px;
}

.t1-hero-frame {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(2, 6, 23, .8), 0 0 0 1px rgba(255, 255, 255, .15);
  transform: rotateY(var(--t1-ry, -6deg)) rotateX(var(--t1-rx, 3deg));
  transition: transform .8s var(--t1-ease);
}

.t1-hero-frame img {
  display: block;
  width: 100%;
  height: 30rem;
  object-fit: cover;
  transform: scale(1.08);
}

.t1-hero-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, .55) 100%);
}

.t1-float-card {
  position: absolute;
  z-index: 2;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, .96);
  color: var(--t1-ink);
  box-shadow: 0 30px 60px -25px rgba(2, 6, 23, .55);
  animation: t1-float 7s ease-in-out infinite;
}

.t1-float-card.is-delayed {
  animation-delay: -3.5s;
}

.t1-route {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.t1-route-line {
  stroke-dasharray: 6 8;
  animation: t1-dash 1.6s linear infinite;
}

@keyframes t1-dash {
  to {
    stroke-dashoffset: -28;
  }
}

.t1-hero-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  display: block;
  width: 100%;
  height: 90px;
}

/* ---------- Marquee ---------- */

.t1-marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--t1-line);
  background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.t1-marquee-track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  padding: 1.4rem 0;
  animation: t1-marquee 38s linear infinite;
}

.t1-marquee:hover .t1-marquee-track {
  animation-play-state: paused;
}

.t1-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

.t1-marquee-item svg {
  color: var(--brand-primary);
}

@keyframes t1-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Media frames ---------- */

.t1-media {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .45);
}

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

.t1-media-deco {
  position: absolute;
  z-index: -1;
  width: 70%;
  height: 70%;
  border-radius: 1.75rem;
  background-image: radial-gradient(color-mix(in srgb, var(--brand-primary) 40%, transparent) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}

.t1-badge-card {
  position: absolute;
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 30px 50px -24px var(--t1-glow);
}

/* ---------- Service cards ---------- */

.t1-service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.t1-service-card .t1-service-media {
  position: relative;
  height: 13rem;
}

.t1-service-card .t1-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t1-service-card .t1-service-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, .5));
}

.t1-service-card .t1-icon-tile {
  position: absolute;
  left: 1.5rem;
  bottom: -1.6rem;
  z-index: 2;
  width: 3.5rem;
  height: 3.5rem;
  background: #fff;
  box-shadow: 0 14px 30px -12px rgba(15, 23, 42, .35);
}

.t1-service-index {
  position: absolute;
  right: 1.25rem;
  top: 1rem;
  z-index: 2;
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  letter-spacing: .1em;
}

/* ---------- Dark showcase ---------- */

.t1-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50rem 30rem at 100% 0%, color-mix(in srgb, var(--brand-primary) 30%, transparent), transparent 60%),
    #070b16;
  color: #fff;
  isolation: isolate;
}

.t1-tracker {
  position: relative;
  border-radius: 1.75rem;
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -40px rgba(0, 0, 0, .8);
  backdrop-filter: blur(10px);
}

.t1-tracker-map {
  position: relative;
  height: 15rem;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #0d1527;
}

.t1-tracker-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  mix-blend-mode: screen;
}

.t1-progress-track {
  height: .45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.t1-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 1.8s var(--t1-ease) .3s;
}

.is-visible .t1-progress-fill,
.t1-progress-fill.is-visible {
  transform: scaleX(var(--t1-fill, 1));
}

.t1-timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.t1-timeline-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  font-size: .875rem;
}

.t1-timeline-step::before {
  content: '';
  position: absolute;
  left: .55rem;
  top: 1.4rem;
  bottom: -1rem;
  width: 2px;
  background: rgba(255, 255, 255, .12);
}

.t1-timeline-step:last-child::before {
  display: none;
}

.t1-timeline-dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .15rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .3);
  background: #0d1527;
}

.t1-timeline-step.is-done .t1-timeline-dot {
  border-color: var(--brand-accent);
  background: var(--brand-accent);
}

.t1-timeline-step.is-current .t1-timeline-dot {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand-accent) 25%, transparent);
}

/* ---------- Stats ---------- */

.t1-stats {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  isolation: isolate;
}

.t1-stat {
  position: relative;
  padding: 2rem 1.5rem;
  text-align: center;
}

.t1-stat + .t1-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: rgba(255, 255, 255, .18);
}

.t1-stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
  .t1-stat:nth-child(odd)::before {
    display: none;
  }
}

/* ---------- Page hero (inner pages) ---------- */

.t1-page-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  color: #fff;
  isolation: isolate;
}

.t1-page-hero .t1-page-hero-bg {
  position: absolute;
  inset: -10% 0 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--t1-parallax, 0), 0) scale(1.08);
  will-change: transform;
}

.t1-page-hero .hero-gradient {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .86;
}

.t1-crumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
  font-size: .82rem;
  color: rgba(255, 255, 255, .8);
  backdrop-filter: blur(6px);
}

.t1-crumbs a:hover {
  color: #fff;
}

/* ---------- CTA ---------- */

.t1-cta {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  color: #fff;
  isolation: isolate;
}

.t1-cta::before {
  content: '';
  position: absolute;
  right: -8rem;
  top: -8rem;
  z-index: -1;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  border: 60px solid rgba(255, 255, 255, .06);
}

.t1-cta::after {
  content: '';
  position: absolute;
  left: 35%;
  bottom: -10rem;
  z-index: -1;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-accent) 35%, transparent);
  filter: blur(70px);
}

/* ---------- Forms ---------- */

.t1-field {
  width: 100%;
  padding: .9rem 1.1rem;
  border-radius: .9rem;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: var(--t1-ink);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.t1-field:hover {
  border-color: #cbd5e1;
}

.t1-field:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 14%, transparent);
}

.t1-label {
  display: block;
  margin-bottom: .4rem;
  font-size: .8rem;
  font-weight: 600;
  color: #334155;
}

/* ---------- Footer ---------- */

.t1-footer {
  position: relative;
  overflow: hidden;
  background: #060a14;
  color: #fff;
  isolation: isolate;
}

.t1-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), var(--brand-accent), transparent);
}

.t1-footer-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255, 255, 255, .6);
  transition: color .2s ease, transform .25s var(--t1-ease);
}

.t1-footer-link:hover {
  color: #fff;
  transform: translateX(3px);
}

.t1-footer-word {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 12vw, 10rem);
  line-height: .85;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .08);
  white-space: nowrap;
  user-select: none;
}

.t1-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-primary);
  box-shadow: 0 14px 30px -12px rgba(15, 23, 42, .45), 0 0 0 1px var(--t1-line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s var(--t1-ease), visibility .3s;
}

.t1-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.t1-to-top:hover {
  background: var(--brand-primary);
  color: #fff;
}

/* ---------- Mobile menu ---------- */

.t1-mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem .25rem;
  border-bottom: 1px solid var(--t1-line);
  font-weight: 500;
}

/* ---------- Shared tracking result: theme tokens ---------- */

.theme1 .trk {
  --trk-ink: var(--t1-ink);
  --trk-muted: var(--t1-muted);
  --trk-deep: var(--t1-deep);
  --trk-display: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

/* Summary card overlaps the search hero */
.theme1 .trk-summary {
  z-index: 2;
  margin-top: -3.5rem;
}

/* ---------- Print: just the shipment ---------- */

@media print {
  .theme1 .t1-header,
  .theme1 .t1-footer,
  .theme1 .t1-hero,
  .theme1 .t1-progress,
  .theme1 .t1-to-top,
  .theme1 [data-company-chat],
  .theme1 .company-chat-widget {
    display: none !important;
  }

  .theme1 [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .theme1 .t1-card {
    box-shadow: 0 0 0 1px #e2e8f0 !important;
    break-inside: avoid;
  }
}

/* ---------- Scroll reveal (only when JS is running) ---------- */

.t1-js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s var(--t1-ease), transform .9s var(--t1-ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.t1-js [data-reveal='left'] {
  transform: translate3d(-36px, 0, 0);
}

.t1-js [data-reveal='right'] {
  transform: translate3d(36px, 0, 0);
}

.t1-js [data-reveal='zoom'] {
  transform: scale(.94);
}

.t1-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Hero entrance */
.t1-js .t1-enter {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  animation: t1-enter 1s var(--t1-ease) forwards;
  animation-delay: calc(var(--d, 0) * 110ms + 100ms);
}

@keyframes t1-enter {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .theme1 *,
  .theme1 *::before,
  .theme1 *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .t1-js [data-reveal],
  .t1-js .t1-enter {
    opacity: 1;
    transform: none;
  }

  .t1-hero-frame {
    transform: none;
  }

  .t1-hero-title .t1-accent-word path {
    stroke-dashoffset: 0;
  }

  .t1-js .t1-history-item,
  .t1-js .t1-history-item::before {
    opacity: 1;
    transform: none;
  }
}
