/* Megapal landing v2 — commercial and clear (learned from the competition): what we sell in 3 seconds,
   quote + WhatsApp always at hand, trust, product cards with "Cotizar", industries, services, calculator, form. */
:root {
  --bg: #ffffff;
  --soft: #f3f6f5;
  --ink: #0b2e33;
  --text: #24474c;
  --teal: #06525c;
  --accent: #ef7d1a;      /* forklift orange: the one action colour */
  --accent-dark: #c9620a;
  --wood: #c79a5b;
  --wood-dark: #a87b3f;
  --line: #dfe7e5;
  --r: 10px;
  --wrap: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { overflow-x: clip; }
body { font-family: 'Archivo', system-ui, sans-serif; color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
h1, h2, h3 { color: var(--ink); line-height: 1.05; letter-spacing: -0.01em; }
h1, h2 { font-stretch: 75%; font-weight: 800; }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
h3 { font-size: 20px; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, transform .15s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-line { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-line:hover { background: var(--teal); color: #fff; }

/* ---------- Info bar + sticky nav ---------- */
.infobar { background: var(--ink); color: #dcebe8; font-size: 14px; }
.infobar-in { display: flex; gap: 28px; padding: 8px 0; }
.infobar a { text-decoration: none; }
.infobar a:hover { color: #fff; }
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-stretch: 75%; font-size: 26px; text-transform: uppercase; letter-spacing: .01em; }
.logo-mark { width: 30px; height: 22px; background:
  linear-gradient(var(--wood) 0 0) 0 0 / 100% 4px no-repeat, linear-gradient(var(--wood) 0 0) 0 9px / 100% 4px no-repeat,
  linear-gradient(var(--wood) 0 0) 0 18px / 100% 4px no-repeat, linear-gradient(var(--teal) 0 0) 2px 4px / 5px 14px no-repeat,
  linear-gradient(var(--teal) 0 0) 12px 4px / 5px 14px no-repeat, linear-gradient(var(--teal) 0 0) 23px 4px / 5px 14px no-repeat; }
.nav nav { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--ink); }
.nav nav a:hover { color: var(--accent-dark); }

/* ---------- Hero: full-bleed photo, headline + two soft actions ---------- */
.hero { position: relative; min-height: min(calc(100vh - 110px), 820px); display: flex; align-items: center; padding: 64px 0; overflow: hidden; background: var(--ink); color: #e8f1ef; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 40%; animation: drift 14s ease-out both; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(6, 26, 30, .9), rgba(6, 26, 30, .55) 55%, rgba(6, 26, 30, .25)); }
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-in { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 1.2rem + 3.8vw, 4.8rem); max-width: 16ch; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-light:hover { background: #fff; color: var(--ink); }
.hero-sub { margin-top: 20px; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 34ch; }
.hero-points { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; font-weight: 600; color: #fff; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ''; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat; }
.assure { font-size: 14px; color: var(--teal); font-weight: 600; text-align: center; margin-top: 8px; }

/* ---------- Trust numbers ---------- */
.trust { background: var(--teal); color: #d9ecea; }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 0; }
.trust .num { color: #fff; font-weight: 800; font-stretch: 75%; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1; }
.placeholder { outline: 2px dashed rgba(239, 125, 26, .9); outline-offset: 4px; border-radius: 4px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.section-head p { max-width: 46ch; }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--soft); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11, 46, 51, .12); }
/* Photo carousel: swipe on phones (scroll-snap), translucent arrows everywhere */
.carousel { position: relative; overflow: hidden; }
.car-card { aspect-ratio: 16 / 10; border-radius: 8px; margin-bottom: 10px; }
.car-service { aspect-ratio: 4 / 3; }
.car-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.car-btn { position: absolute; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; padding: 0 0 3px; font: 600 26px/1 Archivo, sans-serif; color: #fff; background: rgba(6, 26, 30, .38);
  backdrop-filter: blur(4px); transition: background-color .2s, opacity .2s, transform .15s; }
.car-btn:hover { background: rgba(6, 26, 30, .65); }
.car-btn:active { transform: scale(.92); }
.car-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.car-btn[disabled] { opacity: 0; pointer-events: none; }
.car-prev { left: 10px; }
.car-next { right: 10px; }
.card { overflow: hidden; }
.spec { font-weight: 600; color: var(--teal); font-size: 15px; }
.card p:not(.spec) { flex: 1; }
.card-cta { align-self: flex-start; margin-top: 8px; text-decoration: none; font-weight: 700; color: var(--accent-dark); }
.card-cta::after { content: ' →'; transition: margin .2s; }
.card-cta:hover::after { margin-left: 4px; }
.card-actions { display: flex; gap: 18px; align-items: center; margin-top: 8px; }
.card-actions .card-cta { margin-top: 0; }
.card-wa { text-decoration: none; font-weight: 700; color: #128c4a; }
.card-wa:hover { text-decoration: underline; }

/* ---------- Guide ---------- */
.guide { padding: 0 0 96px; }
.guide h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); }
.guide-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.guide-cols > div { border-left: 4px solid var(--accent); padding: 4px 0 4px 18px; }
.guide-cols h3 { margin-bottom: 6px; }
.guide-foot { margin-top: 26px; font-weight: 500; }
.guide-foot a { color: var(--accent-dark); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { padding: 96px 0; }
.faq-in { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--soft); border-radius: var(--r); padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--accent-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; }

/* ---------- Industries ---------- */
.industries { background: var(--soft); padding: 64px 0; }
.industries h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); max-width: 22ch; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tags li { background: #fff; color: var(--ink); padding: 9px 16px; border-radius: 999px; font-weight: 500; }

/* ---------- Calculator ---------- */
.calc-in { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.calc-copy > p { margin-top: 16px; max-width: 38ch; }
.trip-form { margin-top: 26px; display: grid; gap: 20px; }
.trip-form fieldset { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trip-form legend { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.trip-form fieldset label { position: relative; cursor: pointer; padding: 9px 16px; border-radius: 999px; background: var(--soft); font-size: 15px; transition: background-color .2s, color .2s; }
.trip-form fieldset input { position: absolute; opacity: 0; }
.trip-form fieldset label:has(input:checked) { background: var(--teal); color: #fff; }
.trip-form fieldset label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.qty { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); max-width: 220px; }
.qty input { font: inherit; font-size: 20px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 8px; }
.calc-result { background: var(--soft); border-radius: var(--r); padding: 30px; }
.trip-number { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
#trip-total { font-stretch: 75%; font-weight: 800; color: var(--ink); font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem); line-height: .9; font-variant-numeric: tabular-nums; }
.trip-unit { font-size: 18px; color: var(--ink); }
.trip-bed { margin-top: 22px; width: 100%; height: auto; border-radius: 6px; }
.trip-detail { margin-top: 16px; font-size: 18px; color: var(--ink); }
.calc-result .btn { margin-top: 20px; }
.trip-note { margin-top: 8px; font-size: 14px; color: var(--muted, #5b6b6e); }
.stack { transition: fill .3s; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { border-radius: var(--r); overflow: hidden; background: var(--soft); display: flex; flex-direction: column; }
.service > div:not(.carousel) { padding: 20px 22px 22px; display: grid; gap: 8px; }

/* ---------- Steps ---------- */
.steps-sec { background: var(--ink); color: #cfe3e0; padding: 88px 0; }
.steps-sec h2 { color: #fff; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps h3 { color: #fff; margin-bottom: 6px; }

/* ---------- Clients ---------- */
.clients { padding: 72px 0; }
.clients h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); text-align: center; }
.logos { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 30px; }
.logos li { display: grid; place-items: center; height: 72px; background: var(--soft); border-radius: 8px; color: #8aa3a0; font-size: 14px; }

/* ---------- Quote form ---------- */
.quote { background: var(--soft); }
.quote-in { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; align-items: start; }
.quote-copy > p { margin-top: 14px; max-width: 34ch; }
.contact-list { list-style: none; margin-top: 26px; display: grid; gap: 10px; font-weight: 600; color: var(--ink); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent-dark); }
.quote-form { background: #fff; border-radius: 14px; padding: 30px; box-shadow: 0 18px 40px rgba(11, 46, 51, .10); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fields label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.fields .wide { grid-column: 1 / -1; }
.fields input, .fields select, .fields textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); padding: 12px 14px; border: 2px solid var(--line); border-radius: 8px; background: #fff; width: 100%; }
.fields input:focus, .fields select:focus, .fields textarea:focus { border-color: var(--teal); outline: none; }
.fields [aria-invalid="true"] { border-color: #d64545; }
.hp { position: absolute; left: -9999px; }
.submit { width: 100%; margin-top: 20px; font-size: 17px; }
.submit:disabled { opacity: .6; cursor: wait; }
.form-msg { margin-top: 12px; min-height: 1.5em; font-weight: 500; color: var(--ink); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #b9d0cd; padding: 56px 0 28px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-in > div { display: grid; gap: 8px; align-content: start; }
.foot-in p { max-width: 36ch; }
.foot-in a { text-decoration: none; }
.foot-in a:hover { color: #fff; }
.logo-light { color: #fff; }
.foot-h { color: #fff; font-weight: 700; }
.foot-legal { margin-top: 40px; font-size: 13px; color: #8fb0ac; }

/* ---------- Phone bottom bar ---------- */
.mbar { display: none; }
.btn-wa { background: #25d366; color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Entrances ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .js .reveal { opacity: 1; transform: none; } }

/* ---------- Tablet / phone ---------- */
@media (max-width: 960px) {
  .nav nav { display: none; }
  .nav-in { justify-content: space-between; }
  .hero-in, .calc-in, .quote-in, .section-head { grid-template-columns: 1fr; }
  .faq-in { grid-template-columns: 1fr; gap: 24px; }
  .cards, .services { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .trust-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .hide-sm { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; z-index: 40; inset: auto 0 0 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
  .mbar .btn { padding: 13px; }
  .wa-float { display: none; }
  body { padding-bottom: 76px; }
  .guide-cols, .faq-in { grid-template-columns: 1fr; }
  .infobar-in { gap: 16px; font-size: 13px; flex-wrap: wrap; }
  .hero { min-height: 78vh; padding: 80px 0 40px; }
  .cards, .services, .steps { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .quote-form { padding: 22px; }
  .foot-in { grid-template-columns: 1fr; }
  .btn-sm { padding: 9px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .car-track { scroll-behavior: auto; } }
