:root {
  --bg: #f4f7f6;
  --surface: #ffffff;
  --ink: #0f1720;
  --muted: #4a5a67;
  --brand: #0f7b6c;
  --brand-dark: #0a5d52;
  --line: #dce5e2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav-link {
  font-weight: 600;
}

.nav-link.active {
  color: var(--brand) !important;
}

.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(15, 123, 108, 0.2), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(245, 158, 11, 0.16), transparent 35%),
    linear-gradient(140deg, #0b2428 0%, #0e3b40 50%, #0f7b6c 100%);
  color: #fff;
  padding: 120px 0 96px;
}

.hero-carousel {
  margin-top: 56px;
}

.hero-slide {
  min-height: clamp(900px, 115vh, 1300px);
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(6, 22, 25, 0.86), rgba(12, 56, 57, 0.4));
}

.hero-slide::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: min(36vw, 420px);
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 123, 108, 0.2), rgba(5, 16, 18, 0.1));
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: clamp(900px, 115vh, 1300px);
  display: flex;
  align-items: flex-start;
}

.hero-content .container {
  padding-top: clamp(130px, 16vh, 240px);
  padding-bottom: clamp(130px, 16vh, 240px);
}

.hero-panel {
  background: rgba(8, 22, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 28px;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(1.95rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  opacity: 0.95;
  max-width: 900px;
}

.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero-tag {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #e8f3f2;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-carousel .carousel-indicators {
  margin-bottom: 1.3rem;
}

.hero-carousel .carousel-indicators button {
  width: 28px;
  height: 4px;
  border-radius: 12px;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 6%;
}

.btn-brand {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  font-weight: 700;
}

.btn-brand:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-weight: 600;
}

.btn-ghost:hover {
  background: #fff;
  color: #0d3f43;
}

.section {
  padding: 74px 0;
}

.section h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  min-height: 120px;
  display: flex;
  align-items: end;
}

.tile:hover {
  border-color: var(--brand);
  color: var(--brand);
  text-decoration: none;
}

.trust-strip {
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand);
  background: #f9fcfb;
  padding: 18px;
  border-radius: 10px;
}

.card-clean {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  height: 100%;
}

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

.service-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.service-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-block p,
.service-block li {
  color: var(--muted);
}

.inline-pdf {
  font-size: 0.95rem;
  font-weight: 600;
}

.inline-pdf a {
  color: var(--brand);
}

.inline-pdf a:hover {
  color: var(--brand-dark);
}

.anchor-nav {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anchor-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
}

.anchor-nav a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

.form-control,
.form-select {
  border-color: #cfdad6;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(15, 123, 108, 0.16);
}

footer {
  background: #091316;
  color: #d2dde2;
  padding: 28px 0;
  margin-top: 50px;
}

footer a {
  color: #d2dde2;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

.site-footer {
  background: #081216;
  color: #d0dbe0;
  margin-top: 56px;
}

.site-footer .top {
  padding: 48px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer h5 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #d0dbe0;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .bottom {
  padding: 18px 0;
  font-size: 0.9rem;
  color: #9db0ba;
}

.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 0.85rem;
  color: #d0dbe0;
}

.social-chip:hover {
  border-color: #fff;
  color: #fff;
}

@media (max-width: 1100px) {
  .tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .hero-slide,
  .hero-content {
    min-height: 120vh;
  }

  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .hero-panel {
    padding: 18px;
    border-radius: 12px;
  }

  .hero-content .container {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .tile-grid {
    grid-template-columns: 1fr;
  }
}
