:root {
  --emerald:      #00c87c;
  --emerald-dark: #009960;
  --teal-dark:    #0d2a35;
  --teal-mid:     #164455;
  --charcoal:     #111111;
  --off-white:    #f5f7f5;
  --white:        #ffffff;
  --gray-light:   #e4e8e4;
  --gray-mid:     #5a6a60;
  --text-dark:    #1a1f1a;
}

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

#residential, #commercial, #about, #gallery, #contact {
  scroll-margin-top: 260px;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

/* ── TOP BAR ── */
.top-bar {
  background: var(--charcoal);
  color: #999;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 6px 48px;
  gap: 24px;
}
.top-bar a {
  color: var(--emerald);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.top-bar a:hover { color: #fff; }

/* ── NAV ── */
nav {
  background: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 16px rgba(0,0,0,0.45);
}

.nav-logo img {
  height: 100px;
  display: block;
  mix-blend-mode: lighten;
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  color: var(--gray-light);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover {
  color: var(--emerald);
  border-bottom-color: var(--emerald);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(13, 42, 53, 0.82) 0%,
    rgba(13, 42, 53, 0.55) 55%,
    rgba(0, 200, 124, 0.18) 100%
  );
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.hero-content {
  max-width: 560px;
}

.hero-content h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.08;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}

.hero-content h1 .accent { color: var(--emerald); }

.hero-content .tagline-hero {
  font-family: 'Source Sans 3', sans-serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gray-light);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

.hero-content .hero-cta {
  display: inline-block;
  margin-top: 28px;
  background: var(--emerald);
  color: var(--charcoal);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 38px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.hero-content .hero-cta:hover {
  background: var(--white);
  transform: translateY(-2px);
}

/* ── ABOUT STRIP ── */
.about-strip {
  background: var(--white);
  text-align: center;
  padding: 54px 48px;
  border-bottom: 1px solid var(--gray-light);
}

.about-strip p {
  font-size: 1.3rem;
  color: var(--emerald-dark);
  font-style: italic;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.65;
  font-weight: 400;
}

/* ── SERVICE ICONS ── */
.services {
  background: var(--off-white);
  padding: 60px 48px;
}

.services-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1120px;
  margin: 0 auto;
}

.svc-card {
  text-align: center;
  flex: 1 1 168px;
  max-width: 200px;
  padding: 10px 6px;
}

.svc-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  background: var(--teal-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,200,124,0.18);
}

.svc-icon svg {
  width: 36px;
  height: 36px;
}

.svc-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.svc-card p {
  font-size: 0.82rem;
  color: var(--gray-mid);
  line-height: 1.55;
}

/* ── THREE COLUMNS ── */
.columns {
  background: var(--white);
  padding: 60px 48px;
  border-top: 1px solid var(--gray-light);
}

.columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 52px;
  max-width: 1120px;
  margin: 0 auto;
}

.col h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--teal-dark);
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 3px solid var(--emerald);
}

.col ul {
  list-style: none;
}

.col ul li {
  font-size: 0.88rem;
  color: var(--text-dark);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.col ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  flex-shrink: 0;
}

.col .body-text {
  font-size: 0.92rem;
  color: var(--gray-mid);
  line-height: 1.75;
}

.col .body-text + .body-text {
  margin-top: 16px;
}

.col .cta-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--emerald-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--emerald-dark);
  padding-bottom: 1px;
  transition: color 0.2s;
}

.col .cta-link:hover { color: var(--teal-dark); }

/* ── GALLERY ── */
.gallery {
  background: var(--teal-dark);
  padding: 60px 0;
}

.gallery-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  text-align: center;
  margin-bottom: 36px;
}

.carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.carousel-track-wrap {
  overflow: hidden;
  border-radius: 3px;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 20px));
  background: rgba(0,200,124,0.15);
  border: 2px solid var(--emerald);
  color: var(--emerald);
  font-size: 2.4rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--emerald);
  color: var(--charcoal);
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dots button.active {
  background: var(--emerald);
  transform: scale(1.2);
}

@media (max-width: 680px) {
  .carousel { padding: 0 44px; }
  .carousel-slide img { height: 260px; }
  .carousel-btn { width: 38px; height: 38px; font-size: 1.8rem; }
  .gallery { padding: 40px 0; }
}

/* ── CONTACT ── */
.contact {
  background: var(--off-white);
  padding: 60px 48px;
  border-top: 1px solid var(--gray-light);
}

.contact-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  text-align: center;
  margin-bottom: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.hidden-field { display: none; }

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 2px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--emerald);
}

.form-group textarea { resize: vertical; }

.form-submit {
  background: var(--emerald);
  color: var(--charcoal);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  padding: 13px 36px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.form-submit:hover {
  background: var(--emerald-dark);
  transform: translateY(-1px);
}

.contact-info {
  padding-top: 8px;
}

.contact-info h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.contact-detail {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.detail-label {
  font-weight: 700;
  color: var(--text-dark);
  flex-shrink: 0;
}

.contact-detail a {
  color: var(--emerald-dark);
  text-decoration: none;
  transition: color 0.2s;
}

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

.detail-note {
  font-size: 0.78rem;
  color: var(--gray-mid);
  font-style: italic;
}

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: #666;
  text-align: center;
  padding: 22px 40px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

footer .brand {
  color: var(--emerald);
  font-weight: 600;
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gray-light);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .columns-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  #residential, #commercial, #about, #gallery, #contact { scroll-margin-top: 122px; }
  .top-bar, nav { padding-left: 20px; padding-right: 20px; }
  nav { flex-wrap: nowrap; position: relative; }
  .nav-logo img { height: 110px; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--teal-dark);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 24px;
    border-bottom: none;
    font-size: 1rem;
  }
  .nav-links a:hover { background: var(--teal-mid); }
  .hero { height: 380px; }
  .hero-overlay { padding: 0 28px; }
  .hero-content h1 { font-size: 2.2rem; }
  .about-strip, .services, .columns, .contact { padding: 40px 20px; }
  .columns-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
