.oto-office-address{display:block;color:inherit;overflow-wrap:anywhere}
.oto-office-address:hover strong,.oto-office-address:focus-visible strong{text-decoration:underline;text-underline-offset:.2em}
.oto-office-address small{display:block;margin-top:.55rem;color:#9D4200;font-weight:750}
.company-trust address{font-style:normal}
.company-trust h2{overflow-wrap:anywhere}
.oto-nav-contact{white-space:nowrap}
.hero-actions a{overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.marquee-track{animation:none!important}}

:root {
  --brand-navy: #0B1F3A;
  --brand-orange: #F57C00;
  --light-gray: #F4F6F8;
  --link-orange: #9D4200;
  --loader-navy: #08162B;
}

#pageLoader.page-loader { background: var(--loader-navy) !important; }
#pageLoader .site-loader-content { color: white; }
#pageLoader .site-loader-logo { filter: none; box-shadow: none; border: 0; background: transparent; }
#loaderRetry { background: white; color: var(--brand-navy); }

body { background: white; color: var(--brand-navy); }
.site-header,
.site-header.is-scrolled,
.site-header.solid,
.site-footer { background: var(--brand-navy); color: white; }
.site-header .brand-text strong,
.site-header.is-scrolled .brand-text strong,
.site-header.solid .brand-text strong,
.site-header.is-scrolled .nav a:not(.nav-cta),
.site-header.solid .nav a:not(.nav-cta),
.site-header.is-scrolled .menu-toggle,
.site-header.solid .menu-toggle,
.site-header.is-scrolled .header-whatsapp,
.site-footer .brand-text strong,
.site-footer p,
.site-footer .legal-links a { color: white !important; }
.site-header .brand-text > span,
.site-footer .brand-text > span,
.hero-brand-text span,
.marquee .marquee-group span { color: var(--light-gray); }
.site-footer a:hover,
.site-footer .legal-links a:hover { color: var(--brand-orange) !important; }
.site-footer a:focus-visible { outline-color: var(--brand-orange); }

.btn-primary,
.hero .btn-primary,
.nav-cta,
.contact-whatsapp-copy .whatsapp-follow-btn {
  background: var(--brand-orange);
  color: var(--brand-navy) !important;
}
.hero .btn-primary:hover,
.btn-primary:hover,
.nav-cta:hover,
.contact-whatsapp-copy .whatsapp-follow-btn:hover {
  background: var(--orange-hot);
  color: var(--brand-navy) !important;
}
.header-whatsapp svg { color: white; }
.floating-whatsapp { color: var(--brand-orange); }
.floating-whatsapp:hover { color: var(--link-orange); }
.faq-contact-link,
.contact-whatsapp-copy .contact-email a,
.company-trust address a,
.legal-back,
main > .legal-shell a { color: var(--link-orange); }

.how,
.marquee { background: var(--brand-navy); color: white; }
.how .section-head h2,
.how .steps h3 { color: white; }
.how .eyebrow,
.how .step-num { color: var(--brand-orange); }
.portal,
.company-trust { background: var(--light-gray); }
#services,
.flag-destinations,
.contact-whatsapp,
.faq-section { background: white; }
.offer-grid .offer,
.faq-list details { background: var(--light-gray); }
.offer-grid .offer { padding: clamp(16px, 3vw, 30px); border-radius: 12px; }
.destination-flag-card,
.destination-flag-card:nth-child(even),
.destination-flag-card:hover { background: var(--light-gray); border-radius: 12px; padding: 12px 4px 4px; }
#langToggle.lang-toggle,
#langMenu.lang-menu { background: white; color: var(--brand-navy); }
#langMenu .lang-option:hover,
#langMenu .lang-option.is-active { background: var(--light-gray); }

@media (max-width: 960px) {
  .site-header .nav.is-open { background: var(--brand-navy); border-color: #FFFFFF35; }
  .site-header .nav a:not(.nav-cta) { color: white !important; }
}

/* Keep the logo physically left and the language/menu controls physically right. */
.site-header .header-bar { direction: ltr; flex-wrap: nowrap; gap: clamp(.5rem, 2vw, 1.3rem); }
.site-header .brand-cluster { flex: 0 0 auto; }
.site-header .nav { margin-left: auto; }
.site-header .header-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.site-header .nav:not(.is-open) + .header-actions { flex-shrink: 0; }
.site-header #langMenu.lang-menu { right: 0; left: auto; max-width: min(13rem, calc(100vw - 2rem)); transform-origin: top right; }
.site-header #langMenu .lang-option { min-height: 42px; }
.site-header .brand-text, .site-header .nav { direction: var(--reading-direction, ltr); }
body.is-rtl { --reading-direction: rtl; }
@media (max-width: 1050px) {
  .site-header .brand-cluster .brand-text { display: none; }
}
@media (max-width: 760px) {
  .site-header .header-bar { min-height: 64px; }
  .site-header .menu-toggle {
    display: grid;
    align-content: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
  }
  .site-header .menu-toggle span {
    margin: 0;
    transition: transform 200ms ease;
  }
  .site-header .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .site-header .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .site-header .nav {
    inset: 64px 0 auto;
    display: flex;
    margin: 0;
    padding: 18px 28px;
    max-height: calc(100svh - 64px);
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--brand-navy);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }
  .site-header .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .logistics-hero { min-height: 100svh; min-height: 100dvh; padding-block: 94px max(34px, env(safe-area-inset-bottom)); }
  .logistics-hero h1 { font-size: clamp(2.45rem, 10.2vw, 4rem); }
  .logistics-hero .hero-content { min-width: 0; }
  .hero-actions .btn { max-width: 100%; }
}

.ship-enquiry { background: #F4F6F8; scroll-margin-top: 86px; }
.ship-enquiry .section-inner { max-width: 820px; }
.ship-enquiry h2 { font-size: clamp(1.85rem, 5vw, 2.75rem); }
#ship-form { display: grid; gap: 1.05rem; padding: clamp(1rem, 4vw, 2rem); border: 1px solid #CCD4DE; border-radius: 16px; background: white; }
.enquiry-field { display: grid; gap: .32rem; min-width: 0; }
.enquiry-field label { font-weight: 760; }
.enquiry-field input, .enquiry-field textarea { width: 100%; min-height: 44px; padding: .65rem .8rem; border: 1px solid #8393A6; border-radius: 8px; font: inherit; font-size: 16px; color: #0B1F3A; background: white; }
.enquiry-field input[readonly] { background: #F4F6F8; }
.enquiry-field input[aria-invalid=true] { border-color: #A93226; }
.enquiry-field [role=status], #ship-contact-status { margin: 0; }
.enquiry-field [role=status]:empty { display: none; }
.enquiry-field small, #ship-confirmation, #ship-contact-status { font-size: .86rem; }
#ship-port-results { list-style: none; margin: 0; padding: 0; max-height: 235px; overflow: auto; border: 1px solid #CCD4DE; border-radius: 8px; }
#ship-port-results button { text-align: start; width: 100%; min-height: 44px; background: white; border: 0; border-block-end: 1px solid #CCD4DE; color: #0B1F3A; padding: .55rem .8rem; font: inherit; cursor: pointer; }
#ship-port-results button:hover, #ship-port-results button:focus-visible { background: #F4F6F8; outline-offset: -3px; }
#ship-vin-retry { justify-self: start; padding: .4rem .65rem; font: inherit; }
#ship-send { justify-self: start; gap: .55rem; }
#ship-send:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.enquiry-wa-icon { flex: 0 0 22px; width: 22px; height: 22px; color: white; }
#ship-contact-status a { color: #9D4200; text-decoration: underline; overflow-wrap: anywhere; }

/* A compact, restrained enquiry card and email review sheet. */
#ship-form { border-color: #E1E6ED; box-shadow: 0 14px 40px #0B1F3A0A; }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.enquiry-actions .btn { min-height: 46px; padding-inline: 1.2rem; }
.enquiry-email { color: #0B1F3A; background: white; border: 1px solid #8393A6; }
.enquiry-email:hover { background: #F4F6F8; }
.enquiry-email:disabled { opacity: .58; cursor: not-allowed; transform: none; }
#ship-email-dialog { width: min(100% - 2rem, 540px); max-height: 86dvh; padding: clamp(1rem, 4vw, 2rem); color: #0B1F3A; background: white; border: 1px solid #CCD4DE; border-radius: 16px; box-shadow: 0 24px 64px #08162B40; }
#ship-email-dialog::backdrop { background: #08162BB3; }
#ship-email-dialog h3 { margin: 0 0 .55rem; }
#ship-email-preview { margin-block: 1rem; padding: .85rem; border-radius: 8px; background: #F4F6F8; font: inherit; font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 42dvh; overflow: auto; }
@media (max-width: 490px) { #ship-form .enquiry-actions .btn { width: 100%; justify-content: center; } }

[lang=fa] .copyright-fixed{direction:rtl!important}

/* The supplied wordmark includes the K emblem and the company name. */
.site-header .brand-mark,
.footer-inner .brand-mark {
  flex: none;
  width: 60px;
  height: 52px;
  object-fit: contain;
  border-radius: 4px;
}
.brand-static img { width: min(130px, 100%); height: auto; }
#pageLoader .site-loader-logo {
  border-radius: 5px;
}
@media (prefers-reduced-motion: reduce) {
  #pageLoader .site-loader-logo { animation: none !important; }
}

/* Keep the route, headline and introduction distinct in the opening screen. */
.logistics-hero .hero-brand { margin-bottom: 0; }
.logistics-hero .hero-brand-text span {
  margin-top: 0;
  font-size: clamp(.78rem, 1.55vw, .94rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .09em;
}
.logistics-hero h1 {
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -.035em;
  margin-block: clamp(.75rem, 2.4vw, 1.35rem);
}
.logistics-hero .hero-lead {
  max-width: 52ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 450;
  line-height: 1.6;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .logistics-hero h1 { font-size: clamp(2.125rem, 9.4vw, 3.8rem); }
}
[lang="fa"] .logistics-hero .hero-brand-text span,
[lang="fa"] .logistics-hero h1 { letter-spacing: normal; }
[lang="fa"] .logistics-hero h1 { line-height: 1.25; }

.site-header .brand-mark {
  width: 44px;
  height: 44px;
}
.logistics-hero .hero-brand-text .hero-company-name {
  margin-block-end: .65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 4.6vw, 2.65rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.025em;
  text-wrap: balance;
}
[lang="fa"] .logistics-hero .hero-brand-text .hero-company-name {
  font-family: inherit;
  line-height: 1.35;
  letter-spacing: normal;
}

/* Match Kousha Marine's 3D logo turn. */
#pageLoader .site-loader-logo { transform: none; animation: none !important; }
#pageLoader.is-animating .site-loader-logo {
  animation: koushaLogo3D 1.05s cubic-bezier(.55, .05, .35, 1) both !important;
  transform-style: preserve-3d;
  backface-visibility: visible;
  will-change: transform;
}
@keyframes koushaLogo3D {
  0% { transform: scale(.94) rotateY(0deg); }
  50% { transform: scale(1.06) rotateX(10deg) rotateY(180deg); }
  100% { transform: scale(1) rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  #pageLoader.is-animating .site-loader-logo { animation: none !important; }
}

.site-header .header-instagram,
.site-header .header-youtube {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 44px;
  color: white !important;
}
.site-header .header-instagram svg,
.site-header .header-youtube svg { width: 20px; height: 20px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-social a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: white; }
.footer-social svg { width: 20px; height: 20px; flex: none; }
.header-instagram:focus-visible,
.header-youtube:focus-visible,
.footer-social a:focus-visible { outline: 2px solid #F57C00; outline-offset: 3px; }

/* Keep every header control visible over all sections while scrolling. */
.site-header,
.site-header.is-scrolled {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: #0B1F3A;
  transform: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.is-scrolled .header-whatsapp,
.site-header.is-scrolled .header-instagram,
.site-header.is-scrolled .header-youtube { color: #FFFFFF !important; }

/* Use the same upright WhatsApp mark in the header, form and floating link. */
.whatsapp-icon {
  display: block;
  flex: none;
  object-fit: contain;
  transform: none;
}
.site-header .header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 44px;
}
.site-header .header-whatsapp .whatsapp-icon { width: 20px; height: 20px; }
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 4px;
}
.floating-whatsapp .whatsapp-icon { width: 38px; height: 38px; filter: none; }
.floating-whatsapp:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 3px; }
html[aria-busy="true"] .floating-whatsapp { visibility: hidden; pointer-events: none; }

.floating-whatsapp[hidden] { display: none; }

.enquiry-vehicle {
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #CCD4DE;
  border-radius: 8px;
  background: var(--light-gray);
}
.enquiry-vehicle h3 { margin: 0; font-size: .95rem; }
#ship-vehicle-name { margin: .3rem 0 .8rem; font-size: clamp(1.2rem, 3vw, 1.55rem); font-weight: 750; }
#ship-vehicle-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr)); gap: .7rem 1rem; margin: 0; }
#ship-vehicle-details div { min-width: 0; border-top: 1px solid #CCD4DE; padding-top: .4rem; }
#ship-vehicle-details dt { font-size: .8rem; }
#ship-vehicle-details dd { margin: .1rem 0 0; font-weight: 650; overflow-wrap: anywhere; }

/* Quote form */
#ship-form { gap: 1.2rem; border-color: #CCD4DE; }
#ship-form .enquiry-field input,
#ship-form .enquiry-field textarea { min-height: 46px; }
#ship-form :is(input, textarea, button, a):focus-visible {
  outline: 2px solid var(--link-orange);
  outline-offset: 2px;
}
.enquiry-vin-label { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
#ship-vin-count { color: var(--brand-navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
#ship-vin { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
#ship-vin-status:not(:empty) { padding: .55rem .75rem; border-radius: 6px; background: var(--light-gray); }
#ship-vin-status[data-state="invalid"] { color: #9d2424; background: #fff2f2; }
#ship-vin-status[data-state="vinLooking"] { border-inline-start: 3px solid var(--brand-orange); }
#ship-vin-retry { padding: .35rem .6rem; border: 1px solid #8393A6; border-radius: 6px; color: var(--brand-navy); background: white; cursor: pointer; }
#ship-port-results button:focus-visible { outline-offset: -3px; }
#ship-confirmation { line-height: 1.55; }


@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .site-header .menu-toggle span,
  .site-header .nav { transition: none; }
}
