/* ==========================================================
   Bhabu Electricals — site stylesheet
   Brand blue taken from the logo: #156082
   ========================================================== */
:root {
  --blue: #156082;
  --blue-600: #12546f;
  --blue-700: #0e435a;
  --blue-100: #e3f0f6;
  --blue-50: #f1f7fa;
  --navy: #0a2230;
  --navy-2: #0d2c3d;
  --ink: #0f1d26;
  --text: #34444f;
  --muted: #64757f;
  --line: #e2e9ee;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --spark: #f2b632;
  --glow: #6cc7ea;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(10, 34, 48, .06), 0 10px 30px -12px rgba(10, 34, 48, .18);
  --shadow-lg: 0 30px 60px -25px rgba(10, 34, 48, .35);
  --container: 1240px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16.5px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #c4d3dc; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .78rem/1 var(--font-head); letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--glow); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.section--dark .lead { color: #9fb3bf; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { max-width: 720px; margin: 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font: 600 .98rem/1 var(--font-head); padding: 16px 26px; border-radius: 999px;
  border: 1.5px solid transparent; transition: all .3s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(21, 96, 130, .7); }
.btn--primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-100); color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.link-arrow { font: 600 .95rem var(--font-head); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #9fb3bf; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 16px; }
.topbar a { color: #cfe0e8; }
.topbar a:hover { color: #fff; }
.topbar__left, .topbar__right { display: flex; gap: 22px; align-items: center; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; opacity: .8; }
.topbar__badge { color: var(--spark); font-weight: 600; letter-spacing: .02em; }

.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(10, 34, 48, .35); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand > img { width: 50px; height: auto; }
.brand__word { display: block; height: 22px; width: auto; max-width: none; }
.brand > span { flex: none; }
.brand__name { font: 800 1.28rem/1 var(--font-head); color: var(--blue); letter-spacing: -.01em; }
.brand__tag { display: block; font: 600 .66rem/1 var(--font-head); color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font: 600 .95rem/1 var(--font-head); color: var(--ink); padding: 12px 14px; border-radius: 10px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--blue); }
.header__cta { margin-left: 14px; padding: 13px 22px; }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 8s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 28, 40, .94) 0%, rgba(10, 40, 58, .82) 42%, rgba(21, 96, 130, .35) 100%);
}
.hero__grid { position: absolute; inset: 0; z-index: 1; opacity: .18; pointer-events: none;
  background-image: linear-gradient(rgba(108, 199, 234, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 199, 234, .25) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 20% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 20% 40%, #000 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 140px; }
.hero h1 { color: #fff; max-width: 900px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--glow), #b5e6f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #c0d2dc; font-size: 1.22rem; max-width: 620px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06);
  font: 600 .86rem var(--font-head); color: #dbe8ef; backdrop-filter: blur(6px);
}
.hero__badge b { background: var(--spark); color: var(--navy); border-radius: 999px; padding: 5px 11px; font-size: .74rem; letter-spacing: .06em; }
.hero__stats {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
}
.hero__stats .container { padding: 0 24px; }
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(10, 34, 48, .55);
  border: 1px solid rgba(255, 255, 255, .12); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.stat { padding: 28px 30px; border-right: 1px solid rgba(255, 255, 255, .1); }
.stat:last-child { border-right: 0; }
.stat__num { font: 800 2.4rem/1 var(--font-head); color: #fff; letter-spacing: -.03em; }
.stat__num sup { font-size: .5em; color: var(--glow); margin-left: 2px; }
.stat__label { font-size: .88rem; color: #9fb3bf; margin-top: 8px; }
.hero__dots { position: absolute; z-index: 3; right: 32px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.hero__dots button { width: 4px; height: 28px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .3); cursor: pointer; padding: 0; transition: background .3s, height .3s; }
.hero__dots button.is-active { background: var(--glow); height: 44px; }
.hero__caption { position: absolute; z-index: 3; right: 32px; bottom: 150px; font: 500 .8rem var(--font-head); color: #9fb3bf; letter-spacing: .04em; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; padding: 110px 0 96px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(10, 34, 48, .96) 30%, rgba(21, 96, 130, .55)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 860px; }
.page-hero .lead { color: #b6c9d3; }
.crumbs { font: 500 .85rem var(--font-head); color: #8ea6b3; margin-bottom: 22px; }
.crumbs a { color: #cfe0e8; }
.crumbs span { margin: 0 8px; opacity: .5; }

/* ---------- Generic grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card p { color: var(--muted); margin: 0; }
.icon-badge {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px;
  background: var(--blue-100); color: var(--blue); transition: all .4s var(--ease);
}
.icon-badge svg { width: 28px; height: 28px; }
.card:hover .icon-badge { background: var(--blue); color: #fff; transform: rotate(-6deg); }
.section--dark .card { background: var(--navy-2); border-color: rgba(255, 255, 255, .08); }
.section--dark .card p { color: #9fb3bf; }
.section--dark .icon-badge { background: rgba(108, 199, 234, .12); color: var(--glow); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
.media-stack { position: relative; }
.media-stack__main { border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__float {
  position: absolute; right: -28px; bottom: 40px; background: var(--blue); color: #fff; border-radius: 20px;
  padding: 26px 30px; box-shadow: var(--shadow-lg); max-width: 240px;
}
.media-stack__float b { font: 800 3rem/1 var(--font-head); display: block; }
.media-stack__float span { font-size: .92rem; color: #cfe5ef; }
.media-stack__chip {
  position: absolute; left: -24px; top: 40px; background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font: 600 .9rem var(--font-head); color: var(--ink);
}
.media-stack__chip img { width: 38px; }
.checks { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks li::before {
  content: ""; flex: 0 0 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checks--2 { grid-template-columns: 1fr 1fr; }
.section--dark .checks li { color: #dbe8ef; }

/* ---------- Services ---------- */
.service-card { display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 10px; }
.service-card .tags { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font: 600 .74rem/1 var(--font-head); padding: 7px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--blue-700); border: 1px solid var(--line); }
.service-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; padding: 64px 0; border-top: 1px solid var(--line); align-items: start; }
.service-detail:first-of-type { border-top: 0; }
.service-detail__num { font: 800 .9rem var(--font-head); color: var(--blue); letter-spacing: .12em; }
.service-detail h3 { font-size: 1.8rem; margin-top: 10px; }
.service-detail__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; margin-top: 24px; }
.service-detail__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sectors ---------- */
.sector {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; color: #fff; display: flex; align-items: flex-end;
  isolation: isolate;
}
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(8, 28, 40, .92)); transition: background .4s; }
.sector:hover img { transform: scale(1.08); }
.sector:hover::before { background: linear-gradient(180deg, rgba(21, 96, 130, .25) 0%, rgba(8, 28, 40, .95)); }
.sector__body { padding: 26px; width: 100%; }
.sector__count { font: 700 .76rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--glow); }
.sector h3 { color: #fff; margin: 6px 0 0; font-size: 1.3rem; }
.sector__arrow { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; backdrop-filter: blur(6px); transition: all .4s var(--ease); }
.sector__arrow svg { width: 18px; height: 18px; }
.sector:hover .sector__arrow { background: #fff; color: var(--blue); transform: rotate(-45deg); }

/* ---------- Bento (featured projects) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 18px; }
.bento .p-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento .p-tile:nth-child(n+4) { grid-column: span 2; }
.p-tile { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; display: flex; align-items: flex-end; cursor: pointer; isolation: isolate; background: var(--navy-2); }
.p-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.p-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(8, 28, 40, .9)); }
.p-tile:hover img { transform: scale(1.06); }
.p-tile__body { padding: 24px; }
.p-tile__meta { font: 600 .74rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--glow); }
.p-tile h3 { color: #fff; margin: 6px 0 0; font-size: 1.2rem; }
.p-tile:nth-child(1) h3 { font-size: 1.7rem; }
.p-tile__load { position: absolute; top: 18px; left: 18px; font: 700 .78rem var(--font-head); background: rgba(255, 255, 255, .92); color: var(--navy); padding: 7px 12px; border-radius: 999px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, rgba(108, 199, 234, .1), var(--glow), rgba(108, 199, 234, .1)); }
.step { text-align: center; padding: 0 14px; position: relative; }
.step__dot { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: var(--navy-2); border: 2px solid var(--glow); font: 800 1.1rem var(--font-head); color: #fff; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--navy); }
.step h3 { font-size: 1.08rem; }
.step p { font-size: .92rem; color: #9fb3bf; }

/* ---------- MD message ---------- */
.md { display: grid; grid-template-columns: 420px 1fr; gap: 72px; align-items: center; }
.md__photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.md__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.md__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(8, 28, 40, .7)); }
.md__sig { position: absolute; left: 24px; bottom: 22px; z-index: 1; color: #fff; }
.md__sig b { font: 800 1.2rem var(--font-head); display: block; }
.md__sig span { font-size: .85rem; color: #cfe0e8; }
.quote-mark { font: 800 7rem/0.6 Georgia, serif; color: var(--blue); opacity: .2; display: block; height: 50px; }
.md blockquote { margin: 0; font: 500 clamp(1.25rem, 2.1vw, 1.6rem)/1.55 var(--font-head); color: var(--ink); letter-spacing: -.01em; }
.md__body { color: var(--muted); margin-top: 24px; }

/* ---------- Logo marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 22px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 60s; }
.logo-box { width: 190px; height: 104px; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; padding: 16px 22px; flex: none; }
.logo-box img { max-height: 70px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .4s; }
.logo-box:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Journal ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); color: var(--text); height: 100%; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.post-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--navy-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font: 600 .78rem var(--font-head); color: var(--muted); display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.post-meta .cat { color: var(--blue); text-transform: uppercase; letter-spacing: .1em; }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.post-card h3 { font-size: 1.22rem; margin-bottom: 10px; color: var(--ink); }
.post-card p { color: var(--muted); font-size: .96rem; }
.post-card .link-arrow { margin-top: auto; padding-top: 8px; }
.post-feature { display: grid; grid-template-columns: 1.25fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-bottom: 40px; color: var(--text); transition: box-shadow .4s; }
.post-feature:hover { box-shadow: var(--shadow-lg); color: var(--text); }
.post-feature__img { min-height: 420px; position: relative; }
.post-feature__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-feature__body { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.post-feature h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { font: 600 .88rem/1 var(--font-head); padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .25s; display: inline-flex; gap: 8px; align-items: center; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip small { font-size: .74rem; opacity: .7; }

/* Article */
.article-hero { background: var(--navy); color: #fff; padding: 96px 0 0; position: relative; }
.article-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 900px; }
.article-hero .post-meta { color: #9fb3bf; }
.article-hero .post-meta .cat { color: var(--glow); }
.article-cover { border-radius: 24px; overflow: hidden; aspect-ratio: 21/9; margin-top: 48px; transform: translateY(80px); box-shadow: var(--shadow-lg); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-wrap { padding: 150px 0 100px; }
.prose { max-width: 760px; margin: 0 auto; font-size: 1.1rem; line-height: 1.85; color: #2c3b45; }
.prose h2 { font-size: 1.75rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 2em 0; padding: 26px 30px; background: var(--blue-50); border-left: 4px solid var(--blue); border-radius: 0 16px 16px 0; font: 500 1.15rem/1.6 var(--font-head); color: var(--ink); }
.prose figure { margin: 2.2em 0; }
.prose figure img { border-radius: 16px; width: 100%; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; text-align: center; }
.callout { background: var(--navy); color: #c4d3dc; border-radius: 20px; padding: 32px 34px; margin: 2.4em 0; }
.callout h3 { color: #fff; margin-top: 0; }
.callout p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.8em 0; border: 1px solid var(--line); border-radius: 14px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { background: var(--bg-soft); font-family: var(--font-head); color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }
.author-box { max-width: 760px; margin: 56px auto 0; display: flex; gap: 20px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 20px; }
.author-box img { width: 64px; height: 64px; border-radius: 16px; background: var(--blue); padding: 10px; }
.author-box b { font-family: var(--font-head); color: var(--ink); display: block; }
.author-box span { color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.faq-nav { position: sticky; top: 110px; display: grid; gap: 6px; }
.faq-nav a { padding: 12px 16px; border-radius: 12px; font: 600 .95rem var(--font-head); color: var(--muted); border: 1px solid transparent; }
.faq-nav a:hover, .faq-nav a.is-active { color: var(--blue); background: var(--blue-50); border-color: var(--blue-100); }
.faq-group { margin-bottom: 56px; scroll-margin-top: 110px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 20px; }
.faq { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq[open] { border-color: var(--blue-100); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; gap: 20px; align-items: center; font: 600 1.05rem/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23156082' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq[open] summary::after { transform: rotate(45deg); background-color: var(--blue-100); }
.faq__a { padding: 0 26px 24px; color: var(--muted); }
.faq__a p:last-child { margin: 0; }
.faq-search { position: relative; max-width: 560px; margin-top: 30px; }
.faq-search input { width: 100%; padding: 18px 22px 18px 54px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; font: 500 1rem var(--font-body); }
.faq-search input::placeholder { color: #8ea6b3; }
.faq-search svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #8ea6b3; }

/* ---------- Projects page ---------- */
.toolbar { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 320px; max-width: 420px; }
.search input { width: 100%; padding: 15px 18px 15px 48px; border: 1.5px solid var(--line); border-radius: 999px; font: 500 .98rem var(--font-body); background: #fff; color: var(--ink); transition: border-color .25s; }
.search input:focus { outline: 0; border-color: var(--blue); }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.toggle { display: inline-flex; gap: 10px; align-items: center; font: 600 .9rem var(--font-head); color: var(--ink); cursor: pointer; user-select: none; }
.toggle input { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .25s; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.toggle input:checked { background: var(--blue); }
.toggle input:checked::after { transform: translateX(18px); }
.result-count { color: var(--muted); font-size: .92rem; margin-bottom: 26px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); text-align: left; padding: 0; font: inherit; color: inherit; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--navy-2); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__badge { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.pcard__badge span { font: 700 .7rem/1 var(--font-head); letter-spacing: .06em; padding: 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--navy); }
.pcard__badge .live { background: var(--spark); }
.pcard__count { position: absolute; bottom: 14px; right: 14px; font: 600 .75rem var(--font-head); padding: 6px 10px; border-radius: 999px; background: rgba(8, 28, 40, .7); color: #fff; display: flex; gap: 6px; align-items: center; }
.pcard__count svg { width: 14px; height: 14px; }
.pcard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__sector { font: 700 .72rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.pcard h3 { font-size: 1.12rem; margin: 2px 0 4px; }
.pcard__loc { color: var(--muted); font-size: .92rem; display: flex; gap: 6px; align-items: center; }
.pcard__loc svg { width: 15px; height: 15px; flex: none; }
.pcard__specs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
/* Placeholder visual for projects without photographs */
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; color: #fff; overflow: hidden;
  background: radial-gradient(circle at 85% 15%, rgba(108, 199, 234, .35), transparent 45%), linear-gradient(140deg, var(--blue) 0%, var(--navy) 85%); }
.ph::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px); background-size: 28px 28px; }
.ph__mark { position: absolute; right: -30px; bottom: -40px; width: 200px; opacity: .1; }
.ph__icon { position: relative; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.ph__icon svg { width: 24px; height: 24px; }
.ph__load { position: relative; font: 800 2.2rem/1 var(--font-head); letter-spacing: -.02em; }
.ph__load small { display: block; font: 600 .74rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--glow); margin-top: 8px; }
.empty { text-align: center; padding: 80px 20px; color: var(--muted); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 20, 29, .82); backdrop-filter: blur(6px); animation: fade .3s; }
.modal__dialog { position: relative; background: #fff; border-radius: 24px; width: min(1180px, 100%); max-height: calc(100vh - 48px); overflow: auto; display: grid; grid-template-columns: 1.5fr 1fr; animation: pop .4s var(--ease); }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); color: var(--ink); }
.modal__close svg { width: 20px; height: 20px; }
.gallery { background: var(--navy); position: relative; display: flex; flex-direction: column; min-height: 420px; }
.gallery__main { position: relative; flex: 1; min-height: 380px; display: grid; place-items: center; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); cursor: pointer; display: grid; place-items: center; z-index: 2; color: var(--ink); }
.gallery__nav svg { width: 20px; height: 20px; }
.gallery__nav--prev { left: 16px; }
.gallery__nav--next { right: 16px; }
.gallery__thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; background: rgba(0, 0, 0, .25); }
.gallery__thumbs button { flex: none; width: 72px; height: 54px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; opacity: .55; transition: all .25s; background: none; }
.gallery__thumbs button.is-active { border-color: var(--glow); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery .ph { position: relative; flex: 1; min-height: 420px; }
.gallery .ph__load { font-size: 3.4rem; }
.modal__info { padding: 48px 40px; }
.modal__info h2 { font-size: 1.9rem; margin-bottom: 6px; }
.spec-list { margin: 28px 0 0; display: grid; gap: 0; }
.spec-list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-list dt { font: 600 .8rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.spec-list dd { margin: 0; color: var(--ink); font-weight: 500; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }

/* ---------- Team ---------- */
.leader { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-grid--5 { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.member { text-align: left; }
.member__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(160deg, #dfe8ee, #c9d6de); margin-bottom: 16px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.member:hover .member__photo img { transform: scale(1.05); }
.member__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(21, 96, 130, .35)); opacity: 0; transition: opacity .4s; }
.member:hover .member__photo::after { opacity: 1; }
.member__initials { position: absolute; inset: 0; display: grid; place-items: center; font: 800 3rem var(--font-head); color: #fff; background: linear-gradient(140deg, var(--blue), var(--navy)); }
.member h3 { font-size: 1.05rem; margin: 0 0 2px; }
.member p { font-size: .88rem; color: var(--blue); font-weight: 600; margin: 0; font-family: var(--font-head); }
.team-grid--5 .member h3 { font-size: .98rem; }
.team-grid--5 .member p { font-size: .82rem; color: var(--muted); }
.subhead { display: flex; align-items: center; gap: 18px; margin: 72px 0 32px; }
.subhead h3 { margin: 0; font-size: 1.5rem; white-space: nowrap; }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.subhead span { font: 700 .8rem var(--font-head); color: var(--blue); background: var(--blue-50); padding: 6px 12px; border-radius: 999px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 140px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--blue-100), var(--blue), var(--blue-100)); }
.tl { display: grid; grid-template-columns: 140px 1fr; gap: 48px; padding: 22px 0; position: relative; }
.tl__year { font: 800 1.5rem var(--font-head); color: var(--blue); text-align: right; padding-right: 8px; }
.tl::after { content: ""; position: absolute; left: 133px; top: 32px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.tl h3 { margin-bottom: 6px; }
.tl p { color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(48px, 7vw, 88px); color: #fff; background: linear-gradient(120deg, var(--blue) 0%, var(--blue-700) 50%, var(--navy) 100%); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(108, 199, 234, .45), transparent 65%); z-index: -1; }
.cta-band__mark { position: absolute; right: 6%; bottom: -60px; width: 300px; opacity: .08; z-index: -1; }
.cta-band h2 { color: #fff; max-width: 680px; }
.cta-band p { color: #cfe5ef; max-width: 560px; font-size: 1.1rem; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-card { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 16px; transition: border-color .3s, box-shadow .3s; }
.contact-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.contact-card .icon-badge { margin: 0; flex: none; width: 52px; height: 52px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); font-size: .98rem; }
.contact-card a { display: block; color: var(--ink); font-weight: 600; }
.contact-card a:hover { color: var(--blue); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.form h2 { font-size: 1.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font: 600 .86rem var(--font-head); color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: 500 1rem var(--font-body); color: var(--ink); background: var(--bg-soft); transition: border-color .25s, background .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: 12px; font-size: .95rem; line-height: 1.55; }
.form-status--ok { background: #e8f6ee; border: 1px solid #b6e2c6; color: #14532d; }
.form-status--err { background: #fdecec; border: 1px solid #f3c2c2; color: #7f1d1d; }
.form-status a { color: inherit; font-weight: 600; text-decoration: underline; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 14px; }
.map { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); height: 440px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.8); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #8ea6b3; padding: 96px 0 0; font-size: .95rem; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--glow), var(--blue)); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 64px; }
.footer__logo { width: 300px; margin-bottom: 24px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer a { color: #b6c9d3; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--glow); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 26px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer__assoc + .footer__assoc { margin-left: 0; }
.footer__assoc { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: #cfe0e8; font-size: .86rem; margin-top: 10px; max-width: 380px; }
.footer__assoc b { color: var(--spark); }
.footer__assoc svg { width: 30px; height: 30px; flex: none; color: var(--spark); }

/* Associations */
.assoc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; text-align: center; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.assoc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.assoc-card__logo { height: 120px; display: grid; place-items: center; margin-bottom: 22px; }
.assoc-card__logo img { width: auto; height: auto; max-height: 96px; max-width: 100%; }
.assoc-card__role { display: inline-block; font: 700 .74rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 8px 14px; border-radius: 999px; margin-bottom: 12px; }
.assoc-card p { color: var(--ink); font-weight: 600; margin: 0; font-family: var(--font-head); }
.assoc-card { display: block; color: inherit; }
.assoc-card__link { display: block; margin-top: 14px; font: 600 .85rem var(--font-head); color: var(--blue); }
.assoc-card:hover .assoc-card__link { text-decoration: underline; }
.assoc-card__type { display: block; margin-top: 8px; font: 600 .78rem var(--font-head); color: var(--muted); letter-spacing: .04em; }
.footer__memberships { margin-top: 26px; }
.footer__memberships h4 { margin-bottom: 14px; }
.footer__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 380px; }
.footer__logo-tile { background: #fff; border-radius: 10px; padding: 8px 8px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer__logo-tile img { width: auto; height: auto; max-height: 34px; max-width: 100%; }
.footer__logo-tile span { font: 700 .6rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }

/* Floating WhatsApp / call */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4); transition: transform .3s var(--ease); }
.fab a:hover { transform: scale(1.08); color: #fff; }
.fab svg { width: 26px; height: 26px; }
.fab__wa { background: #1fa855; }
.fab__call { background: var(--blue); }

/* ---------- Misc ---------- */
.values { counter-reset: v; }
.value { padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: 70px 1fr; gap: 20px; }
.value::before { counter-increment: v; content: "0" counter(v); font: 800 1rem var(--font-head); color: var(--glow); padding-top: 4px; }
.value h3 { margin-bottom: 4px; }
.value p { margin: 0; color: #9fb3bf; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature-list > div { background: #fff; padding: 28px; display: flex; gap: 16px; align-items: flex-start; }
.feature-list svg { width: 26px; height: 26px; color: var(--blue); flex: none; margin-top: 2px; }
.feature-list p { margin: 0; }
.feature-list b {font-family: var(--font-head); color: var(--ink); display: block; margin-bottom: 2px; }
.feature-list span { color: var(--muted); font-size: .92rem; }
.notice { font-size: .85rem; color: var(--muted); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { position: fixed; inset: 82px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 18px 24px 28px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(10, 34, 48, .3); transform: translateY(-120%); transition: transform .45s var(--ease); max-height: calc(100vh - 82px); overflow: auto; }
  .nav.is-open { transform: none; }
  .nav a { padding: 15px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .header__cta { margin: 16px 0 0; justify-content: center; }
  .nav-toggle { display: grid; place-items: center; }
  .grid--4, .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid--5 { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .md { grid-template-columns: 340px 1fr; gap: 48px; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process::before { display: none; }
  .modal__dialog { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .topbar__left .hide-sm, .topbar__badge { display: none; }
  .split, .md, .leader, .contact-grid, .faq-layout, .service-detail, .post-feature { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .grid--3, .grid--2, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero .container { padding-top: 64px; padding-bottom: 40px; }
  .hero__stats { position: relative; }
  .hero__dots, .hero__caption { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .bento .p-tile:nth-child(4) { grid-column: span 2; }
  .faq-nav { position: static; display: flex; flex-wrap: wrap; }
  .media-stack__float { right: 12px; }
  .media-stack__chip { left: 12px; }
  .md__photo { max-width: 420px; }
  .feature-list { grid-template-columns: 1fr 1fr; }
  .checks--2 { grid-template-columns: 1fr; }
  .timeline::before { left: 8px; }
  .tl { grid-template-columns: 1fr; gap: 6px; padding-left: 40px; }
  .tl::after { left: 1px; }
  .tl__year { text-align: left; }
  .post-feature__img { min-height: 260px; }
  .post-feature__body { padding: 32px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .topbar__right { display: none; }
  .brand__tag { display: none; }
  .brand__word { height: 18px; }
  .brand > img { width: 42px; }
  .grid--3, .grid--2, .grid--4, .project-grid, .team-grid { grid-template-columns: 1fr; }
  .team-grid, .team-grid--5 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .bento { grid-template-columns: 1fr; }
  .bento .p-tile:nth-child(n) { grid-column: auto; grid-row: auto; }
  .stat { padding: 20px 18px; }
  .stat__num { font-size: 1.9rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__logo { width: 240px; }
  .process { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .modal { padding: 0; }
  .modal__dialog { border-radius: 0; max-height: 100vh; height: 100%; }
  .modal__info { padding: 32px 22px; }
  .spec-list div { grid-template-columns: 110px 1fr; }
  .section-head { margin-bottom: 36px; }
  .card { padding: 26px; }
  .article-cover { transform: translateY(50px); }
  .article-wrap { padding-top: 100px; }
  .cta-band { border-radius: 20px; }
}
