/* =========================================================
   Mannat Infra Structure — main stylesheet
   ========================================================= */
:root {
  --navy-900: #0a1628;
  --navy-800: #0f1f38;
  --navy-700: #16294a;
  --gold-300: #ecd09a;
  --gold-400: #d9b46e;
  --gold-500: #c89a52;
  --gold-600: #a97c3a;
  --ink: #16202e;
  --muted: #667085;
  --line: #e8e2d6;
  --cream: #faf7f1;
  --white: #fff;
  --grad-gold: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 55%, var(--gold-600) 100%);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --shadow: 0 18px 40px -18px rgba(10, 22, 40, .28);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);          /* strong ease-out: entrances, UI */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);   /* on-screen movement, wipes */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.text-muted-2 { color: var(--muted); }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .6rem;
}
.eyebrow-light { color: rgba(255, 255, 255, .8); }
.eyebrow span { color: var(--gold-400); margin: 0 .6em; }

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--navy-900);
}
.section-title em, .hero-title em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section { padding: clamp(64px, 9vw, 96px) 0; position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: 14px;
  padding: .85rem 1.5rem;
  border-radius: 6px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
}
.btn i { transition: transform .25s var(--ease); }
.btn:hover i.bi-arrow-right { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-gold {
  background: var(--grad-gold);
  color: var(--navy-900);
  border: 0;
  box-shadow: 0 10px 24px -10px rgba(200, 154, 82, .7);
}
@media (hover: hover) and (pointer: fine) { .btn-gold:hover { color: var(--navy-900); box-shadow: 0 14px 30px -10px rgba(200, 154, 82, .9); transform: translateY(-2px); } }
.btn-outline-light-gold {
  border: 1.5px solid rgba(236, 208, 154, .8);
  color: var(--white);
  background: rgba(10, 22, 40, .25);
}
.btn-outline-light-gold:hover { background: var(--gold-400); color: var(--navy-900); border-color: var(--gold-400); }
.btn-sm-pad { padding: .7rem 1.2rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  padding: 18px 0;
  transition: background-color .35s, padding .35s, box-shadow .35s;
}
.site-header.scrolled {
  background: rgba(10, 22, 40, .94);
  backdrop-filter: blur(10px);
  padding: 8px 0;
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .5);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--gold-400); }
.brand-mark { width: 52px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--white);
}
.brand-text small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-top: 4px;
}
.brand-dark .brand-text strong { color: var(--navy-900); }
.brand-dark .brand-text small { color: var(--gold-600); }
.brand-dark { color: var(--gold-500); }

.navbar { padding: 0; }
.navbar .nav-link {
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
  font-weight: 600;
  padding: .5rem .9rem !important;
  position: relative;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem; right: .9rem; bottom: .2rem;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--gold-300); }
.navbar .nav-link.active::after, .navbar .nav-link:hover::after { transform: scaleX(1); }

.navbar-toggler { border: 0; padding: 14px 10px; margin-right: -10px; display: flex; flex-direction: column; gap: 5px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler span { width: 24px; height: 2px; background: var(--white); transition: transform .3s, opacity .3s; }
.navbar-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1199.98px) {
  .site-header { background: rgba(10, 22, 40, .96); padding: 10px 0; }
  .site-header.menu-open { background: var(--navy-900); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); }
  .navbar-collapse { max-height: calc(100svh - 70px); overflow-y: auto; }
  .navbar-collapse .navbar-nav { padding: .75rem 0 .5rem; }
  .navbar .nav-link { font-size: 15px; padding: .8rem .25rem !important; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .navbar .nav-link::after { display: none; }
  .navbar .nav-link.active { color: var(--gold-300); }
  .navbar-collapse .btn { margin: .75rem 0 1.25rem; width: 100%; justify-content: center; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar .nav-link { padding: .5rem .7rem !important; }
  .navbar .nav-link::after { left: .7rem; right: .7rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 150px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-900);
}
.hero-bg {
  position: absolute; inset: 0;
  background:linear-gradient(90deg, rgb(10 22 40 / 80%) 0%, rgb(10 22 40 / 60%) 40%, rgba(10, 22, 40, .2) 75%), linear-gradient(0deg, rgb(10 22 40 / 0%) 0%, transparent 35%), var(--bg) center / cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
}
.hero-title em { display: block; }
.hero-lead { font-size: 1.12rem; color: rgba(255, 255, 255, .85); max-width: 32rem; margin-bottom: 2rem; }

.hero-stats {
  position: relative;
  margin-top: 90px;
  background: rgba(10, 22, 40, .72);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(236, 208, 154, .15);
}
.stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 26px 20px;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: rgba(236, 208, 154, .3);
}
.stat > i { font-size: 2.1rem; color: var(--gold-400); }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.stat strong .count { font-size: inherit; color: inherit; }
.stat div > span { font-size: 13px; color: rgba(255, 255, 255, .75); }
@media (max-width: 991.98px) {
  .stat:nth-child(3)::before { display: none; }
  .stat { padding: 18px 12px; }
  .stat > i { font-size: 1.6rem; }
  .stat strong { font-size: 1.3rem; }
}
@media (max-width: 399.98px) {
  .stat { flex-direction: column; align-items: flex-start; gap: .35rem; padding: 16px 14px; }
  .hero { padding-top: 120px; }
  .hero .btn { width: 100%; justify-content: center; }
}

/* ---------- About ---------- */
.about { background: var(--white); }
.about::before {
  content: "";
  position: absolute;
  right: 3%; top: 60px;
  width: 140px; height: 140px;
  background-image: radial-gradient(var(--gold-400) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  opacity: .4;
}
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.8rem 0 2rem;
}
.feat { padding: 0 1rem; font-size: 13px; font-weight: 600; line-height: 1.35; }
.feat:first-child { padding-left: 0; }
.feat + .feat { border-left: 1px solid var(--line); }
.feat i { display: block; font-size: 1.7rem; color: var(--gold-500); margin-bottom: .5rem; }

.about-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  padding: 14px;
  background: var(--cream);
  border-radius: 18px;
}
.about-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.ac-main { height: 440px; border-radius: 12px; overflow: hidden; }
.ac-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; height: 440px; }
.ac-badge {
  position: absolute;
  left: 44%; bottom: -30px;
  background: var(--white);
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}
.ac-badge > div { display: flex; align-items: center; gap: .8rem; }
.ac-badge i { font-size: 1.7rem; color: var(--gold-500); }
.ac-badge p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.ac-badge strong { display: block; font-size: 1.3rem; color: var(--navy-900); }
@media (max-width: 575.98px) {
  .ac-main, .ac-side { height: 280px; }
  .ac-badge { position: relative; left: 0; bottom: 0; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .about-features { grid-template-columns: 1fr 1fr 1fr; }
  .feat { padding: 0 .5rem; font-size: 12px; }
}

/* ---------- Dark bands (services / process) ---------- */
.dark-band { color: var(--white); background: var(--navy-900); overflow: hidden; }
.dark-band::before {
  content: "";
  position: absolute; inset: 0;
  background:linear-gradient(90deg, rgb(10 22 40 / 90%) 0%, rgb(10 22 40 / 60%) 50%, rgb(10 22 40 / 30%) 100%), var(--bg) center / cover no-repeat;
}

.svc-card {
  display: block;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  border: 3px solid var(--white);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-img { aspect-ratio: 4 / 3.4; overflow: hidden; border-radius: 7px 7px 0 0; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-body { display: flex; align-items: center; gap: .6rem; padding: 12px 10px; }
.svc-body > i:first-child { font-size: 1.35rem; color: var(--gold-500); }
.svc-body span { flex: 1; font-size: 12px; line-height: 1.3; color: var(--muted); }
.svc-body b { display: block; color: var(--navy-900); font-size: 12.5px; }
@media (max-width: 419.98px) {
  .svc-body { padding: 10px 8px; gap: .4rem; }
  .svc-body > i:first-child { display: none; }
}
.svc-body .go { font-size: 1.25rem; color: var(--gold-500); transition: transform .3s var(--ease); }
@media (hover: hover) {
  .svc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .7); }
  .svc-card:hover .svc-img img { transform: scale(1.07); }
  .svc-card:hover .go { transform: translateX(3px); }
}

/* ---------- Sliders (projects / testimonials) ---------- */
.slider-nav { display: flex; gap: .6rem; }
.nav-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy-900);
  display: grid; place-items: center;
  transition: background-color .25s, color .25s, transform .15s;
}
.nav-btn.active, .nav-btn:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.nav-btn:active { transform: scale(.94); }
.track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 18px) / 4);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 20px;
}
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.track-3 { grid-auto-columns: calc((100% - 2 * 22px) / 3); gap: 22px; }
@media (max-width: 991.98px) {
  .track { grid-auto-columns: calc((100% - 18px) / 2); }
  .track-3 { grid-auto-columns: calc((100% - 22px) / 2); }
}
@media (max-width: 575.98px) {
  .track, .track-3 { grid-auto-columns: 86%; }
}

.proj-card { background: var(--white); border-radius: var(--radius); box-shadow: 0 8px 26px -14px rgba(10, 22, 40, .35); overflow: hidden; }
.proj-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.zoom {
  position: absolute; right: 12px; bottom: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
  display: grid; place-items: center;
  transition: background-color .25s;
}
@media (hover: hover) and (pointer: fine) { .proj-card:hover .proj-img img { transform: scale(1.06); } }
.proj-card:hover .zoom { background: var(--gold-500); color: var(--navy-900); }
.proj-body { padding: 14px 16px 16px; }
.proj-body h3 { font-size: 15px; font-weight: 700; margin: 0 0 .2rem; color: var(--navy-900); }
.proj-body p { margin: 0; font-size: 12.5px; color: var(--muted); }
.proj-body p i { color: var(--gold-500); }

/* ---------- Why choose ---------- */
.why { background: var(--white); padding: 20px 0 80px; }
.why-img { height: 440px; overflow: hidden; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.why-img img { width: 100%; height: 100%; object-fit: cover; }
.why-content { padding: 40px clamp(20px, 5vw, 70px) 20px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}
.why-grid > div {
  text-align: center;
  padding: 20px 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
  transition: background-color .3s;
}
.why-grid > div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
.why-grid > div:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.why-grid > div:hover { background: var(--cream); }
.why-grid i { display: block; font-size: 1.9rem; color: var(--gold-500); margin-bottom: .45rem; }
.why-grid b { display: block; color: var(--navy-900); font-size: 13.5px; }
@media (max-width: 1199.98px) {
  .why { padding-top: 0; }
  .why-img { height: clamp(240px, 45vw, 380px); clip-path: none; }
}

/* ---------- Process ---------- */
.steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.steps li { display: flex; align-items: center; gap: .9rem; position: relative; padding-right: 22px; }
.steps li:not(:last-child)::after {
  content: "\F138";
  font-family: "bootstrap-icons";
  position: absolute; right: 2px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold-400);
  font-size: 1rem;
}
.num {
  flex: none;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  transition: background-color .3s, color .3s;
}
.steps li:hover .num { background: var(--gold-400); color: var(--navy-900); }
.steps li div i { display: block; color: var(--gold-400); font-size: 1.1rem; }
.steps b { display: block; font-size: 14px; }
.steps small { color: rgba(255, 255, 255); font-size: 12px; }
@media (max-width: 1199.98px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .steps li::after { display: none; }
}
@media (max-width: 767.98px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(180deg, var(--white), var(--cream)); }
.testi {
  position: relative;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px 72px;
  box-shadow: 0 10px 30px -20px rgba(10, 22, 40, .35);
}
.testi .q { position: absolute; left: 20px; top: 14px; font-size: 2.8rem; color: var(--gold-400); line-height: 1; }
.stars { color: var(--gold-500); letter-spacing: .15em; font-size: 15px; margin-bottom: .4rem; }
.testi blockquote { font-size: 13.5px; color: var(--muted); margin-bottom: 1.1rem; }
.testi figcaption { display: flex; align-items: center; gap: .8rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-800); color: var(--gold-300);
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
}
.testi figcaption b { display: block; font-size: 14px; color: var(--navy-900); }
.testi figcaption small { color: var(--muted); font-size: 12px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 80px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 22, 40, .96) 0%, rgba(10, 22, 40, .8) 45%, rgba(10, 22, 40, .15) 100%),
    var(--bg) center/cover no-repeat;
}
.cta h2 { font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; }
.cta p { color: rgba(255, 255, 255, .8); margin-bottom: 1.6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--white); padding: 70px 0 0; border-top: 1px solid var(--line); }
.footer h4 { font-size: 15px; font-weight: 700; color: var(--navy-900); margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .45rem; font-size: 13.5px; color: var(--muted); }
.footer ul:not(.contact-list) li::before { content: "•"; color: var(--gold-500); margin-right: .5rem; }
.footer li a:hover { color: var(--gold-600); }
.contact-list li { display: flex; gap: .7rem; }
.contact-list i { color: var(--navy-900); }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
  display: grid; place-items: center;
  transition: background-color .25s, transform .25s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .socials a:hover { background: var(--gold-500); transform: translateY(-3px); } }
.footer-bottom { margin-top: 50px; background: var(--navy-900); color: rgba(255, 255, 255, .75); font-size: 12.5px; padding: 16px 0; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1020;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-gold); color: var(--navy-900);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(200, 154, 82, .8);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Modal ---------- */
.modal-content { border: 0; border-radius: 14px; overflow: hidden; }
.modal-header { background: var(--cream); border-bottom: 1px solid var(--line); align-items: flex-start; }
.modal-title { font-family: var(--font-head); font-weight: 700; color: var(--navy-900); margin: 0; }
.form-label { font-size: 13px; font-weight: 600; margin-bottom: .3rem; }
.form-control, .form-select { font-size: 14px; padding: .65rem .85rem; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--gold-400); box-shadow: 0 0 0 .2rem rgba(217, 180, 110, .25); }
.form-success { margin: 1rem 0 0; color: #1f7a4d; font-weight: 600; font-size: 14px; }

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 1060;
  background: rgba(6, 12, 22, .92);
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.lb.open { opacity: 1; visibility: visible; }
.lb figure { margin: 0; max-width: 1100px; transform: scale(.96); transition: transform .35s var(--ease); }
.lb.open figure { transform: none; }
.lb img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lb figcaption { color: var(--white); text-align: center; margin-top: 12px; font-weight: 600; }
.lb-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: var(--white); font-size: 1.6rem; }

/* =========================================================
   Inner pages
   ========================================================= */
.section-cream { background: var(--cream); }
.btn-outline-dark-gold { border: 1.5px solid var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline-dark-gold:hover { background: var(--navy-900); color: var(--white); }

/* Page hero */
.page-hero {
  position: relative;
  padding: 180px 0 90px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 22, 40, .95) 0%, rgba(10, 22, 40, .78) 50%, rgba(10, 22, 40, .45) 100%),
    var(--bg) center/cover no-repeat;
  background-color: var(--navy-900);
}
.page-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin: .4rem 0 .9rem;
}
.page-title em { font-style: normal; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-lead { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 36rem; margin: 0; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; font-size: 13px; font-weight: 600; }
.crumbs li { color: var(--gold-300); }
.crumbs li a { color: rgba(255, 255, 255, .75); }
.crumbs li a:hover { color: var(--white); }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .4); margin-right: .5rem; }
@media (max-width: 991.98px) { .page-hero { padding: 140px 0 70px; } }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.check-list i { color: var(--gold-500); font-size: 1.1rem; line-height: 1.5; }

/* About: image stack */
.img-stack { position: relative; padding: 0 0 70px 0; }
.img-stack img:first-child { width: 82%; height: 420px; object-fit: cover; border-radius: 14px; }
.img-stack img:nth-child(2) {
  position: absolute; right: 0; bottom: 0;
  width: 52%; height: 250px; object-fit: cover;
  border-radius: 14px; border: 8px solid var(--white);
  box-shadow: var(--shadow);
}
.exp-badge {
  position: absolute; left: 24px; bottom: 24px;
  background: var(--grad-gold); color: var(--navy-900);
  border-radius: 12px; padding: 16px 20px;
  display: flex; align-items: center; gap: .7rem;
  box-shadow: 0 16px 30px -12px rgba(200, 154, 82, .8);
}
.exp-badge strong { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; }
.exp-badge span { font-size: 12px; font-weight: 700; line-height: 1.25; }
@media (max-width: 575.98px) {
  .img-stack img:first-child { width: 100%; height: 280px; }
  .img-stack img:nth-child(2) { height: 170px; }
}

/* Mission / values cards, info cards */
.mv-card, .info-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 14px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
@media (hover: hover) and (pointer: fine) { .mv-card:hover, .info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; } }
.mv-card h3, .info-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-900); margin: 1rem 0 .5rem; }
.mv-card p, .info-card p { color: var(--muted); font-size: 14px; margin: 0; }
.info-card a:hover { color: var(--gold-600); }
.info-card > i { font-size: 2.1rem; color: var(--gold-500); display: inline-block; }
.mv-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--cream); color: var(--gold-600); display: grid; place-items: center; font-size: 1.5rem; }
.mv-card.featured { background: var(--navy-900); border-color: var(--navy-900); }
.mv-card.featured h3 { color: var(--white); }
.mv-card.featured p { color: rgba(255, 255, 255, .72); }
.mv-card.featured .mv-icon { background: var(--grad-gold); color: var(--navy-900); }

/* Stats band (inner pages) */
.stats-band { background: var(--navy-900); color: var(--white); }

/* Timeline */
.timeline { position: relative; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 44px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold-400), var(--line)); }
.tl-item { display: flex; gap: 1.5rem; padding-bottom: 28px; position: relative; }
.tl-year {
  flex: none; width: 74px; height: 74px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold-400);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: var(--navy-900);
  position: relative; z-index: 1;
}
.tl-item h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-900); margin: 14px 0 .3rem; }
.tl-item p { color: var(--muted); margin: 0; font-size: 14px; }

/* Services page */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 64px; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-size: 13.5px; font-weight: 600; color: var(--navy-900);
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip i { color: var(--gold-500); }
.chip:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.svc-row { scroll-margin-top: 100px; }
.svc-row + .svc-row { margin-top: 90px; }
.svc-photo { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover: hover) and (pointer: fine) { .svc-photo:hover img { transform: scale(1.04); } }
.svc-num {
  position: absolute; left: 18px; top: 18px;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700;
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(10, 22, 40, .8); color: var(--gold-300);
  display: grid; place-items: center; backdrop-filter: blur(4px);
}
.svc-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-600); background: var(--cream);
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: .8rem;
}
@media (max-width: 991.98px) { .svc-row + .svc-row { margin-top: 60px; } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-btn {
  border: 1px solid var(--line); background: var(--white);
  padding: .5rem 1rem; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--navy-900);
  transition: background-color .25s, color .25s, border-color .25s, transform .15s;
}
.filter-btn:hover { border-color: var(--gold-400); }
.filter-btn.active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.filter-btn:active { transform: scale(.96); }
.f-item { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.filter-grid .f-item.hiding { opacity: 0; transform: scale(.96); }
.proj-area { flex: none; font-size: 11.5px; font-weight: 700; color: var(--gold-600); background: var(--cream); border-radius: 999px; padding: .25rem .6rem; }

/* Products */
.prod-card { height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (hover: hover) and (pointer: fine) { .prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); } }
.prod-img { position: relative; aspect-ratio: 16 / 10; }
.prod-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod-icon { z-index: 1; }
.prod-icon {
  position: absolute; left: 20px; bottom: -24px;
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--grad-gold); color: var(--navy-900);
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: 0 10px 20px -8px rgba(200, 154, 82, .8);
}
.prod-body { padding: 36px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-900); }
.prod-body p { color: var(--muted); font-size: 14px; }
.prod-body ul { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .3rem; font-size: 13.5px; font-weight: 500; }
.prod-body ul i { color: var(--gold-500); margin-right: .4rem; }
.link-gold { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--gold-600); display: inline-flex; gap: .4rem; align-items: center; }
.link-gold:hover { color: var(--navy-900); }
.link-gold i { transition: transform .25s var(--ease); }
.link-gold:hover i { transform: translateX(4px); }
.compare-table { background: var(--white); border-radius: 12px; overflow: hidden; font-size: 14px; }
.compare-table thead th { background: var(--navy-900); color: var(--white); font-weight: 600; padding: 14px 16px; border: 0; white-space: nowrap; }
.compare-table th[scope="row"] { color: var(--navy-900); white-space: nowrap; }
.compare-table td, .compare-table th[scope="row"] { padding: 14px 16px; border-color: var(--line); }
.compare-table .cost { color: var(--gold-600); font-weight: 700; }

/* Why us compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 1.5rem; }
.compare-col { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.compare-col h3 { font-size: 1rem; font-weight: 700; color: var(--muted); display: flex; gap: .5rem; align-items: center; }
.compare-col ul { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .45rem; font-size: 13.5px; color: var(--muted); }
.compare-col.good { background: var(--navy-900); border-color: var(--navy-900); }
.compare-col.good h3 { color: var(--gold-300); }
.compare-col.good ul { color: rgba(255, 255, 255, .85); }
@media (max-width: 575.98px) { .compare { grid-template-columns: 1fr; } }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; overflow: hidden; margin-bottom: 12px; }
.faq .accordion-button { font-weight: 700; color: var(--navy-900); font-size: 15px; padding: 18px 20px; }
.faq .accordion-button:not(.collapsed) { background: var(--cream); color: var(--navy-900); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(217, 180, 110, .3); }
.faq .accordion-body { color: var(--muted); font-size: 14px; }

/* Gallery */
.masonry { columns: 3 280px; column-gap: 16px; }
.g-item { position: relative; display: block; margin-bottom: 16px; border-radius: 12px; overflow: hidden; break-inside: avoid; }
.g-item.is-hidden { display: none; }
.g-item img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.g-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 30px 16px 14px;
  background: linear-gradient(transparent, rgba(10, 22, 40, .85));
  color: var(--white); font-size: 13.5px; font-weight: 600;
  display: flex; gap: .5rem; align-items: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.g-cap i { color: var(--gold-300); }
@media (hover: hover) {
  .g-item:hover img { transform: scale(1.05); }
  .g-item:hover .g-cap { opacity: 1; transform: none; }
}
@media (hover: none) { .g-cap { opacity: 1; transform: none; } }

/* Contact */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.map-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); height: 360px; }
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.quick-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.qc {
  display: flex; align-items: center; gap: .8rem;
  padding: 16px; border-radius: 12px;
  background: var(--navy-900); color: var(--white);
  transition: transform .25s var(--ease), background-color .25s;
}
@media (hover: hover) and (pointer: fine) { .qc:hover { color: var(--white); transform: translateY(-3px); } }
.qc i { font-size: 1.6rem; color: var(--gold-300); }
.qc span { font-size: 12.5px; color: rgba(255, 255, 255, .7); line-height: 1.3; }
.qc b { display: block; color: var(--white); font-size: 14.5px; }
.qc-wa { background: #128c4a; }
.qc-wa i { color: var(--white); }

/* Lightbox arrows */
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 0; color: var(--white); font-size: 1.3rem;
  display: grid; place-items: center; transition: background-color .25s;
}
.lb-arrow:hover { background: var(--gold-500); color: var(--navy-900); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb.single .lb-arrow { display: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; transform: none; }
  * { transition-duration: .01ms !important; }
}

/* =========================================================
   Responsive refinements
   ========================================================= */
button, a, .btn { -webkit-tap-highlight-color: transparent; }
img { height: auto; }

/* 16px inputs stop iOS Safari from zooming into form fields */
@media (max-width: 767.98px) {
  .form-control, .form-select { font-size: 16px; }
  .filter-btn, .chip { min-height: 40px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -.5); padding-inline: calc(var(--bs-gutter-x, 1.5rem) * .5); width: calc(100% + var(--bs-gutter-x, 1.5rem)); }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; }
  .cta { padding: 64px 0; }
  .footer { padding-top: 56px; }
  .footer-bottom { text-align: center; }
  .footer-bottom .container { justify-content: center !important; }
  .page-hero { padding: 120px 0 56px; }
  .timeline::before { left: 37px; }
  .tl-year { width: 60px; height: 60px; font-size: .9rem; }
  .tl-item { gap: 1rem; }
  .tl-item h3 { margin-top: 8px; }
  .map-card { height: 300px; }
  .svc-num { width: 48px; height: 48px; font-size: 1.15rem; }
}

/* Compare table becomes stacked cards on phones */
@media (max-width: 767.98px) {
  .compare-table.stack-sm thead { display: none; }
  .compare-table.stack-sm, .compare-table.stack-sm tbody, .compare-table.stack-sm tr, .compare-table.stack-sm th, .compare-table.stack-sm td { display: block; width: 100%; }
  .compare-table.stack-sm { background: transparent; }
  .compare-table.stack-sm tr { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
  .compare-table.stack-sm th[scope="row"] { background: var(--navy-900); color: var(--white); padding: 12px 16px; border: 0; }
  .compare-table.stack-sm td { display: flex; justify-content: space-between; gap: 1rem; text-align: right; padding: 10px 16px; border-bottom: 1px solid var(--line); }
  .compare-table.stack-sm td:last-child { border-bottom: 0; }
  .compare-table.stack-sm td::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; }
  .table-responsive { overflow: visible; }
}

/* Lightbox controls move below the image on phones */
@media (max-width: 575.98px) {
  .lb-arrow { top: auto; bottom: 22px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb img { max-height: 70vh; }
  .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
  .quick-contact { grid-template-columns: 1fr; }
  .testi { padding: 22px 20px 20px 60px; }
  .testi .q { left: 14px; font-size: 2.3rem; }
  .ac-badge { padding: 14px 16px; }
}

/* Short landscape phones: don't force a full-height hero */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 110px; }
  .hero-stats { margin-top: 40px; }
}

/* Very large screens */
@media (min-width: 1600px) {
  .hero-title { font-size: 4.6rem; }
  .hero-lead { font-size: 1.2rem; }
}

/* =========================================================
   Motion
   ========================================================= */

/* Cross-page fade (browsers with cross-document View Transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: var(--ease); }
.site-header { view-transition-name: site-header; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; z-index: 1040;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* Page-load intro: headline words rise out of a mask, then the rest follows */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split .w > span { display: inline-block; animation: wordUp .9s var(--ease) both; animation-delay: calc(var(--wi) * 55ms + 150ms); }
.split em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
.split em .w > span { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes wordUp { from { transform: translateY(105%); } to { transform: none; } }

.intro { animation: introUp .9s var(--ease) both; animation-delay: calc(var(--ii, 0) * 100ms + 380ms); }
@keyframes introUp { from { opacity: 0; transform: translateY(22px); } }

/* Scroll reveals: images settle from a slight zoom as their block enters */
.unveil img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.in .unveil img, .unveil.in img { transform: none; }
.unveil-wipe { clip-path: inset(0 0 100% 0 round 16px); transition: clip-path 1.1s var(--ease-in-out); }
.in .unveil-wipe, .unveil-wipe.in { clip-path: inset(0 round 16px); }

/* Process steps: numbers pop in with their step */
.steps .num { opacity: 0; transform: scale(.85); transition: opacity .5s var(--ease), transform .6s var(--ease), background-color .3s, color .3s; transition-delay: inherit; }
.steps li.in .num { opacity: 1; transform: none; }

/* About timeline: the line draws down when the timeline enters */
.timeline::before { transform: scaleY(0); transform-origin: top; transition: transform 1.8s var(--ease-in-out); }
.timeline.in::before { transform: none; }

/* Gold buttons: light sweeps across on hover */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover::after { transform: translateX(120%); transition: transform .75s var(--ease); }
}

/* Services marquee (home) */
.marquee { background: var(--grad-gold); color: var(--navy-900); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.4rem); padding: 0 1.4rem; white-space: nowrap; }
.marquee-group i { font-style: normal; font-size: .9rem; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Quote modal scales in from its centre */
.modal.fade .modal-dialog { transform: scale(.96); transition: transform .25s var(--ease); }
.modal.show .modal-dialog { transform: none; }

/* Mobile menu: links cascade in when the menu opens */
@media (max-width: 1199.98px) {
  .navbar-collapse .nav-item, .navbar-collapse > .btn { opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .35s var(--ease); }
  .menu-open .navbar-collapse .nav-item, .menu-open .navbar-collapse > .btn { opacity: 1; transform: none; transition-delay: calc(var(--n, 0) * 35ms + 60ms); }
  @starting-style {
    .menu-open .navbar-collapse .nav-item, .menu-open .navbar-collapse > .btn { opacity: 0; transform: translateY(8px); }
  }
}

/* Reduced motion: keep gentle fades, drop movement */
@keyframes fadeOnly { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .split .w > span, .intro { animation: fadeOnly .4s ease both; animation-delay: 0s; }
  .unveil img, .in .unveil img { transform: none; }
  .unveil-wipe { clip-path: none; }
  .steps .num { opacity: 1; transform: none; }
  .timeline::before { transform: none; }
  .marquee-track { animation: none; }
  .btn-gold::after { display: none; }
  .scroll-progress { display: none; }
  .modal.fade .modal-dialog { transform: none; }
  .navbar-collapse .nav-item, .navbar-collapse > .btn { opacity: 1; transform: none; }
}
