/* Bali Digital Solutions — deep ocean teal, warm gold, cream. */
:root {
  --teal-950: #041d1f;
  --teal-900: #06272a;
  --teal-800: #0b3638;
  --teal-700: #0f4745;
  --teal-600: #155a55;
  --jungle: #123f36;
  --aqua: #46e0d2;
  --sand-800: #5a3f28;
  --gold-1: #f1dba9;
  --gold-2: #c99d58;
  --gold: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  --cream: #f4f1ea;
  --paper: #fbfaf6;
  --ink: #142526;
  --muted: #586768;
  --line: #e2ddd2;
  --on-dark: #eef6f4;
  --on-dark-muted: #b9cfcb;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --shadow: 0 18px 40px -18px rgba(4, 29, 31, .45);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
em { font-style: italic; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: 1480px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold-1); color: var(--teal-900); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.ico { width: 22px; height: 22px; flex: none; }
.ico-sm { width: 14px; height: 14px; }

.eyebrow { font-size: .78rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--teal-600); margin: 0 0 14px; }
.eyebrow-light { color: var(--on-dark); }
.rule { display: block; width: 44px; height: 3px; background: var(--gold); border-radius: 2px; margin: 22px 0 26px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 6px; font: 500 1rem/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: #1d1a12; box-shadow: 0 10px 24px -12px rgba(201, 157, 88, .9); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(201, 157, 88, .95); }
.btn-outline { background: rgba(4, 29, 31, .25); color: var(--on-dark); border-color: rgba(238, 246, 244, .65); }
.btn-outline:hover { background: rgba(238, 246, 244, .12); }
.btn-outline .ico { width: 22px; height: 22px; }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-dark); transition: background .3s, box-shadow .3s; }
.header.scrolled, .header.menu-open { background: rgba(4, 29, 31, .92); backdrop-filter: blur(12px); box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .6); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 84px; max-width: 1480px; }
.header.scrolled .header-inner { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.logo { width: 50px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-weight: 400; font-size: 1.32rem; letter-spacing: .02em; text-transform: uppercase; }
.brand-text small { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; font-size: .95rem; text-decoration: none; opacity: .92; }
.nav a:hover { opacity: 1; }
.nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -4px; height: 2px; background: var(--gold); border-radius: 2px; }
.header-end { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; padding-left: 10px; border-left: 1px solid rgba(238, 246, 244, .3); }
.lang-btn { display: flex; align-items: center; gap: 6px; background: none; border: 0; color: inherit; font: 500 .95rem var(--sans); cursor: pointer; padding: 8px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 200px; background: var(--paper); color: var(--ink); border-radius: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; }
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button { width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 6px; font: inherit; font-size: .92rem; cursor: pointer; }
.lang-menu button:hover { background: var(--cream); }
.lang-menu button[aria-checked="true"] { font-weight: 600; color: var(--teal-600); }
.header-cta { margin-left: 10px; }
.header-cta .ico { width: 16px; height: 16px; }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: var(--on-dark); border-radius: 2px; transition: .25s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--teal-900); color: var(--on-dark); padding: 140px 0 0; min-height: 600px; display: flex; flex-direction: column; justify-content: space-between; }
.hero-media { position: absolute; inset: 0; }
.hero-img { position: absolute; inset: 0 0 0 38%; background: url("../img/hero.jpg") center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); animation: drift 30s ease-in-out infinite alternate; }
.hero-glow { position: absolute; inset: 0; background:
  radial-gradient(60% 70% at 15% 40%, rgba(6, 39, 42, .95), transparent 70%),
  linear-gradient(180deg, rgba(4, 29, 31, .55) 0, transparent 22%, transparent 70%, rgba(4, 29, 31, .85) 100%); }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.08) translateX(-1%); } }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 4vw, 3.9rem); margin-bottom: 22px; }
.hero h1 em { display: inline-block; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.38rem); font-weight: 300; max-width: 25em; margin-bottom: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 20px; }
.pillars { position: relative; z-index: 1; display: flex; flex-wrap: wrap; list-style: none; margin: 40px 0 0; padding: 18px 0 26px; }
.pillars li { display: flex; align-items: center; }
.pillars li + li::before { content: ""; width: 1px; height: 26px; background: rgba(238, 246, 244, .45); margin: 0 30px; }
.pillars a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: .95rem; opacity: .95; }
.pillars a:hover { color: var(--gold-1); }

/* Divisions */
.divisions { background: var(--cream); padding: 24px 0; }
.divisions-inner { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; max-width: 1480px; }
.divisions-intro h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.divisions-intro p:last-child { color: var(--muted); }
.division-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.division-card { --tone: var(--teal-800); position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 280px; padding: 24px 24px 22px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--tone) top center / 100% auto no-repeat; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.division-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 0, transparent 10%, color-mix(in srgb, var(--tone) 55%, transparent) 22%, var(--tone) 35%); }
.division-card.tone-teal { --tone: #0d3f40; }
.division-card.tone-sand { --tone: #5d452f; }
.division-card:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -20px rgba(4, 29, 31, .6); }
.division-icon .ico { width: 32px; height: 32px; }
.division-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.division-title { font-size: 1.22rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15; }
.division-head .go { width: 28px; height: 28px; transition: transform .25s; }
.division-card:hover .go { transform: translateX(4px); }
.division-desc { font-size: .95rem; line-height: 1.45; opacity: .92; }

/* Platforms strip */
.platforms { position: relative; overflow: hidden; color: var(--on-dark); padding: 44px 0; background: radial-gradient(120% 140% at 20% 0, #1a5246, var(--jungle) 55%, #0b2f29); }
.platforms::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 210px; background: url("../img/palms.jpg") left center / cover no-repeat; opacity: .75; -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent); mask-image: linear-gradient(90deg, #000 40%, transparent); }
.platforms-inner { position: relative; display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; max-width: 1480px; }
.platforms-intro { padding-left: 50px; }
.platforms h2 { margin: 0; font-size: clamp(1.9rem, 2.6vw, 2.4rem); }
.platform-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.platform-list li { border-left: 1px solid rgba(238, 246, 244, .25); }
.platform { display: flex; gap: 12px; padding: 10px 14px; text-decoration: none; border-radius: 10px; transition: background .2s; }
.platform:hover { background: rgba(255, 255, 255, .06); }
.platform .ico { width: 30px; height: 30px; color: var(--on-dark); }
.platform b { display: block; font-weight: 500; font-size: 1.12rem; white-space: nowrap; }
.platform small { display: block; font-size: .85rem; line-height: 1.35; color: var(--on-dark-muted); margin-top: 4px; }

/* Generic sections */
.section { padding: 110px 0; }
.section-cream { background: var(--cream); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 52px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head h2 { margin: 0; }
h2 em { color: var(--gold-2); }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.about p { color: var(--muted); font-size: 1.08rem; }
.values { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.values li { display: flex; gap: 16px; align-items: flex-start; }
.values li > span .ico { width: 26px; height: 26px; color: var(--teal-600); }
.values b { display: block; font-weight: 600; }
.values div span { color: var(--muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { padding: 34px 28px; border-radius: var(--radius); background: var(--teal-900); color: var(--on-dark); box-shadow: var(--shadow); }
.stat:nth-child(2), .stat:nth-child(3) { background: var(--cream); color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.stat b { display: block; font: 400 3.4rem/1 var(--serif); background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:nth-child(2) b, .stat:nth-child(3) b { background: none; color: var(--teal-600); }
.stat span { display: block; margin-top: 12px; font-size: .95rem; opacity: .85; }

/* Solutions */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution { padding: 32px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.solution:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.solution-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--teal-900); color: var(--aqua); margin-bottom: 22px; }
.solution-icon .ico { width: 26px; height: 26px; }
.solution p { color: var(--muted); margin: 0; }

/* Industries */
.industry-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 500; }
.industry .ico { width: 28px; height: 28px; color: var(--gold-2); }

/* Partnerships */
.partnerships { background: linear-gradient(160deg, var(--teal-800), var(--teal-950)); color: var(--on-dark); }
.partnerships .section-head p { color: var(--on-dark-muted); }
.partnerships .section-head .btn { margin-top: 8px; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(238, 246, 244, .14); }
.partner .ico { width: 30px; height: 30px; color: var(--gold-1); margin-bottom: 18px; }
.partner p { color: var(--on-dark-muted); margin: 0; font-size: .95rem; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact > div > p { color: var(--muted); font-size: 1.08rem; }
.contact-info { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 20px; }
.contact-info li { display: flex; gap: 16px; align-items: center; }
.contact-info .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--teal-900); color: var(--gold-1); }
.contact-info small { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-info a { text-decoration: none; font-weight: 500; }
.contact-info a:hover { color: var(--teal-600); }
.contact-form { display: grid; gap: 18px; padding: 38px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; font-size: .9rem; font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font: 400 1rem var(--sans); color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(21, 90, 85, .15); }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; min-height: 1.4em; font-size: .92rem; }
.form-note.error { color: #b3261e; }
.form-note.ok { color: var(--teal-600); }

/* Footer */
.footer { background: var(--teal-950); color: var(--on-dark-muted); padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: var(--on-dark); margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; font-size: .95rem; }
.footer h4 { margin: 6px 0 16px; color: var(--on-dark); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-1); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(238, 246, 244, .12); font-size: .88rem; }

/* Modals */
.modal { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); overflow: auto; }
.modal::backdrop { background: rgba(4, 29, 31, .7); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-body { position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(4, 29, 31, .55); color: #fff; cursor: pointer; }
.modal-close:hover { background: rgba(4, 29, 31, .8); }
.detail-hero { height: 220px; background: var(--teal-800) center / cover no-repeat; }
.detail-hero-plat { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, var(--teal-600), var(--teal-900)); color: var(--aqua); }
.detail-hero-plat .ico { width: 80px; height: 80px; stroke-width: 1.2; }
.detail-content { padding: 32px 40px 40px; }
.detail-content h2 { font-size: 2.2rem; }
.detail-lead { color: var(--muted); font-size: 1.08rem; }
.detail-content h3 { font-family: var(--sans); font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-600); margin-top: 26px; }
.checklist { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ico { width: 20px; height: 20px; color: var(--gold-2); margin-top: 3px; }

.modal-search { width: min(620px, calc(100vw - 32px)); margin-top: 12vh; }
.modal-search .modal-close { background: none; color: var(--muted); top: 12px; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 18px 64px 18px 22px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-field input { flex: 1; border: 0; background: none; font: 400 1.15rem var(--sans); color: var(--ink); outline: none; min-width: 0; }
.search-results { list-style: none; margin: 0; padding: 10px; max-height: 60vh; overflow: auto; }
.search-results a { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 10px; text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--cream); }
.search-results .ico { color: var(--teal-600); }
.search-results b { display: block; font-weight: 500; }
.search-results small { color: var(--muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.search-hint { padding: 18px 14px; color: var(--muted); }

.modal-tour { width: min(960px, calc(100vw - 32px)); background: var(--teal-950); color: var(--on-dark); }
.tour-slide { position: relative; aspect-ratio: 16 / 8; min-height: 360px; display: flex; align-items: flex-end; background: var(--teal-800) center / cover no-repeat; animation: fade .6s; }
.tour-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 29, 31, .92), rgba(4, 29, 31, .35) 70%), linear-gradient(0deg, rgba(4, 29, 31, .7), transparent 50%); }
@keyframes fade { from { opacity: .3; } }
.tour-text { position: relative; padding: 40px 48px 52px; max-width: 560px; }
.tour-text h3 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.tour-text p:not(.eyebrow) { color: var(--on-dark-muted); font-size: 1.08rem; }
.tour-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.tour-progress span { display: block; height: 100%; width: 0; background: var(--gold); }
.tour-progress span.run { animation: progress 6s linear forwards; }
@keyframes progress { to { width: 100%; } }
.tour-controls { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px; }
.tour-dots { display: flex; gap: 8px; margin: 0 10px; }
.tour-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(238, 246, 244, .3); cursor: pointer; transition: .2s; }
.tour-dots button.active { width: 26px; border-radius: 5px; background: var(--gold-1); }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1280px) {
  .nav a { padding: 8px 8px; font-size: .9rem; }
  .nav a.active::after { left: 8px; right: 8px; }
  .header-inner { gap: 18px; }
  .divisions-inner, .platforms-inner { grid-template-columns: 1fr; }
  .divisions { padding: 70px 0; }
  .divisions-intro { max-width: 640px; }
  .platforms-intro { padding-left: 0; }
  .platforms::before { opacity: .35; }
}
@media (max-width: 1100px) {
  .nav { position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 12px 20px 24px; background: rgba(4, 29, 31, .97); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid rgba(238, 246, 244, .08); }
  .nav a.active::after { display: none; }
  .nav a.active { color: var(--gold-1); }
  .header-inner, .header.scrolled .header-inner { height: 70px; }
  .menu-btn { display: flex; }
  .header-end { margin-left: auto; }
  .division-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-list { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .solution-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; gap: 50px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pillars li + li::before { margin: 0 18px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header-cta { display: none; }
  .brand-text b { font-size: 1.02rem; }
  .brand-text small { font-size: .5rem; letter-spacing: .14em; }
  .logo { width: 40px; height: 36px; }
  .hero { padding-top: 112px; min-height: 0; }
  .hero-img { inset: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40%); mask-image: linear-gradient(180deg, transparent 0, #000 40%); opacity: .55; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin-top: 40px; }
  .pillars li + li::before { display: none; }
  .pillars a { font-size: .88rem; gap: 10px; }
  .division-grid, .solution-grid, .partner-grid, .industry-grid, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .division-card { min-height: 250px; }
  .header-inner { gap: 8px; }
  .header-end { gap: 2px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-text { min-width: 0; }
  .lang { padding-left: 4px; }
  .icon-btn { width: 36px; height: 36px; }
  .platform-list { grid-template-columns: 1fr; row-gap: 4px; }
  .platform-list li { border-left: 0; border-top: 1px solid rgba(238, 246, 244, .15); }
  .platform { padding: 14px 4px; }
  .section { padding: 72px 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 24px 18px; }
  .stat b { font-size: 2.6rem; }
  .contact-form { padding: 24px 18px; }
  .detail-content { padding: 24px 20px 28px; }
  .tour-slide { aspect-ratio: auto; min-height: 420px; }
  .tour-text { padding: 28px 22px 36px; }
}
@media (max-width: 420px) {
  .brand-text small { display: none; }
  .brand-text b { font-size: .84rem; letter-spacing: 0; }
  .logo { width: 34px; height: 31px; }
  .menu-btn { width: 38px; padding: 10px 8px; }
  .lang-btn { padding: 8px 4px; }
}
@media (max-width: 360px) {
  .brand-text b { max-width: 8.5em; line-height: 1.15; }
  .lang-btn .ico { display: none; }
}
