/* ==========================================================
   LEASE VENTURES (U) LTD — SHARED STYLES
   Light is the default; dark is <html data-theme="dark">.
   ========================================================== */
:root {
  --red: #E31E2C; --red-deep: #B8101D; --red-soft: rgba(227, 30, 44, .09);
  --navy: #0B1B2E;
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --nav-h: 92px; --r: 10px; --r-lg: 18px; --ease: .3s cubic-bezier(.4, 0, .2, 1);
  --bg: #FFFFFF; --bg-2: #F3F5F8; --card: #FFFFFF; --text: #0F1B2D;
  --muted: #4B5668; --line: rgba(15, 27, 45, .12); --shadow: 0 12px 34px rgba(15, 27, 45, .10);
  --nav-bg: rgba(255, 255, 255, .96); --hero-fade: 255, 255, 255; color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #08111F; --bg-2: #0C1829; --card: #12203A; --text: #F1F4F9;
  --muted: rgba(241, 244, 249, .72); --line: rgba(255, 255, 255, .11); --shadow: 0 12px 34px rgba(0, 0, 0, .45);
  --nav-bg: rgba(8, 17, 31, .95); --red-soft: rgba(227, 30, 44, .16); --hero-fade: 8, 17, 31; color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; transition: background .3s, color .3s; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .03em; line-height: 1.02; }
.section-title { font-size: clamp(36px, 4.6vw, 58px); }
.section-title::after { content: ''; display: block; width: 64px; height: 4px; background: var(--red); margin-top: 16px; border-radius: 2px; }
.center .section-title::after { margin-inline: auto; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; margin-top: 18px; font-weight: 300; }
.center { text-align: center; } .center .lead { margin-inline: auto; }
.red { color: var(--red); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 6px; font-weight: 600; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; transition: var(--ease); border: 1px solid transparent; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(227, 30, 44, .32); }
.btn-outline { border-color: var(--line); color: var(--text); background: var(--card); }
.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 12px; }
.link-arrow { color: var(--red); font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow i { transition: transform var(--ease); } .link-arrow:hover i { transform: translateX(4px); }

/* ---------- navbar ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; background: var(--nav-bg); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transition: box-shadow var(--ease); }
.nav.scrolled { box-shadow: 0 6px 26px rgba(15, 27, 45, .10); }
.nav-inner { max-width: 1680px; margin: 0 auto; padding: 0 28px; height: var(--nav-h); display: flex; align-items: center; gap: 22px; }
.nav-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; flex-shrink: 0; padding-right: 22px; border-right: 1px solid var(--line); }
.nav-brand img { height: 48px; width: auto; }
.nav-brand span { font-family: var(--font-display); font-size: 17px; line-height: 1; letter-spacing: .09em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto 0 8px; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button { display: flex; align-items: center; gap: 7px; padding: 10px 14px; font-size: 13px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border-radius: 6px; transition: var(--ease); }
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li:focus-within > button, .nav-links > li > a.active, .nav-links > li > button.active { color: var(--red); }
.nav-links .caret { font-size: 10px; transition: transform var(--ease); }
.dd { position: absolute; top: calc(100% + 6px); left: 0; min-width: 268px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--ease); z-index: 5; }
.has-dd::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.has-dd:hover > .dd, .has-dd:focus-within > .dd, .has-dd.open > .dd { opacity: 1; visibility: visible; transform: none; }
.has-dd:hover .caret, .has-dd.open .caret { transform: rotate(180deg); }
.dd a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.dd a i { width: 18px; text-align: center; color: var(--red); font-size: 14px; }
.dd a:hover { background: var(--red-soft); color: var(--red); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.theme-toggle { position: relative; width: 56px; height: 30px; border-radius: 100px; background: var(--bg-2); border: 1px solid var(--line); flex-shrink: 0; transition: var(--ease); }
.theme-toggle:hover { border-color: var(--red); }
.theme-toggle .knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; transition: transform var(--ease); }
.theme-toggle .ico-moon { display: none; }
html[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
html[data-theme="dark"] .theme-toggle .knob { transform: translateX(26px); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100vh; padding-top: var(--nav-h); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; right: 0; bottom: 0; width: 66%; aspect-ratio: 1447 / 1087; max-height: 100%; background: url('../images/hero.jpg') center / cover no-repeat; }
html[data-theme="dark"] .hero-bg { background-image: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), url('../images/hero.jpg'); }
.hero-bg::before, .hero-bg::after { content: ''; position: absolute; inset: 0; }
.hero-bg::before { background: linear-gradient(90deg, rgb(var(--hero-fade)) 0%, rgba(var(--hero-fade), .6) 14%, rgba(var(--hero-fade), 0) 34%); }
.hero-bg::after { background: linear-gradient(180deg, rgb(var(--hero-fade)) 0%, rgba(var(--hero-fade), 0) 20%); }
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-text { max-width: 600px; padding: 56px 0 80px; }
.hero h1 { font-size: clamp(52px, 7vw, 100px); }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p { font-size: 19px; color: var(--muted); max-width: 500px; margin: 22px 0 34px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.stats { background: var(--bg); border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 46px; font-weight: 400; color: var(--red); line-height: 1; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 72px; overflow: hidden; background: var(--bg-2); }
.page-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(var(--hero-fade), .97) 0%, rgba(var(--hero-fade), .9) 52%, rgba(var(--hero-fade), 0) 86%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(44px, 6vw, 78px); }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 580px; margin-top: 16px; font-weight: 300; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--red); } .crumbs i { margin: 0 8px; font-size: 9px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; } .section.alt { background: var(--bg-2); }
.section-head { margin-bottom: 52px; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; transition: var(--ease); }
.card:hover { border-color: rgba(227, 30, 44, .5); transform: translateY(-4px); box-shadow: var(--shadow); }
.ico { width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; }
.card h3 { font-size: 27px; margin-bottom: 10px; } .card p { color: var(--muted); font-size: 15px; }
.card .link-arrow { margin-top: 18px; }

/* image + text: both sides share the same height and start line */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body { display: flex; flex-direction: column; justify-content: center; }
.split-body p { color: var(--muted); margin-top: 16px; }
.split-body .btn { align-self: flex-start; margin-top: 28px; }
.ticks { margin-top: 22px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.ticks li i { color: var(--red); margin-top: 5px; font-size: 13px; }
.badge { position: absolute; left: 20px; bottom: 20px; background: var(--red); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 600; font-size: 14px; max-width: 80%; }

/* ---------- offerings ---------- */
.offer-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.offer-grid .card { flex: 1 1 calc(25% - 24px); min-width: 240px; max-width: calc(25% - 18px); }

/* ---------- products ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn { padding: 10px 22px; border-radius: 100px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; transition: var(--ease); }
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(227, 30, 44, .5); }
.product.hide { display: none; }
.product-img { position: relative; background: #fff; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.product-img.cover img { object-fit: cover; padding: 0; }
.tag { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.tag.dark { background: var(--navy); }
.product-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 28px; } .product-body p { color: var(--muted); font-size: 14.5px; margin: 8px 0 18px; flex: 1; }
.product-body .btn { align-self: flex-start; }

/* ---------- values / industries ---------- */
.value { text-align: center; padding: 30px 22px; } .value .ico { margin-inline: auto; } .value h3 { font-size: 24px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chip { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; font-weight: 500; transition: var(--ease); }
.chip i { width: 44px; height: 44px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chip:hover { border-color: var(--red); }
.vm { border-left: 4px solid var(--red); }

/* ---------- gallery cards (garage) ---------- */
.shot { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: var(--ease); }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(227, 30, 44, .5); }
.shot img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.shot div { padding: 16px 20px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; }
.shot div i { color: var(--red); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 7%; right: 7%; border-top: 2px dashed var(--line); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step .ico { margin: 0 auto 16px; width: 68px; height: 68px; font-size: 24px; background: var(--card); color: var(--navy); border: 2px solid var(--navy); position: relative; }
html[data-theme="dark"] .step .ico { color: #fff; border-color: rgba(255, 255, 255, .6); }
.step:first-child .ico, .step:last-child .ico { background: var(--red); border-color: var(--red); color: #fff; }
.step h3 { font-size: 21px; } .step p { font-size: 13.5px; color: var(--muted); }

/* ---------- credentials / CTA ---------- */
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cred { display: flex; gap: 20px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.cred .ico { margin: 0; flex-shrink: 0; }
.cred small { color: var(--muted); font-size: 13px; display: block; } .cred b { font-size: 18px; word-break: break-word; }
.cta { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; right: -80px; top: 0; bottom: 0; width: 46%; background: var(--red); clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%); opacity: .95; }
.cta .container { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 64px; padding-bottom: 64px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(36px, 4.4vw, 56px); } .cta p { opacity: .85; margin-top: 8px; max-width: 480px; }
.cta .btn-primary { background: #fff; color: var(--red); } .cta .btn-primary:hover { background: var(--navy); color: #fff; box-shadow: none; }
.cta .btn-ghost { background: #fff; border-color: #fff; color: var(--red); } .cta .btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: stretch; }
.info-list { display: grid; gap: 18px; }
.info { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.info .ico { width: 48px; height: 48px; font-size: 18px; margin: 0; flex-shrink: 0; }
.info small { color: var(--muted); display: block; font-size: 13px; } .info b, .info a { font-weight: 500; font-size: 16px; display: block; } .info a:hover { color: var(--red); }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; }
.form h3 { font-size: 32px; margin-bottom: 6px; } .form > p { color: var(--muted); margin-bottom: 22px; font-size: 15px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; } .field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; font-size: 15px; transition: var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-wa { background: #1FA855; color: #fff; } .btn-wa:hover { background: #178a45; transform: translateY(-2px); }
.map { margin-top: 40px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 400px; }
.map iframe { width: 100%; height: 100%; border: 0; }
html[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) grayscale(.2); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 52px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 14px; }
.footer h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: .06em; font-size: 22px; color: #fff; margin-bottom: 16px; }
.footer li { margin-bottom: 9px; font-size: 14.5px; } .footer a:hover { color: #ff6a74; }
.footer li i { color: var(--red); width: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .offer-grid .card { flex-basis: calc(33.3% - 24px); max-width: calc(33.3% - 16px); }
  .steps { grid-template-columns: repeat(4, 1fr); row-gap: 30px; } .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --nav-h: 80px; }
  .hamburger { display: flex; margin-left: auto; } .nav-right .btn { display: none; }
  .nav-brand { border-right: 0; padding-right: 0; } .nav-brand img { height: 38px; } .nav-brand span { font-size: 14px; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; max-height: calc(100vh - var(--nav-h)); overflow-y: auto; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 24px 24px; display: none; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links > li > a, .nav-links > li > button { width: 100%; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 10px; min-width: 0; display: none; background: transparent; }
  .has-dd.open > .dd { display: block; } .has-dd:hover > .dd { display: none; } .has-dd.open:hover > .dd { display: block; } .has-dd::after { display: none; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; } .split.rev .split-media { order: 0; } .split-media { min-height: 320px; }
  .hero-bg { width: 100%; background-position: 60% center; } .hero-text { padding-bottom: clamp(200px, 55vw, 340px); }
  .stats-row { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .chips { grid-template-columns: repeat(2, 1fr); } .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .container, .nav-inner { padding: 0 20px; }
  .g2, .g3, .g4, .creds, .row, .chips { grid-template-columns: 1fr; }
  .offer-grid .card { flex-basis: 100%; max-width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr; }
  .cta::before { width: 100%; opacity: .25; } .form { padding: 24px; }
}

/* white-background product photo inside a split: show it whole, never stretched or cropped */
.white-media .split-media { background: #fff; border: 1px solid var(--line); }
.white-media .split-media img { object-fit: contain; padding: 28px; }
@media (max-width: 980px) { .nav-inner { padding: 0 20px; } }
