/* ==========================================================
   Nirlipta Engineering & Construction
   Layout inspired by spdcl.in — brand colours from Nirlipta logo
   ========================================================== */

:root {
  --navy: #00194e;
  --navy-2: #0b2663;
  --ink: #0d1424;
  --red: #e3242b;
  --red-dark: #b8141b;
  --blue: #1a56db;
  --cyan: #2fd0e6;
  --text: #4a5468;
  --muted: #8a93a6;
  --line: #e6e9ef;
  --bg-soft: #f5f7fb;
  --white: #fff;
  --radius: 4px;
  --shadow: 0 20px 50px -20px rgba(0, 25, 78, .25);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --head: 'Work Sans', sans-serif;
  --body: 'Nunito Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.accent { color: var(--red); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--head); font-weight: 600; font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.section-title {
  font-family: var(--head); font-weight: 700; color: var(--navy);
  font-size: clamp(30px, 4vw, 48px); line-height: 1.15;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 22px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head .eyebrow::after { content: ""; width: 36px; height: 2px; background: currentColor; }
.section-sub { color: var(--muted); font-size: 17px; }
.section-head--light .section-title { color: var(--white); }
.section-head--light .section-sub { color: rgba(255,255,255,.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 600; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 36px; border-radius: var(--radius);
  transition: all .35s ease; position: relative; overflow: hidden; z-index: 0; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary::before { background: var(--navy); }
.btn--outline { border: 2px solid var(--white); color: var(--white); }
.btn--outline::before { background: var(--white); }
.btn--outline:hover { color: var(--navy); }
.btn--outline-dark { border: 2px solid var(--navy); color: var(--navy); }
.btn--outline-dark::before { background: var(--navy); }
.btn--outline-dark:hover { color: var(--white); }
.btn--light { background: var(--white); color: var(--red); }
.btn--light::before { background: var(--navy); }
.btn--light:hover { color: var(--white); }

.link-arrow {
  font-family: var(--head); font-weight: 600; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--navy);
  display: inline-flex; gap: 10px; align-items: center;
}
.link-arrow span { transition: transform .3s; color: var(--red); }
.link-arrow:hover span { transform: translateX(6px); }

.arrow {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); color: var(--white); font-size: 20px;
  transition: all .3s;
}
.arrow:hover { background: var(--red); border-color: var(--red); }
.arrow--dark { border-color: var(--line); color: var(--navy); }
.arrow--dark:hover { color: var(--white); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--navy);
  display: grid; place-items: center; transition: opacity .6s, visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__inner img { width: 72px; animation: pulse 1.4s ease-in-out infinite; }
.preloader__bar { width: 140px; height: 2px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.preloader__bar::after { content: ""; position: absolute; inset: 0; background: var(--red); animation: load 1.2s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes pulse { 50% { transform: scale(.9); opacity: .7; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 26px 0; transition: all .4s ease;
}
.header.is-scrolled {
  padding: 12px 0; background: rgba(0, 25, 78, .96);
  backdrop-filter: blur(8px); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
}
.header__inner { display: flex; align-items: center; gap: 30px; }
.header__logo img { height: 56px; width: auto; transition: height .4s; }
.header.is-scrolled .header__logo img { height: 46px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 26px; }
.nav__link {
  font-family: var(--head); font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--white);
  position: relative; padding: 6px 0; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); transform-origin: left; }
.header__cta { padding: 12px 24px; font-size: 12px; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; z-index: 120; }
.burger span { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px auto; transition: .35s; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: var(--ink); }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s;
  display: flex; align-items: center;
}
.hero__slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,15,48,.92) 0%, rgba(0,25,78,.72) 45%, rgba(0,25,78,.25) 100%);
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__content { position: relative; z-index: 2; color: var(--white); }
.hero__eyebrow {
  display: inline-block; font-family: var(--head); font-weight: 500; font-size: 15px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px;
  opacity: 0; transform: translateY(20px); transition: all .8s ease .3s;
}
.hero__title {
  font-family: var(--head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(38px, 6.5vw, 88px); line-height: 1.05; letter-spacing: 1px;
  max-width: 900px; margin-bottom: 42px;
}
.hero__title span { display: inline-block; opacity: 0; transform: translateY(60px); transition: all .9s var(--ease); }
.hero__content .btn { opacity: 0; transform: translateY(20px); transition: opacity .8s ease 1.3s, transform .8s ease 1.3s, color .35s; }
.hero__slide.is-active .hero__eyebrow,
.hero__slide.is-active .hero__title span,
.hero__slide.is-active .btn { opacity: 1; transform: none; }

.hero__controls {
  position: absolute; left: 0; right: 0; bottom: 60px; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
}
.hero__counter { display: flex; align-items: center; gap: 16px; color: var(--white); font-family: var(--head); font-weight: 600; font-size: 18px; }
.hero__counter i { width: 60px; height: 1px; background: rgba(255,255,255,.5); }
.hero__counter #heroCurrent { font-size: 34px; color: var(--white); }
.hero__arrows { display: flex; gap: 14px; }
.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.1); z-index: 5; }
.hero__progress span { display: block; height: 100%; width: 0; background: var(--red); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); z-index: 5;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about__media { position: relative; }
.about__media::before {
  content: ""; position: absolute; top: -24px; left: -24px; width: 60%; height: 70%;
  border: 3px solid var(--red); z-index: -1;
}
.about__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__badge {
  position: absolute; right: -24px; bottom: -30px; background: var(--navy); color: var(--white);
  padding: 26px 34px; border-left: 4px solid var(--red); box-shadow: var(--shadow);
}
.about__badge strong { display: block; font-family: var(--head); font-size: 22px; text-transform: uppercase; letter-spacing: 1px; }
.about__badge span { color: var(--cyan); font-size: 14px; letter-spacing: 1px; }
.about__text p { margin-bottom: 18px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0 36px; }
.mv__card { background: var(--bg-soft); padding: 26px; border-top: 3px solid var(--navy); transition: .35s; }
.mv__card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow); }
.mv__card h3 { font-family: var(--head); color: var(--navy); font-size: 17px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.mv__card p { font-size: 14.5px; margin: 0; }

/* ---------- Values ---------- */
.values { background: #e8f3f9; }
.hexes { --gap: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.hex { width: calc((100% - 4 * var(--gap)) / 5); max-width: 300px; }
.hex__shape {
  --ring: #0f7a19;
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  position: relative; aspect-ratio: 0.866; clip-path: var(--hex); background: var(--ring);
  transition: transform .45s var(--ease);
}
.hex__shape::before { content: ""; position: absolute; inset: 3.5%; clip-path: var(--hex); background: #fff; }
.hex__glow { position: absolute; inset: 8%; filter: blur(7px); }
.hex__glow::before { content: ""; position: absolute; inset: 0; clip-path: var(--hex); background: #8f98a3; }
.hex__inner {
  position: absolute; inset: 9%; clip-path: var(--hex); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 11%;
}
.hex__icon { width: 58px; height: 58px; flex-shrink: 0; margin-bottom: 10px; transition: transform .45s var(--ease); }
.hex h3 { font-family: var(--head); color: #1f4e6b; text-transform: uppercase; letter-spacing: .5px; font-size: clamp(14px, 1.35vw, 19px); font-weight: 700; margin-bottom: 6px; }
.hex p { font-family: var(--head); color: var(--ink); font-size: clamp(11px, .92vw, 13.5px); font-weight: 500; line-height: 1.35; }
.hex:hover .hex__shape { transform: scale(1.07); }
.hex:hover .hex__icon { transform: translateY(-3px) scale(1.08); }
.value__icon {
  width: 86px; height: 86px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,25,78,.06); transition: .4s;
}
.value__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: .4s; }
.value:hover .value__icon { background: var(--red); }
.value:hover .value__icon svg { stroke: var(--white); }
.value h3 { font-family: var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: 2px; font-size: 16px; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: .4s; overflow: hidden; }
.service:hover { box-shadow: var(--shadow); }
.service__img { overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.service:hover .service__img img { transform: scale(1.08); }
.service__body { padding: 34px 30px; position: relative; }
.service__num { font-family: var(--head); font-weight: 800; font-size: 48px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--red); display: block; margin-bottom: 14px; }
.service h3 { font-family: var(--head); color: var(--navy); font-size: 19px; text-transform: uppercase; letter-spacing: 1px; line-height: 1.3; margin-bottom: 12px; }
.service p { font-size: 14.5px; margin-bottom: 18px; }

/* ---------- Process ---------- */
.process {
  background: linear-gradient(rgba(0,20,62,.94), rgba(0,20,62,.94)), url('../img/bg-section.webp') center/cover fixed;
  color: rgba(255,255,255,.72);
}
.process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; }
.step { position: relative; }
.step__img { position: relative; width: 120px; height: 120px; margin-bottom: 24px; }
.step__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; border: 3px solid rgba(255,255,255,.15); transition: .4s; }
.step:hover .step__img img { border-color: var(--red); }
.step__img span {
  position: absolute; top: -10px; right: -10px; width: 40px; height: 40px; border-radius: 4px;
  background: var(--red); color: var(--white); display: grid; place-items: center;
  font-family: var(--head); font-weight: 700; font-size: 14px;
}
.step h4 { font-family: var(--head); color: var(--white); text-transform: uppercase; letter-spacing: 1px; font-size: 17px; margin-bottom: 10px; }
.step p { font-size: 14.5px; }

/* ---------- Projects ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.tab {
  font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--navy); padding: 12px 26px; border: 1px solid var(--line); transition: .3s;
}
.tab:hover { border-color: var(--navy); }
.tab.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery__item { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.gallery__item.is-hidden { display: none; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery__item::after {
  content: "+"; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,25,78,.65); color: var(--white); font-size: 48px; font-weight: 300;
  opacity: 0; transition: opacity .4s;
}
.gallery__item:hover img { transform: scale(1.1); }
.gallery__item:hover::after { opacity: 1; }
.gallery__tag {
  position: absolute; left: 0; bottom: 18px; z-index: 2; background: var(--blue); color: var(--white);
  font-family: var(--head); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-soft); }
.tslider { max-width: 900px; margin: 0 auto; overflow: hidden; }
.tslider__track { display: flex; transition: transform .8s var(--ease); }
.tcard { flex: 0 0 100%; text-align: center; padding: 20px 40px; }
.tcard__quote { font-family: Georgia, serif; font-size: 110px; line-height: .6; color: var(--red); height: 50px; }
.tcard p { font-size: clamp(17px, 2vw, 21px); line-height: 1.7; color: var(--navy); font-style: italic; margin-bottom: 32px; }
.tcard__author { display: inline-flex; align-items: center; gap: 18px; text-align: left; }
.tcard__author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--red); }
.tcard__author h4 { font-family: var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: 1.5px; font-size: 16px; }
.tcard__author h5 { font-weight: 400; color: var(--muted); font-size: 14px; }
.tslider__nav { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 40px; }
.tslider__dots { display: flex; gap: 10px; }
.tslider__dots button { width: 10px; height: 10px; border-radius: 10px; background: #c9cfdb; transition: .35s; }
.tslider__dots button.is-active { width: 34px; background: var(--red); }

/* ---------- Testimonials coverflow ---------- */
.tsec { background: #071a4a; overflow: hidden; }
.eyebrow--bracket { color: #f5b400; font-size: 17px; font-weight: 700; letter-spacing: 7px; gap: 30px; }
.eyebrow--bracket::before, .section-head .eyebrow--bracket::after { width: 110px; height: 3px; }
.tsec .section-title { text-transform: none; letter-spacing: 0; font-size: clamp(32px, 4.2vw, 52px); }
.tflow__stage { display: grid; justify-items: center; align-items: stretch; padding-bottom: 40px; }
.tflow__card {
  grid-area: 1 / 1; width: min(600px, 100%); background: var(--white); border-radius: 16px;
  padding: 70px 56px 48px; text-align: center; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center;
  transition: transform .8s var(--ease), opacity .8s ease, box-shadow .8s ease;
  opacity: 0; pointer-events: none;
}
.tflow__card[data-pos="0"] { z-index: 3; opacity: 1; pointer-events: auto; cursor: default; box-shadow: 0 30px 70px -20px rgba(0,0,0,.55); }
.tflow__card[data-pos="-1"], .tflow__card[data-pos="1"] { z-index: 2; opacity: .5; pointer-events: auto; }
.tflow__card[data-pos="-1"] { transform: translate(-60%, 14%) scale(.74); }
.tflow__card[data-pos="1"] { transform: translate(60%, 14%) scale(.74); }
.tflow__card[data-pos="-2"], .tflow__card[data-pos="2"] { z-index: 1; opacity: .25; pointer-events: auto; }
.tflow__card[data-pos="-2"] { transform: translate(-95%, 22%) scale(.58); }
.tflow__card[data-pos="2"] { transform: translate(95%, 22%) scale(.58); }
.tflow__card[data-pos="hidden"] { transform: scale(.5); }
.tflow__card:not([data-pos="0"]):hover { opacity: .7; }
.tflow__avatar {
  width: 150px; height: 150px; margin: 0 auto 34px; border-radius: 50%; padding: 11px;
  background: conic-gradient(from 210deg, #0a5d8f, #18b9ec 35%, #18b9ec 70%, #0a5d8f);
}
.tflow__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 6px solid var(--white); }
.tflow__card blockquote { font-size: clamp(16px, 1.6vw, 21px); line-height: 1.75; color: #1d2433; margin-bottom: 28px; }
.tflow__card figcaption strong { display: block; font-family: var(--head); font-size: 20px; color: var(--navy); }
.tflow__card figcaption span { font-weight: 700; font-size: 15px; color: var(--text); }
.tflow__nav { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 20px; }
.tflow__dots { display: flex; gap: 10px; }
.tflow__dots button { width: 10px; height: 10px; border-radius: 10px; background: rgba(255,255,255,.3); transition: .35s; }
.tflow__dots button.is-active { width: 34px; background: #f5b400; }
.tsec .center-btn { margin-top: 36px; }

/* ---------- YouTube video strip ---------- */
.vids { background: var(--bg-soft); overflow: hidden; }
.vmarquee {
  overflow: hidden; padding: 10px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.vmarquee__track { display: flex; gap: 26px; width: max-content; padding: 0 13px; }
.vmarquee.is-running .vmarquee__track { animation: vscroll var(--dur, 40s) linear infinite; }
.vmarquee:hover .vmarquee__track, .vmarquee:focus-within .vmarquee__track, .vmarquee.is-paused .vmarquee__track { animation-play-state: paused; }
@keyframes vscroll { to { transform: translateX(-50%); } }
.vcard {
  position: relative; flex: 0 0 auto; width: 380px; border-radius: 12px; overflow: hidden;
  background: var(--navy); box-shadow: 0 18px 40px -22px rgba(0,25,78,.55); cursor: pointer;
  transition: transform .4s ease, box-shadow .4s ease;
}
.vcard:hover, .vcard:focus-visible { transform: translateY(-6px); box-shadow: 0 26px 50px -20px rgba(0,25,78,.6); outline: none; }
.vcard__img { display: block; aspect-ratio: 16 / 9; }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.vcard:hover .vcard__img img { transform: scale(1.06); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,15,48,.05) 35%, rgba(0,15,48,.88)); pointer-events: none; }
.vcard__play {
  position: absolute; left: 50%; top: 42%; z-index: 2; width: 68px; height: 48px; margin: -24px 0 0 -34px;
  border-radius: 14px; background: #ff0000; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .3s ease;
}
.vcard__play::before { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.vcard:hover .vcard__play { transform: scale(1.12); }
.vcard__title {
  position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2; color: var(--white);
  font-family: var(--head); font-weight: 600; font-size: 16px; letter-spacing: .5px; text-transform: uppercase;
}
.vcard.is-soon { cursor: default; }
.vcard.is-soon .vcard__play { background: rgba(255,255,255,.22); backdrop-filter: blur(4px); box-shadow: none; }
.vcard.is-soon::before {
  content: "Video coming soon"; position: absolute; top: 14px; right: 14px; z-index: 3; padding: 5px 12px;
  background: var(--red); color: var(--white); font-family: var(--head); font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.vmodal { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; padding: 24px; background: rgba(5,10,25,.92); opacity: 0; visibility: hidden; transition: .35s; }
.vmodal.is-open { opacity: 1; visibility: visible; }
.vmodal__frame { width: min(1000px, 100%); aspect-ratio: 16 / 9; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.vmodal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vmodal__close { position: absolute; top: 18px; right: 26px; color: var(--white); font-size: 46px; line-height: 1; }

/* ---------- Floating chat buttons ---------- */
.fchat {
  position: fixed; bottom: 24px; z-index: 95; height: 58px; min-width: 58px; border-radius: 30px;
  display: flex; align-items: center; color: var(--white); box-shadow: 0 10px 28px -6px rgba(0,0,0,.4);
  transition: box-shadow .3s ease, transform .3s ease;
}
.fchat svg { width: 30px; height: 30px; margin: 0 14px; flex-shrink: 0; }
.fchat__label {
  max-width: 0; overflow: hidden; white-space: nowrap; font-family: var(--head); font-weight: 600;
  font-size: 14px; letter-spacing: .5px; transition: max-width .4s ease, padding .4s ease;
}
.fchat:hover .fchat__label, .fchat:focus-visible .fchat__label { max-width: 180px; }
.fchat:hover { transform: translateY(-3px); }
.fchat--wa { left: 24px; background: #25d366; }
.fchat--wa svg { fill: var(--white); }
.fchat--wa:hover .fchat__label { padding-right: 20px; }
.fchat--wa::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366;
  animation: ping 2s ease-out infinite; pointer-events: none;
}
.fchat--live { right: 24px; background: var(--red); flex-direction: row-reverse; }
.fchat--live svg { fill: var(--white); }
.fchat--live svg .dot { fill: var(--red); }
.fchat--live:hover .fchat__label { padding-left: 20px; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }

/* ---------- About page ---------- */
.about-page { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about-page__media { position: relative; padding: 0 0 70px 0; }
.about-page__building { width: 86%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-page__media::before { content: ""; position: absolute; top: -22px; left: -22px; width: 55%; height: 60%; border: 3px solid var(--red); z-index: -1; }
.founder {
  position: absolute; right: 0; bottom: 0; width: 46%; background: var(--white); padding: 10px 10px 0;
  box-shadow: 0 24px 50px -18px rgba(0,25,78,.45); border-bottom: 4px solid var(--red);
}
.founder img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.founder figcaption { padding: 14px 6px 16px; text-align: center; }
.founder strong { display: block; font-family: var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: 1px; font-size: 16px; }
.founder span { color: var(--red); font-family: var(--head); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.about-page__text p { margin-bottom: 16px; }
.about-page__text .btn { margin-top: 10px; }

/* ---------- Live chat panel ---------- */
.chatpanel { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 460px; }
.chatpanel__head { display: flex; align-items: center; gap: 14px; background: var(--navy); color: var(--white); padding: 18px 22px; }
.chatpanel__head strong { display: block; font-family: var(--head); font-size: 17px; letter-spacing: .5px; }
.chatpanel__head span { font-size: 13px; color: rgba(255,255,255,.7); }
.chatpanel__dot { width: 11px; height: 11px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 4px rgba(37,211,102,.25); flex-shrink: 0; }
.chatpanel__body { flex: 1; display: grid; position: relative; }
.chatpanel__fallback { display: grid; justify-items: center; align-content: center; text-align: center; gap: 12px; padding: 40px 28px; }
.chatpanel__icon { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,25,78,.06); }
.chatpanel__icon svg { width: 34px; height: 34px; fill: var(--navy); }
.chatpanel__fallback h3 { font-family: var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: 1px; font-size: 20px; }
.chatpanel__fallback p { max-width: 340px; }
.chatpanel__fallback .btn-row { margin-top: 8px; }
.chatpanel__embed { width: 100%; min-height: 460px; }
.chatpanel.is-live .chatpanel__fallback { display: none; }
.btn--wa { background: #25d366; color: var(--white); }
.btn--wa::before { background: #128c7e; }

/* ---------- Other services links ---------- */
.svc-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc-link { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.svc-link img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .8s ease, opacity .4s; }
.svc-link span { position: absolute; left: 14px; right: 14px; bottom: 14px; color: var(--white); font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; line-height: 1.3; }
.svc-link:hover img { transform: scale(1.08); opacity: .4; }
.svc-link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); transition: width .4s ease; }
.svc-link:hover::after { width: 100%; }

/* ---------- Odia text ---------- */
[lang="or"] .hero__title, [lang="or"] .hero__eyebrow, [lang="or"] .btn { font-family: 'Noto Sans Oriya', var(--head); letter-spacing: 0; }
[lang="or"] .hero__title { line-height: 1.25; font-size: clamp(34px, 5.6vw, 76px); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(110deg, var(--red) 0%, var(--red-dark) 100%); padding: 64px 0; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 50px solid rgba(255,255,255,.07); border-radius: 50%; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 1; }
.cta h2 { font-family: var(--head); color: var(--white); text-transform: uppercase; letter-spacing: 1px; font-size: clamp(22px, 3vw, 34px); line-height: 1.2; margin-bottom: 6px; }
.cta p { color: rgba(255,255,255,.85); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact__list { margin: 10px 0 34px; }
.contact__list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__list a:hover { color: var(--red); }
.contact__label { font-family: var(--head); font-weight: 700; color: var(--red); min-width: 20px; }
.form { background: var(--navy); padding: 46px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--white);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15);
  padding: 15px 18px; border-radius: var(--radius); outline: none; transition: border-color .3s;
}
.form select option { color: var(--ink); }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.5); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--red); }
.form .btn { justify-self: start; }
.form .btn--primary::before { background: var(--white); }
.form .btn--primary:hover { color: var(--navy); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding-top: 90px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer__logo { height: 60px; width: auto; margin-bottom: 22px; }
.footer h2 { font-family: var(--head); color: var(--white); font-size: 16px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; position: relative; padding-bottom: 14px; }
.footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--red); }
.footer li { margin-bottom: 10px; }
.footer a { transition: color .3s, padding .3s; }
.footer li a:hover { color: var(--white); padding-left: 6px; }
.footer p { margin-bottom: 12px; }
.footer p a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 14px; text-align: center; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(5,10,25,.95); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 84vh; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__close { position: absolute; top: 20px; right: 28px; color: var(--white); font-size: 44px; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: var(--white); font-size: 20px; transition: .3s; }
.lightbox__nav:hover { background: var(--red); border-color: var(--red); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 29px; bottom: 96px; z-index: 90; width: 48px; height: 48px; display: grid; place-items: center; background: var(--red); color: var(--white); font-size: 20px; border-radius: 50%; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .4s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hex { width: calc((100% - 2 * var(--gap)) / 3); max-width: 270px; }
  .hex p { font-size: 13px; }
  .hex h3 { font-size: 17px; }
  .service { grid-template-columns: 1fr; }
  .service__img { aspect-ratio: 3 / 2; }
}
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 70px; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta__inner { flex-direction: column; text-align: center; }
  .process { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .btn { white-space: normal; text-align: center; padding-left: 24px; padding-right: 24px; }
  .svc-links { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about-page__media::before { left: -10px; top: -12px; }
  .founder { width: 52%; }
  .vcard { width: 280px; }
  .vcard__title { font-size: 14px; }
  .fchat { bottom: 16px; height: 52px; min-width: 52px; }
  .fchat svg { width: 26px; height: 26px; margin: 0 13px; }
  .fchat--wa { left: 16px; }
  .fchat--live { right: 16px; }
  .to-top { right: 20px; bottom: 82px; width: 42px; height: 42px; }
  .tflow__card[data-pos="-1"], .tflow__card[data-pos="1"], .tflow__card[data-pos="-2"], .tflow__card[data-pos="2"] { opacity: 0; pointer-events: none; }
  .tflow__card { padding: 50px 24px 36px; }
  .tflow__avatar { width: 116px; height: 116px; padding: 8px; margin-bottom: 24px; }
  .eyebrow--bracket { font-size: 13px; letter-spacing: 4px; gap: 14px; }
  .eyebrow--bracket::before, .section-head .eyebrow--bracket::after { width: 40px; }
  .header__logo img { height: 44px; }
  .hero__scroll { display: none; }
  .hero__eyebrow { font-size: 11px; letter-spacing: 1px; }
  .hero__controls { bottom: 34px; }
  .hero__counter #heroCurrent { font-size: 26px; }
  .arrow { width: 44px; height: 44px; }
  .about__media::before { left: -10px; top: -12px; }
  .about__badge { right: 0; bottom: -24px; padding: 18px 22px; }
  .mv, .form__row { grid-template-columns: 1fr; }
  .hexes { flex-direction: column; align-items: flex-start; gap: 0; }
  .hex { --w: min(238px, 66%); width: var(--w); max-width: none; }
  .hex:nth-child(even) { align-self: flex-end; }
  .hex + .hex { margin-top: calc(var(--w) * -0.26); }
  .services__grid, .process__grid, .gallery, .footer__grid { grid-template-columns: 1fr; }
  .tcard { padding: 10px 4px; }
  .form { padding: 28px 20px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}
/* ==========================================================
   Inner pages
   ========================================================== */

/* ---------- Dropdown menu ---------- */
.has-sub { position: relative; }
.sub-toggle { display: none; }
.sub {
  position: absolute; top: calc(100% + 18px); left: -22px; min-width: 230px; width: max-content; max-width: 340px;
  background: var(--white); box-shadow: 0 24px 50px -18px rgba(0,0,0,.35);
  border-top: 3px solid var(--red); padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s ease;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a {
  display: block; padding: 10px 22px; font-family: var(--head); font-size: 13px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase; color: var(--navy); transition: all .25s;
}
.sub a:hover { color: var(--red); padding-left: 28px; background: var(--bg-soft); }
.has-sub > .nav__link { padding-right: 14px; }
.has-sub > .nav__link::before {
  content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; margin-top: -5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}

/* ---------- Page banner ---------- */
.page-hero {
  position: relative; min-height: 440px; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; background-color: var(--navy);
  padding: 160px 0 70px;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,15,48,.94) 0%, rgba(0,25,78,.78) 55%, rgba(0,25,78,.45) 100%); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title {
  font-family: var(--head); font-weight: 700; color: var(--white); text-transform: uppercase;
  font-size: clamp(34px, 5.5vw, 68px); line-height: 1.05; letter-spacing: 1px; margin-bottom: 18px;
  animation: rise .9s var(--ease) both .3s;
}
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--head); font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.65); animation: rise .9s var(--ease) both .5s; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--red); }
.crumbs li:last-child { color: var(--cyan); }
.crumbs a:hover { color: var(--white); }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Section variants & layout helpers ---------- */
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: rgba(255,255,255,.75); }
.section--dark .section-title { color: var(--white); }
.section--dark .checklist li { color: rgba(255,255,255,.8); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); max-height: 560px; object-fit: cover; }
.split__text p { margin-bottom: 16px; }
.split__text .btn, .split__text .btn-row { margin-top: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }
.center-btn { text-align: center; margin-top: 50px; }
.center-btn.btn-row { display: flex; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 26px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); padding: 36px 30px; border-bottom: 3px solid transparent;
  box-shadow: 0 0 0 1px var(--line); transition: all .4s ease;
}
.section--soft .card { box-shadow: none; }
.card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: var(--shadow); }
.card__num { display: block; font-family: var(--head); font-weight: 800; font-size: 42px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--red); margin-bottom: 16px; }
.card h3 { font-family: var(--head); color: var(--navy); font-size: 17px; text-transform: uppercase; letter-spacing: 1px; line-height: 1.35; margin-bottom: 10px; }
.card p { font-size: 15px; }
.card--accent { background: var(--navy); color: rgba(255,255,255,.8); display: flex; flex-direction: column; justify-content: center; }
.card--accent h3 { color: var(--white); }
.card--icon { text-align: center; }
.card--icon .value__icon { margin-bottom: 20px; }
.card--icon:hover .value__icon { background: var(--red); }
.card--icon:hover .value__icon svg { stroke: var(--white); }
.cards--dark .card { background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px rgba(255,255,255,.1); color: rgba(255,255,255,.72); }
.cards--dark .card h3 { color: var(--white); }

.checklist { display: grid; gap: 12px; margin: 22px 0; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat;
}
.checklist strong { color: var(--navy); }
.checklist--2 { grid-template-columns: 1fr; font-size: 15px; }

/* ---------- Vision / mission ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.vm__card { background: var(--white); padding: 50px 44px; border-left: 4px solid var(--red); box-shadow: var(--shadow); }
.vm__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); margin-bottom: 22px; }
.vm__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vm__card h3 { font-family: var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: 2px; font-size: 22px; margin-bottom: 14px; }
.vm__card p { font-style: italic; font-size: 16.5px; }

/* ---------- Placeholder content ---------- */
.note {
  background: #fff8e6; border: 1px dashed #d9a400; color: #6b5200; padding: 16px 22px;
  border-radius: var(--radius); font-size: 14.5px; margin-bottom: 44px;
}
.ph { color: var(--muted); font-style: italic; }

/* ---------- People ---------- */
.avatar { width: 150px; height: 150px; border-radius: 50%; background: linear-gradient(145deg, #e8ecf4, #d3d9e6); display: grid; place-items: center; margin: 0 auto 22px; overflow: hidden; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--line); }
.avatar svg { width: 70%; height: 70%; fill: #b4bdd0; }
.avatar--lg { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: var(--radius); margin: 0; box-shadow: var(--shadow); border: 0; }
.avatar--lg svg { width: 55%; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.people--4 { grid-template-columns: repeat(4, 1fr); }
.person { text-align: center; padding: 40px 26px; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: .4s; }
.person:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.person h3 { font-family: var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: 1.5px; font-size: 18px; }
.person__role { display: block; color: var(--red); font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin: 6px 0 14px; }
.person p { font-size: 14.5px; }

.desk { display: grid; grid-template-columns: 380px 1fr; gap: 70px; align-items: start; }
.desk__photo { position: relative; }
.desk__name { background: var(--navy); color: var(--white); padding: 22px 26px; border-left: 4px solid var(--red); margin: -40px 24px 0; position: relative; }
.desk__name h3 { font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; font-size: 20px; }
.desk__name span { color: var(--cyan); font-size: 14px; }
.desk__quote { font-family: Georgia, serif; font-size: 120px; line-height: .5; color: var(--red); height: 50px; }
.desk__text p { margin-bottom: 16px; font-size: 16.5px; }
.desk__sign { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.desk__sign strong { display: block; font-family: var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: 1.5px; }
.desk__sign span { color: var(--muted); font-size: 14px; }

/* ---------- Stats & timeline ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--white); text-align: center; padding: 44px 20px; }
.stat strong { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(38px, 4.5vw, 58px); line-height: 1; color: var(--navy); margin-bottom: 10px; }
.stat strong b { font-weight: inherit; }
.stat span { font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--red); }
.timeline { position: relative; max-width: 860px; margin: 0 auto; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 90px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 44px 140px; }
.timeline li::before { content: ""; position: absolute; left: 83px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--red); }
.timeline__year { position: absolute; left: 0; top: 0; width: 70px; text-align: right; font-family: var(--head); font-weight: 700; color: var(--navy); font-size: 18px; }
.timeline h3 { font-family: var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: 1px; font-size: 18px; margin-bottom: 6px; }

/* ---------- Services page ---------- */
.svc-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 80px; }
.svc-nav a { font-family: var(--head); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); padding: 10px 18px; border: 1px solid var(--line); transition: .3s; }
.svc-nav a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.svc-rows { display: grid; gap: 100px; }
.svc-row { scroll-margin-top: 110px; }
.svc-title { font-family: var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: 1px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin-bottom: 18px; }

/* ---------- Project cards & galleries ---------- */
.gallery--cards .pcard { aspect-ratio: 4 / 3.4; }
.pcard__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 50px 22px 20px;
  background: linear-gradient(transparent, rgba(0,15,48,.92)); color: var(--white); display: grid; gap: 2px;
}
.pcard__cap strong { font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; font-size: 17px; }
.pcard__cap em { font-style: normal; font-size: 13px; color: rgba(255,255,255,.7); }
.pcard .gallery__tag { top: 18px; bottom: auto; }
.pcard--text { background: var(--navy) url('../img/svc-commercial.png') center/cover; }
.pcard--text::before { content: ""; position: absolute; inset: 0; background: rgba(0,25,78,.72); }
.pcard--text::after { display: none; }
.gallery__name { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0,15,48,.85)); color: var(--white); font-family: var(--head); font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.gallery__item:has(.gallery__name) .gallery__tag { top: 18px; bottom: auto; }
.gallery--masonry { display: block; columns: 4 240px; column-gap: 16px; }
.gallery--masonry .gallery__item { aspect-ratio: auto; display: block; margin-bottom: 16px; break-inside: avoid; }
.gallery--masonry .gallery__item img { height: auto; }
.lightbox__fig { display: grid; justify-items: center; gap: 14px; }
.lightbox__fig figcaption { color: var(--white); font-family: var(--head); letter-spacing: 2px; text-transform: uppercase; font-size: 14px; }

/* ---------- Presence ---------- */
.presence { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: stretch; }
.region + .region { margin-top: 36px; }
.region h3 { display: flex; align-items: center; gap: 12px; font-family: var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: 2px; font-size: 18px; margin-bottom: 16px; }
.region__pin { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: var(--red); transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--white); border: 1px solid var(--line); padding: 8px 16px; font-size: 14px; color: var(--navy); font-weight: 600; transition: .3s; }
.chips li:hover { border-color: var(--red); color: var(--red); }
.chips--dark li { background: var(--navy); color: var(--white); border-color: var(--navy); }
.map { min-height: 420px; box-shadow: var(--shadow); background: #dfe4ec; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map--tall, .map--tall iframe { min-height: 560px; }

/* ---------- Clients ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-tile { aspect-ratio: 3 / 2; display: grid; place-items: center; background: var(--white); border: 1px dashed #c3cad8; color: var(--muted); font-size: 13px; }

/* ---------- Testimonials page ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tbox { background: var(--white); padding: 44px 34px 34px; display: flex; flex-direction: column; border-bottom: 3px solid var(--red); transition: .4s; }
.tbox:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tbox blockquote { font-style: italic; color: var(--navy); margin-bottom: 28px; flex: 1; }
.tbox .tcard__quote { font-size: 90px; height: 40px; }

/* ---------- CSR ---------- */
.policy { display: grid; gap: 20px; max-width: 900px; margin: 0 auto; }
.policy__block { background: var(--white); box-shadow: 0 0 0 1px var(--line); padding: 30px 34px; border-left: 4px solid var(--navy); transition: .3s; }
.policy__block:hover { border-color: var(--red); box-shadow: var(--shadow); }
.policy__block h3 { display: flex; align-items: center; gap: 16px; font-family: var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: 1.5px; font-size: 18px; margin-bottom: 10px; }
.policy__block h3 span { color: var(--red); font-size: 14px; }

/* ---------- Contact page ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.info { text-align: center; padding: 44px 30px; box-shadow: 0 0 0 1px var(--line); transition: .4s; }
.info:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.info h3 { font-family: var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: 2px; font-size: 17px; margin: 20px 0 10px; }
.info p { margin-bottom: 14px; }
.info a:not(.link-arrow):hover { color: var(--red); }
.info:hover .value__icon { background: var(--red); }
.info:hover .value__icon svg { stroke: var(--white); }
.contact__grid .section-title { margin-bottom: 26px; }

/* ---------- Properties ---------- */
.props { display: grid; gap: 12px; }
.props li { display: grid; grid-template-columns: 130px 1fr; grid-template-rows: auto auto; column-gap: 20px; align-items: center; padding: 18px 22px; background: var(--bg-soft); border-left: 3px solid var(--navy); transition: .3s; }
.props li:hover { border-color: var(--red); transform: translateX(6px); }
.props__type { grid-row: span 2; font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); background: var(--red); padding: 6px 10px; text-align: center; }
.props strong { font-family: var(--head); color: var(--navy); }
.props em { font-style: normal; font-size: 14px; color: var(--muted); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.post { background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: .4s; display: flex; flex-direction: column; }
.post:hover { box-shadow: var(--shadow); }
.post__img { aspect-ratio: 16 / 8; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { padding: 30px; }
.post h3 { font-family: var(--head); color: var(--navy); font-size: 20px; line-height: 1.3; margin-bottom: 12px; }
.post p { font-size: 15px; margin-bottom: 18px; }

/* ---------- Misc ---------- */
.cta__btns { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.footer__dir { color: var(--red); font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.footer__dir:hover { color: var(--white); }

/* ---------- Inner pages responsive ---------- */
@media (max-width: 1200px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--navy); z-index: 110;
    display: grid; place-items: start center; overflow-y: auto; padding: 110px 24px 60px;
    clip-path: circle(0 at calc(100% - 46px) 46px); transition: clip-path .7s var(--ease);
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 46px) 46px); }
  .nav__list { flex-direction: column; width: 100%; max-width: 420px; gap: 0; align-items: stretch; }
  .nav__list > li { border-bottom: 1px solid rgba(255,255,255,.1); position: relative; }
  .nav__link { display: block; font-size: 18px; padding: 16px 0; }
  .nav__link::after { display: none; }
  .nav__link.active { color: var(--red); }
  .has-sub > .nav__link::before { display: none; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 8px; width: 44px; height: 44px; }
  .sub-toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -7px 0 0 -4px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg); transition: transform .3s; }
  .has-sub.is-open .sub-toggle::before { transform: rotate(-135deg); margin-top: -2px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; min-width: 0; display: none; }
  .sub::before { display: none; }
  .has-sub.is-open .sub { display: block; padding-bottom: 12px; }
  .sub a { color: rgba(255,255,255,.75); font-size: 14px; padding: 9px 0; }
  .sub a:hover { background: none; color: var(--white); padding-left: 6px; }
}

@media (max-width: 1100px) {
  .cards--4, .people--4 { grid-template-columns: repeat(2, 1fr); }
  .svc-links { grid-template-columns: repeat(3, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .desk { grid-template-columns: 300px 1fr; gap: 44px; }
}
@media (max-width: 960px) {
  .split, .presence, .vm, .contact__grid, .about-page { grid-template-columns: 1fr; gap: 44px; }
  .split--rev .split__media { order: 0; }
  .cards--3, .people, .tgrid, .info-cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .desk { grid-template-columns: 1fr; }
  .desk__photo { max-width: 360px; }
  .posts { grid-template-columns: 1fr; }
  .page-hero { min-height: 360px; padding: 140px 0 56px; }
  .svc-rows { gap: 70px; }
}
@media (max-width: 640px) {
  .cards--3, .cards--4, .people, .people--4, .tgrid, .info-cards { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .vm__card { padding: 34px 26px; }
  .timeline::before { left: 7px; }
  .timeline li { padding-left: 40px; }
  .timeline li::before { left: 0; }
  .timeline__year { position: static; display: block; text-align: left; width: auto; margin-bottom: 4px; color: var(--red); }
  .props li { grid-template-columns: 1fr; row-gap: 6px; }
  .props__type { grid-row: auto; justify-self: start; }
  .map, .map iframe, .map--tall, .map--tall iframe { min-height: 340px; }
  .gallery--masonry { columns: 2 140px; column-gap: 10px; }
  .gallery--masonry .gallery__item { margin-bottom: 10px; }
  .cta__btns { justify-content: center; }
  .svc-nav { margin-bottom: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .vmarquee { overflow-x: auto; }
  .fchat--wa::before { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero__title span, .hero__eyebrow, .hero__content .btn { opacity: 1 !important; transform: none !important; }
}
