:root {
  --ink: #12211f;
  --muted: #5e6a67;
  --line: #d8dfdc;
  --paper: #ffffff;
  --soft: #f4f7f6;
  --teal: #25a18e;
  --teal-dark: #0f776a;
  --coral: #f05d5e;
  --amber: #f7b538;
  --blue: #345d7e;
  --shadow: 0 18px 60px rgba(18, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.admin-body {
  background: var(--soft);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(37, 161, 142, 0.28), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(247, 181, 56, 0.25), transparent 32%),
    linear-gradient(135deg, #07110f, #12211f 55%, #07110f);
  pointer-events: none;
  animation: intro-out 0.9s ease 5.9s forwards;
}

.brand-intro::before {
  content: "";
  position: absolute;
  width: 130vmax;
  height: 130vmax;
  background: conic-gradient(from 180deg, transparent, rgba(37, 161, 142, 0.18), transparent, rgba(247, 181, 56, 0.2), transparent);
  opacity: 0.8;
  animation: intro-rotate-glow 8s linear infinite;
}

.intro-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle, #000 0%, transparent 74%);
  opacity: 0.8;
}

.intro-particles span {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  opacity: 0;
  animation: intro-particle 4.2s ease-in-out infinite;
}

.intro-particles span:nth-child(1) {
  left: 12%;
  top: 68%;
  background: var(--amber);
  animation-delay: 0.1s;
}

.intro-particles span:nth-child(2) {
  left: 22%;
  top: 25%;
  background: var(--teal);
  animation-delay: 0.8s;
}

.intro-particles span:nth-child(3) {
  left: 74%;
  top: 22%;
  background: var(--coral);
  animation-delay: 1.2s;
}

.intro-particles span:nth-child(4) {
  left: 86%;
  top: 70%;
  background: var(--amber);
  animation-delay: 1.7s;
}

.intro-particles span:nth-child(5) {
  left: 50%;
  top: 86%;
  background: var(--teal);
  animation-delay: 2.2s;
}

.intro-logo-card {
  position: relative;
  z-index: 5;
  width: min(86vw, 760px);
  padding: 46px 54px 58px;
  overflow: hidden;
  border: 1px solid rgba(18, 33, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.98);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.48);
  transform-origin: center;
  animation: intro-card-in 1s cubic-bezier(0.2, 0.9, 0.25, 1.25) both, intro-float-card 4s ease-in-out 1.3s infinite;
}

.intro-logo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.76) 45%, transparent 62%);
  pointer-events: none;
  transform: translateX(-140%) skewX(-18deg);
  animation: intro-shine 3.5s ease-in-out 2.5s infinite;
}

.intro-logo-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.intro-icon-bg {
  transform-box: fill-box;
  transform-origin: center;
  animation: intro-pop-in 0.85s cubic-bezier(0.2, 1.2, 0.3, 1) both, intro-pulse-box 2.8s ease-in-out 1.2s infinite;
}

.intro-box-main {
  transform-box: fill-box;
  transform-origin: center;
  animation: intro-box-drop 1s cubic-bezier(0.15, 1.25, 0.35, 1) 0.35s both;
}

.intro-box-line {
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
  animation: intro-draw-line 0.85s ease 0.95s forwards;
}

.intro-route {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  filter: drop-shadow(0 0 8px rgba(37, 161, 142, 0.75));
  animation: intro-draw-line 0.95s ease 1.25s forwards, intro-route-pulse 2.2s ease-in-out 2.3s infinite;
}

.intro-pin-start,
.intro-pin-end {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: intro-pin-pop 0.45s cubic-bezier(0.2, 1.5, 0.35, 1) forwards;
}

.intro-pin-start {
  animation-delay: 1.55s;
}

.intro-pin-end {
  animation-delay: 1.85s;
}

.intro-brand-text {
  opacity: 0;
  transform: translateX(30px);
  animation: intro-text-reveal 0.9s ease 1.35s forwards;
}

.intro-tagline {
  position: absolute;
  right: 54px;
  bottom: 24px;
  left: 54px;
  margin: 0;
  color: rgba(18, 33, 31, 0.78);
  font-size: clamp(12px, 1.5vw, 15px);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  animation: intro-fade-up 0.75s ease 2.1s forwards;
}

.intro-road {
  position: absolute;
  right: 0;
  bottom: clamp(84px, 13vh, 132px);
  left: 0;
  z-index: 4;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 161, 142, 0.4), rgba(247, 181, 56, 0.55), rgba(37, 161, 142, 0.4), transparent);
  opacity: 0;
  animation: intro-road-in 0.65s ease 2.1s forwards;
}

.intro-truck-wrap {
  position: absolute;
  bottom: clamp(62px, 10vh, 104px);
  left: -190px;
  z-index: 7;
  width: 150px;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.42));
  animation: intro-truck-move 4.6s cubic-bezier(0.33, 0.02, 0.18, 1) 2.35s infinite;
}

.intro-truck-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.intro-truck-body {
  transform-origin: center;
  animation: intro-truck-bounce 0.55s ease-in-out infinite;
}

.intro-wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: intro-wheel-spin 0.42s linear infinite;
}

.intro-light-beam {
  opacity: 0;
  animation: intro-beam-pulse 0.8s ease-in-out infinite;
}

.intro-speed-line {
  position: absolute;
  right: 118px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(37, 161, 142, 0.9));
  opacity: 0;
  animation: intro-speed-line 0.7s ease-in-out infinite;
}

.intro-speed-line.one {
  top: 45px;
  width: 82px;
  animation-delay: 0s;
}

.intro-speed-line.two {
  top: 64px;
  width: 54px;
  background: linear-gradient(90deg, transparent, rgba(247, 181, 56, 0.9));
  animation-delay: 0.18s;
}

.intro-speed-line.three {
  top: 82px;
  width: 68px;
  animation-delay: 0.34s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-logo {
  display: block;
  width: 214px;
  height: auto;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
}

.main-nav a:hover,
.header-action:hover {
  color: var(--teal-dark);
}

.header-action,
.primary-link,
.secondary-link,
.tool-form button,
.lead-form button {
  min-height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
}

.header-action,
.primary-link,
.tool-form button,
.lead-form button {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 0 18px;
}

.secondary-link {
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0 18px;
  background: #fff;
}

.secondary-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  font-weight: 800;
  white-space: nowrap;
}

.saas-body {
  min-height: 100vh;
  background: #eef4f2;
}

.saas-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 34px 0;
}

.saas-login {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: center;
}

.saas-login h1,
.saas-head h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  letter-spacing: 0;
}

.saas-dashboard {
  display: grid;
  gap: 18px;
}

.saas-head,
.saas-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.saas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.saas-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(18, 33, 31, 0.08);
}

.saas-card h2 {
  margin: 0 0 16px;
}

.saas-card button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 0 16px;
  font-weight: 850;
}

.plan-list,
.company-table {
  display: grid;
  gap: 10px;
}

.plan-card,
.company-row {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.plan-card div:first-child,
.company-row {
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.6fr) auto;
  align-items: center;
}

.plan-card strong,
.company-row strong {
  display: block;
  color: var(--ink);
}

.plan-card span,
.company-row span,
.company-row small,
.office-token {
  color: var(--muted);
  font-weight: 750;
}

.office-token {
  display: block;
  margin-top: 6px;
  max-width: 280px;
  padding: 6px 8px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
  overflow-wrap: anywhere;
  font-size: 0.76rem;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-pills span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(37, 161, 142, 0.12);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.plan-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.plan-card label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.plan-card input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
}

.plan-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.plan-feature-grid label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.plan-feature-grid input {
  width: auto;
  min-height: auto;
}

.company-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.company-actions button,
.company-panel-link {
  min-height: 36px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.company-row.is-editing {
  align-items: start;
}

.company-edit-form {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.company-edit-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 850;
}

.company-edit-form h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1rem;
}

.company-edit-form input,
.company-edit-form select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
}

.company-edit-form input:disabled {
  color: var(--muted);
  background: #f3f6f5;
}

.company-edit-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.company-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.company-actions button[data-action="delete"] {
  border-color: #fecaca;
  color: #991b1b;
}

.company-panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 12px;
  font-weight: 850;
}

.company-shell {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 34px 0;
}

.company-login {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: center;
}

.company-login h1,
.company-head h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  letter-spacing: 0;
}

.company-dashboard {
  display: grid;
  gap: 16px;
}

.company-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.company-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.company-tab {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
}

.company-tab.is-active {
  background: var(--ink);
  color: #fff;
}

.company-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.company-feature-list,
.company-customer-list {
  display: grid;
  gap: 10px;
}

.company-feature,
.company-customer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.company-feature strong,
.company-customer-row strong {
  display: block;
}

.company-feature span,
.company-customer-row span,
.company-customer-row small {
  color: var(--muted);
  font-weight: 750;
}

.company-feature.is-enabled {
  border-color: rgba(37, 161, 142, 0.45);
}

.company-feature.is-enabled span {
  color: var(--teal-dark);
}

.company-feature.is-blocked {
  background: #fff8f2;
}

.blocked-inline {
  margin: 0;
  color: #b42318;
  font-weight: 850;
}

.subscription-payment-list {
  display: grid;
  gap: 10px;
}

.payment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.5fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.payment-row strong {
  display: block;
}

.payment-row span,
.payment-row small {
  color: var(--muted);
  font-weight: 750;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(116deg, rgba(18, 33, 31, 0.97) 0%, rgba(15, 119, 106, 0.89) 48%, rgba(18, 33, 31, 0.8) 100%),
    url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  right: -9vw;
  bottom: -15vw;
  z-index: -1;
  width: min(760px, 62vw);
  height: min(420px, 35vw);
  background: linear-gradient(90deg, rgba(247, 181, 56, 0.3), rgba(240, 93, 94, 0.2));
  clip-path: polygon(0 34%, 100% 0, 100% 46%, 0 82%);
  transform: rotate(-8deg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 46px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 48%, rgba(0, 0, 0, 0.2));
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 790px;
}

.hero .eyebrow {
  color: var(--amber);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.hero-slogan {
  margin: 18px 0 0;
  color: #ffd166;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  font-weight: 850;
}

.hero-text,
.section-copy p,
.business-band p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero .hero-text {
  color: rgba(255, 255, 255, 0.86);
}

.hero-route {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 22px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.hero-route span {
  color: var(--amber);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}

.hero .primary-link {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(247, 181, 56, 0.24);
}

.hero .secondary-link {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(14px);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 42px 0 0;
}

.quick-stats div,
.service-card,
.portal {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quick-stats div {
  padding: 16px;
}

.hero .quick-stats div {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
}

.quick-stats dt {
  font-size: 1.55rem;
  font-weight: 900;
}

.quick-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero .quick-stats dd {
  color: rgba(255, 255, 255, 0.78);
}

.portal {
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.hero .portal {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.hero .portal .eyebrow {
  color: var(--teal-dark);
}

.portal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.portal h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
}

.status-dot {
  width: 16px;
  height: 16px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(37, 161, 142, 0.16);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 26px 0 20px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.tab {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(18, 33, 31, 0.08);
}

.tool-form {
  display: grid;
  gap: 10px;
}

label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(37, 161, 142, 0.15);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

input,
select {
  min-height: 48px;
}

textarea {
  min-height: 96px;
  padding-top: 12px;
  resize: vertical;
}

.tracking-result,
.quote-result {
  margin-top: 18px;
  min-height: 172px;
  border-radius: 8px;
  background: var(--soft);
  padding: 18px;
}

.empty-state {
  margin: 48px 0 0;
  color: var(--muted);
  text-align: center;
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--line);
}

.timeline li.is-done .timeline-dot {
  background: var(--teal);
}

.timeline strong {
  display: block;
}

.timeline span {
  color: var(--muted);
  font-size: 0.93rem;
}

.quote-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.quote-grid button {
  grid-column: 1 / -1;
}

.quote-result {
  display: grid;
  align-content: center;
  gap: 6px;
}

.quote-result span {
  color: var(--muted);
  font-weight: 800;
}

.quote-result strong {
  font-size: 2.9rem;
  line-height: 1;
}

.quote-result small {
  color: var(--muted);
}

.quote-message {
  display: block;
  margin-top: 4px;
  font-weight: 850;
}

.quote-message.is-ok {
  color: var(--teal-dark);
}

.quote-message.is-error {
  color: #b42318;
}

.route-section,
.services,
.business-band,
.country-lockers {
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.speed-strip {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 36px));
  margin: -42px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.speed-strip article {
  min-height: 156px;
  padding: 18px;
  border: 1px solid rgba(216, 223, 220, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(18, 33, 31, 0.12);
}

.speed-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: rgba(37, 161, 142, 0.12);
  color: var(--teal-dark);
  font-weight: 900;
}

.speed-strip strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
}

.speed-strip p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.country-lockers {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(37, 161, 142, 0.08), transparent 56%),
    #f8faf9;
  border-bottom: 1px solid var(--line);
}

.country-lockers-copy {
  display: grid;
  gap: 16px;
}

.country-lockers-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 580px;
  color: var(--muted);
  font-size: 1.06rem;
}

.country-lockers-copy .primary-link {
  width: fit-content;
  margin-top: 4px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.country-card {
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(18, 33, 31, 0.08);
}

.country-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 36px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: rgba(37, 161, 142, 0.12);
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 950;
}

.country-card:nth-child(2) span {
  background: rgba(240, 93, 94, 0.12);
  color: #9f3334;
}

.country-card:nth-child(3) span {
  background: rgba(247, 181, 56, 0.18);
  color: #7a5200;
}

.country-card:nth-child(4) span {
  background: rgba(52, 93, 126, 0.12);
  color: var(--blue);
}

.country-card:nth-child(5) span {
  background: rgba(18, 33, 31, 0.1);
  color: var(--ink);
}

.country-card strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.country-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.route-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: var(--ink);
  color: #fff;
}

.route-section .eyebrow {
  color: var(--amber);
}

.route-section p {
  color: rgba(255, 255, 255, 0.78);
}

.route-map {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.section-heading {
  max-width: 780px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.service-card {
  min-height: 190px;
  padding: 22px;
  border-top: 5px solid var(--teal);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(18, 33, 31, 0.12);
}

.service-card:nth-child(2) {
  border-top-color: var(--coral);
}

.service-card:nth-child(3) {
  border-top-color: var(--amber);
}

.service-card:nth-child(4) {
  border-top-color: var(--blue);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.business-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: end;
  background: #f8faf9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  transform: translateY(-2px);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-link.is-disabled {
  color: rgba(18, 33, 31, 0.42);
  cursor: not-allowed;
}

.social-link.is-disabled:hover {
  border-color: var(--line);
  color: rgba(18, 33, 31, 0.42);
  transform: none;
}

.lead-form {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 750;
}

.form-message.is-error {
  color: #b42318;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
}

.footer-social {
  margin-top: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.footer-legal p {
  margin: 0;
}

.footer-legal a {
  color: var(--teal-dark);
  font-weight: 850;
}

.footer-logo {
  width: 132px;
  height: auto;
}

.admin-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) 0;
}

.admin-hero {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.admin-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.admin-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.metric-card,
.admin-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric-card {
  min-height: 136px;
  padding: 22px;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

#dash-locker-code {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  white-space: nowrap;
}

.admin-section {
  margin-top: 16px;
  padding: 22px;
}

.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

td {
  color: var(--ink);
  font-weight: 650;
}

.client-shell {
  background: var(--soft);
}

.client-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) 0;
}

.account-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) 0;
}

.client-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.7fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.client-intro p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.account-panel,
.locker-panel,
.portal-panel,
.example-section,
.invoice-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(18px, 3vw, 26px);
}

.account-panel {
  box-shadow: var(--shadow);
}

.login-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.46fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 190px);
}

.login-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.login-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(20px, 4vw, 30px);
  box-shadow: var(--shadow);
}

.login-card h2 {
  margin-bottom: 4px;
}

.login-card button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 0 18px;
  font-weight: 800;
}

.login-helper {
  color: var(--teal-dark);
  font-weight: 800;
  text-align: center;
}

.dashboard-view {
  display: grid;
  gap: 20px;
}

.dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-head h1 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.account-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
}

.account-tab {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.account-tab.is-active {
  border-color: var(--teal);
  background: rgba(37, 161, 142, 0.12);
  color: var(--teal-dark);
}

.account-tab-panel {
  display: none;
}

.account-tab-panel.is-active {
  display: grid;
  gap: 18px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.58fr);
  gap: 18px;
  align-items: start;
}

.account-card {
  box-shadow: none;
}

.locker-warning {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(240, 93, 94, 0.35);
  border-radius: 8px;
  background: rgba(240, 93, 94, 0.08);
  color: #8d2d2e;
  font-weight: 800;
}

.account-panel h2,
.login-box h3,
.locker-panel h2,
.portal-panel h2 {
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.legal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--muted);
  line-height: 1.45;
}

.legal-consent input {
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.legal-consent a {
  color: var(--teal-dark);
  font-weight: 900;
}

.account-panel button,
.portal-panel button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 0 18px;
  font-weight: 800;
}

.login-box {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.locker-panel,
.portal-panel,
.example-section,
.invoice-section {
  display: grid;
  gap: 16px;
}

.store-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.store-example-field {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.store-example-field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-example-field strong {
  color: var(--ink);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.locker-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.locker-list-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.locker-list div {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.locker-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.locker-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.client-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.portal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 750;
}

.empty-inline {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.invoice-list {
  display: grid;
  gap: 14px;
}

.invoice-group {
  display: grid;
  gap: 12px;
}

.invoice-group h3 {
  margin: 0;
  color: var(--ink);
}

.invoice-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.invoice-card.is-paid {
  background: #eef8f5;
  border-color: rgba(37, 161, 142, 0.35);
}

.invoice-card-head,
.invoice-meta,
.payment-methods,
.payment-history li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.invoice-number {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.invoice-card-head strong {
  display: block;
  margin-top: 3px;
  font-size: 1.65rem;
  line-height: 1.1;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 850;
}

.invoice-meta {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.invoice-link {
  color: var(--teal-dark);
  font-weight: 900;
}

.payment-form {
  display: grid;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.payment-methods {
  justify-content: flex-start;
}

.payment-methods label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.payment-methods input {
  width: auto;
  min-height: auto;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.file-picker-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  padding: 9px;
  font-weight: 800;
  cursor: pointer;
}

.file-picker-name {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.file-picker-name.has-file {
  color: var(--ink);
}

.payment-form > button[type="submit"] {
  width: fit-content;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 0 18px;
  font-weight: 850;
}

.payment-message {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.payment-message.is-error {
  color: #b42318;
}

.payment-message.is-ok {
  color: var(--teal-dark);
}

.paid-note {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(37, 161, 142, 0.35);
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 800;
}

.payment-history {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payment-history li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.legal-body {
  background: var(--soft);
}

.legal-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) 0;
}

.legal-hero {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.legal-hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
}

.legal-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-doc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.legal-doc-card,
.legal-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(18, 33, 31, 0.08);
}

.legal-doc-card {
  min-height: 260px;
  padding: 20px;
}

.legal-doc-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: rgba(37, 161, 142, 0.12);
  color: var(--teal-dark);
  font-weight: 950;
}

.legal-doc-card h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
}

.legal-doc-card p,
.legal-note p {
  color: var(--muted);
}

.legal-note {
  margin-top: 16px;
  padding: 24px;
}

.legal-note h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

@keyframes intro-rotate-glow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes intro-card-in {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(42px) scale(0.86);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes intro-float-card {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes intro-pop-in {
  from {
    opacity: 0;
    transform: scale(0.4) rotate(-12deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes intro-pulse-box {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(37, 161, 142, 0));
  }

  50% {
    filter: drop-shadow(0 0 22px rgba(37, 161, 142, 0.45));
  }
}

@keyframes intro-box-drop {
  0% {
    opacity: 0;
    transform: translateY(-45px) scale(0.82);
  }

  70% {
    opacity: 1;
    transform: translateY(7px) scale(1.06);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes intro-route-pulse {
  0%,
  100% {
    stroke-width: 10;
  }

  50% {
    stroke-width: 13;
  }
}

@keyframes intro-pin-pop {
  from {
    opacity: 0;
    transform: scale(0.2);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes intro-text-reveal {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes intro-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-road-in {
  to {
    opacity: 1;
  }
}

@keyframes intro-truck-move {
  0% {
    left: -190px;
    opacity: 0;
    transform: translateY(0) scale(0.98);
  }

  8% {
    opacity: 1;
  }

  42% {
    transform: translateY(-7px) scale(1);
  }

  78% {
    opacity: 1;
  }

  100% {
    left: calc(100% + 190px);
    opacity: 0;
    transform: translateY(0) scale(0.98);
  }
}

@keyframes intro-truck-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@keyframes intro-wheel-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes intro-beam-pulse {
  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 0.9;
  }
}

@keyframes intro-speed-line {
  0% {
    opacity: 0;
    transform: translateX(0) scaleX(0.4);
  }

  35% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translateX(-55px) scaleX(1);
  }
}

@keyframes intro-shine {
  0%,
  42% {
    transform: translateX(-140%) skewX(-18deg);
  }

  72%,
  100% {
    transform: translateX(140%) skewX(-18deg);
  }
}

@keyframes intro-particle {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.6);
  }

  25% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translateY(-90px) scale(1.4);
  }
}

@keyframes intro-out {
  to {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .route-section,
  .business-band,
  .country-lockers {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background-position: 58% center;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .speed-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }

  .country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-grid,
  .client-layout,
  .company-login,
  .company-metrics,
  .login-view,
  .saas-login,
  .saas-grid,
  .dashboard-grid,
  .dashboard-layout,
  .store-example-grid,
  .payment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .intro-logo-card {
    width: 88vw;
    padding: 30px 26px 50px;
  }

  .intro-tagline {
    right: 24px;
    left: 24px;
    letter-spacing: 0.13em;
  }

  .intro-truck-wrap {
    width: 118px;
  }

  .brand-logo {
    width: 158px;
  }

  .header-action {
    padding: 0 12px;
  }

  .hero-actions,
  .input-row {
    grid-template-columns: 1fr;
  }

  .hero-actions a,
  .input-row button,
  .lead-form button {
    width: 100%;
  }

  .service-grid,
  .quote-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .speed-strip {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 520px);
  }

  .country-grid {
    grid-template-columns: 1fr;
  }

  .country-lockers-copy .primary-link {
    width: 100%;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .legal-doc-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .wide {
    grid-column: auto;
  }

  .quick-stats {
    display: none;
  }

  .quote-result strong {
    font-size: 2.45rem;
  }

  .dashboard-head {
    display: grid;
  }

  .saas-head,
  .saas-section-head,
  .company-head {
    display: grid;
  }

  .company-row,
  .company-customer-row,
  .company-feature,
  .payment-row,
  .plan-edit-grid,
  .plan-feature-grid,
  .plan-card div:first-child {
    grid-template-columns: 1fr;
  }

  .company-actions {
    justify-content: stretch;
  }

  .company-actions button {
    flex: 1 1 100%;
  }

  .account-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .locker-list-compact {
    grid-template-columns: 1fr;
  }
}

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

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

  .brand-intro {
    display: none;
  }

  .service-card:hover {
    transform: none;
  }
}
/* Mi Oficina web app */
.office-app-body {
  --office-primary: #0d1b2a;
  --office-accent: #006d77;
  margin: 0;
  background: #eef3f7;
  color: #14213d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.office-login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 460px);
  align-items: center;
  gap: 48px;
  padding: 48px clamp(20px, 6vw, 92px);
  background:
    linear-gradient(120deg, rgba(12, 27, 54, 0.92), rgba(11, 90, 104, 0.82)),
    url("../assets/route-map.svg") center/cover no-repeat;
}

.office-login-panel {
  color: #fff;
  max-width: 680px;
}

.office-login-panel h1 {
  margin: 10px 0 16px;
  max-width: 640px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

.office-login-panel p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.office-login-card {
  display: grid;
  gap: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(12, 27, 54, 0.24);
}

.office-login-card h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.office-login-card input,
.office-search {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd7e2;
  border-radius: 6px;
  padding: 12px 13px;
  background: #fff;
  color: #14213d;
  font: inherit;
}

.office-login-card button,
.office-logout {
  border: 0;
  border-radius: 6px;
  padding: 13px 16px;
  background: var(--office-accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.office-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

.office-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 16px;
  box-sizing: border-box;
  background: var(--office-primary);
  color: #fff;
}

.office-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.office-brand strong,
.office-brand small {
  display: block;
}

.office-brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
}

.office-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--office-accent);
  color: #fff;
  font-weight: 900;
}

.office-nav {
  display: grid;
  gap: 6px;
}

.office-nav button,
.office-logout {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.office-nav button.is-active,
.office-nav button:hover {
  background: #1b73e8;
  color: #fff;
}

.office-logout {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.08);
}

.office-main {
  min-width: 0;
  padding: 24px;
}

.office-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.office-topbar h1 {
  margin: 4px 0 0;
  font-size: 30px;
  letter-spacing: 0;
}

.office-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.office-stat-grid article,
.office-panel {
  border: 1px solid #dce5ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.06);
}

.office-stat-grid article {
  padding: 18px;
}

.office-stat-grid span,
.office-stat-grid small,
.office-panel-head span,
.office-row span,
.office-row small,
.office-feed span,
.office-feed small,
.office-settings-grid span {
  color: #64748b;
}

.office-stat-grid strong {
  display: block;
  margin: 8px 0;
  color: #0d1b2a;
  font-size: 32px;
}

.office-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 16px;
}

.office-panel {
  padding: 18px;
}

.office-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.office-actions-inline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: min(100%, 420px);
}

.office-panel-head h2 {
  margin: 0;
  font-size: 18px;
}

.office-view {
  display: none;
}

.office-view.is-active {
  display: block;
}

.office-table,
.office-feed,
.office-bars,
.office-feature-grid,
.office-settings-grid {
  display: grid;
  gap: 10px;
}

.office-row,
.office-feed article,
.office-settings-grid article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px;
  border: 1px solid #e3ebf2;
  border-radius: 7px;
  background: #f8fafc;
}

.office-row strong,
.office-row span,
.office-row small,
.office-feed strong,
.office-feed span,
.office-feed small {
  display: block;
}

.office-bars article {
  display: grid;
  gap: 8px;
}

.office-bars article div {
  display: flex;
  justify-content: space-between;
}

.office-bars i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #1b73e8;
}

.office-feature-grid,
.office-settings-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.office-settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.office-settings-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-weight: 800;
}

.office-settings-form input {
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #cbd7e2;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: #14213d;
  font: inherit;
}

.office-settings-form input[type="color"] {
  padding: 4px;
}

.office-settings-form button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: var(--office-accent);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.office-settings-form .client-message {
  align-self: center;
  margin: 0;
}

.office-feature-grid article {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 7px;
  border: 1px solid #dce5ed;
}

.office-feature-grid .enabled {
  background: #ecfdf5;
  border-color: #b7ebcf;
}

.office-feature-grid .blocked {
  background: #fff7ed;
  border-color: #fed7aa;
}

@media (max-width: 900px) {
  .office-login,
  .office-shell,
  .office-dashboard-grid,
  .office-stat-grid,
  .office-feature-grid,
  .office-settings-grid,
  .office-settings-form {
    grid-template-columns: 1fr;
  }

  .office-login {
    align-items: stretch;
    gap: 22px;
    padding: 24px;
  }

  .office-login-panel h1 {
    font-size: 42px;
  }

  .office-sidebar {
    position: static;
    height: auto;
  }

  .office-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .office-main {
    padding: 16px;
  }

  .office-topbar,
  .office-row,
  .office-feed article,
  .office-actions-inline {
    align-items: stretch;
    flex-direction: column;
  }
}
