@font-face {
  font-family: "Plus Jakarta Sans";
  src: url(/assets/jakarta.woff2) format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --blue: #1565f0;
  --blue-d: #0d4fc7;
  --navy: #0b1d3f;
  --ink: #0f2148;
  --text: #3d4b66;
  --muted: #5d6b85;
  --tint: #f1f5fd;
  --tint-2: #e8f0fd;
  --line: #e3e9f3;
  --teal: #0f7f86;
  --orange: #c25a12;
  --err: #c62828;
  --foot: #0a1d45;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 33, 72, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: #fff; color: var(--text);
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 16px; height: 16px; stroke-width: 2.2; }
a { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.15rem); font-weight: 700; letter-spacing: -.025em; }
h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  background: var(--blue); color: #fff; font: inherit; font-size: .88rem; font-weight: 600;
  padding: 11px 22px; border-radius: 999px; box-shadow: 0 8px 20px rgba(21, 101, 240, .28);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(21, 101, 240, .34); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-light:hover { background: #fff; border-color: #c9d5ea; box-shadow: var(--shadow); }
.btn-white { background: #fff; color: var(--blue-d); box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.btn-white:hover { background: #fff; }
.btn-sm { padding: 9px 20px; }
.btn-block { display: flex; width: 100%; margin-top: 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { width: 135px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .84rem; font-weight: 500; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
}

/* hero */
.hero { background: linear-gradient(90deg, var(--tint) 0%, var(--tint) 50%, #eef3fd 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; min-height: 480px; padding-top: 72px; padding-bottom: 72px; }
.kicker { color: var(--blue-d); font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.kicker span { color: #9fb2d6; margin: 0 10px; font-weight: 400; }
.lead { color: var(--text); font-size: .95rem; max-width: 430px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* 3D scene */
.scene { perspective: 1100px; display: flex; justify-content: center; align-items: center; min-height: 360px; }
.scene-rig {
  position: relative; width: 440px; max-width: 100%; height: 340px; transform-style: preserve-3d;
  transform: rotateX(calc(14deg + var(--ry, 0deg))) rotateY(calc(-22deg + var(--rx, 0deg)));
  transition: transform .25s ease-out;
}
.layer { position: absolute; transform-style: preserve-3d; }
.l-back { top: 0; right: 0; transform: translateZ(-40px); animation: bob 7s ease-in-out -1s infinite; }
.l-front { bottom: 8px; left: 0; transform: translateZ(70px); animation: bob 6s ease-in-out infinite; }
.chip-1 { top: 36px; left: 4px; transform: translateZ(140px); animation: bob 5s ease-in-out -2s infinite; }
.chip-2 { bottom: -6px; right: 10px; transform: translateZ(120px); animation: bob 5.5s ease-in-out -3s infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }
.scene .mock { box-shadow: 0 30px 60px rgba(11, 29, 63, .18), 0 2px 6px rgba(11, 29, 63, .06); }
.scene .mock-dorm { width: 300px; }
.scene .mock-pos { width: 320px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 700; padding: 9px 14px; border-radius: 999px; box-shadow: 0 16px 30px rgba(11, 29, 63, .16); white-space: nowrap; }
.chip svg { width: 16px; height: 16px; color: var(--blue); }

/* product mockups (shared by hero + cards) */
.mock { background: #fff; border-radius: 10px; color: var(--ink); font-size: 11px; line-height: 1.3; }
.mock small { display: block; color: var(--muted); font-size: 9.5px; margin-top: 2px; }
.mock-pos { display: grid; grid-template-columns: 1fr 108px; gap: 0; padding: 12px; }
.menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding-right: 12px; }
.it { border: 1px solid var(--line); border-radius: 7px; padding: 7px; background: #fafbfe; min-height: 44px; }
.it b { font-weight: 600; font-size: 10.5px; display: block; }
.it.sel { background: #fff4ec; border-color: #f4a46b; }
.low { color: var(--orange) !important; }
.bill { border-left: 1px solid var(--line); padding-left: 12px; }
.bill b { display: block; margin-bottom: 8px; }
.bill p { display: flex; justify-content: space-between; margin: 0 0 5px; font-size: 10px; color: var(--text); }
.bill .gst { color: var(--muted); font-size: 9.5px; }
.bill strong { display: block; font-size: 16px; margin-top: 8px; }
.mock-dorm { padding: 12px; }
.m-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.teal { color: var(--teal); font-weight: 600; }
.bunkers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.bunker { background: #f5f7fb; border-radius: 7px; padding: 6px; }
.bunker small { margin: 0 0 5px; font-size: 9px; }
.bunker div { display: flex; gap: 5px; }
.bunker i { flex: 1; font-style: normal; text-align: center; background: var(--teal); color: #fff; border-radius: 5px; padding: 5px 0; font-size: 10px; font-weight: 600; }
.bunker i.free { background: #fff; color: var(--teal); border: 1px dashed var(--teal); }
.tenant { display: flex; align-items: center; gap: 8px; background: #f5f7fb; border-radius: 7px; padding: 7px 9px; margin-top: 9px; }
.tenant div { flex: 1; min-width: 0; }
.tenant b { font-size: 10px; }
.av { width: 24px; height: 24px; border-radius: 50%; background: #d6f0ef; color: var(--teal); font-size: 9px; font-weight: 700; display: grid; place-items: center; flex: none; }
.paid { background: #dcf5e6; color: #18794e; font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }

/* sections */
.section { padding: 80px 0; }
.pt-0 { padding-top: 0; }
.section-tint { background: var(--tint); }
.label { color: var(--blue); font-size: .9rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.label-sm { color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.head-center { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.head-center .sub { max-width: 460px; margin-left: auto; margin-right: auto; }
.sub { color: var(--muted); font-size: 1rem; }
.body-lg { font-size: 1.08rem; line-height: 1.75; color: var(--text); }
.about { display: grid; grid-template-columns: 1fr .85fr; gap: 96px; align-items: start; }
.pillars { display: grid; gap: 12px; margin-top: 44px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; background: var(--tint); border-radius: 12px; padding: 16px 18px; }
.pillar h3 { font-size: .92rem; margin-bottom: 2px; }
.pillar p { font-size: .8rem; color: var(--muted); margin: 0; }
.ibox { width: 40px; height: 40px; border-radius: 9px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.ibox svg { width: 19px; height: 19px; }
.ibox-soft { background: var(--tint-2); color: var(--blue); width: 42px; height: 42px; }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(15, 33, 72, .04); }
.p-art { height: 196px; padding: 32px 36px 0; display: flex; align-items: flex-end; overflow: hidden; }
.art-fbos { background: linear-gradient(120deg, #1a55d6, #2f86f2); }
.art-dorm { background: linear-gradient(120deg, #1250c4, #1aaecb 80%); }
.p-art .mock { width: 100%; max-width: 346px; border-radius: 8px 8px 0 0; padding-bottom: 18px; min-height: 162px; transform: translateZ(30px); }
.p-body { padding: 26px 30px 28px; }
.p-body h3 { font-size: 1.5rem; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.tag { font-size: .68rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; letter-spacing: 0; }
.tag-orange { background: #fdeee3; color: #b4520f; }
.tag-teal { background: #dcf3f3; color: #0d6b70; }
.p-sub { color: var(--blue); font-weight: 600; font-size: 1rem; margin-bottom: 10px; }
.p-body p:not(.p-sub) { color: var(--text); font-size: .95rem; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.more:hover { gap: 10px; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; background: #fff; }
.wcard h3 { margin: 18px 0 8px; font-size: .98rem; }
.wcard p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.65; }

.serve-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.serve-head h2 { margin: 0; }
.serve-head .sub { max-width: 345px; font-size: .9rem; margin: 0 0 8px; }
.serve { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.scard { background: var(--tint); border-radius: 12px; padding: 26px 10px 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--blue); }
.scard span { color: var(--ink); font-size: .85rem; font-weight: 600; }

.cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; background: linear-gradient(110deg, #0d2b6b 0%, #1446d1 50%, #2b8af2 100%); border-radius: 20px; padding: 56px 54px; color: #dbe6ff; box-shadow: 0 24px 50px rgba(20, 70, 209, .25); }
.cta h2 { color: #fff; max-width: 480px; font-size: clamp(1.5rem, 2.8vw, 1.85rem); }
.cta p { margin: 0; max-width: 470px; font-size: .9rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.mail-line { color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 30px 30px; box-shadow: var(--shadow); }
.form-card > :first-child label, .form-card > label:first-child { margin-top: 26px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-size: .9rem; font-weight: 500; color: var(--ink); margin: 16px 0 6px; }
.row2 label { font-size: .8rem; margin-top: 26px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: .9rem; color: var(--ink); background: #fff;
  border: 1px solid #dfe5ef; border-radius: 10px; padding: 11px 12px;
}
textarea { resize: vertical; min-height: 66px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(21, 101, 240, .14); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-size: .88rem; margin: 12px 0 0; }
.fine { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

/* footer */
.foot { background: var(--foot); color: #b9c4dc; padding: 56px 0 28px; font-size: .85rem; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot-brand { max-width: 280px; }
.foot-brand img { width: 152px; margin-bottom: 16px; }
.foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot h4 { color: #fff; font-size: .85rem; margin-bottom: 14px; }
.foot-cols a { display: block; color: #b9c4dc; text-decoration: none; margin-bottom: 10px; }
.foot-cols a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: .78rem; }
.foot-bottom p { margin: 0; }

/* 3D hover tilt for cards (pointer devices only, set from main.js) */
.tilt { transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)) translateZ(0); transition: transform .2s ease-out, box-shadow .2s ease-out; transform-style: preserve-3d; will-change: transform; }
.tilt:hover { box-shadow: 0 22px 44px rgba(15, 33, 72, .12); }

/* inner pages */
.page-hero { background: var(--tint); padding: 64px 0 56px; }
.page-hero .lead { max-width: 640px; }
.crumb { font-size: .85rem; margin-bottom: 18px; }
.crumb a { text-decoration: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.price-stack { display: grid; gap: 14px; }
.price-card { padding: 20px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.price-card.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset, var(--shadow); }
.plan { color: var(--muted); font-weight: 600; margin: 0; }
.amount { font-size: 1.9rem; font-weight: 800; margin: 0; color: var(--ink); }
.amount span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.note { color: var(--muted); margin: 4px 0 0; font-size: .9rem; }
.rules { display: grid; gap: 12px; }
.rule { display: flex; gap: 16px; align-items: baseline; padding: 14px 18px; border-radius: 12px; background: var(--tint); }
.rule b { font-size: 1.25rem; min-width: 64px; color: var(--blue); }
.rule span { color: var(--text); font-size: .95rem; }
.calc { padding: 8px 28px 28px; }
.calc h3 { margin-top: 22px; font-size: 1.2rem; }
.out { margin: 20px 0 0; display: grid; gap: 4px; }
.out div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.out dt { color: var(--muted); }
.out dd { margin: 0; font-weight: 700; text-align: right; color: var(--ink); }
.out .total dd { color: var(--blue); font-size: 1.2rem; }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); }

/* responsive */
@media (max-width: 960px) {
  .why { grid-template-columns: 1fr 1fr; }
  .serve { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .pt-0 { padding-top: 0; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; padding-bottom: 40px; gap: 12px; }
  .scene { min-height: 300px; }
  .scene-rig { width: 340px; height: 290px; }
  .scene .mock-pos { width: 270px; }
  .scene .mock-dorm { width: 250px; }
  .about, .products, .contact-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .pillars { margin-top: 0; }
  .serve-head { flex-direction: column; align-items: flex-start; }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .foot-cols { gap: 40px; }
}
@media (max-width: 560px) {
  .why { grid-template-columns: 1fr; }
  .kicker { font-size: .68rem; letter-spacing: .12em; }
  .kicker span { margin: 0 6px; }
  .serve { grid-template-columns: 1fr 1fr; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .row2 > div + div label { margin-top: 16px; }
  .form-card { padding: 0 20px 22px; }
  .calc { padding: 4px 20px 22px; }
  .p-art { padding: 24px 18px 0; height: 180px; }
  .p-body { padding: 22px 20px 24px; }
  .scene-rig { width: 300px; transform: rotateX(10deg) rotateY(-14deg); }
  .scene .mock-pos { width: 250px; }
  .scene .mock-dorm { width: 228px; }
  .menu { gap: 5px; padding-right: 8px; }
  .mock-pos { grid-template-columns: 1fr 84px; padding: 9px; }
  .bill { padding-left: 8px; }
  .foot-cols { gap: 28px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .layer { animation: none; }
  .scene-rig, .tilt, .btn { transition: none; }
}
.art-round { border-radius: var(--radius); height: auto; min-height: 240px; padding-bottom: 0; }
