/* Cairo Logistics — shared styles
   Breakpoints: 1100px (tablet), 900px (phone layout with bottom tab bar) */

:root {
  --navy: #0B1836;
  --navy-2: #132650;
  --navy-line: #1D2F5C;
  --orange: #CC4400;        /* buttons: white text passes contrast */
  --orange-bright: #F26B1D; /* accents, lines */
  --orange-on-dark: #F58A3C;/* orange text on navy */
  --icon: #E0560F;
  --ink: #0B1836;
  --text: #33425F;
  --muted: #44516B;
  --bg: #F4F6FA;
  --card: #FFFFFF;
  --line: #E3E8F0;
  --on-dark: #D5DCEA;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(11, 24, 54, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }
a:focus-visible, button:focus-visible, input:focus, select:focus, textarea:focus {
  outline: 3px solid #6FA0FF; outline-offset: 2px;
}
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.h2 { font-weight: 800; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.lead { font-size: 17px; color: var(--text); }
.accent-bar { display: block; width: 72px; height: 4px; border-radius: 2px; background: var(--orange-bright); }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-accent { color: var(--icon); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 8px; border: 0;
  font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-outline-light { border: 1.5px solid #fff; color: #fff; }
.btn-outline { border: 1.5px solid var(--orange); color: var(--orange); background: #fff; min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-pill { border-radius: 999px; min-height: 58px; padding: 0 30px; font-size: 18px; box-shadow: 0 8px 20px rgba(204, 68, 0, .4); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.arrow-btn {
  width: 44px; height: 44px; border-radius: 8px; background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.arrow-btn .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15px; color: var(--orange); }
.text-link .icon { width: 16px; height: 16px; stroke-width: 2.4; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-style: italic; font-size: 19px; line-height: 1; }
.brand img { width: 56px; height: 56px; flex: none; }
.main-nav { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.main-nav a { padding: 11px 0; border-bottom: 2px solid transparent; }
.main-nav a[aria-current="page"] { border-bottom-color: var(--orange-bright); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15px; }
.phone-link .icon { width: 18px; height: 18px; color: var(--orange-on-dark); stroke-width: 2.2; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .icon { width: 26px; height: 26px; stroke-width: 2.2; }

/* Hero (home) and page banners */
.hero, .page-banner { background: var(--navy); color: #fff; border-top: 1px solid var(--navy-line); display: grid; grid-template-columns: 1fr 1fr; }
.hero-text, .banner-text {
  padding: 72px 40px 72px max(24px, calc(50vw - 596px));
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
}
.banner-text { padding-top: 56px; padding-bottom: 56px; gap: 14px; }
.hero h1 { font-weight: 800; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.1; letter-spacing: -.01em; }
.hero h1 span, .accent-text { color: var(--orange-on-dark); }
.hero p, .banner-text p { max-width: 500px; font-size: 18px; color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-media img, .banner-media img { width: 100%; height: 100%; object-fit: cover; border-bottom: 6px solid var(--orange-bright); }
.hero-media img { min-height: 500px; object-position: 75% center; }
.banner-media img { min-height: 320px; max-height: 380px; }
.banner-media img.focus-right { object-position: right center; } /* keep the right side (mug) when the photo is cropped */
.page-banner h1 { font-weight: 800; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.1; letter-spacing: -.01em; }
.breadcrumb { font-size: 14px; color: #C9D2E3; }
.page-banner.solo { display: block; border-bottom: 6px solid var(--orange-bright); }
.page-banner.solo .banner-text { padding-right: 24px; }
/* Desktop: the hero and banner photos slide under the text side and fade into the navy, like the About banner */
@media (min-width: 901px) {
  .hero, .page-banner:not(.solo) { border-bottom: 6px solid var(--orange-bright); }
  .hero-text, .page-banner .banner-text { position: relative; z-index: 2; }
  .hero-media, .page-banner .banner-media { position: relative; margin-left: -140px; }
  .hero-media img, .page-banner .banner-media img { border-bottom: 0; max-height: none; }
  .hero-media::before, .page-banner .banner-media::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 380px; pointer-events: none;
    background: linear-gradient(90deg, var(--navy) 0, rgba(11, 24, 54, .92) 130px, rgba(11, 24, 54, .5) 250px, rgba(11, 24, 54, 0) 380px);
  }
}

/* Home hero: the photo is always shown whole — never cropped and never faded */
.hero.hero-full .hero-media img { height: auto; min-height: 0; object-fit: contain; }
@media (min-width: 901px) {
  .hero.hero-full { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; }
  .hero.hero-full .hero-media { margin-left: 0; padding: 36px 36px 36px 0; }
  .hero.hero-full .hero-media::before { display: none; }
  .hero.hero-full h1 { font-size: clamp(32px, 3.1vw, 48px); }
  .hero.hero-full .hero-media img { border-radius: 16px; box-shadow: 0 24px 48px rgba(0, 0, 0, .35); }
}

/* Manual banner: the photo is always shown whole — never cropped and never faded */
.page-banner.banner-full .banner-media img { height: auto; min-height: 0; max-height: none; object-fit: contain; }
@media (min-width: 901px) {
  .page-banner.banner-full { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; }
  .page-banner.banner-full .banner-media { margin-left: 0; padding: 36px 36px 36px 0; }
  .page-banner.banner-full .banner-media::before { display: none; }
  .page-banner.banner-full .banner-media img { border-radius: 16px; box-shadow: 0 24px 48px rgba(0, 0, 0, .35); }
  .page-banner.banner-full h1 { font-size: clamp(32px, 3.1vw, 48px); }
}

/* Contact banner: team photo behind a cyan arc; the photo's navy edge blends into the banner */
.page-banner.banner-curve h1::after { content: ""; display: block; width: 90px; height: 5px; margin-top: 16px; border-radius: 3px; background: #12D4F0; }
@media (min-width: 901px) {
  .page-banner.banner-curve { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .page-banner.banner-curve .banner-media { margin-left: 0; aspect-ratio: 1452 / 731; align-self: stretch; }
  .page-banner.banner-curve .banner-media::before { display: none; }
  .page-banner.banner-curve .banner-media img { min-height: 0; height: 100%; object-fit: cover; object-position: left center; }
}
@media (max-width: 900px) {
  .page-banner.banner-curve .banner-media img { height: 210px; object-position: 72% top; }
}

/* About banner: same arc as Contact; keeps its orange line under the text */
.page-banner.about-banner h1::after { display: none; }
.page-banner.about-banner .banner-text p::after { content: ""; display: block; width: 110px; height: 3px; margin-top: 22px; border-radius: 2px; background: var(--orange-bright); }
@media (min-width: 901px) {
  .page-banner.about-banner .banner-media { aspect-ratio: 1655 / 731; }
}
@media (max-width: 900px) {
  .page-banner.about-banner .banner-media img { height: 220px; object-position: 60% center; }
}

/* Home hero: round play button that opens the overview video */
.btn-play { padding: 0 8px 0 4px; color: #fff; gap: 14px; }
.btn-play .play-dot { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--orange); animation: play-pulse 2.2s ease-out infinite; }
.btn-play .play-dot .icon { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.btn-play:hover .play-dot { background: var(--orange); color: #fff; }
@keyframes play-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); } 70% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .btn-play .play-dot { animation: none; } }
@media (max-width: 900px) { .hero-actions .btn-play { justify-content: flex-start; padding-left: 2px; } }

/* About banner: text over the building and team photo */
.banner-overlay { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-top: 1px solid var(--navy-line); border-bottom: 6px solid var(--orange-bright); }
.banner-overlay > img { position: absolute; top: 0; right: 0; width: min(100%, 900px); height: 100%; object-fit: cover; object-position: center bottom; }
/* Short fade: keeps the text readable without hiding the building sign */
.banner-overlay::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--navy) 0, var(--navy) max(40px, calc(100% - 900px)), rgba(11, 24, 54, .92) max(470px, calc(50% - 120px)), rgba(11, 24, 54, 0) max(700px, calc(50% + 100px)));
}
.banner-overlay p::after { content: ""; display: block; width: 110px; height: 3px; margin-top: 22px; border-radius: 2px; background: var(--orange-bright); }
.banner-overlay .container { position: relative; z-index: 2; min-height: 380px; padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.banner-overlay h1 { max-width: 480px; font-weight: 800; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.1; }
.banner-overlay p { max-width: 400px; font-size: 17px; color: #E3E8F2; }

/* Feature strip */
.features { background: #fff; border-bottom: 1px solid var(--line); }
.features .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 32px; padding-top: 24px; padding-bottom: 24px; }
.feature { display: flex; align-items: center; gap: 14px; }
.feature .icon { width: 36px; height: 36px; color: var(--icon); stroke-width: 1.7; }
.feature strong { display: block; font-size: 16px; line-height: 1.25; }
.feature span { font-size: 14px; color: var(--muted); }

/* Section heading row */
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section-head.center { flex-direction: column; text-align: center; }
.section-head.center p { color: var(--muted); }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service-grid.large { grid-template-columns: repeat(6, 1fr); gap: 24px; }
.service-grid.large .service-card { grid-column: span 2; }
.service-grid.large .service-card:nth-child(n+4) { grid-column: span 3; }
.service-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.service-card > img { width: 100%; height: 150px; object-fit: cover; }
.service-grid.large .service-card > img { height: 210px; }
.service-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-body h3 { font-weight: 700; font-size: 18px; line-height: 1.25; }
.service-body p { font-size: 14px; color: var(--muted); }
.service-body .arrow-btn { align-self: flex-end; margin-top: auto; }
.service-grid.large .service-body { flex-direction: row; align-items: flex-end; gap: 16px; padding: 22px; }
.service-grid.large .service-body > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.service-grid.large h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.service-grid.large h3 .icon { width: 28px; height: 28px; color: var(--icon); }
.service-grid.large p { font-size: 15px; }

/* Two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split > img { width: 100%; height: 360px; object-fit: cover; border-radius: 16px; }
.split-text { display: flex; flex-direction: column; gap: 16px; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; font-weight: 500; }
.check-list .icon { width: 22px; height: 22px; color: var(--icon); stroke-width: 2.6; margin-top: 1px; }

/* Stats band */
.stats { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 32px; }
.stats strong { display: block; font-weight: 800; font-size: 28px; }
.stats span { font-size: 14px; color: #C9D2E3; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; align-items: center; gap: 16px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; flex: none; }
.step h3 { font-weight: 700; font-size: 18px; }
.step p { font-size: 15px; color: var(--muted); margin-top: 2px; }

/* Testimonials */
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 2fr 1fr; align-items: center; }
.quote-card .quote-body { padding: 36px 40px; display: flex; flex-direction: column; gap: 14px; }
.quote-mark { font-weight: 800; font-size: 54px; line-height: .6; color: var(--orange-bright); margin-top: 14px; }
.quote-card blockquote { font-size: 19px; font-weight: 500; }
.quote-card figcaption { font-size: 15px; font-weight: 700; }
.quote-card > img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }

.quote-split { border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow); }
.quote-split > img { width: 100%; height: 400px; object-fit: cover; }
.quote-panel { background: var(--orange); color: #fff; padding: 48px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.quote-panel .stars { font-size: 22px; letter-spacing: 4px; }
.quote-panel blockquote { max-width: 400px; font-size: 19px; font-weight: 500; }
.quote-panel figcaption { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; }
.quote-panel figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }

/* App section */
.app-section { background: linear-gradient(180deg, var(--navy) 0%, #14306B 100%); color: #fff; padding: 72px 0 80px; overflow: hidden; text-align: center; }
.app-section .container { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.eyebrow { display: flex; align-items: center; gap: 16px; font-size: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-on-dark); }
.eyebrow::before, .eyebrow::after { content: ""; width: 56px; height: 2px; background: var(--orange-on-dark); }
.app-section h2 { font-weight: 800; font-size: clamp(28px, 4vw, 54px); line-height: 1.1; letter-spacing: -.01em; }
.app-section p { max-width: 640px; font-size: 19px; color: #E3E8F2; }
.app-section .btn { margin-top: 10px; }
.phones { display: flex; justify-content: center; align-items: center; gap: 36px; margin-top: 40px; }
.phones img { width: 270px; height: auto; border-radius: 16% / 8.2%; box-shadow: 0 22px 44px rgba(0, 0, 0, .4); }
.phones img:nth-child(2) { width: 290px; }
.swipe-hint { display: none; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: 16px; padding: 32px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-band h2 { font-weight: 800; font-size: 26px; }
.cta-band p { font-size: 16px; color: var(--on-dark); margin-top: 4px; }

/* Cards used on About / Contact / Careers */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.story-card { padding: 24px; display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 32px; align-items: center; }
.story-card img { width: 100%; height: 210px; object-fit: cover; border-radius: 12px; }
.story-card .split-text { gap: 12px; }
.mvv { padding: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.mvv-item { display: flex; align-items: flex-start; gap: 16px; }
.mvv-item .icon { width: 42px; height: 42px; color: var(--icon); }
.mvv-item h3 { font-weight: 700; font-size: 19px; }
.mvv-item p, .mvv-item ul { font-size: 15px; color: var(--muted); margin-top: 6px; }
.mvv-item ul { list-style: disc; padding-left: 18px; }

.job-list { display: flex; flex-direction: column; gap: 12px; }
.job { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; }
.job h3 { font-weight: 700; font-size: 18px; }
.job p { font-size: 14px; color: var(--muted); margin-top: 2px; }

.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info h2, .contact-form h2 { font-weight: 800; font-size: 26px; }
.info-row { display: flex; align-items: flex-start; gap: 14px; }
.info-row .icon { width: 26px; height: 26px; color: var(--icon); }
.info-row strong { display: block; font-size: 15px; }
.info-row span { font-size: 15px; color: var(--text); overflow-wrap: anywhere; }
.contact-form { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0 14px; height: 48px; border: 1px solid #7C8AA5; border-radius: 8px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.location-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.map { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: 16px; }
.location-card { background: var(--navy); color: #fff; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.location-card h2 { font-weight: 800; font-size: 22px; }
.location-card p { font-size: 15px; color: var(--on-dark); }
.location-card .btn { align-self: flex-start; margin-top: 8px; }

/* Footer */
.site-footer { background: var(--navy); color: #C9D2E3; padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px 56px; }
.footer-grid .brand { color: #fff; margin-bottom: 14px; }
.footer-grid p { max-width: 300px; }
.footer-col { display: flex; flex-direction: column; }
.footer-col strong { color: #fff; margin-bottom: 6px; }
.footer-col a { padding: 5px 0; }
.footer-bottom { border-top: 1px solid var(--navy-line); margin-top: 32px; padding-top: 20px; font-size: 13px; }

/* Phone tab bar (hidden on desktop) */
.tabbar { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .header-inner { column-gap: 20px; } /* with the hidden arrow below: room for "Cairo Logistics, LLC" down to 901px */
  .main-nav { gap: 18px; }
  .header-actions .btn .icon { display: none; }
  .phone-link span { display: none; }
  .phones img, .phones img:nth-child(2) { width: 30%; }
  .phones { gap: 20px; }
}

/* ---------- Phone ---------- */
@media (max-width: 900px) {
  body { padding-bottom: 84px; } /* room for the tab bar */
  .container { padding: 0 20px; }
  .section { padding: 28px 0 8px; }
  .section-tight { padding: 20px 0 8px; }

  .header-inner { padding-top: 12px; padding-bottom: 12px; }
  .brand { font-size: 16px; }
  .brand img { width: 44px; height: 44px; }
  .header-actions { display: none; }
  .menu-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 4px 20px 16px; background: var(--navy-2); font-size: 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid #2A3C66; }
  .main-nav a[aria-current="page"] { color: var(--orange-on-dark); border-bottom-color: #2A3C66; }

  .hero, .page-banner { display: flex; flex-direction: column-reverse; border-radius: 0 0 28px 28px; overflow: hidden; }
  .hero-text, .banner-text { padding: 22px 20px 30px; gap: 14px; }
  .hero h1 { font-size: 28px; line-height: 1.14; }
  .hero p, .banner-text p { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-media { padding: 4px 16px 0; }
  .hero-media img { min-height: 0; height: 230px; border-radius: 20px; border-bottom: 0; }
  .banner-media img { min-height: 0; height: 190px; border-bottom: 5px solid var(--orange-bright); }
  .page-banner h1, .banner-overlay h1 { font-size: 30px; }
  .page-banner.solo { border-bottom: 0; }

  .banner-overlay { border-bottom: 0; border-radius: 0 0 28px 28px; }
  .banner-overlay > img { position: static; width: 100%; height: 220px; border-bottom: 5px solid var(--orange-bright); }
  .banner-overlay::before { display: none; }
  .banner-overlay .container { min-height: 0; padding-top: 22px; padding-bottom: 30px; gap: 10px; }
  .banner-overlay p { font-size: 15px; }

  .features { background: transparent; border: 0; padding: 16px 16px 0; }
  .features .container { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); grid-template-columns: repeat(2, 1fr); gap: 18px 14px; padding: 18px 16px; }
  .feature { align-items: flex-start; gap: 10px; }
  .feature .icon { width: 28px; height: 28px; }
  .feature strong { font-size: 14px; }
  .feature span { font-size: 12px; }

  .section-head { margin-bottom: 14px; }
  .service-grid, .service-grid.large { grid-template-columns: 1fr; gap: 12px; }
  .service-grid.large { gap: 16px; }
  .service-grid.large .service-card, .service-grid.large .service-card:nth-child(n+4) { grid-column: auto; }
  .service-grid.large .service-card > img { height: 170px; }
  .service-grid.large .service-body { padding: 16px; }
  /* Home: compact rows with the photo on the left */
  .service-grid.compact .service-card { flex-direction: row; border-radius: 12px; }
  .service-grid.compact .service-card > img { width: 112px; height: auto; min-height: 100px; flex: none; }
  .service-grid.compact .service-body { padding: 12px 14px; justify-content: center; gap: 3px; }
  .service-grid.compact h3 { font-size: 15px; }
  .service-grid.compact p { font-size: 13px; }
  .service-grid.compact .arrow-btn { display: none; }

  .split { grid-template-columns: 1fr; gap: 14px; }
  .split > img { height: 190px; border-radius: 12px; }
  .lead { font-size: 15px; }
  .check-list li { font-size: 15px; }

  .stats { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 18px 14px; border-radius: 12px; }
  .stats strong { font-size: 22px; }
  .stats span { font-size: 13px; }

  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 16px; border-radius: 12px; gap: 14px; }
  .step-num { width: 36px; height: 36px; font-size: 16px; }
  .step h3 { font-size: 16px; }
  .step p { font-size: 14px; }

  .quote-card { display: flex; flex-direction: column-reverse; border-radius: 12px; align-items: stretch; }
  .quote-card > img { height: 150px; min-height: 0; }
  .quote-card .quote-body { padding: 18px 20px 20px; gap: 10px; }
  .quote-mark { display: none; }
  .quote-card blockquote { font-size: 15px; }
  .quote-split { grid-template-columns: 1fr; border-radius: 12px; }
  .quote-split > img { height: 220px; }
  .quote-panel { padding: 28px 22px; gap: 14px; }
  .quote-panel blockquote { font-size: 16px; }

  .app-section { padding: 36px 0 30px; margin-top: 20px; }
  .app-section .container { padding: 0; gap: 12px; }
  .app-section .container > *:not(.phones) { margin-left: 20px; margin-right: 20px; }
  .eyebrow { font-size: 13px; gap: 12px; }
  .eyebrow::before, .eyebrow::after { width: 32px; }
  .app-section h2 { font-size: 26px; }
  .app-section p { font-size: 15px; }
  .app-section .btn { align-self: stretch; min-height: 54px; font-size: 16px; }
  .phones { justify-content: flex-start; gap: 18px; margin-top: 8px; width: 100%; overflow-x: auto; padding: 18px 75px 22px; scroll-snap-type: x mandatory; }
  .phones img, .phones img:nth-child(2) { width: 240px; flex: none; scroll-snap-align: center; box-shadow: 0 14px 28px rgba(0, 0, 0, .4); }
  .swipe-hint { display: block; font-size: 13px !important; color: #C9D2E3 !important; }

  .cta-band { flex-direction: column; align-items: stretch; padding: 24px 20px; border-radius: 12px; gap: 16px; }
  .cta-band h2 { font-size: 22px; }
  .cta-band p { font-size: 15px; }

  .story-card { grid-template-columns: 1fr; padding: 0; gap: 0; overflow: hidden; border-radius: 12px; }
  .story-card img { height: 150px; border-radius: 0; }
  .story-card .split-text { padding: 18px 18px 20px; gap: 8px; }
  .mvv { grid-template-columns: 1fr; padding: 20px 18px; gap: 20px; border-radius: 12px; }
  .mvv-item + .mvv-item { border-top: 1px solid var(--line); padding-top: 20px; }
  .mvv-item .icon { width: 36px; height: 36px; }
  .mvv-item h3 { font-size: 17px; }
  .mvv-item p, .mvv-item ul { font-size: 14px; }

  .job { padding: 16px; }
  .job h3 { font-size: 16px; }
  .job p { font-size: 13px; }

  .contact-grid, .location-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-info { gap: 10px; }
  .contact-info h2, .contact-form h2 { font-size: 22px; }
  .info-row { align-items: center; min-height: 60px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
  .info-row strong, .info-row span { font-size: 14px; }
  .contact-form { padding: 20px 18px; border-radius: 12px; }
  .map { height: 210px; border-radius: 12px; }
  .location-card { padding: 22px 20px; border-radius: 12px; }
  .location-card .btn { align-self: stretch; }

  .site-footer { padding: 28px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-col.hide-phone { display: none; }

  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 6px calc(12px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(11, 24, 54, .10);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; font-size: 11px; font-weight: 600; color: var(--muted); }
  .tabbar a[aria-current="page"] { color: var(--orange); font-weight: 700; }
  .tabbar .icon { stroke-width: 1.9; }
  .tabbar .tab-quote { justify-content: flex-start; color: var(--ink); font-weight: 700; }
  .tabbar .tab-quote span.bubble {
    width: 50px; height: 50px; margin-top: -24px; border-radius: 50%; background: var(--orange); color: #fff;
    border: 4px solid #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(204, 68, 0, .35);
  }
}

/* ---------- Manual page ---------- */
.eyebrow-left { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-on-dark); }
.eyebrow-left::before { content: ""; width: 36px; height: 3px; background: var(--orange-bright); }
.bar-title { padding-left: 14px; border-left: 6px solid var(--orange-bright); line-height: 1.1; margin-bottom: 22px; }
.download-card { padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; border-radius: var(--radius); }
.pdf-badge { width: 64px; height: 76px; border-radius: 8px; background: #C8281E; color: #fff; font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center; flex: none; }
.download-text { flex: 1 1 280px; min-width: 0; }
.download-text h3 { font-weight: 800; font-size: 24px; line-height: 1.2; }
.download-text p { font-size: 17px; color: var(--muted); margin-top: 4px; }
.btn-download { min-height: 60px; padding: 0 44px; font-size: 19px; }
.btn-download .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: block; }
.video-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.video-body { padding: 18px 20px 22px; }
.video-body h3 { font-weight: 800; font-size: 20px; }
.video-body p { font-size: 15px; color: var(--muted); margin-top: 4px; }

@media (max-width: 1100px) {
  .main-nav { gap: 14px; font-size: 14px; }
  .video-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 0; font-size: 16px; }
  .eyebrow-left { font-size: 13px; gap: 10px; }
  .eyebrow-left::before { width: 28px; }
  .bar-title { padding-left: 12px; border-left-width: 5px; margin-bottom: 14px; }
  .download-card { padding: 18px 16px; gap: 16px 14px; border-radius: 12px; }
  .pdf-badge { width: 48px; height: 58px; font-size: 15px; border-radius: 7px; }
  .download-text { flex: 1 1 0; }
  .download-text h3 { font-size: 17px; }
  .download-text p { font-size: 14px; }
  .btn-download { flex: 1 1 100%; min-height: 52px; padding: 0 20px; font-size: 16px; }
  .video-grid { grid-template-columns: 1fr; gap: 14px; }
  .video-card { border-radius: 12px; }
  .video-body { padding: 14px 16px 18px; }
  .video-body h3 { font-size: 18px; }
  .video-body p { font-size: 14px; }
}

/* Video pop-up player */
.video-dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; overflow: visible; }
.video-dialog::backdrop { background: rgba(11, 24, 54, .88); }
.video-dialog video { display: block; width: auto; height: auto; max-width: 92vw; max-height: 86vh; border-radius: 14px; background: #000; }
.video-dialog video.is-portrait { height: min(86vh, 900px); }
.video-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.video-close .icon { stroke-width: 2.4; }

/* Manual downloads list */
.manual-list { border-radius: var(--radius); }
.manual-row { padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.manual-row + .manual-row { border-top: 1px solid var(--line); }
.manual-row .pdf-badge { width: 52px; height: 62px; font-size: 16px; border-radius: 7px; }
.manual-row .download-text h3 { font-size: 21px; }
.manual-row .download-text p { font-size: 15px; margin-top: 3px; }
.manual-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.manual-actions .btn { min-height: 48px; padding: 0 22px; font-size: 16px; }
@media (max-width: 900px) {
  .manual-list { border-radius: 12px; }
  .manual-row { padding: 16px; gap: 12px; }
  .manual-row .pdf-badge { width: 44px; height: 52px; font-size: 14px; }
  .manual-row .download-text h3 { font-size: 17px; }
  .manual-row .download-text p { font-size: 13px; }
  .manual-actions { flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .manual-actions .btn { padding: 0 10px; font-size: 15px; }
}

/* ---------- Apps page: CL Delivery features ---------- */
.section[id] { scroll-margin-top: 84px; } /* clears the sticky header when a link jumps to #features or #download */
.banner-text .hero-actions { margin-top: 8px; }
.section-head .lead { max-width: 760px; }

/* Apps page banner: the two buttons and the App Store / Google Play badges share one 2-column grid,
   so each badge sits right under a button with the same width and height */
.banner-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: fit-content; max-width: 100%; margin-top: 8px; }
.banner-ctas .btn { white-space: nowrap; }
.store-badge { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 1px solid #A6A6A6; border-radius: 8px; background: #000; color: #fff; }
.store-badge:hover { opacity: 1; border-color: #fff; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge span { display: flex; flex-direction: column; font-size: 19px; font-weight: 700; line-height: 1.1; }
.store-badge small { font-size: 11px; font-weight: 500; letter-spacing: .02em; }
@media (max-width: 1199px) { /* the half-width banner is too narrow for two buttons side by side */
  .banner-ctas { width: auto; }
  .banner-ctas .btn { grid-column: 1 / -1; } /* buttons full width, the two badges side by side */
  .store-badge { padding: 0 12px; }
  .store-badge span { font-size: 17px; }
}
@media (max-width: 359px) { .banner-ctas .store-badge { grid-column: 1 / -1; } } /* small phones: one badge per row */

.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role-card { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.role-head { display: flex; align-items: center; gap: 14px; }
.role-icon { width: 56px; height: 56px; border-radius: 14px; background: #FFF0E6; color: var(--icon); display: flex; align-items: center; justify-content: center; flex: none; }
.role-icon .icon { width: 30px; height: 30px; }
.role-tag, .flow-who { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.role-card h3 { font-weight: 800; font-size: 20px; line-height: 1.2; }
.role-card > p { font-size: 15px; color: var(--muted); }
.role-card .check-list { gap: 10px; margin: 0; }
.role-card .check-list li { font-size: 15px; }
.role-card .check-list .icon { width: 20px; height: 20px; }
.role-links { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; }
.role-links .text-link { font-size: 14px; }

/* Order flow: numbered cards joined by a short orange line */
.flow { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-step { position: relative; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.flow-step h3 { font-weight: 700; font-size: 18px; margin-top: 2px; }
.flow-step p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.flow-step + .flow-step::before { content: ""; position: absolute; top: 43px; left: -21px; width: 20px; height: 2px; background: var(--orange-bright); }

/* What's new */
.new-panel { background: var(--navy); color: #fff; border-radius: 16px; padding: 36px 40px; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px 28px; }
.new-intro { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.new-intro h2 { font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.new-intro p { font-size: 16px; color: var(--on-dark); }
.new-item { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.new-item .icon { width: 34px; height: 34px; color: var(--orange-on-dark); }
.new-item h3 { font-weight: 700; font-size: 19px; }
.new-item p { font-size: 15px; color: var(--on-dark); }

/* Ways to work with us */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.plan-card.featured { border: 2px solid var(--orange-bright); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.plan-head .icon { width: 40px; height: 40px; color: var(--icon); }
.plan-badge { padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text); }
.plan-card.featured .plan-badge { background: var(--orange); border-color: var(--orange); color: #fff; }
.plan-card h3 { font-weight: 800; font-size: 22px; line-height: 1.2; }
.plan-card p { font-size: 15px; color: var(--muted); }
.plan-card .plan-for { color: var(--text); }
.plan-card .text-link { margin-top: auto; }

@media (max-width: 1100px) {
  .role-card, .plan-card { padding: 22px; }
  .role-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(odd)::before { display: none; } /* no line into the first card of a row */
  .new-panel { grid-template-columns: 1fr 1fr; padding: 30px; }
  .new-intro { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .section[id] { scroll-margin-top: 68px; }
  .banner-text .hero-actions { margin-top: 2px; }
  .banner-ctas { margin-top: 2px; }
  .role-grid, .plan-grid { grid-template-columns: 1fr; gap: 14px; }
  .role-card, .plan-card { padding: 20px 18px; gap: 12px; border-radius: 12px; }
  .role-head { flex-direction: row; align-items: center; gap: 14px; }
  .role-icon { width: 48px; height: 48px; border-radius: 12px; }
  .role-icon .icon { width: 26px; height: 26px; }
  .role-card h3, .plan-card h3 { font-size: 19px; }
  .role-card .check-list li { font-size: 14px; }
  .role-card > p, .plan-card p { font-size: 14px; }
  .plan-head .icon { width: 34px; height: 34px; }

  /* Flow becomes a vertical list: number on the left, joined by a short line */
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow-step { flex-direction: row; align-items: flex-start; padding: 16px; gap: 14px; border-radius: 12px; }
  .flow-step .step-num { width: 36px; height: 36px; font-size: 16px; }
  .flow-step h3 { font-size: 16px; }
  .flow-step p { font-size: 14px; }
  .flow-step:nth-child(odd)::before { display: block; }
  .flow-step + .flow-step::before { top: -13px; left: 33px; width: 2px; height: 12px; }

  .new-panel { grid-template-columns: 1fr; padding: 22px 18px; gap: 14px; border-radius: 12px; }
  .new-intro h2 { font-size: 22px; }
  .new-intro p, .new-item p { font-size: 14px; }
  .new-item { padding: 18px; }
  .new-item h3 { font-size: 17px; }
}

/* ---------- Contact form states (ASP.NET Core) ---------- */
.field-error { font-size: 13px; font-weight: 600; color: #B42318; }
.field-validation-valid { display: none; }
.field .input-validation-error { border-color: #B42318; box-shadow: 0 0 0 1px #B42318; }
.form-alert { padding: 12px 14px; border-radius: 8px; background: #FEF3F2; border: 1px solid #FDA29B; color: #B42318; font-size: 14px; font-weight: 600; }
.form-sent { align-items: flex-start; }
.form-sent > .icon { width: 44px; height: 44px; color: #12805C; }
.form-sent p { color: var(--text); }
/* Spam trap: kept off-screen so people never see or fill it */
.field-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Cards and messages that js/main.js shows and hides */
[hidden] { display: none !important; }
