/* ============================================================
   VSV SMART LOGISTIC — style.css
   Palette derived from the official logo (steel blue family)
   ============================================================ */

:root {
  --paper: #F4F8FC;
  --white: #FFFFFF;
  --ice: #E9F1F9;
  --ice-2: #DCE8F3;
  --brand: #35618F;
  --brand-strong: #27496E;
  --brand-deep: #152C47;
  --ink: #12253C;
  --muted: #54697F;
  --sky: #8FB2D4;
  --line: rgba(18, 37, 60, 0.14);
  --font-display: "Sora", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 20px;
  --pad-section: clamp(5rem, 10vw, 8.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--brand); color: var(--white); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; }

h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }

a { color: var(--brand); text-decoration: none; }

.container { width: min(1200px, 92%); margin-inline: auto; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 300;
  background: var(--brand-deep); color: #fff; padding: 0.6rem 1rem;
  border-radius: 8px; transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* film grain */
.grain { display: none; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 1rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease-out), background-color 0.35s var(--ease-out),
              color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.btn .ic { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.btn:hover .ic { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn-solid { background: var(--brand); color: #fff; box-shadow: 0 10px 26px -12px rgba(39, 73, 110, 0.7); }
.btn-solid:hover { background: var(--brand-deep); transform: translateY(-2px); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.btn-light { background: var(--white); color: var(--brand-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

.btn-sm { padding: 0.7rem 1.25rem; font-size: 0.74rem; }
.btn-wide { width: 100%; justify-content: center; padding: 1.1rem; }

.ic { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(244, 248, 252, 0.97);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 1rem; }

.brand {
  display: inline-flex; align-items: center; justify-content: center;
  width: 190px; height: 78px; overflow: hidden; flex: 0 0 auto;
}
.brand img {
  width: 190px; max-width: none; height: auto; flex: 0 0 auto;
}

.main-nav { display: flex; gap: 2rem; }
.nav-link {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  position: relative; padding: 0.4rem 0; transition: color 0.3s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--white); cursor: pointer; padding: 0 11px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease-out); }
.nav-toggle.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 190; background: var(--brand-deep);
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: 6rem 8% 3rem; opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-link {
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem); font-weight: 700;
  color: var(--white); display: flex; align-items: baseline; gap: 1rem;
  padding: 0.4rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.mobile-menu.open .mobile-link { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.32s; }
.mobile-link em { font-family: var(--font-mono); font-style: normal; font-size: 0.75rem; color: var(--sky); }
.mobile-link:hover { color: var(--sky); }
.mobile-contact { font-family: var(--font-mono); font-size: 0.85rem; line-height: 2; }
.mobile-contact a { color: rgba(255, 255, 255, 0.75); }

/* ---------------- Hero ---------------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 130px; position: relative; overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(143, 178, 212, 0.28), transparent 70%),
    radial-gradient(45% 40% at 5% 85%, rgba(53, 97, 143, 0.1), transparent 70%),
    var(--paper);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; opacity: 0.28;
  mask-image: radial-gradient(75% 65% at 50% 35%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 65% at 50% 35%, #000 30%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; left: clamp(-0.8rem, 2.5vw, 1.25rem); right: auto; top: clamp(7.6rem, 16vw, 10rem);
  width: min(48vw, 640px); aspect-ratio: 19 / 10; pointer-events: none;
  background: url('../assets/us-flag-watermark.svg') center/contain no-repeat;
  opacity: 0.08; z-index: 0;
  transform-origin: left center;
  animation: flagWave 13s ease-in-out infinite;
}
@keyframes flagWave {
  0%   { transform: perspective(1200px) rotateY(0deg) skewY(0deg) translate3d(0,0,0) scale(1); }
  20%  { transform: perspective(1200px) rotateY(-4.5deg) skewY(-1.2deg) translate3d(5px,-3px,0) scale(1.01); }
  40%  { transform: perspective(1200px) rotateY(3deg) skewY(1deg) translate3d(-2px,2px,0) scale(0.998); }
  60%  { transform: perspective(1200px) rotateY(-3.5deg) skewY(-0.8deg) translate3d(4px,-2px,0) scale(1.006); }
  80%  { transform: perspective(1200px) rotateY(2.4deg) skewY(0.7deg) translate3d(-2px,1px,0) scale(1); }
  100% { transform: perspective(1200px) rotateY(0deg) skewY(0deg) translate3d(0,0,0) scale(1); }
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; flex: 1; position: relative; z-index: 1; padding-bottom: 3.5rem;
}

.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em;
  color: var(--brand-strong); background: var(--white); border: 1px solid var(--line);
  padding: 0.55rem 1rem; border-radius: 999px; margin-bottom: 2rem;
  animation: fadeUp 0.9s var(--ease-out) 0.15s both;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); display: inline-block; flex: none; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(53, 97, 143, 0.45); } 50% { box-shadow: 0 0 0 7px rgba(53, 97, 143, 0); } }

.hero-title { font-size: clamp(2.05rem, 6vw, 4.6rem); font-weight: 800; text-transform: uppercase; }
.hero-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-line > span { display: block; white-space: nowrap; transform: translateY(112%); animation: lineUp 1s var(--ease-out) forwards; }
.hero-line:nth-child(1) > span { animation-delay: 0.25s; }
.hero-line:nth-child(2) > span { animation-delay: 0.4s; }
.hero-line:nth-child(3) > span { animation-delay: 0.55s; }
@keyframes lineUp { to { transform: translateY(0); } }

.txt-outline { font-style: normal; color: transparent; -webkit-text-stroke: 2.5px var(--brand); }
.hero-title .dot { font-style: normal; color: var(--brand); }

.hero-sub {
  max-width: 34rem; margin-top: 1.8rem; color: var(--muted); font-size: 1.06rem;
  animation: fadeUp 0.9s var(--ease-out) 0.7s both;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; animation: fadeUp 0.9s var(--ease-out) 0.85s both; }

.hero-chips {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.4rem;
  animation: fadeUp 0.9s var(--ease-out) 1s both;
}
.hero-chips li {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted);
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0.65rem 0.95rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.hero-chips li:hover { transform: translateY(-3px); border-color: var(--brand); }
.hero-chips .ic { width: 16px; height: 16px; color: var(--brand); }
.hero-chips strong { color: var(--ink); font-weight: 700; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

/* hero visual */
.hero-visual { position: relative; animation: frameIn 1.2s var(--ease-out) 0.45s both; }
@keyframes frameIn { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0% 0); } }

.hero-frame {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6;
  box-shadow: 0 40px 80px -40px rgba(21, 44, 71, 0.55);
  border: 1px solid var(--line);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }

.waybill {
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; width: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.15rem 1.25rem 1rem; box-shadow: 0 30px 60px -30px rgba(21, 44, 71, 0.5);
  font-family: var(--font-mono);
  animation: fadeUp 1s var(--ease-out) 1.05s both;
}
.waybill-head {
  display: flex; justify-content: space-between; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--ink); border-bottom: 1.5px dashed var(--line);
  padding-bottom: 0.7rem; margin-bottom: 0.7rem;
}
.waybill-rows { display: grid; gap: 0.45rem; }
.waybill-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.72rem; }
.waybill-rows dt { color: var(--muted); letter-spacing: 0.04em; flex-shrink: 0; white-space: nowrap; }
.waybill-rows dd { font-weight: 700; color: var(--ink); text-align: right; white-space: nowrap; }
.waybill-status { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--brand) !important; }
.barcode {
  margin-top: 0.9rem; height: 26px; border-radius: 3px; opacity: 0.85;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 8px, transparent 8px 10px, var(--ink) 10px 11px, transparent 11px 15px);
}

/* ticker marquee */
.ticker {
  position: relative; z-index: 1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--white); overflow: hidden; padding: 1.05rem 0;
}
.ticker-track { display: flex; width: max-content; animation: ticker 55s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; }
.ticker-group span {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em;
  color: var(--muted); padding: 0 2.2rem; position: relative; white-space: nowrap;
}
.ticker-group span::after { content: "◆"; position: absolute; right: -0.45rem; font-size: 0.5rem; color: var(--sky); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------------- Sections ---------------- */
.section { padding: var(--pad-section) 0; }
.section-ice { background: var(--ice); }

.chapter {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand);
}
.chapter-no { background: var(--brand); color: #fff; border-radius: 8px; padding: 0.3rem 0.55rem; }
.chapter-rule { flex: 0 0 3.5rem; height: 1.5px; background: var(--brand); opacity: 0.5; }
.chapter-name { color: var(--muted); }

.section-head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head p { color: var(--muted); margin-top: 1.1rem; font-size: 1.05rem; }

/* ---------------- Services ---------------- */
.service {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
}
.service:first-of-type { border-top: none; }
.service:nth-of-type(even) .service-media { order: 2; }

.service-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 34px 70px -38px rgba(21, 44, 71, 0.5); }
.service-media img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.service:hover .service-media img { transform: scale(1.045); }
.service-tag {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  background: rgba(244, 248, 252, 0.9); backdrop-filter: blur(8px);
  color: var(--brand-deep); padding: 0.45rem 0.8rem; border-radius: 999px;
}

.service-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); margin-bottom: 0.9rem;
}
.service-eyebrow .ic { width: 17px; height: 17px; }
.service-desc { color: var(--muted); margin-top: 1rem; }

.benefits { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.65rem; }
.benefits li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.95rem; }
.benefits .ic { width: 17px; height: 17px; color: var(--brand); margin-top: 0.2rem; }

.price-block {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.7rem;
  margin-top: 1.8rem; padding: 1.2rem 1.4rem;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 14px;
}
.price-from { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; color: var(--muted); }
.price-value { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--brand-strong); letter-spacing: -0.01em; }
.price-note { width: 100%; font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; }

.rate-factors { font-size: 0.82rem; color: var(--muted); margin-top: 0.9rem; }
.service-cta-note { font-size: 0.95rem; margin-top: 1.4rem; font-weight: 500; }
.service .btn { margin-top: 1.2rem; }

.disclaimer {
  margin-top: 2.5rem; padding: 1.2rem 1.4rem; border: 1px dashed var(--line); border-radius: 14px;
  font-size: 0.82rem; color: var(--muted); background: var(--white);
}

/* ---------------- Coverage ---------------- */
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.coverage-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.8rem, 3.5vw, 2.6rem); position: relative; overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.coverage-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -35px rgba(21, 44, 71, 0.45); }
.coverage-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--ice); color: var(--brand); margin-bottom: 1.4rem;
}
.coverage-icon .ic { width: 26px; height: 26px; }
.coverage-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.coverage-card h3 { margin-bottom: 0.8rem; }
.coverage-card > p { color: var(--muted); font-size: 0.96rem; }
.route-svg { width: 100%; height: 56px; color: var(--brand); margin-top: 1.6rem; opacity: 0.8; }
.coverage-meta { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--brand); margin-top: 0.8rem; }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-copy h2 { margin-bottom: 1.4rem; }
.about-copy p { color: var(--muted); margin-bottom: 1.1rem; }
.about-points { list-style: none; margin-top: 1.6rem; display: grid; gap: 0.7rem; }
.about-points li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; font-size: 0.95rem; }
.about-points .ic { width: 18px; height: 18px; color: var(--brand); }
.about-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 34px 70px -38px rgba(21, 44, 71, 0.5); }
.about-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.why-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.7rem 1.6rem;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s var(--ease-out);
}
.why-card:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: 0 24px 50px -30px rgba(21, 44, 71, 0.4); }
.why-card .ic { width: 24px; height: 24px; color: var(--brand); margin-bottom: 1rem; }
.why-card h4 { margin-bottom: 0.45rem; }
.why-card p { font-size: 0.88rem; color: var(--muted); }

/* ---------------- Steps ---------------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; position: relative; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 2rem 1.5rem 1.7rem; position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.step:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -30px rgba(21, 44, 71, 0.4); }
.step-no {
  position: absolute; top: 1.1rem; right: 1.2rem;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; color: var(--sky);
}
.step::after {
  content: ""; position: absolute; top: 2.3rem; left: calc(100% - 0.1rem); width: 1.4rem;
  border-top: 2px dashed var(--sky); opacity: 0.8;
}
.step:last-child::after { display: none; }
.step-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand); color: #fff; margin-bottom: 1.2rem;
}
.step-icon .ic { width: 23px; height: 23px; }
.step h4 { margin-bottom: 0.5rem; }
.step p { font-size: 0.87rem; color: var(--muted); }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 1.5rem; align-items: start; }

.quote-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0.85rem 1rem; width: 100%;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: var(--white);
  box-shadow: 0 0 0 4px rgba(53, 97, 143, 0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }
.form-note.sent { color: var(--brand-strong); font-weight: 600; }

.contact-card {
  background: var(--brand-deep); color: #fff; border-radius: var(--radius);
  padding: clamp(1.8rem, 3.5vw, 2.4rem); position: sticky; top: 110px;
}
.contact-logo { height: 74px; width: auto; border-radius: 10px; margin-bottom: 1.4rem; }
.contact-card h3 { color: #fff; margin-bottom: 1.4rem; }
.contact-list { list-style: none; display: grid; gap: 1.15rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.93rem; }
.contact-list .ic { width: 19px; height: 19px; color: var(--sky); margin-top: 0.15rem; }
.contact-list a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.3); transition: border-color 0.3s, color 0.3s; word-break: break-all; }
.contact-list a:hover { color: var(--sky); border-color: var(--sky); }
.contact-hint {
  margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px dashed rgba(255, 255, 255, 0.25);
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.7);
}

/* ---------------- Final CTA ---------------- */
.final-cta { padding: 0 0 var(--pad-section); background: var(--paper); }
.final-cta-inner {
  background:
    radial-gradient(70% 90% at 85% 15%, rgba(143, 178, 212, 0.22), transparent 65%),
    var(--brand-deep);
  border-radius: calc(var(--radius) + 8px); text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.final-cta-inner::before, .final-cta-inner::after {
  content: ""; position: absolute; left: 3%; right: 3%; height: 0;
  border-top: 2px dashed rgba(255, 255, 255, 0.18);
}
.final-cta-inner::before { top: 1.1rem; }
.final-cta-inner::after { bottom: 1.1rem; }
.final-kicker {
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.3em; color: var(--sky); margin-bottom: 1.3rem;
}
.final-cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.final-cta p { color: rgba(255, 255, 255, 0.78); max-width: 34rem; margin: 1.2rem auto 0; }
.final-cta .hero-ctas { justify-content: center; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, 0.75); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand img { height: 66px; width: auto; border-radius: 10px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.9rem; max-width: 22rem; }
.footer-col { display: grid; gap: 0.55rem; align-content: start; font-size: 0.9rem; }
.footer-col h5 {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); margin-bottom: 0.6rem;
}
.footer-col a { color: rgba(255, 255, 255, 0.75); transition: color 0.3s; width: fit-content; word-break: break-word; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  padding: 1.5rem 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55);
}
.footer-tag { font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.7rem; }

/* ---------------- Scroll reveal ---------------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: translateY(0); }


/* Performance: skip rendering far-offscreen content until needed. */
.section, .final-cta, .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 3rem; }
  .hero-visual { max-width: 560px; }
  .waybill { left: 1rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { height: 72px; }
  .brand { width: 152px; height: 64px; }
  .brand img { width: 152px; height: auto; }
  .header-actions .btn { display: none; }
  .service { grid-template-columns: 1fr; gap: 1.6rem; }
  .service:nth-of-type(even) .service-media { order: 0; }
  .coverage-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero { padding-top: 110px; }
  .hero::after { width: min(84vw, 380px); top: 5.9rem; left: -0.8rem; right: auto; opacity: 0.06; }

  /* Keep photography compact on phones while preserving the same images/design. */
  .hero-visual { width: 100%; max-width: 100%; }
  .hero-frame { aspect-ratio: 16 / 10; max-height: 280px; }
  .service-media { width: min(100%, 420px); margin-inline: auto; }
  .service-media img { aspect-ratio: 16 / 9; max-height: 240px; }
  .about-media { width: min(100%, 420px); margin-inline: auto; }
  .about-media img { aspect-ratio: 16 / 9; max-height: 240px; }

  /* Mobile performance: avoid continuous/expensive effects while keeping the look. */
  .ticker-track { animation: none; }
  .pulse-dot { animation: none; }
  .hero-visual { animation: fadeUp 0.7s var(--ease-out) 0.2s both; }
  .service-tag { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(244, 248, 252, 0.98); }
  .service:hover .service-media img { transform: none; }

  .waybill { position: static; width: 100%; margin-top: 1rem; }
}

@media (max-width: 560px) {
  .brand { width: 142px; height: 60px; }
  .brand img { width: 142px; }
  .hero::after { width: min(92vw, 300px); top: 5.8rem; left: -1rem; right: auto; opacity: 0.052; }
  .hero-frame { aspect-ratio: 16 / 9; max-height: 220px; }
  .service-media, .about-media { width: min(100%, 340px); }
  .service-media img, .about-media img { max-height: 205px; }
  .why-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-chips li { width: 100%; }
  .hero-kicker { font-size: 0.62rem; letter-spacing: 0.1em; }
  .btn { padding: 0.95rem 1.4rem; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-line > span { transform: none; }
  .ticker-track { animation: none; }
  .hero::after { animation: none; }
}
