:root {
  --ink: #15202b;
  --muted: #5f6f80;
  --line: #dce5ec;
  --soft: #f3f7fa;
  --white: #ffffff;
  --blue: #1457a8;
  --blue-2: #0d3f7c;
  --teal: #0f8b8d;
  --amber: #d9921b;
  --red: #bd2242;
  --shadow: 0 18px 44px rgba(20, 47, 74, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 2000;
  background: var(--white);
  padding: .7rem 1rem;
  border: 1px solid var(--line);
}
.skip-link:focus { left: 1rem; }

.topbar {
  background: #f7fafc;
  border-bottom: 1px solid var(--line);
  color: #4d5f71;
  font-size: .92rem;
  padding: .45rem 0;
}
.topbar a:hover { color: var(--blue); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(31, 51, 73, .08);
}
.main-nav { padding: .65rem 0; }
.navbar-brand img { width: 205px; max-height: 66px; object-fit: contain; }
.nav-link {
  color: var(--ink);
  font-weight: 700;
  padding: .75rem 1rem !important;
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-cta { border-radius: 999px; padding: .72rem 1.15rem; }
.btn-primary {
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-bg: var(--blue-2);
  --bs-btn-hover-border-color: var(--blue-2);
  box-shadow: 0 12px 24px rgba(20, 87, 168, .22);
}
.btn-outline-primary {
  --bs-btn-color: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-bg: var(--blue);
  --bs-btn-hover-border-color: var(--blue);
}
.mega-wrap { position: static; }
.mega-menu {
  width: min(1000px, calc(100vw - 2rem));
  left: 50% !important;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.mega-eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.mega-menu h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.mega-menu p { color: var(--muted); margin: 0; }
.mega-link {
  display: flex;
  gap: .85rem;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: .75rem;
  background: var(--white);
}
.mega-link:hover { border-color: rgba(20, 87, 168, .35); box-shadow: 0 12px 24px rgba(20, 47, 74, .08); }
.mega-link i { color: var(--amber); font-size: 1.4rem; }
.mega-link span { color: var(--muted); font-size: .92rem; }
.mega-link strong { display: block; color: var(--ink); }

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-media, .hero-media picture, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 25, 42, .78) 0%, rgba(6, 25, 42, .56) 48%, rgba(6, 25, 42, .1) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding: 5.5rem 0; }
.hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  line-height: 1.02;
  font-weight: 850;
  margin-bottom: 1.15rem;
}
.hero .lead { max-width: 700px; color: rgba(255,255,255,.9); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0; }
.btn-outline-light { border-color: rgba(255,255,255,.8); }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.trust-strip span {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  padding: .7rem .9rem;
  backdrop-filter: blur(8px);
}

.page-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.page-hero-media, .page-hero-media picture, .page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.page-hero-media img { object-fit: cover; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 24, 39, .82) 0%, rgba(8, 24, 39, .62) 55%, rgba(8, 24, 39, .18) 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
}
.page-hero h1 {
  max-width: 860px;
  font-size: clamp(2.35rem, 4.5vw, 4.4rem);
  line-height: 1.04;
  font-weight: 850;
  margin-bottom: 1rem;
}
.page-hero .lead {
  max-width: 780px;
  color: rgba(255,255,255,.9);
}

.section-pad { padding: 5.4rem 0; }
.bg-soft { background: var(--soft); }
.section-heading {
  max-width: 780px;
  margin: 0 auto 2.6rem;
  text-align: center;
}
h2 {
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  line-height: 1.08;
  font-weight: 820;
  margin-bottom: 1rem;
}
h3 { font-weight: 780; line-height: 1.25; }
p { color: var(--muted); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}
.proof-grid div {
  min-height: 150px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(20, 47, 74, .07);
}
.proof-grid strong { color: var(--red); font-size: 1.55rem; display: block; }
.proof-grid span { color: var(--muted); }

.about-image-stack {
  position: relative;
  padding: 0 0 4rem 4rem;
}
.about-image-stack img, .rounded-media {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}
.about-stat {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 320px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.about-stat strong {
  display: block;
  color: var(--blue);
  font-size: 1.45rem;
  line-height: 1.1;
  margin-bottom: .45rem;
}
.about-stat span { color: var(--muted); }

.capability-card {
  height: 100%;
  min-height: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem;
  box-shadow: 0 12px 30px rgba(20, 47, 74, .07);
}
.capability-card i {
  color: var(--teal);
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.capability-card h3 { font-size: 1.18rem; }

.process-list {
  display: grid;
  gap: 1rem;
}
.process-list div {
  display: grid;
  grid-template-columns: 70px 1fr;
  column-gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(20, 47, 74, .06);
}
.process-list strong {
  grid-row: span 2;
  color: var(--red);
  font-size: 1.35rem;
}
.process-list h3 {
  font-size: 1.15rem;
  margin: 0 0 .35rem;
}
.process-list p { margin: 0; }

.about-cta-panel {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
  box-shadow: var(--shadow);
}
.about-cta-panel p {
  max-width: 720px;
  margin: 0 auto;
}

.service-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(20, 47, 74, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card picture, .service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.service-card-body { padding: 1.35rem; }
.service-card i, .why-item i {
  color: var(--teal);
  font-size: 1.75rem;
  margin-bottom: .75rem;
  display: inline-block;
}
.service-card h3 { font-size: 1.25rem; }
.service-card a { color: var(--blue); font-weight: 800; }

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}
.service-detail-card {
  display: grid;
  grid-template-columns: minmax(180px, 42%) 1fr;
  min-height: 260px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(20, 47, 74, .08);
}
.service-detail-card picture, .service-detail-card img {
  width: 100%;
  height: 100%;
}
.service-detail-card img { object-fit: cover; }
.service-detail-card div { padding: 1.3rem; }
.service-detail-card i {
  color: var(--teal);
  display: inline-block;
  font-size: 1.75rem;
  margin-bottom: .75rem;
}
.service-detail-card h3 { font-size: 1.22rem; }

.timeline-stack {
  display: grid;
  gap: 1rem;
}
.timeline-stack div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
  box-shadow: 0 12px 30px rgba(20, 47, 74, .06);
}
.timeline-stack strong {
  color: var(--red);
  font-size: 1.4rem;
}
.timeline-stack span {
  color: var(--muted);
  font-weight: 700;
}

.product-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(20, 47, 74, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card picture, .product-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.product-card-body { padding: 1.35rem; }
.product-card i {
  color: var(--teal);
  display: inline-block;
  font-size: 1.75rem;
  margin-bottom: .75rem;
}
.product-card h3 { font-size: 1.25rem; }
.product-card a {
  color: var(--blue);
  font-weight: 800;
}

.specifier-list {
  display: grid;
  gap: .9rem;
  margin-top: 1.4rem;
}
.specifier-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(20,47,74,.06);
}
.specifier-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: .25rem;
}
.specifier-list span { color: var(--muted); }

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.application-grid div {
  min-height: 145px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1.15rem;
  box-shadow: 0 12px 30px rgba(20, 47, 74, .07);
}
.application-grid i {
  color: var(--amber);
  display: block;
  font-size: 1.8rem;
  margin-bottom: .75rem;
}
.application-grid span {
  color: var(--ink);
  font-weight: 800;
}

.catalogue-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.catalogue-panel div {
  min-height: 210px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(20,47,74,.07);
}
.catalogue-panel i {
  color: var(--red);
  display: inline-block;
  font-size: 1.8rem;
  margin-bottom: .75rem;
}
.catalogue-panel h3 { font-size: 1.12rem; }

.request-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.request-type-grid div {
  min-height: 250px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem;
  box-shadow: 0 12px 30px rgba(20,47,74,.07);
}
.request-type-grid i {
  color: var(--teal);
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.request-type-grid h3 { font-size: 1.18rem; }
.catalogue-form textarea { min-height: 150px; }

.contact-info-card {
  height: 100%;
  min-height: 210px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem;
  box-shadow: 0 12px 30px rgba(20,47,74,.07);
}
.contact-info-card i {
  color: var(--teal);
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.contact-info-card h3 { font-size: 1.18rem; }
.contact-info-card a { color: var(--blue); font-weight: 800; }
.contact-address {
  display: flex;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1.15rem;
  margin-top: 1.4rem;
  box-shadow: 0 12px 30px rgba(20,47,74,.07);
}
.contact-address i {
  color: var(--red);
  font-size: 1.8rem;
}
.contact-address h3 { font-size: 1.12rem; }
.map-panel {
  min-height: 210px;
  margin-top: 1rem;
  border: 1px dashed #b9c8d5;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #edf5f8 100%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.2rem;
  color: var(--muted);
  font-weight: 800;
}
.map-panel i {
  color: var(--blue);
  font-size: 2.5rem;
}
.contact-form textarea { min-height: 160px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}
.why-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--white);
  min-height: 200px;
}
.why-item h3 { font-size: 1.08rem; }

.modern-angle img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.check-list {
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}
.check-list li {
  margin-bottom: .8rem;
  padding-left: 2rem;
  position: relative;
  color: var(--muted);
}
.check-list li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  color: var(--teal);
  position: absolute;
  left: 0;
  top: .05rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
}
.gallery-grid figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #e9eef2;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption {
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .7rem;
  color: var(--white);
  background: rgba(8, 24, 39, .78);
  border-radius: 6px;
  padding: .45rem .6rem;
  font-size: .86rem;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin: -1rem 0 2rem;
}
.gallery-toolbar span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
  padding: .65rem .9rem;
}
.gallery-toolbar i { color: var(--teal); }
.expanded-gallery {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.expanded-gallery figure:nth-child(5n + 1) {
  grid-row: span 2;
}
.expanded-gallery figure:nth-child(5n + 1) img {
  aspect-ratio: 4 / 5;
}

.metric {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 12px 32px rgba(20,47,74,.07);
}
.metric strong {
  display: block;
  font-size: 2.4rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: .55rem;
}
.metric span { color: var(--muted); }
.client-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-top: 2rem;
}
.client-strip span {
  border: 1px solid var(--line);
  background: var(--white);
  color: #526273;
  border-radius: 999px;
  padding: .7rem 1rem;
  font-weight: 800;
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.performance-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  min-height: 220px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: 0 12px 30px rgba(20,47,74,.07);
}
.performance-grid i {
  color: var(--red);
  font-size: 1.8rem;
  display: inline-block;
  margin-bottom: .8rem;
}
.performance-grid strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: .45rem;
}
.performance-grid span { color: var(--muted); }

.cta-stack { display: grid; gap: .9rem; margin-top: 1.4rem; }
.cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(20,47,74,.06);
}
.cta-row:hover { border-color: rgba(20,87,168,.42); }
.cta-row i { color: var(--amber); font-size: 1.8rem; }
.cta-row span { color: var(--muted); }
.cta-row strong { color: var(--ink); display: block; }
.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.quote-form h3 { margin-bottom: 1.2rem; }
.form-control, .form-select {
  min-height: 52px;
  border-color: #d4dfe8;
  border-radius: 8px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 .2rem rgba(20, 87, 168, .12);
}

.site-footer {
  background: #101820;
  color: rgba(255,255,255,.86);
  padding: 4rem 0 1.5rem;
}
.site-footer p, .site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--white); }
.footer-logo {
  background: var(--white);
  border-radius: 8px;
  padding: .4rem;
  margin-bottom: 1rem;
}
.site-footer h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li { margin-bottom: .45rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  color: rgba(255,255,255,.66);
  font-size: .92rem;
}

.floating-whatsapp, .back-to-top {
  position: fixed;
  right: 1.2rem;
  z-index: 1200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.floating-whatsapp {
  bottom: 1.2rem;
  background: #25d366;
  color: var(--white);
  font-size: 1.55rem;
}
.back-to-top {
  bottom: 5rem;
  background: var(--ink);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 991px) {
  .mega-menu {
    width: 100%;
    transform: none;
    left: auto !important;
    box-shadow: none;
  }
  .hero { min-height: 620px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .expanded-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .performance-grid { grid-template-columns: 1fr; }
  .application-grid, .catalogue-panel { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .request-type-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .topbar .container-xl { align-items: flex-start !important; }
  .navbar-brand img { width: 170px; }
  .hero { min-height: 690px; }
  .hero-actions .btn { width: 100%; }
  .section-pad { padding: 3.8rem 0; }
  .proof-grid, .why-grid, .gallery-grid { grid-template-columns: 1fr; }
  .expanded-gallery figure:nth-child(5n + 1) { grid-row: auto; }
  .expanded-gallery figure:nth-child(5n + 1) img { aspect-ratio: 4 / 3; }
  .about-image-stack { padding: 0; }
  .about-stat { position: static; max-width: none; margin-top: 1rem; }
  .process-list div { grid-template-columns: 1fr; }
  .process-list strong { grid-row: auto; margin-bottom: .4rem; }
  .service-detail-card { grid-template-columns: 1fr; }
  .service-detail-card picture, .service-detail-card img { height: auto; }
  .timeline-stack div { grid-template-columns: 1fr; }
  .trust-strip span { width: 100%; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-bottom: .5rem; }
}
