/* BRZ Logística — site.css */
:root {
  --navy: #0B1D3A;
  --ink: #07142A;
  --navy-2: #13294D;
  --yellow: #F7C400;
  --yellow-2: #FFD84A;
  --paper: #F5F3EE;
  --paper-2: #ECE8DF;
  --line: #D9D4C8;
  --text: #0B1D3A;
  --muted: #5A6477;
  --on-dark: #E9EDF4;
  --on-dark-muted: #9AA7BD;
  --radius: 4px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --f: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 var(--f);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.04; letter-spacing: -.01em; font-stretch: 78%; font-variation-settings: "wdth" 78; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* Signature: slash from the logo */
.slash {
  display: inline-block; width: 26px; height: 7px; margin-right: 12px; vertical-align: middle;
  background: var(--yellow); transform: skewX(-45deg); position: relative; top: -2px;
}
.eyebrow {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px; font-weight: 500;
}
.eyebrow--light { color: var(--on-dark-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px; border: 0; border-radius: var(--radius); cursor: pointer;
  font: 700 1rem/1 var(--f); text-decoration: none;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: var(--yellow-2); }
.btn--yellow:active { transform: translateY(1px); }
.btn--sm { padding: 11px 16px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--yellow); padding-bottom: 3px;
}
.link::after { content: "→"; transition: transform .2s var(--ease); }
.link:hover::after { transform: translateX(4px); }

/* Topbar */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { text-decoration: none; color: var(--on-dark); }
.topbar a:hover { color: var(--yellow); }

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 238, .92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.hdr.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(7, 20, 42, .5); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.hdr__logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .96rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--yellow);
  transition: right .25s var(--ease);
}
.nav a:not(.btn):hover::after { right: 0; }
.burger { display: none; }

/* Capa (banner) */
.cover { margin: 0; position: relative; background: #030923; }
.cover picture, .cover img { display: block; width: 100%; }
.cover img { height: auto; max-height: 760px; object-fit: cover; object-position: center; }
.cover::after { content: ""; position: absolute; inset: auto 0 0 0; height: 28%; background: linear-gradient(180deg, rgba(11, 29, 58, 0), var(--navy)); pointer-events: none; }

/* Hero */
.hero { position: relative; background: var(--navy); color: var(--on-dark); overflow: hidden; }
.hero__media { position: absolute; inset: 0 0 0 38%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(11, 29, 58, .55) 35%, rgba(11, 29, 58, .15) 100%),
              linear-gradient(0deg, rgba(11, 29, 58, .6), transparent 40%);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(56px, 8vw, 104px);
}
.hero h1 { font-size: clamp(3rem, 5.6vw, 4.9rem); line-height: .98; color: #fff; }
.hero h1 .hl { color: var(--yellow); }
.hero .eyebrow { color: var(--on-dark-muted); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--on-dark); max-width: 46ch; margin: 26px 0 30px; opacity: .92; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; color: var(--on-dark-muted); }
.hero__facts li { position: relative; padding-left: 20px; }
.hero__facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--yellow); transform: skewX(-30deg); }
.hero__facts b { color: #fff; font-weight: 700; }

/* Quote form */
.quote {
  background: var(--paper); color: var(--text); border-radius: 6px; padding: 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); position: relative;
  border-top: 6px solid var(--yellow);
}
.quote__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 20px; }
.quote__head h2 { white-space: nowrap; }
.quote__head h2 { font-size: 1.7rem; }
.quote__head .mono { color: var(--muted); font-size: .7rem; }
.field { display: block; margin-bottom: 14px; }
.field > span, .seg legend {
  display: block; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-bottom: 6px;
}
.field input {
  width: 100%; font: 500 1rem/1.2 var(--f); color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #9aa1ad; }
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(247, 196, 0, .45); }
.field.is-invalid input { border-color: #C2410C; }
.route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; }
.route__arrow { padding-bottom: 26px; font-weight: 700; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.seg legend { grid-column: 1 / -1; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span {
  display: block; text-align: center; padding: 11px 6px; font-weight: 600; font-size: .92rem; cursor: pointer;
  background: #fff; border: 1px solid var(--line); margin-left: -1px; transition: background .15s, color .15s;
}
.seg label:first-of-type span { border-radius: var(--radius) 0 0 var(--radius); margin-left: 0; }
.seg label:last-of-type span { border-radius: 0 var(--radius) var(--radius) 0; }
.seg input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); position: relative; z-index: 1; }
.seg input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 1px; z-index: 2; position: relative; }
.quote .btn { margin-top: 6px; }
.quote__alt { font-size: .86rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.quote__alt a { color: var(--text); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote.is-sent > :not(.quote__ok) { display: none; }
.quote__ok { padding: 8px 0; }
.quote__ok h3 { font-size: 2rem; margin-bottom: 14px; }
.quote__ok h3::before { content: ""; display: block; width: 44px; height: 10px; background: var(--yellow); transform: skewX(-45deg); margin-bottom: 18px; }
.quote__ok p { margin: 0 0 12px; }
.quote__ok .muted { font-size: .92rem; }
.quote__again { background: none; border: 0; border-bottom: 2px solid var(--yellow); cursor: pointer; font: 700 1rem var(--f); color: var(--text); padding: 0 0 3px; margin-top: 8px; }
.quote__err { color: #C2410C; font-size: .88rem; margin: 10px 0 0; text-align: center; font-weight: 600; }

/* Sections */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec__head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec__head h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.sec--dark { background: var(--navy); color: var(--on-dark); }
.sec--dark h2, .sec--dark h3 { color: #fff; }

/* Modes */
.modes { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.mode { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.mode + .mode { border-left: 1px solid var(--line); }
.mode__tag { color: var(--muted); }
.mode h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.mode p { color: #2B3850; margin: 0; }
.mode__fit { margin: 8px 0 12px; padding: 16px 18px; background: var(--paper); border-left: 3px solid var(--yellow); }
.mode__fit dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.mode__fit dd { margin: 0; font-size: .96rem; }
.mode .link { margin-top: auto; align-self: flex-start; }

.extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin-top: clamp(48px, 6vw, 80px); }
.extras__title { grid-column: 1 / -1; color: var(--muted); margin-bottom: 18px; }
.extra { border-top: 2px solid var(--navy); padding-top: 20px; }
.extra h3 { font-size: 1.35rem; margin-bottom: 10px; }
.extra p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(247, 196, 0, .7) 0 14px, transparent 14px 26px);
}
.steps li { position: relative; padding-top: 52px; }
.steps li::before {
  content: ""; position: absolute; top: 6px; left: 0; width: 20px; height: 20px; background: var(--yellow);
  transform: skewX(-20deg); box-shadow: 0 0 0 6px var(--navy);
}
.steps__n { color: var(--yellow); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.6rem; margin-bottom: 10px; }
.steps p { color: var(--on-dark-muted); margin: 0; font-size: .98rem; }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about__img { margin: 0; position: relative; }
.about__img img { width: 100%; aspect-ratio: 588 / 620; object-fit: cover; border-radius: 6px; }
.about__img::after {
  content: ""; position: absolute; right: -18px; bottom: 36px; width: 120px; height: 18px; background: var(--yellow);
  transform: skewX(-45deg);
}
.about__quote {
  margin: 0 0 28px; font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.06;
  font-variation-settings: "wdth" 78; letter-spacing: -.01em;
}
.about__quote em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 62%, rgba(247, 196, 0, .7) 62%); }
.about__copy > p { color: #2B3850; max-width: 60ch; }
.values { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.values li { border-top: 1px solid var(--line); padding-top: 14px; }
.values b { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.values span { color: var(--muted); font-size: .92rem; line-height: 1.45; display: block; }

/* Clients */
.clients { background: var(--paper-2); border-block: 1px solid var(--line); }
.clients__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 36px; flex-wrap: wrap; }
.clients h2 { font-family: var(--mono); font-weight: 500; font-size: .78rem; color: var(--muted); font-variation-settings: normal; letter-spacing: .08em; }
.clients__logos { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(24px, 5vw, 64px); align-items: center; flex-wrap: wrap; }
.clients__logos img { height: 48px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .75; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.clients__logos img:hover { filter: none; opacity: 1; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.1rem; position: relative;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 1.6rem/1 var(--mono); color: var(--muted); transition: transform .2s var(--ease);
}
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--navy); }
.faq__list details p { margin: -6px 0 22px; color: #2B3850; max-width: 62ch; }

/* CTA */
.cta { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; right: -80px; top: -40px; width: 360px; height: 60px; background: var(--yellow);
  transform: skewX(-45deg); opacity: .95;
}
.cta__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; padding-block: clamp(72px, 10vw, 120px); position: relative; }
.cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); color: #fff; }
.cta__sub { color: var(--on-dark-muted); margin: 18px 0 0; }
.cta__list { list-style: none; margin: 0; padding: 0; }
.cta__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.cta__list li:first-child { border-top: 1px solid rgba(255, 255, 255, .14); }
.cta__list .mono { color: var(--on-dark-muted); }
.cta__list a { color: #fff; text-decoration: none; font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.25rem); text-align: right; overflow-wrap: anywhere; }
.cta__list a:hover { color: var(--yellow); }

/* Footer */
.ftr { background: var(--ink); color: var(--on-dark-muted); }
.ftr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 36px; flex-wrap: wrap; }
.ftr__logo { height: 38px; width: auto; }
.ftr__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.ftr__nav a { text-decoration: none; font-size: .92rem; }
.ftr__nav a:hover { color: var(--yellow); }
.ftr__legal { margin: 0; font-size: .7rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #1FA855; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { inset: 0; }
  .hero__media::after { background: linear-gradient(180deg, rgba(11, 29, 58, .7), var(--navy) 70%); }
  .quote { max-width: 560px; }
  .extras { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .topbar .mono { display: none; }
  .topbar__in { justify-content: center; }
  .burger {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  }
  .burger span { width: 24px; height: 2px; background: var(--navy); transition: transform .25s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 18px; padding: 16px; }
  .modes { grid-template-columns: 1fr; }
  .mode + .mode { border-left: 0; border-top: 1px solid var(--line); }
  .about, .faq, .cta__in { grid-template-columns: 1fr; }
  .about__img { max-width: 420px; }
  .about__img::after { right: 12px; bottom: -9px; }
  .about__img img { aspect-ratio: 4 / 3; }
  .cta__in { align-items: start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hdr__in { height: 64px; }
  .hdr__logo img { height: 36px; }
  .nav { top: 64px; }
  .topbar__links { gap: 14px; font-size: .8rem; }
  .quote { padding: 22px 18px; }
  .quote__head { flex-direction: column; gap: 4px; }
  .route { grid-template-columns: 1fr; gap: 0; }
  .route__arrow { display: none; }
  .extras, .steps, .values { grid-template-columns: 1fr; }
  .clients__in { flex-direction: column; align-items: flex-start; }
  .clients__logos img { height: 40px; }
  .cta__list li { flex-direction: column; gap: 4px; }
  .cta__list a { text-align: left; }
  .ftr__in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
