:root {
  --ink: #1f2a33;
  --deep: #0f1a20;
  --forest: #245649;
  --earth: #8a6b4f;
  --sand: #f2eee8;
  --stone: #d8d4cf;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 42, 51, 0.08);
  transition: box-shadow 0.3s ease;
}

body.scrolled .site-header {
  box-shadow: 0 12px 24px rgba(15, 26, 32, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  gap: 1rem;
}

.brand img {
  height: 56px;
  width: auto;
}

.nav {
  display: none;
  gap: 1.5rem;
  font-weight: 600;
}

.nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1.2rem 1.6rem;
  gap: 1rem;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 16px 32px rgba(15, 26, 32, 0.12);
  text-align: center;
}

.nav a {
  position: relative;
  padding-bottom: 0.2rem;
  font-size: 1rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--forest);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a:focus::after {
  width: 100%;
}

.nav-toggle {
  background: none;
  border: none;
  display: grid;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(15, 26, 32, 0.9), rgba(36, 86, 73, 0.6)),
    url("Pic4.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: heroGlow 14s ease-in-out infinite alternate;
}

.hero-content {
  padding: 6rem 0 5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-sub {
  max-width: 560px;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--sand);
  color: var(--deep);
  animation: pulseGlow 3.6s ease-in-out infinite;
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.hero-stats {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: rgba(15, 26, 32, 0.55);
  padding: 1.5rem;
  border-radius: 20px;
  animation: floatUp 6s ease-in-out infinite;
}

.hero-stats h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: var(--sand);
}

.split {
  display: grid;
  gap: 2rem;
}

.about-highlights {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.pill {
  background: var(--white);
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(31, 42, 51, 0.1);
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.services-head {
  display: grid;
  gap: 0.8rem;
  max-width: 620px;
}

.services {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.service-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 20px 40px rgba(15, 26, 32, 0.08);
  border: 1px solid rgba(31, 42, 51, 0.06);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(36, 86, 73, 0.14);
  color: var(--forest);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 20px 40px rgba(15, 26, 32, 0.08);
  border: 1px solid rgba(31, 42, 51, 0.06);
}

.card .icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.project {
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 16px 32px rgba(15, 26, 32, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(15, 26, 32, 0.14);
}

.projects {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.project-media {
  position: relative;
}

.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  background: rgba(15, 26, 32, 0.78);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.project-body {
  padding: 1.4rem;
  border-top: 1px solid rgba(31, 42, 51, 0.06);
}

.project-body h3 {
  margin-bottom: 0.2rem;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.status {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status.feature {
  background: rgba(36, 86, 73, 0.12);
  color: var(--forest);
}

.checks {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.check {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(31, 42, 51, 0.08);
}

.check span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.why-layout {
  display: grid;
  gap: 2rem;
  margin-top: 1.8rem;
}

.why-intro {
  background: var(--white);
  border-radius: 22px;
  padding: 2rem;
  border: 1px solid rgba(31, 42, 51, 0.08);
  box-shadow: 0 18px 36px rgba(15, 26, 32, 0.08);
}

.why-intro h2 {
  margin-bottom: 0.6rem;
}

.why-metrics {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.why-metrics h3 {
  font-size: 1.4rem;
}

.why-timeline {
  display: grid;
  gap: 1.4rem;
  position: relative;
  padding-left: 1.2rem;
}

.why-timeline::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: 6px;
  width: 2px;
  background: rgba(31, 42, 51, 0.12);
}

.why-step {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 1rem;
  align-items: start;
}

.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 4px rgba(36, 86, 73, 0.12);
  margin-top: 0.4rem;
}

.why-step h3 {
  margin-bottom: 0.35rem;
}

.cta {
  background: linear-gradient(120deg, #1f2a33, #245649);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta .btn.ghost {
  border-color: rgba(255, 255, 255, 0.6);
}

.contact-shell {
  display: grid;
  gap: 2rem;
}

.contact-main {
  background: linear-gradient(150deg, #ffffff, #f6f3ee);
  border: 1px solid rgba(31, 42, 51, 0.08);
  border-radius: 24px;
  padding: clamp(1.4rem, 2.2vw, 2.2rem);
  box-shadow: 0 24px 46px rgba(15, 26, 32, 0.08);
}

.contact-main > p {
  max-width: 560px;
}

.contact-list {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.85rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 0.95rem;
  background: var(--white);
  border: 1px solid rgba(31, 42, 51, 0.08);
  border-radius: 16px;
  padding: 0.9rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover,
.contact-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(36, 86, 73, 0.35);
  box-shadow: 0 12px 24px rgba(15, 26, 32, 0.1);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, #245649, #1f2a33);
  display: grid;
  place-items: center;
  color: var(--white);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.contact-copy {
  display: grid;
  min-width: 0;
}

.contact-copy strong {
  font-size: 0.96rem;
  color: var(--deep);
}

.contact-copy span {
  font-size: 0.92rem;
  color: rgba(31, 42, 51, 0.82);
  overflow-wrap: anywhere;
}

.contact-side {
  min-height: 100%;
}

.map {
  background: radial-gradient(circle, rgba(36, 86, 73, 0.2), transparent 70%);
  border-radius: 24px;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.map-card {
  background: var(--white);
  padding: 1.8rem;
  border-radius: 18px;
  text-align: center;
  border: 1px solid rgba(31, 42, 51, 0.1);
  box-shadow: 0 16px 32px rgba(15, 26, 32, 0.08);
}

.contact-badges {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.contact-badges span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--forest);
  background: rgba(36, 86, 73, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.site-footer {
  background: var(--deep);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 1rem;
  text-align: center;
}

.footer-inner img {
  height: 42px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.7;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroGlow {
  0% {
    filter: saturate(0.95) brightness(0.9);
  }
  100% {
    filter: saturate(1.1) brightness(1);
  }
}

@keyframes floatUp {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(242, 238, 232, 0.3);
  }
  50% {
    box-shadow: 0 0 18px rgba(242, 238, 232, 0.6);
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .nav-toggle {
    display: none;
  }

  .split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .brand img {
    height: 64px;
  }
  .why-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .contact-shell {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    transition: none;
  }

  .hero-bg,
  .hero-stats,
  .btn.primary {
    animation: none;
  }
}
