:root {
  --bg: #eef0ec;
  --surface: #fff;
  --ink: #0b1b3a;
  --muted: #58636a;
  --line: #d5dad6;
  --accent: #f47c0b;
  --accent-ink: #071a3d;
  --steel: #2d4f7c;
  --dark: #071a3d;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 80px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Barlow, system-ui, sans-serif; line-height: 1.55; }
h1, h2, h3 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; line-height: 1.05; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; }
a { color: inherit; }
.section-block { padding: 64px 0; }
.section-compact { padding-top: 20px; }
.top-bar { background: var(--dark); color: #eef0ec; font-size: .9rem; }
.top-bar a { font-weight: 600; text-decoration: none; }
.site-nav { background: var(--surface); border-bottom: 1px solid var(--line); }
.navbar { min-height: 64px; }
.navbar-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font: 700 1.35rem "Barlow Condensed", sans-serif; }
.navbar-brand:hover { color: var(--ink); }
.navbar-brand img { width: 210px; height: 52px; object-fit: contain; object-position: left center; animation: logo-arrive .75s .1s both; transition: transform .25s ease, filter .25s ease; }
.navbar-brand:hover img { transform: translateY(-2px) scale(1.015); filter: drop-shadow(0 5px 8px rgba(7,26,61,.18)); }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 3px; background: var(--accent); color: var(--accent-ink); clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%); }
.brand-mark-large { width: 54px; height: 54px; font: 700 1.4rem "Barlow Condensed", sans-serif; }
.hero-brand { position: relative; display: inline-flex; align-items: center; overflow: hidden; isolation: isolate; border-radius: 6px; background: #fff; padding: 8px 14px; box-shadow: 0 14px 40px rgba(0,0,0,.18); transition: transform .3s ease, box-shadow .3s ease; }
.hero-brand::after { position: absolute; z-index: 2; top: -35%; bottom: -35%; left: -45%; width: 32%; background: linear-gradient(110deg, transparent, rgba(244,124,11,.2), transparent); content: ""; pointer-events: none; transform: translateX(-160%) skewX(-18deg); }
.hero-brand:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(0,0,0,.28); }
.hero-brand:hover::after { animation: logo-sheen .85s ease-out; }
.hero-brand img { position: relative; z-index: 1; width: min(430px, 78vw); height: 72px; object-fit: contain; object-position: left center; animation: logo-arrive .85s .2s both; transition: transform .3s ease; }
.hero-brand:hover img { transform: scale(1.025); }
.navbar-toggler { border-color: var(--line); }
.nav-link { color: var(--ink); font-weight: 500; padding: .5rem .75rem !important; }
.nav-link:hover { box-shadow: inset 0 -2px var(--accent); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--accent-ink); border: 0; font-weight: 600; border-radius: 3px; }
.btn-accent:hover { background: #df7008; color: var(--accent-ink); }
.hero-section { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); color: #eef0ec; padding: 84px 0; }
.hero-section::before { content: ""; position: absolute; z-index: -1; inset: -20%; background: radial-gradient(ellipse at 74% 48%, rgba(244,124,11,.2), transparent 30%), radial-gradient(ellipse at 20% 100%, rgba(45,79,124,.48), transparent 42%), linear-gradient(115deg, transparent 55%, rgba(255,255,255,.035)); background-size: 130% 130%; animation: energy-breathe 12s ease-in-out infinite alternate; }
.hero-section::after { content: ""; position: absolute; z-index: -1; right: -60px; top: 0; bottom: 0; width: 38%; background: repeating-linear-gradient(135deg, var(--accent) 0 2px, transparent 2px 46px); opacity: .1; mask-image: linear-gradient(90deg, transparent, #000); animation: circuit-drift 24s linear infinite; }
.hero-circuit { position: absolute; z-index: -1; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, transparent 5%, #000 85%); }
.hero-section .container { position: relative; z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #ffbf78; font-size: .78rem; font-weight: 700; letter-spacing: .16em; }
.live-dot { position: relative; display: inline-block; flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; background: #70dc9c; box-shadow: 0 0 12px #70dc9c; }
.live-dot::after { position: absolute; inset: -5px; border: 1px solid #70dc9c; border-radius: 50%; content: ""; animation: status-ping 2.2s ease-out infinite; }
.hero-copy { max-width: 62ch; color: #c9d0d3; font-size: 1.15rem; }
.hero-section h1, .hero-section .hero-copy, .hero-section .d-flex, .hero-section .assurance, .hero-eyebrow { animation: hero-in .8s both; }
.hero-section h1 { animation-delay: .08s; }
.hero-section .hero-copy { animation-delay: .18s; }
.hero-section .d-flex { animation-delay: .28s; }
.hero-section .assurance { animation-delay: .38s; }
.hero-section .btn { padding: .8rem 1.25rem; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.hero-section .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.24); }
.hero-machine { position: relative; display: grid; min-height: 430px; place-items: center; isolation: isolate; }
.machine-image-frame { position: relative; z-index: 1; display: grid; width: min(100%, 390px); aspect-ratio: 1; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: radial-gradient(circle, #fff 0 53%, rgba(255,255,255,.94) 54%, rgba(255,255,255,.78) 70%, rgba(255,255,255,.08) 71%); box-shadow: 0 25px 70px rgba(0,0,0,.32), 0 0 60px rgba(244,124,11,.14); animation: generator-float 6s ease-in-out infinite; }
.machine-image-frame img { width: 94%; height: 94%; border-radius: 50%; object-fit: contain; }
.machine-orbit { position: absolute; top: 50%; left: 50%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; transform: translate(-50%, -50%); }
.machine-orbit::after { position: absolute; top: 13%; left: 19%; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); content: ""; }
.machine-orbit-outer { width: 112%; animation: orbit-turn 26s linear infinite; }
.machine-orbit-inner { width: 94%; border-style: dashed; opacity: .6; animation: orbit-turn 36s linear infinite reverse; }
.machine-status { position: absolute; z-index: 2; right: -3%; bottom: 9%; display: flex; align-items: center; gap: 12px; padding: 13px 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(13,31,62,.88); box-shadow: 0 12px 30px rgba(0,0,0,.25); backdrop-filter: blur(12px); animation: status-hover 4s ease-in-out infinite; }
.machine-status strong, .machine-status small { display: block; }
.machine-status strong { font-size: .7rem; letter-spacing: .08em; }
.machine-status small { margin-top: 2px; color: #bdc9d7; font-size: .78rem; }
.machine-spec { position: absolute; z-index: 2; top: 5%; right: 2%; color: #ffbf78; font: 700 2.2rem/1 "Barlow Condensed", sans-serif; text-shadow: 0 0 22px rgba(244,124,11,.5); transform: rotate(7deg); }
.machine-spec small { font-size: 1rem; text-transform: uppercase; }
.assurance { display: flex; flex-wrap: wrap; gap: 26px; color: #c9d0d3; font-weight: 500; }
.assurance span::before { content: "✔ "; color: var(--accent); }
.category-card { min-height: 150px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); text-decoration: none; }
.category-card:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.category-card h3 { margin: 0; }
.category-icon { font-size: 2rem; }
.product-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 4px 14px rgba(7,26,61,.045); }
.product-card::before { position: absolute; z-index: 2; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--accent), #ffd18e, var(--accent)); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.product-card::after { position: absolute; z-index: 1; top: -80%; left: -65%; width: 46%; height: 240%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.52), transparent); content: ""; pointer-events: none; transform: rotate(24deg); transition: left .65s ease; }
.product-card:hover::before, .product-card:focus-within::before { transform: scaleX(1); }
.product-card:hover::after { left: 125%; }
.product-placeholder { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 48%, #fff 0 54%, #f6f7f6 100%); }
.product-placeholder::after { position: absolute; inset: 12px; border: 1px solid rgba(11,27,58,.045); border-radius: 5px; content: ""; pointer-events: none; }
.product-placeholder img { max-width: 82%; max-height: 82%; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .product-placeholder img, .product-card:focus-within .product-placeholder img { transform: translateY(-5px) scale(1.07); }
.product-image { width: 100%; height: 100%; padding: 18px; object-fit: contain; background: #fff; }
.product-body { position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column; gap: 8px; min-height: 210px; padding: 18px; }
.product-body h3 { margin: 0; font-size: 1.15rem; }
.product-price { font-weight: 600; font-size: 1.2rem; }
.product-listing-note, .product-price-note { color: var(--muted); font-size: .9rem; }
.product-listing-note { max-width: 75ch; margin-bottom: 20px; }
.product-category { margin: 0; color: var(--steel); font-size: .85rem; font-weight: 600; }
.product-price-note { margin: 0; }
.product-source { margin-top: auto; text-align: center; }
.product-card .btn { overflow: hidden; border-radius: 5px; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.product-card .btn:hover { transform: translateY(-2px); box-shadow: 0 7px 16px rgba(244,124,11,.28); }
.fuel-grid { border: 1px solid var(--line); background: var(--surface); }
.fuel-grid > div { padding: 26px; border-right: 1px solid var(--line); }
.fuel-grid > div:last-child { border-right: 0; }
.size-section { background: var(--dark); color: #eef0ec; }
.loads-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.load-label { display: flex; align-items: center; gap: 8px; border: 1px solid transparent; background: #ffffff12; padding: 10px 12px; border-radius: 5px; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.load-label:hover { background: #ffffff1c; transform: translateX(3px); }
.load-label.is-selected { border-color: rgba(244,124,11,.72); background: rgba(244,124,11,.16); }
.load-label input { width: 18px; height: 18px; accent-color: var(--accent); }
.size-result { position: relative; overflow: hidden; padding: 24px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: linear-gradient(145deg, #ff9a32, var(--accent) 58%, #e96d00); color: var(--accent-ink); box-shadow: 0 18px 40px rgba(0,0,0,.2); }
.size-result::after { position: absolute; top: -48px; right: -42px; width: 170px; height: 170px; border: 1px solid rgba(7,26,61,.15); border-radius: 50%; box-shadow: 0 0 0 18px rgba(7,26,61,.035), 0 0 0 38px rgba(7,26,61,.025); content: ""; pointer-events: none; }
.size-result.is-updating { animation: result-pulse .42s ease; }
.size-result strong { display: block; font: 700 3.4rem/1 "Barlow Condensed", sans-serif; }
.size-result strong, .size-result p, .size-result a { position: relative; z-index: 1; }
.size-result p:last-of-type { margin: 12px 0 18px; }
.why-card { height: 100%; border-top: 4px solid var(--accent); background: var(--surface); padding: 22px; }
.brands { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.brands span { border: 1px solid var(--line); background: var(--surface); padding: 14px 26px; border-radius: 4px; font: 700 1.3rem "Barlow Condensed", sans-serif; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.brands span:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 8px 18px rgba(7,26,61,.08); }
.guide-card { height: 100%; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; padding: 22px; }
.guide-card a { margin-top: auto; font-weight: 600; }
.quote-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.quote-form { max-width: 800px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form .full { grid-column: 1 / -1; }
#qmsg { min-height: 1.4em; color: var(--steel); font-weight: 600; }
.form-control, .form-select { border-color: var(--line); background: var(--bg); color: var(--ink); }
.optional-label { color: var(--muted); font-size: .85em; font-weight: 400; }
.form-status { min-height: 1.4em; margin: 0; color: var(--steel); font-weight: 600; }
.product-preview-content { padding: clamp(20px, 4vw, 42px); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 18px 48px rgba(7,26,61,.09); }
.product-preview-image { display: grid; min-height: 340px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #f7f8f7; }
.product-preview-image img { width: 100%; max-height: 460px; object-fit: contain; }
.product-detail-name { margin: 8px 0 12px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.product-detail-price { margin: 0 0 12px; color: var(--ink); font-size: 1.3rem; font-weight: 700; }
.product-detail-description { color: var(--muted); }
.product-spec-list { display: grid; grid-template-columns: minmax(110px, .7fr) 1.3fr; gap: 0 14px; margin: 18px 0; }
.product-spec-list dt, .product-spec-list dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); }
.product-spec-list dt { color: var(--muted); font-size: .9rem; font-weight: 500; }
.product-spec-list dd { font-weight: 600; text-align: right; }
.purchase-request-section { max-width: 860px; margin: 32px auto 0; padding: clamp(20px, 4vw, 32px); border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.preview-back-button { margin: -4px 0 14px; padding: 0; color: var(--steel); font-weight: 600; text-decoration: none; }
.preview-back-button:hover { color: var(--ink); }
.preview-error { padding: 18px; border: 1px solid #e8c98c; border-radius: 6px; background: #fff7e8; color: #59420e; }
.order-product-summary { margin: 0 0 14px; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--bg); font-weight: 600; }
.whatsapp-setup-note { padding: 12px 14px; border: 1px solid #e8c98c; border-radius: 5px; background: #fff7e8; color: #59420e; font-size: .9rem; }
.purchase-form { max-width: none; }
.product-preview-button { margin-top: auto; text-align: center; }
.preview-back-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.newsletter-input { max-width: 300px; }
.newsletter-message { min-height: 24px; margin-top: 10px; font-weight: 600; }
.site-footer { background: var(--dark); color: #c9d0d3; padding: 56px 0 28px; font-size: .95rem; }
.site-footer h3 { color: #eef0ec; font-size: 1.15rem; }
.site-footer a { display: block; text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: var(--accent); }
.copyright { border-top: 1px solid #ffffff1f; margin-top: 34px; padding-top: 18px; }

.reveal { opacity: .42; transform: translate3d(0, 28px, 0) scale(.99); filter: blur(3px); transition: opacity .7s ease, transform .75s cubic-bezier(.2,.75,.25,1), filter .7s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal.visible { opacity: 1; transform: none; filter: none; }
.category-card, .why-card, .guide-card, .product-card { transition: opacity .7s ease, transform .75s cubic-bezier(.2,.75,.25,1), filter .7s ease, border-color .25s ease, box-shadow .25s ease; }
.category-card:hover, .why-card:hover, .guide-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(7,26,61,.10); }
.product-card:hover, .product-card:focus-within { transform: translateY(-7px); border-color: rgba(244,124,11,.55); box-shadow: 0 22px 44px rgba(7,26,61,.14), 0 0 0 1px rgba(244,124,11,.12); }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes logo-arrive { from { opacity: 0; filter: blur(5px); } to { opacity: 1; filter: none; } }
@keyframes logo-sheen { to { transform: translateX(520%) skewX(-18deg); } }
@keyframes energy-breathe { from { transform: translate3d(-2%, -1%, 0) scale(1); opacity: .75; } to { transform: translate3d(2%, 1%, 0) scale(1.05); opacity: 1; } }
@keyframes circuit-drift { to { background-position: 120px -120px; } }
@keyframes status-ping { 0% { opacity: .8; transform: scale(.55); } 80%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes orbit-turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes generator-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes status-hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes result-pulse { 50% { transform: scale(1.015); box-shadow: 0 22px 52px rgba(0,0,0,.3); } }

@media (max-width: 767.98px) {
  .section-block { padding: 48px 0; }
  .hero-section { padding: 60px 0; }
  .hero-section::after { display: none; }
  .hero-eyebrow { font-size: .68rem; }
  .hero-machine { min-height: min(350px, 92vw); margin-top: 4px; }
  .machine-image-frame { width: min(80vw, 310px); }
  .machine-orbit-outer { width: 96%; }
  .machine-orbit-inner { width: 84%; }
  .machine-status { right: 2%; bottom: 2%; gap: 9px; padding: 10px 12px; }
  .machine-status strong { font-size: .62rem; }
  .machine-status small { font-size: .7rem; }
  .machine-spec { top: 8%; right: 10%; font-size: 1.8rem; }
  .loads-grid, .quote-form { grid-template-columns: 1fr; }
  .quote-form .full { grid-column: auto; }
  .fuel-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .fuel-grid > div:last-child { border-bottom: 0; }
  .navbar-collapse { padding: 12px 0; }
  .navbar-collapse .btn { margin-top: 8px; }
  .navbar-brand img { width: 175px; height: 44px; }
  .product-preview-image { min-height: 220px; }
  .product-spec-list { grid-template-columns: minmax(90px, .75fr) 1.25fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
}
