:root {
  --ink: #08111f;
  --navy: #0b2440;
  --steel: #466277;
  --blue: #006bb6;
  --cyan: #24b8d6;
  --red: #d82032;
  --amber: #f0a202;
  --mist: #eef4f8;
  --line: rgba(8, 17, 31, .12);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 17, 31, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: #f8fbfd;
  overflow-x: hidden;
  max-width: 100vw;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

section {
  position: relative;
  padding: 96px 0;
}

.section-kicker {
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin: 12px 0 20px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.section-lead {
  max-width: 760px;
  color: #526273;
  font-size: 1.08rem;
  line-height: 1.75;
}

.text-balance {
  text-wrap: balance;
}

.topbar {
  position: fixed;
  top: 18px;
  right: 0;
  left: 0;
  z-index: 1000;
  transition: .28s ease;
}

.topbar.scrolled {
  top: 0;
}

.navbar {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 45px rgba(8, 17, 31, .12);
  backdrop-filter: blur(18px);
}

.navbar-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: .04em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue) 52%, var(--red));
  box-shadow: 0 10px 24px rgba(0, 107, 182, .25);
}

.brand-copy span {
  display: block;
  color: #697887;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .2em;
}

.navbar-toggler {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0;
  color: var(--navy);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler i {
  display: none;
}

.navbar-toggler::before {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 10px;
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
  transform: translateY(-50%);
}

.menu-bars {
  position: absolute;
  top: 50%;
  left: 11px;
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 10px;
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
  transform: translateY(-50%);
}

.nav-link {
  position: relative;
  color: #26384a;
  font-size: .88rem;
  font-weight: 800;
  padding: 12px 10px !important;
}

.nav-link::after {
  position: absolute;
  right: 10px;
  bottom: 6px;
  left: 10px;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn-corporate {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 15px 35px rgba(216, 32, 50, .24);
  font-weight: 800;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}

.btn-corporate:hover {
  color: var(--white);
  background: #b91727;
  box-shadow: 0 19px 42px rgba(216, 32, 50, .32);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 6px;
  color: var(--white);
  font-weight: 800;
  transition: .24s ease;
}

.btn-ghost:hover {
  color: var(--navy);
  background: var(--white);
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 150px 0 80px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: var(--hero-image) center / cover no-repeat;
  transform: scale(1.06);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 13, 28, .88) 0%, rgba(3, 13, 28, .68) 48%, rgba(3, 13, 28, .16) 100%),
    linear-gradient(0deg, rgba(3, 13, 28, .56), transparent 36%);
}

.hero h1 {
  max-width: 950px;
  margin: 18px 0 22px;
  font-size: clamp(3rem, 8vw, 7.2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .92;
}

.hero p {
  max-width: 690px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.hero .eyebrow {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, .88);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero .eyebrow::before {
  display: block;
  width: 46px;
  height: 2px;
  content: "";
  background: var(--red);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-panel {
  position: absolute;
  right: clamp(24px, 6vw, 90px);
  bottom: 42px;
  width: min(430px, calc(100% - 48px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
}

.hero-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.hero-panel span {
  color: rgba(255, 255, 255, .76);
  line-height: 1.6;
}

.stat-band {
  padding: 0;
  background: var(--navy);
}

.stat-wrap {
  position: relative;
  z-index: 3;
  margin-top: -58px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stat-item {
  min-height: 150px;
  padding: 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #102e4d);
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.stat-number {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.stat-item p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .72);
  font-weight: 700;
}

.service-tile,
.project-tile,
.value-tile,
.contact-panel,
.spec-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(8, 17, 31, .08);
}

.service-tile {
  height: 100%;
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease;
}

.service-tile:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.service-image {
  height: 270px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.service-tile:hover .service-image img {
  transform: scale(1.08);
}

.service-body {
  padding: 28px;
}

.service-body i,
.value-tile i,
.spec-panel i {
  color: var(--red);
  font-size: 2rem;
}

.service-body h3,
.value-tile h3,
.spec-panel h3 {
  margin: 18px 0 12px;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 850;
}

.service-body p,
.value-tile p,
.spec-panel p {
  color: #5a6877;
  line-height: 1.7;
}

.link-arrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--blue);
  font-weight: 900;
}

.split-band {
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.split-band .section-title,
.split-band .section-lead {
  color: var(--white);
}

.split-band .section-lead {
  color: rgba(255, 255, 255, .74);
}

.image-stack {
  position: relative;
}

.image-stack img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.floating-spec {
  position: absolute;
  right: -28px;
  bottom: 34px;
  width: min(320px, 80%);
  padding: 22px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .2);
  backdrop-filter: blur(14px);
}

.floating-spec strong {
  display: block;
  color: var(--navy);
  font-size: 1.35rem;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: inherit;
  line-height: 1.6;
}

.check-list i {
  margin-top: 5px;
  color: var(--cyan);
}

.process-step {
  position: relative;
  padding: 30px;
  border-left: 3px solid var(--red);
  background: var(--white);
}

.process-step span {
  color: var(--blue);
  font-weight: 900;
}

.process-step h3 {
  margin: 10px 0;
  color: var(--navy);
  font-weight: 850;
}

.swiper {
  width: 100%;
  padding-bottom: 54px;
}

.project-tile {
  overflow: hidden;
}

.project-tile img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.project-caption {
  padding: 24px;
}

.project-caption h3 {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 850;
}

.swiper-pagination-bullet-active {
  background: var(--red);
}

.cta-band {
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 17, 31, .92), rgba(8, 17, 31, .66)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=78") center / cover fixed;
}

.cta-band h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
}

.value-tile,
.spec-panel,
.contact-panel {
  height: 100%;
  padding: 30px;
}

.spec-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spec-row {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
}

.spec-row strong {
  display: block;
  color: var(--navy);
}

.form-control,
.form-select {
  min-height: 52px;
  border-color: rgba(8, 17, 31, .16);
  border-radius: 6px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 .18rem rgba(0, 107, 182, .13);
}

textarea.form-control {
  min-height: 140px;
}

.map-frame {
  min-height: 430px;
  border: 0;
  border-radius: 8px;
  filter: grayscale(.2);
}

.footer {
  color: rgba(255, 255, 255, .74);
  background: #050b14;
}

.footer-top {
  padding: 72px 0 46px;
}

.footer h3,
.footer h4 {
  color: var(--white);
  font-weight: 850;
}

.footer a {
  color: rgba(255, 255, 255, .74);
}

.footer a:hover {
  color: var(--white);
}

.footer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .92rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 990;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 15px 35px rgba(37, 211, 102, .35);
  font-size: 1.8rem;
  transition: transform .22s ease;
}

.whatsapp-float:hover {
  color: var(--white);
  transform: translateY(-4px) scale(1.03);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 990;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  opacity: 0;
  pointer-events: none;
  transition: .24s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.breadcrumb-lite {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .72);
  font-weight: 700;
}

.breadcrumb-lite a {
  color: var(--white);
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  position: relative;
  min-height: 320px;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(8, 17, 31, .84), transparent 56%);
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-copy {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: var(--white);
}

.gallery-copy h3 {
  margin: 0 0 6px;
  font-weight: 850;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  gap: 18px;
  grid-template-columns: 110px 1fr;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.timeline-item strong {
  color: var(--red);
  font-size: 1.35rem;
}

.contact-link {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-link i {
  color: var(--red);
  font-size: 1.2rem;
}

.contact-link strong {
  display: block;
  color: var(--navy);
}

@media (max-width: 991px) {
  .navbar-collapse {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding-top: 16px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 42px;
  }

  .floating-spec {
    right: 18px;
  }

  .gallery-grid,
  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  section {
    padding: 72px 0;
  }

  .topbar {
    top: 10px;
  }

  .navbar {
    width: min(100% - 18px, 1200px);
    padding: 10px 62px 10px 12px;
  }

  .navbar-toggler {
    display: block !important;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 2;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 100svh;
    padding: 125px 0 54px;
  }

  .hero .container {
    max-width: 100vw;
    padding-right: 12px;
    padding-left: 12px;
    overflow: hidden;
  }

  .hero h1 {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    font-size: clamp(2.15rem, 10.8vw, 3rem);
    line-height: .98;
    overflow-wrap: break-word;
  }

  .hero p {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    overflow-wrap: break-word;
  }

  .hero-panel {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    margin-right: auto;
    margin-left: 0;
    padding: 18px;
    overflow: hidden;
  }

  .hero-panel span {
    display: block;
    overflow-wrap: break-word;
  }

  .stat-wrap {
    margin-top: 0;
    border-radius: 0;
  }

  .image-stack img {
    min-height: 360px;
  }

  .floating-spec {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .gallery-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .project-tile img {
    height: 310px;
  }
}
