@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL,GRAD@24,700,1,0");

:root {
  color-scheme: light;
  --bg: #fbf9f9;
  --surface: #ffffff;
  --surface-dim: #efeded;
  --ink: #000000;
  --muted: #4c4546;
  --quiet: #7e7576;
  --line: #cfc4c5;
  --line-soft: #e3e2e2;
  --line-strong: #000000;
  --wash: #efeded;
  --focus: #000000;
  --radius: 0px;
  --border-thick: 2.5px;
  --border-thin: 1px;
  --headline-font: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.material-symbols-sharp {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  font-family: "Material Symbols Sharp";
  font-size: 22px;
  font-style: normal;
  font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 24;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  height: env(safe-area-inset-top, 0px);
  background: var(--ink);
  pointer-events: none;
}

body.sheet-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button,
input {
  font: inherit;
}

.site-header,
.route-panel,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  gap: 0;
  align-items: center;
  padding: 0;
  border-bottom: 0;
  background: var(--ink);
}

.route-tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  justify-self: stretch;
  width: 100%;
  gap: 0;
  padding: 0;
  border: 0;
  border-bottom: 0;
  border-radius: var(--radius);
  background: var(--bg);
}

.search-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-height: 52px;
  height: 52px;
  padding-inline: 0;
}

.route-tab.search-tab {
  box-shadow: inset 0 2px 0 0 var(--ink), inset -2px 0 0 0 var(--ink), inset 0 -2px 0 0 var(--ink);
}

.search-tab .search-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  font-family: "Material Symbols Outlined";
  font-size: 28px;
  font-style: normal;
  font-variation-settings: "FILL" 0, "wght" 700, "GRAD" 200, "opsz" 24;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
  align-items: center;
  justify-content: center;
}

html[data-active-route="ukraine"] .route-tab[data-route="ukraine"],
html[data-active-route="valencia"] .route-tab[data-route="valencia"] {
  position: relative;
}

html[data-active-route="ukraine"] .route-tab[data-route="ukraine"]::after,
html[data-active-route="valencia"] .route-tab[data-route="valencia"]::before {
  font-family: "Material Symbols Outlined";
  font-variation-settings: "FILL" 0, "wght" 700, "GRAD" 200, "opsz" 24;
  font-size: 28px;
  line-height: 1;
  text-transform: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

html[data-active-route="ukraine"] .route-tab[data-route="ukraine"]::after {
  content: "\e5cc"; /* chevron_right */
  right: 8px;
}

html[data-active-route="valencia"] .route-tab[data-route="valencia"]::before {
  content: "\e5cb"; /* chevron_left */
  left: 8px;
}

.route-tab {
  min-height: 52px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: inset 0 0 0 2px var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--headline-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.route-tab + .route-tab {
  border-left: 0;
}

.route-tab.is-active {
  background: var(--ink);
  box-shadow: none;
  color: var(--surface);
}

html[data-active-route="valencia"] .route-tab.is-active {
  box-shadow: none;
  background: var(--ink);
  color: var(--surface);
}

html[data-active-route="valencia"] .route-tab:not(.is-active) {
  background: var(--bg);
  color: var(--ink);
}

.route-panel[hidden] {
  display: none;
}

.route-panel-shell {
  margin-top: 0;
  padding: 0 0 24px;
  border: 0;
  background: var(--bg);
}

html[data-active-route="ukraine"] .route-panel-shell {
  border-color: var(--ink);
  background: var(--bg);
  color: var(--ink);
}

html[data-active-route="valencia"] .route-panel-shell {
  border-color: var(--ink);
  background: var(--bg);
  color: var(--ink);
}

.hero {
  max-width: 880px;
  padding: clamp(32px, 6vw, 68px) 0 clamp(26px, 4vw, 42px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  font-family: var(--headline-font);
  font-weight: 900;
}

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.04;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.18;
}

.hero-lede,
.section-heading p,
.media-card p,
.step-grid p,
.compact-section p,
.footer p,
address,
.small-note,
.sheet-body {
  color: var(--muted);
}

.hero-lede {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.62;
}

.page-section {
  padding: clamp(32px, 5vw, 58px) 0;
  border-top: var(--border-thick) solid currentColor;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.media-grid {
  display: grid;
  gap: 0;
}

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

.media-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-height: 100%;
  padding: 14px;
  border: var(--border-thick) solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.media-card > .card-button {
  width: calc(100% + 28px);
  margin: 0 -14px -14px;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: var(--ink);
  color: var(--surface);
}

.media-card + .media-card {
  margin-left: calc(var(--border-thick) * -1);
}

.photo-placeholder,
.media-asset {
  display: grid;
  min-height: 190px;
  place-items: center;
  border: var(--border-thin) dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-dim);
  color: var(--surface);
  font-family: var(--headline-font);
  font-size: 0;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.media-asset {
  margin: 0;
  overflow: hidden;
  border: 0;
  background: var(--surface);
  max-width: 100%;
}

.media-asset img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.media-swap {
  position: relative;
  min-height: 190px;
}

.media-swap-main[hidden] {
  display: none;
}

.media-swap-panel-map {
  place-items: center;
}

.media-swap-panel-map img {
  object-fit: contain;
}

.media-swap-preview {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: clamp(92px, 24%, 148px);
  aspect-ratio: 1;
  padding: 0;
  border: var(--border-thick) solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink);
  cursor: pointer;
  overflow: hidden;
}

.media-swap-preview:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

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

.media-asset-logo {
  aspect-ratio: 5 / 3;
  min-height: 0;
  padding: 0;
  background: var(--surface);
}

.media-asset-logo img {
  min-height: 0;
  max-height: none;
  object-fit: contain;
}

.photo-placeholder::before {
  content: attr(data-label);
  display: inline-block;
  padding: 8px 10px;
  background: var(--ink);
  color: var(--surface);
  font-size: 11px;
}

.card-button,
.text-button,
.contact-links a,
.contact-cta,
.sheet-copy,
.sheet-close {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  width: 100%;
  border: var(--border-thick) solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--headline-font);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  fill: none;
  object-fit: contain;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2;
}

.card-button .material-symbols-sharp,
.text-button .material-symbols-sharp,
.contact-links a .material-symbols-sharp,
.contact-cta .material-symbols-sharp {
  margin-right: 10px;
}

.card-button,
.text-button {
  justify-self: stretch;
}

.card-button:hover,
.text-button:hover,
.contact-links a:hover {
  border-color: var(--line-strong);
}

.card-button[data-courier-open],
.button-row .text-button:first-child {
  background: var(--ink);
  color: var(--surface);
}

.step-frame {
  margin-bottom: 18px;
  border: var(--border-thick) solid var(--line-strong);
  background: var(--surface);
}

.step-frame > .text-button {
  margin: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: var(--ink);
  color: var(--surface);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 0;
  border: 0;
  background: var(--surface);
}

.step-grid article {
  padding: 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.step-grid article + article {
  border-left: var(--border-thick) solid var(--line-strong);
}

.step-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 700;
}

.weekly-calendar {
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}

.week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  border-bottom: 0;
}

.day-button {
  display: flex;
  width: 100%;
  height: 62px;
  min-width: 0;
  border: 0;
  border-radius: var(--radius);
  appearance: none;
  align-items: center;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--headline-font);
  font-weight: 750;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.day-button:last-child {
  border-right: 0;
}

.day-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: none;
  color: var(--surface);
}

.day-bubble {
  position: relative;
  margin-top: 0;
  min-height: 138px;
  padding: 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--wash);
}

.day-bubble strong,
.day-bubble span {
  display: block;
}

.day-bubble strong {
  margin-bottom: 4px;
  color: var(--ink);
}

.compact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
}

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

.small-note {
  margin: 10px 0 0;
  font-size: 14px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: clamp(42px, 7vw, 72px) 0;
  border-top: var(--border-thick) solid var(--line-strong);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-cta {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

address strong {
  color: var(--ink);
}

.bottom-sheet[hidden] {
  display: none;
}

.bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: var(--ink);
  cursor: pointer;
  opacity: 0.7;
}

.bottom-sheet-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(760px, 100%);
  max-height: min(84dvh, 820px);
  overflow: hidden;
  border: var(--border-thick) solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
  animation: sheet-in 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: var(--border-thick) solid var(--line-strong);
}

.sheet-header h2 {
  min-width: 0;
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.sheet-actions {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
}

.sheet-copy {
  flex: 0 0 38px;
  width: 38px;
  max-width: 38px;
  min-height: 38px;
  overflow: hidden;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.sheet-copy .material-symbols-sharp,
.sheet-close .material-symbols-sharp {
  flex: 0 0 auto;
  margin: 0;
}

.sheet-copy.is-copied {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.sheet-copy.is-copy-error {
  border-color: var(--ink);
  background: var(--wash);
  color: var(--ink);
}

.sheet-close {
  width: 38px;
  min-height: 38px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
  background: var(--ink);
  color: var(--surface);
}

.sheet-body {
  overflow: auto;
  padding: 20px;
}

.sheet-body h3 {
  margin-top: 20px;
  font-size: 20px;
}

.detail-list,
.label-preview,
.result-box {
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--wash);
  color: var(--ink);
}

.detail-list p {
  margin-bottom: 8px;
}

.detail-list p:last-child {
  margin-bottom: 0;
}

.label-preview {
  display: grid;
  gap: 6px;
  max-width: 320px;
  font-size: clamp(14px, 3.5vw, 18px);
}

.sheet-media {
  margin: 0 0 18px;
  border: var(--border-thick) solid var(--line-strong);
  background: var(--ink);
}

.sheet-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.sheet-media-grid .sheet-media {
  margin: 0;
}

.sheet-media video,
.sheet-media img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.sheet-media-contain {
  border: 1px solid var(--line-strong);
  background: transparent;
}

.sheet-media-contain img {
  max-height: none;
  object-fit: contain;
}

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

.points-grid p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--wash);
}

.points-grid span {
  color: var(--muted);
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
  margin-top: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 5vw, 56px);
  border: var(--border-thick) solid var(--line-strong);
  background: var(--ink);
  color: var(--surface);
}

.faq-section .eyebrow {
  color: var(--line);
}

.faq-intro h2 {
  margin-bottom: 0;
  color: var(--surface);
}

.faq-intro p {
  margin: 18px 0 0;
  color: var(--line);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.62;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: var(--border-thin) solid var(--surface);
}

.faq-list article {
  padding: 18px 0;
  border-bottom: var(--border-thin) solid var(--muted);
}

.faq-list h3 {
  margin-bottom: 8px;
  color: var(--surface);
  font-size: clamp(18px, 2.2vw, 26px);
}

.faq-list p {
  margin: 0;
  color: var(--line);
}

.check-list {
  margin: 0;
  padding-left: 22px;
}

.check-list li + li {
  margin-top: 8px;
}

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

.calculator-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.calculator-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
}

.result-box {
  display: block;
  font-weight: 700;
}

.tariff-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

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

.tariff-table tr:last-child th,
.tariff-table tr:last-child td {
  border-bottom: 0;
}

.tariff-table th {
  width: 62%;
  color: var(--muted);
  font-weight: 650;
}

.tariff-table td {
  color: var(--ink);
  font-weight: 750;
}

.tariff-group-row {
  border: 1px solid var(--line-strong);
}

.tariff-group-row th {
  width: 100%;
  padding: 14px 16px 8px;
  border-bottom: 0;
}

.tariff-group-row .tariff-options {
  grid-template-columns: 1fr !important;
  border: 0;
  border-top: 1px solid var(--line-soft);
}

.tariff-group-row .tariff-options span {
  display: flex;
  min-height: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  border-left: 0;
}

.tariff-group-row .tariff-options span:first-child {
  border-top: 0;
}

.tariff-group-row .tariff-options strong {
  flex: 0 0 auto;
}

.tariff-group-title {
  display: block;
  padding-bottom: 8px;
}

.tariff-group-row .tariff-options em {
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.tariff-wheel {
  border: 0;
}

.tariff-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line-strong);
}

.tariff-options.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tariff-options span {
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 10px;
  border-left: 1px solid var(--line-strong);
  font-size: 13px;
  line-height: 1.25;
}

.tariff-options span:first-child {
  border-left: 0;
}

.tariff-wheel .tariff-options {
  border: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 0;
}

.tariff-options-note {
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.tariff-options strong {
  color: var(--ink);
  font-family: var(--headline-font);
  font-size: 12px;
  line-height: 1;
}

.tally-frame {
  display: block;
  width: 100%;
  height: min(680px, calc(84dvh - 108px));
  border: 0;
}

.track-form {
  margin-top: 4px;
}

.track-note {
  margin-top: -8px;
  color: var(--muted);
  font-size: 14px;
}

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

.track-input {
  min-height: 52px;
  padding: 12px 16px;
  border: var(--border-thick) solid var(--line-strong);
  border-right: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 16px;
}

.track-input::placeholder {
  color: var(--quiet);
}

.track-input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.track-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 20px;
  border: var(--border-thick) solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
  cursor: pointer;
  font-family: var(--headline-font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.track-result {
  margin-top: 16px;
}

.track-result[hidden] {
  display: none;
}

.track-status {
  margin: 0;
  padding: 16px;
  border: var(--border-thin) solid var(--line-strong);
  background: var(--wash);
  color: var(--muted);
  font-size: 15px;
}

.track-empty {
  display: grid;
  gap: 10px;
}

.track-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.track-contact-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: var(--border-thick) solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
  text-decoration: none;
  font-family: var(--headline-font);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.track-contact-actions .material-symbols-sharp {
  margin-right: 10px;
}

.track-loading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.track-loading-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.track-loading-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  animation: track-loading-dot 900ms ease-in-out infinite;
  opacity: 0.35;
}

.track-loading-dot:nth-child(2) {
  animation-delay: 140ms;
}

.track-loading-dot:nth-child(3) {
  animation-delay: 280ms;
}

@keyframes track-loading-dot {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .track-loading-dot {
    animation: none;
    opacity: 0.7;
  }
}

.track-parcel {
  border: var(--border-thick) solid var(--line-strong);
  background: var(--surface);
}

.track-parcel + .track-parcel {
  border-top: 0;
}

.track-parcel-id {
  margin: 0;
  padding: 12px 16px;
  border-bottom: var(--border-thin) solid var(--line-strong);
  background: var(--ink);
  color: var(--surface);
  font-family: var(--headline-font);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.track-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  border-bottom: var(--border-thin) solid var(--line-soft);
}

.track-row:last-child {
  border-bottom: 0;
}

.track-row span:first-child {
  padding: 10px 16px;
  color: var(--muted);
  font-size: 13px;
  border-right: var(--border-thin) solid var(--line-soft);
}

.track-row span:last-child {
  padding: 10px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.track-row-full {
  grid-template-columns: 1fr;
}

.track-row-full span:first-child {
  border-right: 0;
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 560px) {
  .track-input-row {
    grid-template-columns: 1fr;
  }

  .track-input {
    border-right: var(--border-thick) solid var(--line-strong);
    border-bottom: 0;
  }

  .track-button {
    justify-content: center;
  }

  .track-contact-actions {
    grid-template-columns: 1fr;
  }
}

.courier-sheet .sheet-body {
  overflow-y: auto;
  padding: 0;
}

.courier-rules {
  padding: 20px;
  border-bottom: var(--border-thick) solid var(--line-strong);
  background: var(--surface);
}

.courier-rules ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 20px;
}

.courier-rules li {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.courier-rules strong {
  font-weight: 800;
}

.courier-sheet .tally-frame {
  height: 1180px;
  min-height: 900px;
  max-width: 100%;
}

.route-tab:focus-visible,
.card-button:focus-visible,
.text-button:focus-visible,
.day-button:focus-visible,
.contact-links a:focus-visible,
.contact-cta:focus-visible,
.sheet-copy:focus-visible,
.sheet-close:focus-visible,
.sheet-backdrop:focus-visible,
input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

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

  .step-grid,
  .faq-section,
  .compact-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .step-grid article + article {
    border-left: 0;
    border-top: var(--border-thick) solid var(--line-strong);
  }

  .faq-section {
    padding-inline: 18px;
  }
}

@media (max-width: 360px) {
  .route-tab {
    font-size: 11px;
    padding-inline: 6px;
    white-space: normal;
  }

  .button-row {
    grid-template-columns: 1fr;
  }

  .button-row .text-button + .text-button {
    margin-top: calc(var(--border-thick) * -1);
  }
}

@media (max-width: 720px) {
  .route-panel,
  .footer {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    width: 100%;
  }

  .route-tab {
    padding-inline: 10px;
    font-size: 14px;
  }

  .media-grid.two {
    grid-template-columns: 1fr;
  }

  .media-card + .media-card {
    margin-left: 0;
    margin-top: calc(var(--border-thick) * -1);
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .photo-placeholder {
    min-height: 180px;
  }

  .media-asset,
  .media-asset img {
    min-height: 220px;
  }

  .media-asset-logo img {
    min-height: 0;
  }

  .week-strip {
    gap: 0;
  }

  .day-button {
    height: 52px;
    font-size: 13px;
  }

  .bottom-sheet {
    place-items: stretch;
    padding: 0;
  }

  .sheet-backdrop {
    display: none;
  }

  .bottom-sheet-panel {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .points-grid,
  .calculator-form {
    grid-template-columns: 1fr;
  }

  .tariff-table,
  .tariff-table tbody,
  .tariff-table tr,
  .tariff-table th,
  .tariff-table td {
    display: block;
    width: 100%;
  }

  .tariff-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line-strong);
  }

  .tariff-group-row {
    display: block;
    border: 0;
  }

  .tariff-table tr:last-child {
    border-bottom: 0;
  }

  .tariff-table th,
  .tariff-table td {
    padding: 0;
    border-bottom: 0;
  }

  .tariff-table th {
    margin-bottom: 4px;
  }

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

  .tariff-options.four span {
    border-top: 1px solid var(--line-strong);
  }

  .tariff-options.four span:nth-child(1),
  .tariff-options.four span:nth-child(2) {
    border-top: 0;
  }

  .tariff-options.four span:nth-child(odd) {
    border-left: 0;
  }

  .tariff-group-row .tariff-options.four span,
  .tariff-group-row .tariff-options.four span:nth-child(1),
  .tariff-group-row .tariff-options.four span:nth-child(2),
  .tariff-group-row .tariff-options.four span:nth-child(odd) {
    border-left: 0;
  }

  .tariff-group-row .tariff-options.four span {
    border-top: 1px solid var(--line-soft);
  }

  .tariff-group-row .tariff-options.four span:first-child {
    border-top: 0;
  }
}

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

@keyframes truck-arrive {
  0%   { transform: translateX(-190px) rotate(-8deg); }
  6%   { transform: translateX(4px) rotate(7deg); }
  9%   { transform: translateX(-1px) rotate(-1deg); }
  12%  { transform: translateX(0) rotate(0deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

.contact-cta,
[data-courier-open] {
  overflow: hidden;
}

.contact-cta .material-symbols-sharp,
[data-courier-open] .material-symbols-sharp {
  animation: truck-arrive 15s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
