:root {
  --navy: #081d33;
  --navy-2: #0a2948;
  --blue: #083c6d;
  --cyan: #00aeef;
  --cyan-dark: #008fc8;
  --ink: #0d2238;
  --muted: #687280;
  --line: #dce3ea;
  --surface: #f2f4f7;
  --white: #fff;
  --shadow: 0 18px 50px rgba(8, 29, 51, .1);
  --container: 1240px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -60px; padding: 10px 16px; background: var(--cyan); color: var(--navy); font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 84px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(8, 29, 51, .08);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 36px; }
.brand, .footer-logo { display: inline-flex; align-items: center; gap: 13px; }
.brand { flex: 0 0 auto; }
.brand-symbol { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 15px; object-fit: cover; }
.brand-wordmark { color: var(--navy); font-size: 1.22rem; font-weight: 750; letter-spacing: .025em; line-height: 1; white-space: nowrap; }
.brand-wordmark strong { color: var(--cyan); font-weight: 650; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); }
.site-nav > a:not(.button) { position: relative; color: #193149; font-size: .76rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.site-nav > a:not(.button)::after { position: absolute; bottom: -9px; left: 0; width: 0; height: 2px; background: var(--cyan); content: ""; transition: width .25s ease; }
.site-nav > a:not(.button):hover::after, .site-nav > a.active::after { width: 100%; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); transition: .25s ease; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--cyan);
  border-radius: 4px;
  background: var(--cyan);
  color: var(--white);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-align: center;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: #09bafc; box-shadow: 0 12px 30px rgba(0, 174, 239, .22); }
.button-small { min-height: 42px; padding-inline: 20px; background: transparent; color: var(--blue); }
.button-small:hover { background: var(--navy); color: var(--white); }
.button-ghost { border-color: rgba(255,255,255,.72); background: transparent; color: var(--white); }
.button-ghost:hover { border-color: var(--cyan); background: rgba(0,174,239,.1); }

.hero { position: relative; min-height: 610px; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-grid { display: grid; min-height: 610px; grid-template-columns: 55% 45%; align-items: center; }
.hero-copy { position: relative; z-index: 3; max-width: 720px; padding: 76px 60px 76px 0; }
.eyebrow { margin: 0 0 15px; color: var(--cyan-dark); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-light { color: var(--cyan); }
.hero h1 { margin: 0; font-size: clamp(2.4rem, 4.15vw, 4.35rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; text-transform: uppercase; }
.hero h1 span { color: var(--cyan); }
.hero-lead { max-width: 650px; margin: 26px 0 32px; color: #cbd7e3; font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: absolute; z-index: 1; inset: 0 0 0 52%; overflow: hidden; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%, 12% 52%); }
.hero-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,29,51,.38), transparent 48%), url("../img/hero-logistica.jpg") center/cover no-repeat; transform: scale(1.01); }
.hero-pattern, .connected-pattern { position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(30deg, transparent 48%, rgba(0,174,239,.32) 49%, transparent 50%); background-size: 56px 56px; mask-image: linear-gradient(90deg, #000, transparent 65%); }

.trust-strip { position: relative; z-index: 4; border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: grid; min-height: 150px; padding: 30px 38px; grid-template-columns: 64px 1fr; align-items: center; gap: 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 58px; fill: none; stroke: var(--cyan-dark); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.trust-item strong, .trust-item span, .trust-item small { display: block; }
.trust-item strong { font-size: 1.6rem; font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.trust-item span { font-size: .83rem; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }
.trust-item small { margin-top: 5px; color: var(--muted); font-size: .7rem; line-height: 1.4; }

.section { padding: 108px 0; }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(60px, 8vw, 120px); }
.section-copy h2, .section-heading h2, .contact-copy h2, .connected h2 { margin: 0 0 22px; color: var(--navy); font-size: clamp(2rem, 3.2vw, 3.25rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.14; }
.section-copy > p:not(.eyebrow), .section-heading > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { color: var(--muted); }
.section-copy > p { margin: 0 0 18px; }
.about-visual { position: relative; min-height: 440px; }
.visual-card { position: absolute; display: flex; box-shadow: var(--shadow); }
.visual-main { inset: 0 70px 52px 0; flex-direction: column; justify-content: flex-end; padding: 44px; overflow: hidden; border-radius: var(--radius); background: linear-gradient(145deg, var(--navy), var(--blue)); color: var(--white); }
.visual-main::before { position: absolute; inset: 0; background: linear-gradient(135deg, transparent 54%, rgba(0,174,239,.25) 55%, transparent 56%), linear-gradient(45deg, transparent 68%, rgba(255,255,255,.08) 69%, transparent 70%); content: ""; }
.visual-number { position: relative; color: var(--cyan); font-size: 6rem; font-weight: 800; letter-spacing: -.07em; line-height: .95; }
.visual-caption { position: relative; max-width: 230px; margin-top: 15px; font-size: .85rem; font-weight: 600; letter-spacing: .04em; line-height: 1.6; text-transform: uppercase; }
.visual-accent { right: 0; bottom: 0; width: 142px; height: 142px; align-items: center; justify-content: center; border: 12px solid var(--white); border-radius: var(--radius); background: var(--cyan); }
.visual-accent svg { width: 68px; fill: none; stroke: var(--white); stroke-linecap: round; stroke-width: 2; }
.check-list { display: grid; margin: 30px 0 0; padding: 0; gap: 13px; list-style: none; }
.check-list li { position: relative; padding-left: 32px; font-size: .9rem; font-weight: 600; }
.check-list li::before { position: absolute; left: 0; top: 4px; width: 17px; height: 10px; border-bottom: 2px solid var(--cyan-dark); border-left: 2px solid var(--cyan-dark); content: ""; transform: rotate(-45deg); }

.solutions { background: var(--surface); }
.section-heading { max-width: 760px; margin: 0 auto 55px; text-align: center; }
.section-heading h2 { margin-bottom: 15px; }
.section-heading p:last-child { max-width: 650px; margin: auto; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card { position: relative; display: flex; min-height: 390px; flex-direction: column; padding: 38px 34px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.solution-card:hover { transform: translateY(-7px); border-color: rgba(0,174,239,.45); box-shadow: var(--shadow); }
.solution-card.featured { border-top: 4px solid var(--cyan); }
.icon-box { display: grid; width: 68px; height: 68px; margin-bottom: 28px; place-items: center; border-radius: 6px; background: rgba(0,174,239,.09); }
.icon-box svg { width: 40px; fill: none; stroke: var(--cyan-dark); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.solution-card h3 { margin: 0 0 16px; color: var(--navy); font-size: 1.25rem; line-height: 1.25; text-transform: uppercase; }
.solution-card p { margin: 0 0 28px; color: var(--muted); font-size: .9rem; }
.solution-card a { margin-top: auto; color: var(--blue); font-size: .74rem; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.solution-card a span { color: var(--cyan); font-size: 1.2rem; }

.connected { position: relative; overflow: hidden; padding: 105px 0; background: var(--navy); color: var(--white); }
.connected-grid { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 85px; }
.connected h2 { color: var(--white); }
.connected h2 span { color: var(--cyan); }
.connected-copy > p:not(.eyebrow) { margin-bottom: 30px; color: #c7d5e3; }
.process-flow { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(2, 1fr); gap: 20px; list-style: none; }
.process-flow li { position: relative; min-height: 170px; padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.045); }
.process-flow li::after { position: absolute; right: 22px; top: 27px; color: rgba(0,174,239,.22); content: attr(data-step); font-size: 3rem; font-weight: 800; }
.process-flow span { display: block; margin-bottom: 17px; color: var(--cyan); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.process-flow strong { display: block; margin-bottom: 7px; font-size: .93rem; letter-spacing: .04em; text-transform: uppercase; }
.process-flow small { color: #aebdcb; font-size: .75rem; line-height: 1.55; }

.values { padding-bottom: 86px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-item { min-height: 250px; padding: 38px 28px; border-right: 1px solid var(--line); }
.value-item:last-child { border-right: 0; }
.value-item > span { color: var(--cyan-dark); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.value-item h3 { margin: 35px 0 12px; font-size: 1.02rem; text-transform: uppercase; }
.value-item p { margin: 0; color: var(--muted); font-size: .82rem; }

.partners { padding: 54px 0 70px; background: var(--surface); text-align: center; }
.partner-list { display: grid; margin-top: 34px; grid-template-columns: repeat(7, 1fr); align-items: stretch; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner-list span { display: grid; min-height: 92px; padding: 18px 12px; place-items: center; background: var(--white); color: #526170; font-size: .75rem; font-weight: 700; line-height: 1.4; }

.contact { position: relative; overflow: hidden; }
.contact::before { position: absolute; inset: 0 50% 0 0; background: var(--navy); content: ""; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; box-shadow: var(--shadow); }
.contact-copy { padding: clamp(45px, 6vw, 80px); background: var(--navy); color: var(--white); }
.contact-copy h2 { color: var(--white); }
.contact-copy > p:not(.eyebrow) { color: #b9c8d7; }
.contact-details { display: grid; margin-top: 38px; gap: 18px; }
.contact-details a, .contact-details > div { display: grid; gap: 2px; }
.contact-details strong { color: var(--cyan); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-details span { color: var(--white); font-size: .9rem; }
.contact-form { display: grid; padding: clamp(38px, 5vw, 70px); gap: 19px; background: var(--white); }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: #34495d; font-size: .72rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #cdd6df; border-radius: 3px; outline: none; background: #fbfcfd; color: var(--ink); font-size: .9rem; text-transform: none; transition: border-color .2s, box-shadow .2s; }
.contact-form input { height: 48px; padding: 0 13px; }
.contact-form textarea { min-height: 124px; padding: 12px 13px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cyan-dark); box-shadow: 0 0 0 3px rgba(0,174,239,.1); }
.privacy-check { display: flex !important; grid-template-columns: 20px 1fr; align-items: flex-start; gap: 10px !important; font-size: .65rem !important; font-weight: 500 !important; line-height: 1.45; text-transform: none !important; }
.privacy-check input { width: 18px; height: 18px; margin: 1px 0 0; }
.contact-form .button { justify-self: start; border: 0; cursor: pointer; }
.form-status { min-height: 24px; margin: 0; color: var(--muted); font-size: .8rem; }
.form-status.success { color: #087849; }
.form-status.error { color: #b3261e; }

.site-footer { padding: 72px 0 25px; background: #061525; color: #a9b8c6; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; }
.footer-logo .brand-symbol { width: 58px; height: 58px; border-radius: 17px; }
.footer-logo .brand-wordmark { color: var(--white); font-size: 1.25rem; }
.footer-brand p { margin-top: 24px; font-size: .82rem; letter-spacing: .06em; line-height: 1.7; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid strong { margin-bottom: 10px; color: var(--white); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a, .footer-grid span { font-size: .76rem; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom { display: flex; margin-top: 58px; padding-top: 22px; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .68rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
  .site-nav > a:not(.button) { font-size: .68rem; }
  .hero-grid { grid-template-columns: 62% 38%; }
  .hero-media { left: 58%; }
  .trust-item { padding-inline: 22px; grid-template-columns: 52px 1fr; gap: 15px; }
  .connected-grid { gap: 45px; }
  .partner-list { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 880px) {
  .site-header { height: 74px; }
  .brand { gap: 10px; }
  .brand .brand-symbol { width: 46px; height: 46px; border-radius: 13px; }
  .brand .brand-wordmark { font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 74px 0 auto; display: grid; max-height: 0; padding: 0 24px; overflow: hidden; gap: 0; background: var(--white); box-shadow: 0 18px 30px rgba(8,29,51,.12); transition: max-height .3s ease, padding .3s ease; }
  .site-nav.open { max-height: calc(100vh - 74px); padding-block: 15px 25px; overflow-y: auto; }
  .site-nav > a:not(.button) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: .78rem; }
  .site-nav > a::after { display: none; }
  .site-nav .button { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero, .hero-grid { min-height: 680px; }
  .hero-grid { display: block; }
  .hero-copy { max-width: 680px; padding-top: 82px; padding-right: 0; }
  .hero-media { inset: 0; opacity: .24; clip-path: none; }
  .hero-image { background-position: 65% center; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 120px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .split-grid, .connected-grid, .contact-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 315px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2) { border-right: 0; }
  .value-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact::before { display: none; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 78px 0; }
  .hero, .hero-grid { min-height: 650px; }
  .hero-copy { padding: 64px 0; }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 3.1rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-item { padding-inline: 8px; }
  .about-visual { min-height: 355px; }
  .visual-main { right: 40px; padding: 30px; }
  .visual-number { font-size: 4.7rem; }
  .visual-caption { max-width: 190px; font-size: .76rem; }
  .visual-accent { width: 110px; height: 110px; }
  .process-flow, .value-grid, .partner-list, .form-row { grid-template-columns: 1fr; }
  .value-item { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-item:last-child { border-bottom: 0; }
  .partner-list span { min-height: 70px; }
  .contact-grid { width: 100%; }
  .contact-copy, .contact-form { padding: 42px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
