/* BLOX Commercial — Design System */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;1,700&family=Chivo:ital,wght@0,300;0,400;0,700;1,300&display=swap');

:root {
  --s0: oklch(10% 0.012 255); --s1: oklch(14% 0.014 255); --s2: oklch(19% 0.013 255);
  --s3: oklch(24% 0.011 255); --s4: oklch(30% 0.010 255);
  --ink1: oklch(95% 0.006 65); --ink2: oklch(72% 0.008 65); --ink3: oklch(48% 0.008 65);
  --or: #FF6700; --or2: oklch(52% 0.16 43); --or3: oklch(18% 0.030 43);
  --rule: oklch(26% 0.010 255); --rulb: oklch(36% 0.010 255);
  --fd: 'Barlow Condensed', sans-serif; --fb: 'Chivo', sans-serif;
  --expo: cubic-bezier(0.16, 1, 0.3, 1); --quart: cubic-bezier(0.25, 1, 0.5, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); background: var(--s1); color: var(--ink1); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; } a { text-decoration: none; color: inherit; } ul { list-style: none; } button { font-family: inherit; cursor: pointer; border: none; background: none; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }

/* NAV */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 72px; background: color-mix(in oklch, var(--s0) 92%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { font-family: var(--fd); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink2); transition: color 150ms; }
.nav-links a:hover, .nav-links a.active { color: var(--ink1); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-phone { font-family: var(--fd); font-size: 15px; font-weight: 700; color: var(--or); letter-spacing: 0.04em; }
.btn-or { display: inline-flex; align-items: center; background: var(--or); color: #fff; font-family: var(--fd); font-size: 14px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 12px 22px; transition: background 150ms; }
.btn-or:hover { background: var(--or2); }
.btn-line { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--rulb); color: var(--ink1); font-family: var(--fd); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 11px 20px; transition: border-color 150ms, color 150ms; }
.btn-line:hover { border-color: var(--or); color: var(--or); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink1); }
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--s0); display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(24px, 8vw, 80px); opacity: 0; pointer-events: none; transition: opacity 280ms var(--expo); }
.mnav.open { opacity: 1; pointer-events: all; }
.mnav-links { display: flex; flex-direction: column; gap: 20px; }
.mnav-links a { font-family: var(--fd); font-size: clamp(36px, 8vw, 52px); font-weight: 800; text-transform: uppercase; line-height: 1; color: var(--ink2); transition: color 150ms; }
.mnav-links a:hover { color: var(--ink1); }
.mnav-foot { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule); }
.mnav-phone { font-family: var(--fd); font-size: 28px; font-weight: 800; color: var(--or); margin-bottom: 8px; }
.mnav-addr { font-size: 13px; color: var(--ink2); line-height: 1.6; }

/* NAV TOOLS DROPDOWN */
.nav-links .has-drop { position: relative; }
.nav-drop { position: absolute; top: calc(100% + 4px); left: 0; background: var(--s0); border: 1px solid var(--rule); min-width: 220px; opacity: 0; pointer-events: none; transition: opacity 140ms, transform 140ms; transform: translateY(-4px); z-index: 200; display: flex; flex-direction: column; }
.has-drop:hover .nav-drop { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-drop a { display: block; padding: 13px 18px; font-family: var(--fd); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink2); border-bottom: 1px solid var(--rule); transition: color 130ms, background 130ms; }
.nav-drop a:last-child { border-bottom: none; }
.nav-drop a:hover { color: var(--or); background: var(--s1); }

/* PAGE HERO */
.phero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.phero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.65; }
.phero-ov { position: absolute; inset: 0; background: linear-gradient(to bottom, oklch(10% 0.012 255 / 0.55) 0%, oklch(10% 0.012 255 / 0.25) 25%, oklch(10% 0.012 255 / 0.60) 60%, oklch(10% 0.012 255 / 0.96) 100%); }
.phero-inner { position: relative; z-index: 1; padding: 120px 0 clamp(80px, 12vh, 120px); }
.phero-badge { display: inline-flex; align-items: center; background: var(--or); color: #fff; font-family: var(--fd); font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; padding: 7px 18px; border-radius: 100px; margin-bottom: 28px; }
.phero-h1 { font-family: var(--fd); font-size: clamp(44px, 7vw, 108px); font-weight: 800; line-height: 0.88; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 36px; }
.phero-h1 em { font-style: italic; color: var(--or); display: block; }
.phero-body { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink2); line-height: 1.7; max-width: 46ch; margin-bottom: 40px; }
.phero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.phero-scroll { position: absolute; bottom: clamp(24px, 4vh, 44px); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2; }
.phero-scroll-txt { font-family: var(--fd); font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.phero-scroll-brk { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.25); border-radius: 13px; position: relative; }
.phero-scroll-brk::after { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background: var(--or); border-radius: 50%; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0%,100% { top: 6px; opacity: 1; } 80% { top: 24px; opacity: 0; } }

/* INTRO STRIP */
.istrip { background: var(--or); padding: clamp(10px, 1.2vh, 14px) 0; }
.istrip-inner { display: flex; align-items: center; gap: 32px; flex-wrap: nowrap; justify-content: space-between; }
.istrip p { font-family: var(--fd); font-size: clamp(12px, 1.3vw, 16px); font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; color: #fff; line-height: 1.1; white-space: nowrap; }
.istrip span { color: rgba(0,0,0,0.3); }

/* SECTIONS */
.sec { padding: clamp(40px, 5vh, 60px) 0; border-bottom: 1px solid var(--rule); }
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.sec-grid.rev { direction: rtl; }
.sec-grid.rev > * { direction: ltr; }
.s-tag { font-family: var(--fd); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); margin-bottom: 12px; }
.s-h2 { font-family: var(--fd); font-size: clamp(30px, 3.6vw, 56px); font-weight: 800; line-height: 0.91; letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 20px; }
.s-h2 em { font-style: italic; color: var(--or); }
.s-body { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink2); line-height: 1.75; }
.s-body + .s-body { margin-top: 14px; }

/* NUMBERED CARDS (3-col grid) */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.ncard { background: var(--s2); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.ncard-n { font-family: var(--fd); font-size: clamp(36px, 4vw, 56px); font-weight: 800; color: var(--or); line-height: 1; }
.ncard-h { font-family: var(--fd); font-size: clamp(18px, 1.8vw, 24px); font-weight: 800; text-transform: uppercase; line-height: 1.05; letter-spacing: -0.01em; }
.ncard-body { font-size: 16px; color: var(--ink2); line-height: 1.7; }
.ncard-list { display: flex; flex-direction: column; gap: 10px; padding: 0; }
.ncard-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 300; color: var(--ink2); line-height: 1.5; }
.ncard-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--or); margin-top: 6px; flex-shrink: 0; }

/* TEAM CARDS */
.team-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3px; }
.tcard { background: var(--s2); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.tcard-role { font-family: var(--fd); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--or); margin-bottom: 10px; }
.tcard-name { font-family: var(--fd); font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: -0.01em; margin-bottom: 16px; }
.tcard-bio { font-size: 16px; color: var(--ink2); line-height: 1.7; flex: 1; }
.tcard-cta { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--fd); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--or); transition: opacity 150ms; }
.tcard-cta:hover { opacity: 0.75; }

/* STATS COLUMN */
.stats-col { border-left: 1px solid var(--rule); padding-left: clamp(28px, 4vw, 56px); }
.stat-block { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.stat-block:last-child { border-bottom: none; }
.stat-n { font-family: var(--fd); font-size: clamp(48px, 6vw, 76px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink1); }
.stat-n.orange { color: var(--or); font-size: clamp(28px, 3.5vw, 44px); }
.stat-label { font-size: 14px; font-weight: 500; color: var(--ink2); margin-top: 6px; }
.stat-sub { font-size: 13px; font-weight: 300; color: var(--ink2); margin-top: 4px; line-height: 1.55; }

/* CTA BAND */
.ctaband { position: relative; overflow: hidden; padding: clamp(64px, 12vh, 120px) 0; }
.ctaband-bg { position: absolute; inset: 0; background: url('../images/blox-aerial-hero.jpg') center / cover no-repeat; opacity: 0.18; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
@media (prefers-reduced-motion: reduce) { .ctaband-bg { animation: none; } }
.ctaband-ov { position: absolute; inset: 0; background: linear-gradient(135deg, var(--s0) 35%, oklch(10% 0.012 255 / 0.65) 100%); }
.ctaband-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ctaband-h2 { font-family: var(--fd); font-size: clamp(40px, 5.5vw, 84px); font-weight: 800; text-transform: uppercase; line-height: 0.91; letter-spacing: -0.01em; max-width: 18ch; }
.ctaband-h2 em { font-style: italic; color: var(--or); }
.ctaband-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 210px; }
.ctaband-note { font-size: 13px; color: var(--ink2); letter-spacing: 0.06em; }

/* FOOTER */
.footer { background: var(--s0); border-top: 3px solid var(--or); padding: clamp(40px, 6vh, 72px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding-bottom: clamp(36px, 5vh, 56px); border-bottom: 1px solid var(--rule); align-items: start; }
.footer-brand-col img { height: 52px; width: auto; margin-bottom: 22px; display: block; }
.footer-address { font-size: 13px; color: var(--ink2); line-height: 1.8; margin-bottom: 20px; }
.footer-contact-block { display: flex; flex-direction: column; gap: 7px; }
.footer-contact-block a { font-size: 13px; color: var(--ink2); transition: color 150ms; }
.footer-contact-block a:hover { color: var(--or); }
.footer-nav-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col-h { font-family: var(--fd); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink2); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--ink2); transition: color 150ms; }
.footer-links a:hover { color: var(--ink1); }
.footer-bot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0 clamp(24px, 4vh, 40px); }
.footer-copy { font-size: 12px; color: var(--ink3); }
.footer-legal { display: flex; align-items: center; gap: 14px; }
.footer-legal a { font-size: 12px; color: var(--ink3); transition: color 150ms; }
.footer-legal a:hover { color: var(--ink2); }
.footer-legal-sep { font-size: 12px; color: var(--ink3); }

/* FORM */
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fg label { font-family: var(--fd); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink2); }
.fg input, .fg select, .fg textarea { background: var(--s2); border: 1px solid var(--rule); padding: 12px 16px; font-family: var(--fb); font-size: 15px; font-weight: 300; color: var(--ink1); outline: none; transition: border-color 200ms, box-shadow 200ms, background 200ms; width: 100%; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--or); background: var(--s1); box-shadow: 0 0 0 3px oklch(65% 0.22 39 / 0.14); }
.fg select { appearance: none; -webkit-appearance: none; cursor: pointer; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.fg select option { background: var(--s1); }
.fg textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

/* CONTACT ITEMS */
.ci-list { display: flex; flex-direction: column; gap: 0; }
.ci { padding: 20px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; }
.ci:first-child { border-top: 1px solid var(--rule); }
.ci-label { font-family: var(--fd); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink2); padding-top: 2px; }
.ci-val { font-size: 15px; color: var(--ink2); line-height: 1.6; }
.ci-val a { color: var(--or); transition: opacity 150ms; }
.ci-val a:hover { opacity: 0.8; }

/* CHIPS */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { font-size: 13px; font-weight: 300; color: var(--ink2); background: var(--s3); padding: 5px 12px; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.stagger > * { opacity: 0; animation: fadeUp 600ms var(--expo) forwards; }
.stagger > *:nth-child(1) { animation-delay: 80ms; }
.stagger > *:nth-child(2) { animation-delay: 200ms; }
.stagger > *:nth-child(3) { animation-delay: 320ms; }

/* RESPONSIVE */
@media (max-width: 1100px) { .team-grid { grid-template-columns: 1fr 1fr; } .team-grid .tcard:first-child { grid-column: 1 / -1; } }
@media (max-width: 900px) { .phero-inner, .sec-grid, .ctaband-inner { grid-template-columns: 1fr; gap: 36px; } .sec-grid.rev { direction: ltr; } .phero-aside { padding-left: 0; border-left: none; border-top: 1px solid var(--rulb); padding-top: 24px; } .footer-grid { grid-template-columns: 1fr; gap: 40px; } .cards3 { grid-template-columns: 1fr; } .team-grid { grid-template-columns: 1fr; } .stats-col { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 28px; } .form-grid2 { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .nav-links, .nav-phone { display: none; } .nav-right .btn-or { display: none; } .hamburger { display: flex; } .footer-nav-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-nav-cols { grid-template-columns: 1fr; } .footer-bot { flex-direction: column; align-items: flex-start; } }
