:root {
  --green-900: #0b6a59;
  --green-800: #0e7761;
  --green-700: #0f876a;
  --navy-900: #1c2c3b;
  --navy-800: #233648;
  --gold-500: #db965b;
  --gold-600: #c8854f;
  --text-900: #24303a;
  --text-700: #586774;
  --bg-100: #f4f6f8;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(21, 37, 52, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--text-900);
  background: var(--white);
}

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

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

p {
  margin: 0;
  line-height: 1.75;
  color: var(--text-700);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text-900);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--green-900);
  box-shadow: 0 8px 30px rgba(15, 31, 45, 0.08);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 160px;
  max-width: min(100%, 780px);
}

.phone-link {
  font-weight: 700;
  color: #f5d87f;
}

.nav-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}

.nav a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.nav-item {
  position: relative;
}

.has-dropdown {
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.has-dropdown > a::after {
  content: "▾";
  font-size: 0.8em;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 320px;
  margin-top: 0;
  padding: 12px 0;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(15, 31, 45, 0.18);
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.dropdown-menu a {
  display: block;
  padding: 12px 18px;
  font-size: 0.8rem;
  color: var(--text-900);
}

.dropdown-menu a:hover {
  background: var(--bg-100);
  color: var(--green-900);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  display: block;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #294254;
}

.hero > img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(25, 39, 54, 0.74) 0%, rgba(25, 39, 54, 0.56) 45%, rgba(25, 39, 54, 0.18) 100%),
    linear-gradient(180deg, rgba(11, 106, 89, 0.15), rgba(11, 106, 89, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 160px 0 150px;
  color: var(--white);
}

.hero-content h1 {
  max-width: 620px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
  color: var(--white);
}

.keep-together {
  white-space: nowrap;
}

.hero-content p {
  max-width: 680px;
  margin-top: 22px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold-500);
  color: var(--white);
}

.button-primary:hover {
  background: var(--gold-600);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.section {
  padding: 96px 0;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(25, 39, 54, 0.86) 0%, rgba(25, 39, 54, 0.7) 48%, rgba(25, 39, 54, 0.35) 100%),
    url("https://s-renewed-vision.lovable.app/assets/hero-bg-CnNEnk0l.jpg") center / cover no-repeat;
  color: var(--white);
}

.page-hero .hero-content {
  padding: 112px 0 96px;
}

.page-hero h1,
.page-hero p {
  color: var(--white);
}

.service-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.detail-card,
.sidebar-card {
  padding: 34px;
}

.detail-card h2,
.sidebar-card h3 {
  margin-bottom: 16px;
}

.detail-list,
.sidebar-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--text-700);
}

.detail-list li,
.sidebar-list li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.sidebar-list a {
  color: var(--green-900);
}

.alt-bg {
  background: var(--bg-100);
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 14px;
}

.feature-grid,
.service-grid,
.testimonial-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card,
.service-card,
.testimonial-card,
.contact-card {
  padding: 32px;
}

.service-card {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 135, 106, 0.65);
  background: linear-gradient(180deg, #ffffff 0%, #f4fff9 100%);
  box-shadow:
    0 0 12px rgba(17, 255, 153, 0.45),
    0 0 30px rgba(17, 255, 153, 0.28),
    0 18px 45px rgba(21, 37, 52, 0.12);
}

.service-card:hover .service-icon {
  box-shadow:
    0 0 10px rgba(17, 255, 153, 0.55),
    0 0 22px rgba(17, 255, 153, 0.4);
}

.contact-card {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
  border: 1px solid transparent;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 135, 106, 0.65);
  background: linear-gradient(180deg, #ffffff 0%, #f4fff9 100%);
  box-shadow:
    0 0 12px rgba(17, 255, 153, 0.45),
    0 0 30px rgba(17, 255, 153, 0.28),
    0 18px 45px rgba(21, 37, 52, 0.12);
}

.contact-card:hover .contact-icon {
  box-shadow:
    0 0 10px rgba(17, 255, 153, 0.55),
    0 0 22px rgba(17, 255, 153, 0.4);
}

.feature-card h3,
.service-card h3,
.contact-card h3 {
  margin: 20px 0 10px;
  font-size: 1.3rem;
}

.icon-circle,
.service-icon,
.contact-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
}

.stars {
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: #f4b448;
}

.testimonial-card p {
  margin: 16px 0 18px;
}

.testimonial-card strong {
  font-family: "Montserrat", sans-serif;
  font-size: 0.98rem;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  padding: 72px 0 48px;
}

.site-footer h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

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

.site-footer li + li {
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--green-900);
}

.footer-bottom p {
  padding: 18px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .feature-grid,
  .service-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .service-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .topbar,
  .nav,
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 12px;
  }

  .hero {
    min-height: 560px;
  }

  .brand img {
    height: 104px;
  }

  .dropdown-menu {
    position: static;
    display: block;
    min-width: 0;
    margin-top: 12px;
    padding: 10px 0;
  }

  .hero-content {
    padding: 110px 0 100px;
  }

  .section {
    padding: 72px 0;
  }

  .feature-grid,
  .service-grid,
  .testimonial-grid,
  .gallery-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .service-card,
  .testimonial-card,
  .contact-card {
    padding: 26px;
  }
}
