:root {
  --navy: #073d63;
  --deep: #052f4d;
  --orange: #f5a000;
  --cream: #faf7f0;
  --white: #ffffff;
  --text: #172533;
  --muted: #61717c;
  --line: rgba(7, 61, 99, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font: 16px/1.65 "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .brand { font-family: "Manrope", sans-serif; }

.site-header {
  height: 96px;
  padding: 0 clamp(24px, 4.5vw, 72px);
  display: flex;
  align-items: center;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 247, 240, .96);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 13px; color: var(--deep); }
.brand-logo { width: 58px; height: 62px; position: relative; overflow: hidden; flex: 0 0 auto; background: var(--cream); }
.brand-logo img { width: 215px; max-width: none; position: absolute; left: -30px; top: -63px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; letter-spacing: .08em; }
.brand-name strong { font-size: 13px; }
.brand-name small { margin-top: 6px; color: var(--orange); font-size: 9px; letter-spacing: .3em; font-weight: 700; }
.site-header nav { display: flex; align-items: center; gap: clamp(17px, 2vw, 31px); margin-left: auto; }
.site-header nav a { position: relative; font-size: 13px; font-weight: 600; white-space: nowrap; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--orange); transition: right .25s; }
.site-header nav a:hover::after { right: 0; }
.nav-dropdown { position: relative; }
.nav-chevron { display: inline-block; margin-left: 4px; color: var(--orange); font-size: 15px; transition: transform .2s; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 17px); left: -22px; width: 265px; padding: 10px; display: grid; gap: 2px; background: var(--cream); border: 1px solid var(--line); box-shadow: 0 18px 38px rgba(5,47,77,.16); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, visibility .2s, transform .2s; }
.nav-dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.site-header nav .nav-dropdown-menu a { padding: 11px 12px; color: var(--deep); font-size: 13px; white-space: normal; }
.site-header nav .nav-dropdown-menu a::after { display: none; }
.site-header nav .nav-dropdown-menu a:hover { background: rgba(245,160,0,.12); color: var(--navy); }
.site-header nav .nav-dropdown-menu a.how-we-work { margin-top: 5px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--navy); }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown:hover .nav-chevron, .nav-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }
.language-switcher { display: flex; align-items: center; padding: 3px; border: 1px solid var(--line); background: rgba(255,255,255,.45); }
.language-switcher button { min-width: 31px; height: 29px; padding: 0 7px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font: 700 11px "DM Sans", sans-serif; letter-spacing: .06em; transition: background .2s, color .2s; }
.language-switcher button:hover { color: var(--deep); }
.language-switcher button.active { background: var(--deep); color: white; }
.header-cta { padding: 14px 17px; background: var(--orange); color: var(--deep); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.header-cta span { font-size: 17px; }
.menu-button { display: none; }

.hero { min-height: 680px; position: relative; overflow: hidden; display: flex; align-items: center; background: var(--deep); color: var(--white); }
.hero-media { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,47,77,.97) 0%, rgba(5,47,77,.82) 39%, rgba(5,47,77,.2) 70%, rgba(5,47,77,.05) 100%), url("assets/trovia-logistics-hero.png") center/cover no-repeat; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,47,77,.55), transparent 45%); }
.hero-content { width: min(760px, 68%); padding: 82px clamp(24px, 7vw, 110px) 110px; position: relative; z-index: 1; }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .19em; font-size: 12px; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: 13px; color: #e8eef1; }
.eyebrow b { font: inherit; }
.eyebrow span { width: 38px; height: 3px; background: var(--orange); }
h1 { margin: 35px 0 30px; max-width: 790px; font-size: clamp(54px, 6.5vw, 102px); line-height: .98; letter-spacing: -.055em; }
h1 em, h2 em { color: var(--orange); font-family: Georgia, serif; font-weight: 400; }
.hero-content > p { max-width: 610px; margin: 0; color: #d5e0e6; font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; gap: 14px; margin-top: 40px; }
.button { min-width: 205px; padding: 16px 19px; display: inline-flex; justify-content: space-between; gap: 22px; align-items: center; font-weight: 700; font-size: 14px; }
.button-primary { background: var(--orange); color: var(--deep); }
.button-secondary { color: white; border: 1px solid rgba(255,255,255,.55); }
.button:hover, .header-cta:hover { transform: translateY(-2px); transition: transform .2s; }
.hero-index { position: absolute; left: clamp(24px, 7vw, 110px); right: clamp(24px, 5vw, 75px); bottom: 33px; z-index: 1; display: flex; align-items: center; color: #dce6eb; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.hero-index i { height: 1px; flex: 1; margin: 0 17px; background: rgba(255,255,255,.28); }

.trust-strip { min-height: 78px; display: flex; justify-content: space-around; align-items: center; gap: 28px; padding: 20px 5%; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.trust-strip span::before { content: "•"; margin-right: 14px; color: var(--orange); font-size: 18px; vertical-align: -2px; }
.section { padding: 125px clamp(24px, 7vw, 110px); }
.section-label { display: flex; align-items: flex-start; gap: 34px; color: var(--navy); }
.section-label span { font: 700 12px "Manrope", sans-serif; color: var(--orange); }
.section-label p { margin: -4px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }

.about { display: grid; grid-template-columns: .75fr 2.25fr; gap: 60px; }
.about-copy h2, .section-heading h2, .markets h2, .contact h2 { margin: 0; color: var(--deep); font-size: clamp(40px, 5vw, 72px); line-height: 1.08; letter-spacing: -.045em; }
.about-copy h2 { max-width: 980px; }
.about-copy .lead { max-width: 760px; margin: 42px 0; color: var(--navy); font-size: 22px; line-height: 1.55; }
.about-details { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; padding-top: 32px; border-top: 1px solid var(--line); }
.about-details p { margin: 0; color: var(--muted); }

.services { padding-top: 45px; }
.section-heading { display: grid; grid-template-columns: .75fr 2.25fr; gap: 60px; margin-bottom: 65px; }
.section-heading > div:last-child { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; }
.section-heading > div:last-child > p { max-width: 300px; margin: 0 0 10px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 355px; display: flex; flex-direction: column; padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s, color .25s; }
.card-top { display: flex; justify-content: space-between; color: #8d9aa2; font-size: 12px; }
.service-icon { color: var(--orange); font-size: 28px; }
.service-card h3 { margin: auto 0 16px; color: var(--deep); font-size: 30px; letter-spacing: -.03em; }
.service-card p { max-width: 500px; margin: 0; color: var(--muted); }
.service-card a { display: flex; justify-content: space-between; margin-top: 27px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--navy); font-size: 13px; font-weight: 700; }
.service-card.featured, .service-card:hover { background: var(--navy); color: white; }
.service-card.featured h3, .service-card:hover h3, .service-card.featured a, .service-card:hover a { color: white; }
.service-card.featured p, .service-card:hover p { color: #c8d6df; }
.service-card.featured a, .service-card:hover a { border-color: rgba(255,255,255,.2); }

.markets { min-height: 690px; display: grid; grid-template-columns: 1fr 1fr; padding: 115px clamp(24px, 7vw, 110px); overflow: hidden; background: var(--deep); color: white; }
.section-label.light { color: white; }
.markets-content { position: relative; z-index: 1; }
.markets h2 { margin-top: 35px; color: white; }
.markets-content > p { max-width: 570px; margin: 28px 0 42px; color: #c4d1d9; font-size: 18px; }
.market-list { border-top: 1px solid rgba(255,255,255,.18); }
.market-list > div { display: grid; grid-template-columns: 58px 1fr; gap: 20px; align-items: center; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.market-list strong { color: var(--orange); font: 700 13px "Manrope"; letter-spacing: .12em; }
.market-list span { line-height: 1.35; font-weight: 600; }
.market-list small { color: #9fb1bd; font-weight: 400; }
.network-visual { position: relative; min-height: 440px; }
.orbit { position: absolute; left: 55%; top: 50%; border: 1px solid rgba(245,160,0,.34); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 230px; height: 230px; }
.orbit-two { width: 380px; height: 380px; }
.orbit-three { width: 540px; height: 540px; }
.globe-core { position: absolute; left: 55%; top: 50%; width: 110px; height: 110px; display: grid; place-items: center; border-radius: 50%; transform: translate(-50%,-50%); background: var(--orange); color: var(--deep); font: 800 40px "Manrope"; box-shadow: 0 0 80px rgba(245,160,0,.15); }
.node { position: absolute; width: 13px; height: 13px; border: 4px solid var(--deep); border-radius: 50%; background: white; box-shadow: 0 0 0 1px var(--orange); }
.n1 { left: 27%; top: 22%; }.n2 { right: 7%; top: 46%; }.n3 { left: 24%; bottom: 9%; }.n4 { right: 28%; bottom: 15%; }

.trade-solutions { padding-bottom: 140px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 95px 1fr; gap: 35px; padding: 32px 0; border-bottom: 1px solid var(--line); transition: padding .2s; }
.steps li:hover { padding-left: 15px; }
.steps > li > span { padding-top: 8px; color: var(--orange); font: 700 12px "Manrope"; }
.steps div { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.steps h3 { margin: 0; color: var(--deep); font-size: 31px; }
.steps p { max-width: 610px; margin: 5px 0; color: var(--muted); }

.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 85px; padding: 100px clamp(24px, 7vw, 110px); background: var(--orange); color: var(--deep); }
.contact h2 { margin-top: 24px; }
.contact h2 em { color: var(--deep); }
.contact-card { align-self: end; padding: 32px; background: var(--cream); box-shadow: 14px 14px 0 var(--deep); }
.contact-name { margin: 0; color: var(--deep); font: 700 25px "Manrope"; }
.contact-name + p { margin: 2px 0 28px; color: var(--muted); }
.contact-card a { display: grid; grid-template-columns: 50px 1fr 20px; gap: 16px; align-items: center; padding: 17px 0; border-top: 1px solid var(--line); }
.contact-card a span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.contact-card a strong { font-size: 16px; }
.contact-card a b { color: var(--orange); }

footer { min-height: 115px; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 30px clamp(24px, 5vw, 75px); background: var(--deep); color: white; font-size: 12px; }
.footer-brand .brand-logo { border-radius: 3px; }
.footer-brand-name small { white-space: nowrap; letter-spacing: .19em; }
footer p { color: #9fb1bd; }

@media (max-width: 1120px) {
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 12px; }
  .header-cta { display: none; }
}

@media (max-width: 850px) {
  .site-header { height: 82px; }
  .site-header nav { display: none; position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 22px; padding: 28px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(5,47,77,.08); }
  .site-header nav.open { display: flex; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu { position: static; width: 100%; margin-top: 12px; padding: 7px 0 0 16px; gap: 1px; border: 0; border-left: 2px solid var(--orange); box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown-menu::before { display: none; }
  .site-header nav .nav-dropdown-menu a { padding: 8px 12px; color: var(--muted); }
  .site-header nav .nav-dropdown-menu a.how-we-work { margin-top: 5px; }
  .nav-chevron { display: none; }
  .menu-button { display: block; margin-left: auto; padding: 9px 0; border: 0; border-bottom: 2px solid var(--orange); background: transparent; color: var(--deep); font: 700 13px "DM Sans"; }
  .hero { min-height: 650px; }
  .hero-media { background-position: 62% center; }
  .hero-content { width: 90%; }
  .about, .section-heading, .markets, .contact { grid-template-columns: 1fr; }
  .section-heading > div:last-child { display: block; }
  .section-heading > div:last-child > p { margin-top: 25px; }
  .network-visual { margin-top: 45px; }
  .contact { gap: 50px; }
}

@media (max-width: 590px) {
  .brand-logo { width: 47px; height: 50px; }
  .brand-logo img { width: 174px; left: -24px; top: -51px; }
  .brand-name strong { font-size: 11px; }.brand-name small { font-size: 8px; }
  .language-switcher { margin-left: auto; }
  .language-switcher button { min-width: 29px; padding: 0 5px; }
  .menu-button { margin-left: 0; }
  .hero { min-height: 690px; align-items: flex-start; }
  .hero-media { background: linear-gradient(90deg, rgba(5,47,77,.98), rgba(5,47,77,.72)), url("assets/trovia-logistics-hero.png") 68% center/cover no-repeat; }
  .hero-content { width: 100%; padding: 85px 20px 115px; }
  h1 { font-size: 51px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-index { left: 20px; right: 20px; }
  .trust-strip { justify-content: flex-start; overflow-x: auto; }
  .trust-strip span { white-space: nowrap; }
  .section { padding: 88px 20px; }
  .about, .section-heading { gap: 38px; }
  .about-details, .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; padding: 30px; }
  .markets { padding: 85px 20px; }
  .network-visual { min-height: 330px; }
  .orbit-one { width: 160px; height: 160px; }.orbit-two { width: 270px; height: 270px; }.orbit-three { width: 380px; height: 380px; }
  .steps li { grid-template-columns: 42px 1fr; gap: 12px; }
  .steps div { grid-template-columns: 1fr; gap: 5px; }
  .contact { padding: 80px 20px; }
  .contact-card { box-shadow: 8px 8px 0 var(--deep); padding: 24px; }
  .contact-card a { grid-template-columns: 44px 1fr 15px; gap: 9px; }
  .contact-card a strong { font-size: 13px; }
  footer { align-items: flex-start; flex-direction: column; padding-top: 45px; padding-bottom: 45px; }
}

/* Keep navigation visible in tablet and split-window layouts. */
@media (min-width: 640px) and (max-width: 850px) {
  .site-header { height: auto; min-height: 82px; flex-wrap: wrap; padding: 12px 24px; gap: 12px 20px; }
  .site-header .menu-button { display: none; }
  .site-header .language-switcher, .site-header .blog-language, .site-header .service-language-switcher { margin-left: auto; }
  .site-header nav, .site-header nav.open { display: flex; position: static; order: 3; flex: 0 0 100%; flex-direction: row; align-items: center; justify-content: center; gap: 20px; margin: 0; padding: 10px 0 6px; border: 0; box-shadow: none; background: transparent; }
  .site-header nav a { font-size: 13px; }
  .site-header .nav-dropdown { width: auto; }
  .site-header .nav-chevron { display: inline-block; }
  .site-header .nav-dropdown-menu { position: absolute; top: calc(100% + 17px); left: -22px; width: 265px; margin: 0; padding: 10px; gap: 2px; border: 1px solid var(--line); background: var(--cream); box-shadow: 0 18px 38px rgba(5,47,77,.16); opacity: 0; visibility: hidden; transform: translateY(8px); }
  .site-header .nav-dropdown-menu::before { display: block; }
  .site-header .nav-dropdown:hover .nav-dropdown-menu, .site-header .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}