/* Fiable Building Solutions — site styles. Brand: navy #01336B, blue #3178BD, cream #F4F1EC, ink #111. */
@import url("/assets/fonts/fonts.css");

:root {
  --navy: #01336b;
  --navy-900: #001a3a;
  --navy-800: #022650;
  --blue: #3178bd;
  --blue-300: #8fb8e3;
  --blue-100: #e3eef9;
  --cream: #f4f1ec;
  --cream-2: #ebe6dd;
  --ink: #111111;
  --ink-2: #3b4350;
  --ink-3: #6b7380;
  --line: #d9d3c8;
  --line-dark: rgba(255, 255, 255, 0.14);
  --amber: #f2a93b; /* safety accent, used sparingly */
  --ok: #1f7a4d;
  --err: #b3261e;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(1, 51, 107, 0.06), 0 8px 28px rgba(1, 51, 107, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 26, 58, 0.22);
  --wrap: 1200px;
  --head: "Poppins", "Noto Sans Devanagari", Arial, sans-serif;
  --body: "Inter", "Noto Sans Devanagari", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--ink); background: #fff; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.18; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin: 0.25em 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 820px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy-900); color: #dfe8f3; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy a { color: var(--blue-300); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 0.78rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.bg-navy .eyebrow { color: var(--blue-300); }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 62ch; }
.bg-navy .lead { color: #c4d3e6; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } body { font-size: 16px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 600 0.98rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.bg-navy .btn-primary:hover, .hero .btn-primary:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.bg-navy .btn-ghost, .hero .btn-ghost { color: #fff; }
.btn-wa { background: #1f8f4e; color: #fff; }
.btn-wa:hover { background: #17733e; color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.topbar { background: var(--navy-900); color: #b9c8db; font-size: 0.84rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar span + span::before { content: "·"; margin: 0 10px; opacity: .5; }
@media (max-width: 760px) { .topbar .hide-sm { display: none; } }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid #ece8e1; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; white-space: nowrap; }
.brand img { width: 46px; height: 46px; }
.brand b { display: block; font: 700 1.02rem/1.1 var(--head); letter-spacing: .01em; }
.brand small { display: block; font: 500 0.7rem/1.3 var(--body); color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button { font: 500 0.93rem/1 var(--body); color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.nav > a:hover, .nav .dd > button:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav .dd { position: relative; }
.nav .dd-panel { position: absolute; left: -16px; top: calc(100% + 10px); width: 560px; background: #fff; border: 1px solid #ece8e1; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease; }
.nav .dd:hover .dd-panel, .nav .dd:focus-within .dd-panel, .nav .dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-panel a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.dd-panel a:hover { background: var(--cream); }
.dd-panel a b { display: block; font: 600 0.95rem/1.3 var(--head); color: var(--navy); }
.dd-panel a span { font-size: 0.84rem; color: var(--ink-3); line-height: 1.4; display: block; margin-top: 3px; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 11px 18px; font-size: 0.92rem; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 1440px) { .header-cta .phone { display: none; } }
@media (max-width: 1080px) {
  .nav, .header-cta .phone { display: none; }
  .menu-btn { display: block; }
  .nav.open { display: flex; position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 40px; overflow: auto; gap: 0; }
  .nav.open > a, .nav.open .dd > button { padding: 16px 4px; border-bottom: 1px solid #eee; font-size: 1.08rem; width: 100%; justify-content: space-between; border-radius: 0; }
  .nav.open .dd-panel { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; grid-template-columns: 1fr; padding: 4px 0 10px; display: none; }
  .nav.open .dd.open .dd-panel { display: grid; }
}
@media (max-width: 640px) { .header-cta .btn-primary { display: none; } }
@media (max-width: 400px) { .brand small { display: none; } }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, #0b4b93 0%, rgba(11, 75, 147, 0) 60%), linear-gradient(180deg, var(--navy-900), #00264f); color: #dfe8f3; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(143, 184, 227, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 184, 227, 0.09) 1px, transparent 1px), linear-gradient(rgba(143, 184, 227, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 184, 227, 0.045) 1px, transparent 1px); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; mask-image: linear-gradient(180deg, #000 30%, transparent 100%); z-index: -1; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--blue-300); }
.hero .wrap { padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .lead { color: #c4d3e6; font-size: 1.2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 0.92rem; color: #b9c8db; }
.hero-proof span { display: inline-flex; gap: 8px; align-items: center; }
.hero-proof svg { width: 18px; height: 18px; color: var(--blue-300); }
.page-hero .wrap { padding: clamp(44px, 6vw, 84px) 0 clamp(40px, 5vw, 72px); }
.page-hero .lead { max-width: 68ch; }
.crumbs { font-size: 0.85rem; color: #9fb3cc; margin-bottom: 18px; }
.crumbs a { color: #c4d3e6; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; opacity: .6; }

/* Cross-section diagram */
.xsec { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: 20px; padding: 22px; position: relative; }
.xsec figcaption { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb3cc; margin-bottom: 14px; }
.xsec .layer { transform-origin: left center; animation: grow 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.xsec .layer:nth-of-type(2) { animation-delay: .12s; } .xsec .layer:nth-of-type(3) { animation-delay: .24s; } .xsec .layer:nth-of-type(4) { animation-delay: .36s; } .xsec .layer:nth-of-type(5) { animation-delay: .48s; } .xsec .layer:nth-of-type(6) { animation-delay: .6s; }
.xsec .tag { opacity: 0; animation: fade .6s ease forwards; animation-delay: 1s; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .xsec .layer, .xsec .tag { animation: none; opacity: 1; } html { scroll-behavior: auto; } }

/* Cards */
.card { background: #fff; border: 1px solid #ebe6dd; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue-300); color: inherit; }
.card-link .more { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-100); color: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 28px; height: 28px; }
.card .kicker { font-size: 0.76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 6px; }
.card ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); font-size: 0.95rem; }
.bg-navy .card { background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); box-shadow: none; color: #dfe8f3; }
.bg-navy .card .icon { background: rgba(143, 184, 227, 0.14); color: var(--blue-300); }
.svc-card { padding: 0; overflow: hidden; }
.svc-card .svc-img { aspect-ratio: 16 / 9; background: var(--navy-800); overflow: hidden; }
.svc-card .svc-img img, .svc-card .svc-img svg { width: 100%; height: 100%; object-fit: cover; }
.svc-card .svc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }

/* Feature list, ticks */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301336b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.bg-navy .ticks li::before { background-color: rgba(143, 184, 227, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fb8e3' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E"); }

/* Problem → fix table */
.pf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .pf { grid-template-columns: 1fr; } }
.pf .card { display: grid; gap: 12px; }
.pf .sym { font-size: 0.95rem; color: var(--ink-2); }
.pf .fix { border-top: 1px dashed var(--line); padding-top: 12px; font-size: 0.95rem; }
.pf .fix b { color: var(--navy); }
.label { display: inline-block; font: 600 0.7rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 5px 8px; border-radius: 5px; background: var(--cream); color: var(--ink-2); margin-right: 6px; }
.label.blue { background: var(--blue-100); color: var(--navy); }

/* Process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.steps li { list-style: none; counter-increment: step; padding: 30px 26px; border-right: 1px solid var(--line-dark); margin: 0; position: relative; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: "0" counter(step); font: 700 2.4rem/1 var(--head); color: rgba(143, 184, 227, 0.35); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 1.1rem; }
.steps p { font-size: 0.94rem; color: #b9c8db; margin: 0; }
.steps .dur { display: inline-block; margin-top: 14px; font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-300); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(2) { border-right: 0; } .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; border-bottom: 1px solid var(--line-dark); } }
.steps.light { border-color: var(--line); background: #fff; }
.steps.light li { border-color: var(--line); }
.steps.light li::before { color: var(--blue-300); }
.steps.light p { color: var(--ink-2); }
.steps.light .dur { color: var(--blue); }

/* Stats / proof strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip > div { padding: 26px 22px; border-right: 1px solid var(--line); }
.strip > div:last-child { border-right: 0; }
.strip b { display: block; font: 700 1.05rem/1.3 var(--head); color: var(--navy); margin-bottom: 4px; }
.strip span { font-size: 0.92rem; color: var(--ink-2); }
@media (max-width: 860px) { .strip { grid-template-columns: 1fr 1fr; } .strip > div:nth-child(2) { border-right: 0; } .strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .strip { grid-template-columns: 1fr; } .strip > div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.brands > div { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; }
.brands b { display: block; font: 600 1rem/1.2 var(--head); color: var(--navy); margin-bottom: 6px; }
.brands span { font-size: 0.85rem; color: var(--ink-3); line-height: 1.45; display: block; }
@media (max-width: 960px) { .brands { grid-template-columns: repeat(2, 1fr); } }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec th, .spec td { text-align: left; padding: 13px 16px; border-bottom: 1px solid #eee8de; vertical-align: top; }
.spec th { background: var(--cream); font: 600 0.82rem/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.spec tr:last-child td { border-bottom: 0; }
.spec td:first-child { font-weight: 600; color: var(--navy); width: 30%; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font: 600 1.05rem/1.4 var(--head); color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 1.6rem/1 var(--body); color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 75ch; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #0a4a8f 100%); color: #dfe8f3; border-radius: 22px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, 0.05); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: #c4d3e6; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font: 600 0.88rem/1.3 var(--body); color: var(--ink); margin-bottom: 6px; }
.field label i { font-style: normal; color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink); background: #fff; border: 1.5px solid #d6d0c4; border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(49, 120, 189, 0.15); }
.field .hint { font-size: 0.82rem; color: var(--ink-3); margin-top: 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border: 1.5px solid #d6d0c4; border-radius: 999px; font: 500 0.9rem/1 var(--body); cursor: pointer; background: #fff; transition: .15s; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.consent { font-size: 0.84rem; color: var(--ink-3); display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.form-note { font-size: 0.9rem; padding: 14px 16px; border-radius: 10px; display: none; }
.form-note.ok { display: block; background: #e7f4ec; color: var(--ok); }
.form-note.err { display: block; background: #fbeceb; color: var(--err); }
.hp { position: absolute; left: -5000px; }
.form-card { background: #fff; border-radius: 20px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); color: var(--ink); }
.form-card h2, .form-card h3 { color: var(--navy); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.calc .calc-in { padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; align-content: start; }
.calc .calc-out { padding: clamp(22px, 3vw, 34px); background: var(--navy-900); color: #dfe8f3; display: grid; gap: 16px; align-content: start; }
.calc .calc-out h3 { color: #fff; }
.calc-out .big { font: 700 2.2rem/1.1 var(--head); color: #fff; }
.calc-out .big small { font-size: 1rem; color: #9fb3cc; font-weight: 500; }
.calc-out dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; font-size: 0.95rem; }
.calc-out dt { color: #b9c8db; }
.calc-out dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.calc-out .note { font-size: 0.85rem; color: #9fb3cc; border-top: 1px solid var(--line-dark); padding-top: 14px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
input[type="range"] { width: 100%; accent-color: var(--blue); }

/* Projects */
.proj { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; overflow: hidden; }
.proj .proj-img { aspect-ratio: 4 / 3; background: var(--navy-800); overflow: hidden; }
.proj .proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proj:hover .proj-img img { transform: scale(1.04); }
.proj .proj-body { padding: 22px 24px 24px; }
.proj .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

/* Article */
.article { font-size: 1.06rem; }
.article h2 { font-size: 1.6rem; margin-top: 2em; }
.article h3 { font-size: 1.25rem; margin-top: 1.6em; }
.article img { border-radius: var(--radius); margin: 1.5em 0; }
.article blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--blue); background: var(--cream); border-radius: 0 10px 10px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95rem; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article th { background: var(--cream); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.9rem; color: #9fb3cc; margin-top: 14px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; position: sticky; top: 100px; font-size: 0.92rem; }
.toc b { display: block; font: 600 0.8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0; text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--blue); }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .toc { position: static; } }

/* Notice */
.notice { border: 1px solid #f0d9a8; background: #fff8ea; border-radius: var(--radius); padding: 18px 20px; font-size: 0.95rem; color: #5b4313; }
.notice b { color: #3f2d08; }

/* Footer */
.site-footer { background: var(--navy-900); color: #b9c8db; font-size: 0.94rem; }
.site-footer .wrap { padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--body); }
.site-footer a { color: #dfe8f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.foot-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.foot-brand img { width: 54px; height: 54px; background: #fff; border-radius: 10px; padding: 6px; }
.foot-brand b { color: #fff; font: 700 1.05rem/1.2 var(--head); display: block; }
.foot-bottom { border-top: 1px solid var(--line-dark); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.85rem; color: #8ea3bd; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; }

/* Floating actions (mobile) */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22); color: #fff; }
.fab .wa { background: #1f8f4e; }
.fab .call { background: var(--blue); }
.fab svg { width: 26px; height: 26px; }
@media (min-width: 1081px) { .fab .call { display: none; } }

/* Consent banner */
.consent-bar { position: fixed; left: 18px; bottom: 18px; z-index: 70; max-width: 440px; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 20px 22px; font-size: 0.9rem; display: none; border: 1px solid #ebe6dd; }
.consent-bar.show { display: block; }
.consent-bar p { margin: 0 0 14px; color: var(--ink-2); }
.consent-bar .btn { padding: 10px 16px; font-size: 0.88rem; }
@media (max-width: 560px) { .consent-bar { left: 10px; right: 10px; bottom: 10px; max-width: none; } }

/* Misc */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li { margin: 0; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.9rem; }
.bg-navy .pill-list li { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); }
.kpi { font: 700 2.4rem/1 var(--head); color: var(--navy); }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--cream); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.decline { border-left: 4px solid var(--amber); }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; } .mt2 { margin-top: 2rem; } .mt3 { margin-top: 3rem; }
