:root {
  --navy: #10233c;
  --red: #bb292f;
  --ink: #162942;
  --muted: #4c5d70;
  --paper: #f6f7f9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.55 system-ui, sans-serif; color: var(--ink); background: white; }
p { margin: 0; }
a { color: inherit; }
.wrap { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.header, .footer, .brand, nav { display: flex; align-items: center; }
.header, .footer { justify-content: space-between; gap: 1rem; }
.top { border-bottom: 1px solid #e5e8ed; }
.header { min-height: 5.15rem; }
.brand { gap: .75rem; text-decoration: none; font-weight: 750; }
.brand img { object-fit: contain; }
nav { gap: 1.5rem; font-weight: 650; }
.button { border: 0; border-radius: .5rem; color: white; background: var(--red); font: inherit; font-weight: 750; cursor: pointer; text-decoration: none; padding: .78rem 1.15rem; display: inline-block; width: fit-content; }
.button:hover { background: #a31e25; }
.button.small { padding: .5rem .85rem; }
:focus-visible { outline: 3px solid #367ec5; outline-offset: 3px; }
.hero { color: white; background: #a6192b; padding-block: clamp(2.75rem, 6vw, 5.5rem); }
.hero-grid { display: grid; align-items: center; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.route { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; font-size: .875rem; letter-spacing: .12em; font-weight: 750; color: #d7e1ed; }
.route i { width: 2rem; height: 2px; background: #ff7777; }
h1, h2 { margin: 0; font-weight: 800; line-height: 1.06; letter-spacing: -.045em; }
h1 { font-size: clamp(2.9rem, 6.2vw, 5.3rem); margin-block: .95rem 1.25rem; }
h1 em { color: #ffa19a; font-style: normal; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.intro { font-size: 1.16rem; color: #d7e1ed; max-width: 27rem; margin-bottom: 1.75rem; }
.hero-image { width: 100%; height: auto; border-radius: 1rem; border: 1px solid #ffffff35; }
.quote { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(3rem, 7vw, 6rem); }
.quote-intro p, .promo p { margin-top: 1rem; color: var(--muted); max-width: 25rem; }
.quote-form { padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid #dce3ea; border-radius: 1rem; background: var(--paper); }
label { font-weight: 650; font-size: .95rem; min-width: 0; }
input { width: 100%; display: block; margin-top: .35rem; border: 1px solid #aab7c6; border-radius: .44rem; padding: .64rem .74rem; color: var(--ink); background: white; font: 400 1rem/1.4 system-ui, sans-serif; }
.promo { background: #eef2f6; padding-block: clamp(3rem, 7vw, 5rem); }
.promo-grid { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: 2rem; }
video { display: block; justify-self: center; width: min(100%, 19rem); height: auto; aspect-ratio: 9/16; background: var(--navy); border-radius: 1rem; }
.footer { padding-block: 1.75rem; color: var(--muted); }
@media (max-width: 760px) {
  .hero-grid, .quote, .promo-grid { grid-template-columns: 1fr; }
  .hero-image { max-width: 34rem; }
  .promo-grid { justify-items: start; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 2rem); }
  .header { min-height: 4.35rem; }
  .brand { gap: .38rem; }
  .brand img { width: 38px; height: auto; }
  .footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.quote-total { display: grid; gap: .25rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #dce3ea; }
.quote-total span { color: var(--muted); font-weight: 650; }
.quote-total output { color: var(--navy); font-size: 1.5rem; font-weight: 800; overflow-wrap: anywhere; }

.header .brand { font-size: 1.35rem; letter-spacing: -.035em; }
.header nav a:not(.button) { text-decoration-color: transparent; text-underline-offset: .35em; }
.header nav a:not(.button):hover { text-decoration-color: currentColor; }
.hero h1 { font-size: clamp(2.9rem, 5.75vw, 4.8rem); }
.services, .contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-block: clamp(2.75rem, 6vw, 5rem); }
.services p, .contact p { color: var(--muted); margin-top: .8rem; }
.service-details { border-inline-start: 3px solid var(--red); padding-inline-start: 1.25rem; }
.service-details h3 { margin: 0; font-size: 1.1rem; }
.service-details p { margin-top: .25rem; }
.service-details h3:not(:first-child) { margin-top: 1.15rem; }
.quote-band { background: #eef2f6; }
.quote-form { background: white; }
.photos { padding-block: clamp(2.75rem, 6vw, 5rem); }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; margin-top: 1.5rem; }
.photo-grid figure { margin: 0; }
.photo-grid a { display: block; border-radius: .8rem; }
.photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: .8rem; }
.photo-grid figcaption { padding-top: .55rem; color: var(--muted); }
.contact { align-items: center; }
.contact .button { justify-self: end; }
.footer { border-top: 1px solid #dce3ea; }
@media (max-width: 760px) {
  .services, .contact { grid-template-columns: 1fr; }
  .contact .button { justify-self: start; }
}
@media (max-width: 540px) {
  .header { flex-wrap: wrap; padding-block: .7rem; gap: .55rem; }
  .header nav { flex-wrap: wrap; gap: .55rem 1rem; }
  .photo-grid { grid-template-columns: 1fr; }
}

.tracking, .staff { padding-block: clamp(2.75rem, 6vw, 5rem); }
.tracking form, .staff form { max-width: 42rem; margin-top: 1.25rem; }
.tracking button, .staff button { margin-top: .8rem; }
.tracking [role=status], .staff [role=status] { margin-top: .75rem; }
.staff-field { display: block; margin-top: .8rem; }
.staff textarea, .staff select { display: block; width: 100%; padding: .65rem; font: inherit; }
.staff input[type=checkbox] { width: auto; display: inline; margin-right: .5rem; }
.staff article { border-top: 1px solid #dce3ea; padding: 1rem 0; overflow-wrap: anywhere; }

#print-labels { display: none; }
.staff article button + button { margin-left: .5rem; }
@media print {
  body:has(#print-labels .shipping-label) > :not(#print-labels) { display: none !important; }
  #print-labels:has(.shipping-label) { display: grid; gap: .14in; justify-content: center; }
  .shipping-label { width: 4in; height: 2in; border: 1px solid black; padding: .11in .15in; break-inside: avoid; color: black; background: white; text-align: center; font-size: 10pt; }
  .shipping-label-title { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid black; margin-bottom: .04in; }
  .shipping-label-title strong { font-size: 17pt; }
  .shipping-label-title span { font-weight: 750; }
  .shipping-label svg { display: block; width: 100%; height: .56in; fill: black; margin: .045in auto; }
  .shipping-label-number { display: block; font: 700 14pt/1.2 monospace; }
  .shipping-label small { display: block; margin-top: .05in; }
}

.payment-demo { max-width: 42rem; margin-top: 1.25rem; }
.payment-demo h2 { font-size: 1.65rem; }
.payment-demo dl { display: grid; grid-template-columns: 1fr auto; gap: .4rem; }
.payment-demo dd { margin: 0; }
.payment-demo details { background: white; border: 1px solid #dce3ea; border-radius: .5rem; margin-top: .75rem; padding: .75rem; }
.payment-demo summary { font-weight: 750; cursor: pointer; }
.payment-demo details p { margin-top: .6rem; }
.payment-demo button:disabled { opacity: .6; cursor: default; }

.photo-grid .featured-photo { grid-column: 1 / -1; }
.photo-grid .featured-photo img { aspect-ratio: 3/2; }

.outside-texas { margin-bottom: 2.75rem; }
.outside-texas .quote-form { background: #eef2f6; }
.outside-texas h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.outside-texas p { margin-top: .75rem; max-width: 70ch; }

.quote-intro .blue-bag-offer {
  padding: .75rem 1rem;
  border-inline-start: 3px solid #205a9c;
  background: #e2ecf8;
  color: var(--navy);
}

.customer-announcement { background: #e2ecf8; color: var(--navy); text-align: center; padding-block: .7rem; }
.customer-announcement a { display: inline-block; margin-inline-start: .4rem; font-weight: 750; text-underline-offset: .2em; }

.worry-free { margin-bottom: 2.75rem; }
.worry-free h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.worry-free p { margin-top: .75rem; max-width: 70ch; }

.customer-announcement-content { display: grid; grid-template-columns: clamp(5rem, 15vw, 10rem) minmax(0, max-content); align-items: center; justify-content: center; gap: clamp(.65rem, 2vw, 1.4rem); text-align: start; }
.customer-announcement-content img { display: block; width: 100%; height: auto; border-radius: .45rem; }

.packing-tote { display: block; width: min(100%, 13rem); height: auto; margin-top: .75rem; }

.destination-map { margin-bottom: 2.75rem; }
.destination-map h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.destination-map figure { max-width: 43rem; margin: 1rem 0 0; }
.destination-map img { display: block; width: 100%; height: auto; border: 1px solid #dce3ea; border-radius: .75rem; }
.destination-map figcaption { margin-top: .45rem; color: var(--muted); }
.destination-map .reference-map-art { clip-path: polygon(0 0, 100% 0, 100% 82%, 49% 82%, 49% 100%, 0 100%); border: 0; }
.full-reference-map { padding-top: 1.5rem; }
.full-reference-map figure { max-width: 1250px; }

.hero .route, .hero .intro { color: #fff0ee; }
.hero h1 em { color: #ffdbd0; }
.hero .button { color: #861624; background: white; }
.hero .button:hover { background: #ffebe5; }
.hero a:focus-visible { outline-color: white; }

.amts-home .top { border-top: .3rem solid #11716a; }
.amts-home .customer-announcement { background: #fff0ba; color: #523400; }
.amts-home .customer-announcement a { color: #674200; }
/* Darken the flags beneath the white hero text. */
.amts-home .hero {
  background-color: #761b29;
  background-image: linear-gradient(90deg, #100d21bf, #24091766),
    url("/hero-flags.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.amts-home .hero-image { border: 3px solid #ffd9ca; box-shadow: 0 1rem 2rem #58111b55; }
.amts-home .service-details { border-color: #159683; }
.amts-home #morocco-to-usa .quote-form { background: #e7f6f0; border-color: #96cbbb; border-inline-start: .3rem solid #11716a; }
.amts-home .outside-texas .quote-form { background: #fff4cf; border-color: #e9c772; border-inline-start: .3rem solid #ad6c09; }
.amts-home #worry-free .quote-form { background: #fcebee; border-color: #e5afb7; border-inline-start: .3rem solid #a6192b; }
.amts-home .quote-band { background: #dfedf9; }
.amts-home .quote-band .quote-form { border-color: #9ebfe1; }
.amts-home .quote-total output { color: #17467c; }
.amts-home #track form { padding: clamp(1rem, 3vw, 1.7rem); background: #e7f6f0; border: 1px solid #96cbbb; border-radius: 1rem; }
.amts-home #track .button, .amts-home #contact .button { background: #11645d; }
.amts-home #track .button:hover, .amts-home #contact .button:hover { background: #0b4e49; }
.amts-home .photos figcaption { color: #17467c; }
.amts-home .promo { background: #fcebee; }
.amts-home .footer { border-top-color: #96cbbb; }

.amts-home .hero h1 { max-width: 14ch; font-size: clamp(2.35rem, 5.3vw, 4.55rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .hero-whatsapp { color: white; background: #105c54; border: 1px solid #92dace; }
.hero .hero-whatsapp:hover { background: #0b4842; }
.route-options { padding-block: clamp(2rem, 5vw, 4rem); }
.route-options h2 { font-size: clamp(1.65rem, 3.7vw, 2.55rem); }
.route-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.route-card { border: 1px solid #edc8ac; border-top: .3rem solid #a65128; border-radius: 1rem; background: #fff1e6; padding: clamp(1rem, 3vw, 1.6rem); }
.route-card.return-route { border-color: #a5d3c6; border-top-color: #11716a; background: #e7f6f0; }
.route-card h3 { margin: 0 0 .45rem; font-size: clamp(1.15rem, 2.3vw, 1.55rem); }
.route-card p { color: var(--muted); }
.route-card a { display: inline-block; margin-block-start: .65rem; margin-inline-end: .7rem; font-weight: 750; text-underline-offset: .2em; }
@media (max-width: 38rem) { .route-cards { grid-template-columns: 1fr; } }

.tracking-intro { margin-top: .75rem; max-width: 42rem; }

.header nav .language-switch { color: #105c54; font-weight: 750; }

html:lang(ar) h1, html:lang(ar) h2 {
  letter-spacing: normal;
  line-height: 1.25;
}
html:lang(ar) .route { letter-spacing: normal; }
html:lang(ar) .amts-home .hero h1 { max-width: 100%; }

.destination-map .container-comparison { max-width: none; }
.destination-map .container-interior-title { margin-top: 1.5rem; }
.container-interiors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1rem; }
.container-interiors figure { max-width: none; }
.car-shipping-update { background: #98192b; color: #fff; padding-block: .85rem; }
.car-shipping-update h2 { color: inherit; font-size: clamp(1.15rem, 2.5vw, 1.45rem); margin: 0; }
.car-shipping-update p { color: inherit; margin: .2rem 0 0; }

.car-shipping-stars {
  display: inline-flex;
  align-items: center;
  gap: .14em;
  margin-inline-end: .45em;
  color: #ffd36a;
  white-space: nowrap;
}
.car-shipping-stars span { font-size: .65em; }
@media (prefers-reduced-motion: no-preference) {
  .car-shipping-stars { animation: car-shipping-flash 1.2s steps(1, end) 4; }
}
@keyframes car-shipping-flash {
  0% { opacity: 1; }
  50% { opacity: 0; }
}

.opening-announcement {
  display: grid;
  place-items: center;
  background: #090719;
}

.opening-announcement video {
  display: block;
  width: min(100%, 21rem);
  max-height: 9rem;
  object-fit: contain;
  height: auto;
}
