/* TECTO BUILDERS (PVT.) LTD. — site stylesheet
   One file, no framework. Brand tokens live in :root. */

:root {
  --navy: #123E75;
  --navy-900: #0B2A52;
  --navy-950: #071D3A;
  --navy-50: #EEF3FA;
  --gold: #D4AF37;
  --gold-600: #B8952A;
  --gold-50: #FBF6E6;
  --white: #FFFFFF;
  --bg: #F7F8FA;
  --ink: #16243A;
  --text: #4E5A6B;
  --muted: #7A8596;
  --line: #E3E7EE;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(11, 42, 82, .06), 0 8px 24px rgba(11, 42, 82, .07);
  --shadow-lg: 0 2px 6px rgba(11, 42, 82, .08), 0 24px 48px rgba(11, 42, 82, .14);
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: 72px 0; }
@media (min-width: 992px) { .section { padding: 104px 0; } }
.section-alt { background: var(--bg); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.82); }
.section-navy h2, .section-navy h3 { color: var(--white); }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--gold); }
.section-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 32px; height: 2px; background: var(--gold); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; margin-bottom: 14px; }
.section-head p { font-size: 17px; margin: 0; }
.lead { font-size: 18px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1; padding: 15px 26px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: #E0BE4E; color: var(--navy-950); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(212,175,55,.35); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-900); color: var(--white); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy-950); color: rgba(255,255,255,.75); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 14px; height: 14px; color: var(--gold); }
.topbar-contact { display: flex; gap: 22px; }
@media (max-width: 767px) { .topbar { display: none; } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11,42,82,.08); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand img { width: 58px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .02em; color: var(--navy); }
.brand-sub { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }
.brand:hover .brand-name { color: var(--navy); }
.brand-sub { white-space: nowrap; }
@media (max-width: 400px) { .brand img { width: 48px; height: 33px; } .brand-name { font-size: 17px; } .brand-sub { font-size: 9px; letter-spacing: .16em; } }

.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a { display: block; padding: 10px 14px; font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--ink); border-radius: 6px; position: relative; }
.nav-list a:hover { color: var(--navy); background: var(--navy-50); }
.nav-list a[aria-current="page"] { color: var(--navy); }
.nav-list a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold); }
.nav-cta { margin-left: 12px; }
.nav-cta .btn { padding: 12px 20px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 8px; cursor: pointer; align-items: center; justify-content: center; color: var(--navy); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-open .nav-toggle .i-menu { display: none; }

@media (max-width: 991px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: block; position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(11,42,82,.12); padding: 12px 20px 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-open .site-nav { opacity: 1; transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a[aria-current="page"]::after { left: 8px; right: auto; width: 24px; bottom: 8px; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; padding: 16px; font-size: 15px; }
}

/* ---------- Hero (home) ---------- */
.blueprint { background-color: var(--navy); background-image:
  linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
  linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
  radial-gradient(1200px 600px at 85% 20%, rgba(212,175,55,.10), transparent 60%),
  linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px, auto, auto; }

.hero { color: rgba(255,255,255,.85); padding: 64px 0 140px; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 992px) { .hero { padding: 88px 0 168px; } .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
@media (max-width: 991px) { .hero-visual { margin: 0 6px; } .hero-visual::before { inset: -10px 10px 10px -10px; } }
.hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.8); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid var(--gold); border-radius: var(--radius-lg); opacity: .7; }
.hero-visual img { position: relative; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0,0,0,.35); width: 100%; aspect-ratio: 1040 / 553; object-fit: cover; }
.hero-badge { position: absolute; left: 20px; bottom: -22px; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; font-size: 13px; line-height: 1.35; max-width: 300px; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 14px; color: var(--navy); }
.hero-badge .dot { width: 38px; height: 38px; border-radius: 8px; background: var(--gold-50); color: var(--gold-600); display: grid; place-items: center; flex: none; }
.hero-badge .dot svg { width: 20px; height: 20px; }

/* ---------- Quick enquiry ---------- */
.quick { position: relative; z-index: 2; margin-top: -88px; }
.quick-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px; }
@media (min-width: 768px) { .quick-card { padding: 32px 36px; } }
.quick-card h2 { font-size: 20px; margin-bottom: 4px; }
.quick-card > p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.quick-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .quick-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .quick-grid { grid-template-columns: repeat(4, 1fr) auto; align-items: end; } }

/* ---------- Forms ---------- */
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .opt { color: var(--muted); font-weight: 400; }
.input, .select, .textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; min-height: 48px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23123E75' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.select:invalid { color: var(--muted); }
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(18,62,117,.12); }
.input::placeholder, .textarea::placeholder { color: #9AA3B2; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.icon-box { width: 52px; height: 52px; border-radius: 12px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; flex: none; transition: background-color .25s, color .25s; }
.icon-box svg { width: 26px; height: 26px; }

.service-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; height: 100%; display: flex; flex-direction: column; }
.service-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; background: var(--gold); border-radius: 0 0 3px 3px; transform: scaleX(0); transition: transform .3s; }
a.service-card, a.service-card:hover { color: var(--text); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .icon-box { background: var(--navy); color: var(--gold); }
.service-card h3 { font-size: 18px; margin: 20px 0 8px; }
.service-card p { font-size: 15px; margin: 0; }
.service-card .num { position: absolute; top: 24px; right: 26px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #C5CCD8; letter-spacing: .06em; }
.checks { margin: 18px 0 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23B8952A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.related { margin-top: auto; padding-top: 20px; font-size: 13.5px; color: var(--muted); }
.related a { font-weight: 600; }
.service-card .related { border-top: 1px dashed var(--line); margin-top: 22px; padding-top: 14px; }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split-wide-left { grid-template-columns: 1.1fr .9fr; } }
.media-frame { position: relative; }
.media-frame img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.media-frame::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 45%; height: 45%; border-right: 3px solid var(--gold); border-bottom: 3px solid var(--gold); border-radius: 0 0 var(--radius-lg) 0; pointer-events: none; }
.stamp { position: absolute; top: 20px; left: -12px; background: var(--navy); color: var(--white); padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-family: var(--font-head); }
.stamp b { display: block; font-size: 26px; color: var(--gold); line-height: 1; }
.stamp span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }

.feature-list { display: grid; gap: 28px; }
@media (min-width: 640px) { .feature-list.two { grid-template-columns: 1fr 1fr; } }
.feature { display: flex; gap: 18px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 15px; margin: 0; }

/* ---------- Process ---------- */
.process { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(5, 1fr); gap: 0; } }
.step { position: relative; padding: 26px 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); }
@media (min-width: 1100px) { .step { border-radius: 0; border-right-width: 0; } .step:first-child { border-radius: var(--radius) 0 0 var(--radius); } .step:last-child { border-radius: 0 var(--radius) var(--radius) 0; border-right-width: 1px; } }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-head); font-weight: 700; font-size: 34px; color: var(--gold); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.5px; margin: 0; color: rgba(255,255,255,.72); line-height: 1.6; }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 992px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--white); padding: 28px 24px; }
.fact b { display: block; font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 32px); color: var(--navy); line-height: 1.1; margin-bottom: 6px; font-weight: 700; }
.fact b small { font-size: .55em; color: var(--gold-600); font-weight: 600; }
.fact span { font-size: 14px; color: var(--muted); }

/* ---------- Projects ---------- */
.project-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: box-shadow .25s, transform .25s; }
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover .project-media img { transform: scale(1.04); }
.tag { position: absolute; top: 16px; left: 16px; background: var(--white); color: var(--navy); font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.tag-status { left: auto; right: 16px; background: var(--gold); color: var(--navy-950); }
.project-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 20px; margin-bottom: 6px; }
.meta { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.meta svg { width: 16px; height: 16px; color: var(--gold-600); flex: none; }
.project-body p { font-size: 15px; }
.scope-title { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 6px 0 10px; font-family: var(--font-head); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; padding: 6px 12px; background: var(--navy-50); color: var(--navy); border-radius: 999px; font-weight: 600; }
.no-photo { width: 100%; height: 100%; display: grid; place-content: center; text-align: center; gap: 10px; color: rgba(255,255,255,.75); font-size: 14px; }
.no-photo svg { width: 64px; height: 64px; color: var(--gold); margin: 0 auto; opacity: .9; }
.no-photo b { font-family: var(--font-head); color: var(--white); font-size: 16px; font-weight: 600; }

.elevations { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.elevations button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; overflow: hidden; position: relative; }
.elevations img { aspect-ratio: 690 / 236; object-fit: cover; width: 100%; }
.elevations span { position: absolute; left: 6px; bottom: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(7,29,58,.85); color: var(--white); padding: 2px 7px; border-radius: 4px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 20px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery .wide { grid-column: 1 / -1; }
.g-item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.g-item button { display: block; width: 100%; padding: 0; border: 0; background: var(--bg); cursor: zoom-in; }
.g-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.g-item.wide img { aspect-ratio: 1400 / 933; object-fit: contain; background: var(--white); }
.g-item:hover img { transform: scale(1.03); }
.g-item.wide:hover img { transform: none; }
.g-item figcaption { padding: 14px 18px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.g-item figcaption small { font-family: var(--font-body); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; white-space: nowrap; }
.sub-head { display: flex; align-items: center; gap: 16px; margin: 56px 0 24px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 18px; }
.sub-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(7,29,58,.9); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox p { color: var(--white); text-align: center; margin: 12px 0 0; font-family: var(--font-head); }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.lightbox-close svg { width: 22px; height: 22px; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.industry { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: 15px; }
.industry .icon-box { width: 40px; height: 40px; border-radius: 8px; }
.industry .icon-box svg { width: 20px; height: 20px; }

/* ---------- About: values + VMV ---------- */
.vmv { display: grid; gap: 24px; }
@media (min-width: 992px) { .vmv { grid-template-columns: 1fr 1fr; } }
.vmv-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); }
.vmv-card h3 { display: flex; align-items: center; gap: 14px; font-size: 20px; margin-bottom: 16px; }
.vmv-card.navy { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.85); }
.vmv-card.navy h3 { color: var(--white); }
.vmv-card.navy .icon-box { background: rgba(255,255,255,.1); color: var(--gold); }
.vmv-card blockquote { margin: 0; font-size: 18px; line-height: 1.6; font-family: var(--font-head); font-weight: 400; color: var(--white); }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 15px; }
.value svg { width: 28px; height: 28px; color: var(--gold-600); margin: 0 auto 10px; display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 72px; color: rgba(255,255,255,.82); }
@media (min-width: 992px) { .page-hero { padding: 88px 0 96px; } }
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 50px); font-weight: 700; margin-bottom: 14px; letter-spacing: -.02em; }
.page-hero p { max-width: 640px; font-size: 18px; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; margin-bottom: 18px; color: rgba(255,255,255,.6); }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: var(--gold); }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: var(--radius-lg); padding: 44px 32px; display: grid; gap: 24px; align-items: center; overflow: hidden; }
@media (min-width: 992px) { .cta { grid-template-columns: 1fr auto; padding: 56px 64px; } }
.cta h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,.78); margin: 0; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .panel { padding: 40px; } }
.panel h2 { font-size: 26px; }
.info-list { display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-list h3 { font-size: 15px; margin: 2px 0 2px; }
.info-list p, .info-list a { margin: 0; font-size: 15px; }
.info-card { background: var(--navy); color: rgba(255,255,255,.82); border-radius: var(--radius-lg); padding: 32px; }
.info-card h2 { color: var(--white); font-size: 22px; margin-bottom: 24px; }
.info-card h3 { color: var(--white); }
.info-card a { color: var(--white); }
.info-card a:hover { color: var(--gold); }
.info-card .icon-box { background: rgba(255,255,255,.08); color: var(--gold); width: 44px; height: 44px; }
.info-card .icon-box svg { width: 20px; height: 20px; }
.map { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--navy-50); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; padding: 20px; }
.map-placeholder svg { width: 40px; height: 40px; color: var(--navy); margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); font-size: 15px; padding-top: 72px; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr .8fr 1fr 1.1fr; gap: 48px; } }
.footer-brand img { width: 120px; height: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; max-width: 340px; }
.site-footer h2 { color: var(--white); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; line-height: 1.5; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.social { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Mobile call button ---------- */
.fabs { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 12px; }
.call-fab, .wa-fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(7,29,58,.28); transition: transform .2s, box-shadow .2s; }
.call-fab { background: var(--gold); color: var(--navy-950); display: none; }
.call-fab svg { width: 24px; height: 24px; }
.wa-fab { background: #25D366; color: #fff; }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab span { display: none; }
.wa-fab:hover, .call-fab:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 28px rgba(7,29,58,.32); }
.call-fab:hover { color: var(--navy-950); }
@media (min-width: 768px) {
  .fabs { right: 24px; bottom: 24px; }
  .wa-fab { width: auto; height: 52px; border-radius: 999px; padding: 0 22px 0 16px; display: flex; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
  .wa-fab svg { width: 26px; height: 26px; }
  .wa-fab span { display: inline; }
}
@media (max-width: 767px) { .call-fab { display: grid; } }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1EBE5B; color: #fff; transform: translateY(-1px); }
.footer-contact li > svg[fill="currentColor"] { color: var(--gold); }
.info-card .icon-box svg[fill="currentColor"], .topbar svg[fill="currentColor"] { color: var(--gold); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 48px; }
.center { text-align: center; }
.stack > * + * { margin-top: 1em; }
.thanks { text-align: center; max-width: 640px; margin: 0 auto; }
.thanks .icon-box { width: 72px; height: 72px; margin: 0 auto 24px; background: var(--gold-50); color: var(--gold-600); border-radius: 50%; }
.thanks .icon-box svg { width: 36px; height: 36px; }

/* =========================================================
   Motion & polish (step 4)
   ========================================================= */

/* Smooth cross-page transitions (Chrome, Edge, Safari 18+; others just load normally) */
@view-transition { navigation: auto; }
.topbar { view-transition-name: topbar; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .32s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* Hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise-img { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-visual { animation: rise-img 1s .15s cubic-bezier(.2,.7,.2,1) both; }
.hero-visual::before { animation: frame-in 1.2s .6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes frame-in { from { opacity: 0; transform: translate(14px, -14px); } }
.hero-badge { animation: rise .7s .75s cubic-bezier(.2,.7,.2,1) both; }
.quick-card { animation: rise .8s .35s cubic-bezier(.2,.7,.2,1) both; }
.page-hero .container > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.page-hero .container > :nth-child(2) { animation-delay: .07s; }
.page-hero .container > :nth-child(3) { animation-delay: .14s; }

/* Blueprint elevation that draws itself on inner-page banners */
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.bp-draw { position: absolute; right: max(24px, calc((100vw - var(--container)) / 2 + 24px)); bottom: 0; width: min(46vw, 520px); height: auto; color: var(--gold); pointer-events: none; }
.bp-draw path { stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.bp-lines path { opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s cubic-bezier(.6,.1,.3,1) forwards; }
.bp-lines path:nth-child(2) { animation-delay: .15s; } .bp-lines path:nth-child(3) { animation-delay: .3s; }
.bp-lines path:nth-child(4) { animation-delay: .4s; } .bp-lines path:nth-child(5) { animation-delay: .5s; }
.bp-lines path:nth-child(6) { animation-delay: .45s; } .bp-lines path:nth-child(7) { animation-delay: .6s; }
.bp-lines path:nth-child(8) { animation-delay: .7s; } .bp-lines path:nth-child(9) { animation-delay: .85s; }
.bp-lines path:nth-child(10) { animation-delay: 1s; stroke-width: 1; } .bp-lines path:nth-child(11) { animation-delay: 1.1s; stroke-width: 1; }
.bp-dims path { opacity: .4; stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s 1.2s ease forwards; }
.bp-dims .bp-dash { stroke-dasharray: 3 4; stroke-dashoffset: 0; opacity: 0; animation: fade-to .6s 1.6s ease forwards; --to: .35; }
.bp-text, .bp-bubbles { opacity: 0; animation: fade-to .6s 1.9s ease forwards; --to: .7; }
.bp-draw text { fill: currentColor; font: 600 11px var(--font-head); letter-spacing: .06em; text-anchor: middle; }
.bp-bubbles circle { stroke: currentColor; stroke-width: 1; fill: var(--navy); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-to { to { opacity: var(--to, 1); } }
@media (max-width: 991px) { .bp-draw { width: 300px; right: -40px; opacity: .45; } }
@media (max-width: 575px) { .bp-draw { display: none; } }

/* Staggered card reveals (delay set by main.js) and photo fade-in */
.js img.fade { opacity: 0; transition: opacity .6s ease, transform .6s; }
.js img.fade.loaded { opacity: 1; }

/* Slimmer header once scrolled (desktop) */
@media (min-width: 992px) {
  .site-header .container { transition: height .25s ease; }
  .site-header.scrolled .container { height: 64px; }
}

/* Gentle hover lift for buttons with arrows */
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(2px); }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .bp-lines path, .bp-dims path { stroke-dashoffset: 0; }
  .bp-text, .bp-bubbles { opacity: .7; }
  .bp-dims .bp-dash { opacity: .35; }
  .js img.fade { opacity: 1; }
}
@media (max-width: 1100px) { .topbar .container > span { display: none; } }

/* =========================================================
   Cost estimator
   ========================================================= */
.est-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 992px) { .est-grid { grid-template-columns: 1.15fr 1fr; gap: 36px; } .est-side { position: sticky; top: calc(var(--header-h) + 20px); } }
.est-side { display: grid; gap: 20px; }
.est-form h2 { font-size: 24px; margin-bottom: 20px; }
.est-field { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.est-field legend { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 10px; padding: 0; }
.est-field .form-note { margin-top: 8px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg input, .est-option input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--font-head); font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.seg svg { width: 20px; height: 20px; color: var(--navy); }
.seg input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.seg input:checked + span svg { color: var(--gold); }
.seg input:focus-visible + span, .est-option input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.est-area { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }
.est-area .input { font-size: 18px; font-weight: 600; }
.est-options { display: grid; gap: 10px; }
.est-option span { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px 14px 46px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; position: relative; transition: border-color .2s, background-color .2s; }
.est-option span::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #B9C2D0; transition: border .2s; }
.est-option b { font-family: var(--font-head); color: var(--ink); font-size: 16px; }
.est-option small { font-weight: 600; color: var(--gold-600); font-size: 13.5px; text-align: right; }
.est-option em { grid-column: 1 / -1; font-style: normal; font-size: 14px; color: var(--muted); line-height: 1.5; }
.est-option input:checked + span { border-color: var(--navy); background: var(--navy-50); }
.est-option input:checked + span::before { border: 6px solid var(--navy); }
.est-result .eyebrow { margin-bottom: 8px; }
.est-range { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; margin: 0 0 4px; }
.est-full { color: var(--gold); font-weight: 600; font-size: 14.5px; margin: 0 0 20px; min-height: 1.4em; }
.est-result.empty .est-range { font-size: 22px; opacity: .7; }
.est-meta { display: grid; gap: 12px; margin: 0 0 20px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.est-meta div { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.est-meta dt { color: rgba(255,255,255,.65); }
.est-meta dd { margin: 0; color: var(--white); font-weight: 600; text-align: right; }
.est-note { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.6); margin: 0; }
.est-commercial p { color: rgba(255,255,255,.82); }
.est-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.est-actions .btn { flex: 1 1 200px; }
[hidden] { display: none !important; }

.est-teaser { display: grid; gap: 20px; align-items: center; padding: 32px; border-radius: var(--radius-lg); color: rgba(255,255,255,.8); transition: transform .25s, box-shadow .25s; }
.est-teaser:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: rgba(255,255,255,.8); }
@media (min-width: 768px) { .est-teaser { grid-template-columns: auto 1fr auto; padding: 36px 44px; gap: 28px; } }
.est-teaser-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(212,175,55,.14); color: var(--gold); display: grid; place-items: center; }
.est-teaser-icon svg { width: 32px; height: 32px; }
.est-teaser-text { display: grid; gap: 4px; }
.est-teaser-text .eyebrow { margin-bottom: 2px; }
.est-teaser-text strong { font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 26px); color: var(--white); line-height: 1.25; }
.est-teaser-text > span:last-child { font-size: 15px; }

/* Six nav items: tighten spacing on mid-size desktops */
@media (min-width: 992px) and (max-width: 1199px) { .nav-list a { padding: 10px 9px; font-size: 14.5px; } .nav-cta { margin-left: 6px; } .nav-cta .btn { padding: 11px 14px; font-size: 13.5px; } .brand-sub { display: none; } }
.est-mini { display: none; }
@media (max-width: 991px) {
  .est-mini { position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 72px 0 0; padding: 12px 16px; background: var(--navy); color: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg); font-family: var(--font-head); }
  .est-mini span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
  .est-mini b { font-size: 15px; white-space: nowrap; }
  .est-mini span { white-space: nowrap; }
  .est-mini:hover { color: var(--white); }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 992px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .faq-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; } }
.faq-contact { margin-top: 24px !important; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(18,62,117,.35); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--ink); line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--navy); }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-50); transition: background-color .2s, transform .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); border-radius: 2px; transition: transform .3s, background-color .2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--navy); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before { background: var(--gold); }
.faq-item[open] .faq-icon::after { transform: rotate(0); background: var(--gold); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin: 0; font-size: 15.5px; }
.faq-item[open] .faq-a { animation: faq-open .35s ease; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }
