/* ============================================================
   PORTAGE — Freight & Moving concept
   Style system: near-black #171717 / off-white #fcfcfa /
   signal orange #ff602f · Geist + Geist Mono · 8px radius cards
   ============================================================ */

:root {
  --black: #171717;
  --white: #fcfcfa;
  --orange: #ff602f;
  --dark-orange: #db3400;
  --grey: #4b4b4b;
  --light-grey: #d2d2d2;
  --subtle-grey: #f0f0f0;
  --tr-black: rgba(23, 23, 23, .3);
  --tr-white: rgba(252, 252, 250, .2);

  --font-body: "Geist", Arial, sans-serif;
  --font-mono: "Geist Mono", monospace;

  --sp-2: .25rem;
  --sp-4: .5rem;
  --sp-6: .75rem;
  --sp-8: 1rem;
  --sp-12: 1.5rem;
  --sp-16: 2rem;
  --sp-24: 3rem;
  --sp-32: 4rem;
  --sp-48: 6rem;
  --sp-64: 8rem;

  --r-xs: .25rem;
  --r-sm: .5rem;
  --r-md: .75rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--grey);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }

.container { max-width: 1800px; margin-inline: auto; padding-inline: 2rem; }
.section { padding-block: var(--sp-64); }
.section.dark { background-color: var(--black); }
.section.subtle-grey { background-color: var(--subtle-grey); }

/* ---------- type ---------- */
.h1, .h2, .h3, .h5, .h6 { font-weight: 400; line-height: 1.2; color: var(--black); }
.h1 { font-size: 64px; letter-spacing: -2.5px; }
.h2 { font-size: 48px; letter-spacing: -1.5px; }
.h3 { font-size: 48px; letter-spacing: -1.5px; }
.h5 { font-size: 24px; letter-spacing: -.25px; }
.h6 { font-size: 22px; letter-spacing: -.1px; }
.white { color: var(--white); }
.center { text-align: center; }

.subtitle {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--black);
}
.subtitle.white { color: var(--white); }
.subtitle.orange { color: var(--dark-orange); }
.subtitle.center { text-align: center; }

.text { font-size: 16px; line-height: 1.5; color: var(--grey); }
.text.light { color: var(--light-grey); }
.text.white { color: var(--white); }
.big-text { font-size: 20px; line-height: 1.4; }

.orange-square {
  flex: none;
  width: 1rem; height: 1rem;
  border-radius: var(--r-xs);
  background-color: var(--orange);
}
.orange-square.small { width: .75rem; height: .75rem; }

/* ---------- buttons (roll-hover) ---------- */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-size: 16px;
  color: var(--black);
  transition: background-color .3s ease, border-color .3s ease;
  cursor: pointer;
}
.btn-text-wrap { display: block; height: 20px; overflow: hidden; }
.btn-text-inner {
  display: flex; flex-direction: column; align-items: center;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.btn:hover .btn-text-inner { transform: translateY(-20px); }
.btn-text-item {
  display: flex; gap: .5rem; align-items: center;
  height: 20px; line-height: 20px; white-space: nowrap;
}
.btn-arrow { font-weight: 500; }
.orange-text { color: var(--orange); }
.dark-orange-text { color: var(--dark-orange); }

.btn-white { background-color: var(--white); }
.btn-white:hover { background-color: #ffffff; }
.btn-orange { background-color: var(--orange); }
.btn-orange:hover { background-color: var(--dark-orange); }
.btn-blur {
  background-color: var(--tr-white);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--white);
}
.btn-blur:hover { background-color: rgba(252, 252, 250, .3); }
.btn-outline { background-color: var(--white); border: 1px solid var(--black); }
.btn-outline-dark { background-color: transparent; border: 1px solid var(--black); }
.btn-outline-dark:hover { background-color: rgba(23, 23, 23, .05); }
.btn-full { width: 100%; }

/* ---------- text links (orange underline grow) ---------- */
.text-link { display: inline-block; color: var(--white); font-size: 16px; }
.link-line { display: block; width: 0%; height: 1px; background-color: var(--orange); transition: width .35s ease; }
.text-link:hover .link-line { width: 100%; }

/* ---------- navbar ---------- */
.navbar { position: absolute; inset: 0 0 auto; z-index: 1000; padding-top: var(--sp-6); }
.navbar-pill {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--sp-16);
  padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-12);
  border: 1px solid var(--light-grey);
  border-radius: var(--r-md);
  background-color: var(--subtle-grey);
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark { width: 26px; height: 22px; }
.brand-mark.big { width: 34px; height: 29px; }
.brand-name { font-size: 22px; font-weight: 500; letter-spacing: .5px; color: var(--black); }
.brand-name.big { font-size: 32px; color: var(--light-grey); }
.nav-links { display: flex; gap: var(--sp-16); margin-left: auto; }
.nav-link { color: var(--black); font-size: 16px; padding-block: .35rem; position: relative; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0%; height: 1px; background-color: var(--dark-orange);
  transition: width .3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: var(--sp-8); }
.menu-button {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--black); border-radius: var(--r-sm);
}
.menu-button span { display: block; width: 22px; height: 2px; background-color: var(--black); transition: transform .3s ease, opacity .3s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; background-color: var(--black); overflow: clip; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-gradient {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(180deg, transparent 55%, var(--black));
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; padding-bottom: var(--sp-32); }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-16); width: 100%; }
.hero-headline { display: flex; flex-direction: column; gap: var(--sp-16); max-width: 40rem; }
.hero-headline .h1 { color: var(--white); }
.hero-buttons { display: flex; gap: var(--sp-8); }
.hero-rail { display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-8); }
.hero-rail .text-link { text-align: right; }

/* ---------- partners ---------- */
.partners { padding-block: var(--sp-32); border-bottom: 1px solid rgba(252, 252, 250, .12); }
.partners .subtitle { margin-bottom: var(--sp-24); }
.marquee { position: relative; overflow: clip; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--black), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--black), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: var(--sp-48); padding-right: var(--sp-48); }
.partner-logo {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--white); font-size: 24px; font-weight: 500; white-space: nowrap;
}
.partner-logo svg { width: 22px; height: 22px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); margin-bottom: var(--sp-48); }
.about-lede { max-width: 45rem; }
.about-images { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); margin-bottom: var(--sp-24); }
.img-frame { border-radius: var(--r-sm); overflow: clip; position: relative; min-width: 0; }
.about-images .img-frame { aspect-ratio: 3 / 2; }
.img-frame > img { width: 100%; height: 100%; object-fit: cover; }
.parallax > img { height: 120%; }
.about-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-16); }
.about-foot .text { max-width: 34rem; }

/* ---------- services ---------- */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-32); margin-bottom: var(--sp-48); }
.services-head-left .subtitle { margin-bottom: var(--sp-12); }
.services-head-left .h2 { max-width: 46rem; }
.services-head-right { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-12); max-width: 32rem; }
.services-body { display: grid; grid-template-columns: 15rem 1fr; gap: var(--sp-16); }
.side-label { align-self: start; }
.service-list { display: flex; flex-direction: column; gap: var(--sp-8); }

.service-card {
  display: grid;
  grid-template-columns: 21rem 1fr;
  gap: var(--sp-16);
  padding: var(--sp-8);
  border: 1px solid var(--light-grey);
  border-radius: var(--r-sm);
  background-color: var(--white);
  cursor: pointer;
}
.svc-media { display: flex; align-items: flex-start; }
.svc-media-inner {
  width: 1rem; height: 1rem;
  border-radius: var(--r-xs);
  background-color: var(--orange);
  overflow: clip;
  position: relative;
}
.svc-media-inner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
}
.svc-info { display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-12); padding-block: var(--sp-4); min-height: 10rem; }
.svc-text { display: flex; flex-direction: column; gap: var(--sp-4); }
.svc-text .text { max-width: 36rem; }
.svc-pills { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.pill {
  padding: 10px 18px;
  border-radius: var(--r-xs);
  background-color: var(--subtle-grey);
  color: var(--black);
  font-size: 15px;
  white-space: nowrap;
}

/* ---------- why choose us ---------- */
.wcu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-32); align-items: stretch; }
.wcu-media { min-height: 65vh; }
.wcu-quote {
  position: absolute; left: var(--sp-12); bottom: var(--sp-12);
  max-width: 22rem;
  display: flex; flex-direction: column; gap: var(--sp-16);
}
.blur-card {
  padding: var(--sp-12);
  border-radius: var(--r-sm);
  background-color: var(--tr-black);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.quote-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-8); }
.quote-name { color: var(--white); font-size: 16px; text-transform: uppercase; letter-spacing: .3px; }
.quote-role { color: var(--light-grey); font-size: 15px; margin-top: .2rem; }
.quote-avatar { width: 56px; height: 56px; border-radius: var(--r-xs); object-fit: cover; }

.wcu-body { display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-32); padding-block: var(--sp-12); }
.wcu-headline .subtitle { margin-bottom: var(--sp-12); }
.wcu-headline .h3 { max-width: 36rem; }
.counter-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-16); }
.counter-block { border-left: 1px solid var(--orange); padding-left: var(--sp-8); }
.counter-num { display: flex; align-items: flex-start; color: var(--white); font-size: 72px; line-height: 1; height: 72px; overflow: hidden; }
.digit-col { display: flex; flex-direction: column; height: max-content; }
.digit-col span { height: 72px; line-height: 72px; }
.counter-plus { color: var(--white); }
.counter-label { color: var(--light-grey); font-size: 16px; margin-top: var(--sp-8); }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
.process-side { position: relative; }
.process-side-inner {
  position: sticky; top: var(--sp-32);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: calc(100vh - 8rem);
}
.process-side-head .subtitle { margin-bottom: var(--sp-12); }
.process-side-head .h2 { max-width: 30rem; }
.process-counter {
  display: flex;
  color: var(--orange);
  font-size: 110px; line-height: 1; letter-spacing: -2px;
}
.proc-roll { display: block; height: 110px; overflow: clip; }
.proc-digits { display: flex; flex-direction: column; }
.proc-digits span { height: 110px; line-height: 110px; }
.process-list { display: flex; flex-direction: column; gap: var(--sp-16); }
.process-item { position: relative; border-radius: var(--r-sm); overflow: clip; }
.process-item > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.process-caption {
  position: absolute; left: var(--sp-8); right: var(--sp-8); bottom: var(--sp-8);
  display: flex; gap: var(--sp-8); align-items: flex-start;
}
.process-caption .h5 { margin-bottom: var(--sp-4); }
.process-caption .text { max-width: 34rem; }

/* ---------- pricing ---------- */
.pricing-head { text-align: center; margin-bottom: var(--sp-48); }
.pricing-head .subtitle { margin-bottom: var(--sp-12); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-16); }
.pricing-card {
  display: flex; flex-direction: column; gap: var(--sp-16);
  padding: var(--sp-16);
  border: 1px solid var(--light-grey);
  border-radius: var(--r-sm);
  background-image: linear-gradient(180deg, var(--white), var(--light-grey));
}
.price-row { display: flex; align-items: flex-end; gap: .3rem; }
.price { font-size: 72px; line-height: 1; letter-spacing: -2px; color: var(--black); }
.price-unit { color: var(--grey); font-size: 16px; padding-bottom: .5rem; }
.feature-list { display: flex; flex-direction: column; gap: var(--sp-8); padding-top: var(--sp-8); border-top: 1px solid rgba(23,23,23,.12); }
.feature-list li { display: flex; align-items: center; gap: var(--sp-6); color: var(--grey); font-size: 16px; }
.plan-note { padding-top: var(--sp-8); border-top: 1px solid rgba(23,23,23,.12); }

/* ---------- cta ---------- */
.cta { position: relative; isolation: isolate; }
.cta-inner {
  min-height: 100vh;
  display: flex; align-items: center;
  background-image: linear-gradient(rgba(23,23,23,.35), rgba(23,23,23,.35)), url("../images/cta.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@supports (-webkit-touch-callout: none) {
  .cta-inner { background-attachment: scroll; }
}
.cta-content { display: flex; flex-direction: column; align-items: center; gap: var(--sp-16); width: 100%; }
.cta-buttons { display: flex; gap: var(--sp-8); }

/* ---------- testimonials ---------- */
.testimonial-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-16); margin-bottom: var(--sp-48); }
.testimonial-head .subtitle { margin-bottom: var(--sp-12); }
.testimonial-head .h2 { max-width: 38rem; }
.slider-nav { display: flex; gap: var(--sp-4); }
.slider-arrow {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--tr-white);
  border-radius: var(--r-sm);
  color: var(--white);
  transition: background-color .3s ease, color .3s ease;
}
.slider-arrow svg { width: 22px; height: 22px; }
.slider-arrow:hover { background-color: var(--white); color: var(--black); }
.slider-arrow:disabled { opacity: .35; cursor: default; }
.slider-arrow:disabled:hover { background-color: transparent; color: var(--white); }
.slider { overflow: clip; }
.slider-track { display: flex; gap: var(--sp-8); }
.testimonial-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-32);
  min-height: 26rem;
  padding: var(--sp-8) var(--sp-8) var(--sp-8);
  border: 1px solid var(--tr-white);
  border-radius: var(--r-sm);
  background-image: linear-gradient(180deg, var(--black), rgba(252,252,250,.14));
}
.testimonial-card .big-text { padding: var(--sp-4); }
.testimonial-card .quote-meta { padding: var(--sp-4); }

/* ---------- blog ---------- */
.blog-head { text-align: center; margin-bottom: var(--sp-48); }
.blog-head .subtitle { margin-bottom: var(--sp-12); }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
.blog-card { position: relative; border-radius: var(--r-sm); overflow: clip; }
.blog-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover > img { transform: scale(1.04); }
.blog-caption {
  position: absolute; left: var(--sp-8); bottom: var(--sp-8);
  max-width: 34rem;
  display: flex; gap: var(--sp-8); align-items: flex-start;
}
.blog-caption .h5 { margin-bottom: var(--sp-6); }
.blog-link { color: var(--white); font-size: 15px; display: inline-flex; align-items: center; gap: .4rem; }
.blog-link-arrow { transition: transform .3s ease; }
.blog-card:hover .blog-link-arrow { transform: translateX(4px); }

/* ---------- footer ---------- */
.footer { padding-bottom: var(--sp-24); }
.footer-grid { display: flex; justify-content: space-between; gap: var(--sp-48); flex-wrap: wrap; }
.footer-brand-col { display: flex; flex-direction: column; gap: var(--sp-16); max-width: 38rem; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-6); }
.social-row { display: flex; gap: var(--sp-4); }
.social-link {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background-color: var(--subtle-grey);
  color: var(--black);
  transition: background-color .3s ease, color .3s ease;
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { background-color: var(--orange); color: var(--black); }
.footer-links { display: flex; gap: var(--sp-48); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: var(--sp-8); min-width: 10rem; }
.footer-col .h6 { margin-bottom: var(--sp-8); }
.footer-link { color: var(--light-grey); font-size: 16px; transition: color .25s ease; }
.footer-link:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-16); flex-wrap: wrap;
  margin-top: var(--sp-64);
}

/* ---------- mobile nav panel (extends the floating pill) ---------- */
@media (max-width: 991px) {
  .nav-links {
    display: flex;
    position: absolute; left: 0; right: 0; top: calc(100% + .5rem);
    flex-direction: column; gap: 0;
    border: 1px solid var(--light-grey);
    border-radius: var(--r-md);
    background-color: var(--subtle-grey);
    padding: var(--sp-8);
    z-index: 999;
    opacity: 0; visibility: hidden; transform: translateY(-.5rem);
    pointer-events: none;
    transition: opacity .3s cubic-bezier(.22, 1, .36, 1),
                transform .3s cubic-bezier(.22, 1, .36, 1),
                visibility .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav-link { padding: .8rem 1rem; }
  .menu-button { display: flex; }
  .nav-right .btn { display: none; }
  html.menu-open, html.menu-open body { overflow: hidden; }
}

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .h1 { font-size: 56px; letter-spacing: -2px; }
  .h2 { font-size: 41px; letter-spacing: -1.5px; }
  .h3 { font-size: 40px; letter-spacing: -1px; }
  .services-body { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 16rem 1fr; }
  .process-counter { font-size: 90px; }
  .proc-roll { height: 90px; }
  .proc-digits span { height: 90px; line-height: 90px; }
  .testimonial-card { flex-basis: calc((100% - 1rem) / 2); }
}

@media (max-width: 991px) {
  .section { padding-block: var(--sp-48); }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .hero-rail { display: none; }
  .about-head { grid-template-columns: 1fr; }
  .wcu-grid { grid-template-columns: 1fr; }
  .wcu-media { min-height: 55vh; }
  .process-grid { grid-template-columns: 1fr; }
  .process-side-inner { position: static; min-height: 0; gap: var(--sp-16); }
  .process-counter { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .services-head { flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
  .cta-inner { background-attachment: scroll; }
}

@media (max-width: 767px) {
  .container { padding-inline: 1rem; }
  .h1 { font-size: 44px; letter-spacing: -1.5px; }
  .h2 { font-size: 33px; letter-spacing: -1px; }
  .h3 { font-size: 32px; letter-spacing: -.75px; }
  .h5 { font-size: 22px; }
  .price { font-size: 56px; }
  .counter-num { font-size: 48px; height: 48px; }
  .digit-col span { height: 48px; line-height: 48px; }
  .counter-row { grid-template-columns: 1fr; gap: var(--sp-12); }
  .service-card { grid-template-columns: 1fr; }
  .svc-media-inner { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .svc-media-inner img { opacity: 1; position: static; }
  .about-images { grid-template-columns: 1fr; }
  .about-foot { flex-direction: column; align-items: flex-start; }
  .testimonial-card { flex-basis: 100%; }
  .marquee-group { gap: var(--sp-24); padding-right: var(--sp-24); }
  .partner-logo { font-size: 19px; }
  .hero-buttons { flex-wrap: wrap; }
  .footer-links { gap: var(--sp-24); }
}

/* ---------- animation helpers ---------- */
.js .fade-up { opacity: 0; }
.js .split-lines .line-mask,
.js .split-lines-scroll .line-mask { overflow: clip; }
.no-js .fade-up { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .js .fade-up { opacity: 1 !important; transform: none !important; }
  .nav-links { transition: none; }
}
