:root {
  --teal-dark: #1a5c52;
  --teal: #2d7d6e;
  --teal-light: #5ec4b8;
  --mint: #7dd3c0;
  --white: #ffffff;
  --off-white: #f4faf8;
  --text: #1e3330;
  --text-muted: #4a6b65;
  --shadow: 0 8px 32px rgba(26, 92, 82, 0.12);
  --radius: 16px;
  --header-h: 80px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 125, 110, 0.1);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Slider */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  margin-top: 0;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 92, 82, 0.85) 0%,
    rgba(45, 125, 110, 0.6) 50%,
    rgba(30, 51, 48, 0.75) 100%
  );
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  padding-top: var(--header-h);
}

.hero__text {
  max-width: 640px;
  color: var(--white);
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(94, 196, 184, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

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

.hero h1 span {
  color: var(--mint);
}

.hero__desc {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  font-weight: 400;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45, 125, 110, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero__controls {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}

.hero__dots {
  display: flex;
  gap: 0.5rem;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.hero__dot.active {
  background: var(--mint);
  border-color: var(--mint);
  transform: scale(1.2);
}

.hero__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Sections */
.section {
  padding: 5rem 0;
}

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

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

.section__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__text p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat__num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card__img {
  height: 220px;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-card__img img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 1.75rem;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Projects Slider */
.projects-slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.projects-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 400px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.project-slide__img {
  position: relative;
  min-height: 280px;
}

.project-slide__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-slide__content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-slide__tag {
  display: inline-block;
  width: fit-content;
  padding: 0.3rem 0.85rem;
  background: rgba(45, 125, 110, 0.12);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.project-slide h3 {
  font-size: 1.5rem;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

.project-slide p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.project-slide__meta {
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 600;
}

.projects__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.projects__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.projects__arrow:hover {
  background: var(--teal-dark);
  transform: scale(1.05);
}

.projects__dots {
  display: flex;
  gap: 0.5rem;
}

.projects__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(45, 125, 110, 0.25);
  cursor: pointer;
  transition: var(--transition);
}

.projects__dot.active {
  background: var(--teal);
  width: 28px;
  border-radius: 5px;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
  transition: transform 0.2s;
}

.contact-card:hover {
  transform: translateX(4px);
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.contact-card h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-card a,
.contact-card p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.contact-card a:hover {
  color: var(--teal);
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 2rem;
}

.contact__map p {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Footer */
.footer {
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0;
  text-align: center;
}

.footer__logo {
  height: 48px;
  margin: 0 auto 1rem;
  filter: brightness(1.1);
}

.footer p {
  font-size: 0.9rem;
}

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

/* Mobile */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
  }

  .about__grid,
  .services__grid,
  .contact__grid,
  .project-slide {
    grid-template-columns: 1fr;
  }

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

  .hero__controls {
    bottom: 1.5rem;
  }

  .project-slide__content {
    padding: 1.75rem;
  }
}
