
:root {
  --green: #2E8B57;
  --green-light: #3fae6d;
  --green-dark: #1f6a41;
  --dark: #1F2937;
  --muted: #6B7280;
  --light: #ffffff;
  --soft: #F3F4F6;
  --soft-2: #f8faf9;
  --border: #E5E7EB;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", sans-serif; background: linear-gradient(180deg, #f8fbf9 0%, #f3f4f6 28%, #f3f4f6 100%); color: var(--dark); line-height: 1.65; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

header { background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(229,231,235,0.95); position: sticky; top: 0; z-index: 100; }
.nav { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; min-width: 180px; }
.logo-img { height: 48px; width: auto; display: block; }
.nav-links { display: flex; flex: 1; justify-content: center; gap: 2rem; font-size: 1rem; font-weight: 600; align-items: center; }
.nav-links a { color: var(--muted); transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active, .nav-links a[aria-current="page"] { color: var(--green); }
.btn-nav { padding: .75rem 1.35rem; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; border-radius: 999px; font-size: .95rem; font-weight: 700; border: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; display: inline-block; box-shadow: 0 10px 24px rgba(46,139,87,.22); }
.btn-nav:hover, .btn-primary:hover, .btn-white:hover { transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger div { width: 28px; height: 3px; background: var(--dark); border-radius: 3px; }
.mobile-menu { display: none; flex-direction: column; background: white; border-top: 1px solid var(--border); padding: 1rem; text-align: center; gap: 1rem; box-shadow: var(--shadow-sm); }
.mobile-menu a { color: var(--dark); font-size: 1.04rem; font-weight: 600; }
.mobile-menu .btn-nav { width: 100%; }
.mobile-menu.active { display: flex; }

.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem 0; color: var(--muted); font-size: .92rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }

h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .65rem; }
p { line-height: 1.75; }

section { max-width: 1200px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.page-shell { max-width: 980px; margin: 0 auto; }
.surface, .content-card, .contact-box, .areas-box, .partners-box, .faq-card, .service-link-card, .gallery-card, .info-card { background: rgba(255,255,255,.98); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.content-card, .areas-box, .partners-box, .faq-card, .info-card { padding: 2rem; }
.contact-box { padding: 2rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: 1.05rem; }

.hero-card { background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(240,250,244,0.92) 100%); border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow-md); padding: clamp(2rem, 4vw, 3rem); }
.hero-split { display: grid; grid-template-columns: 1.08fr .92fr; gap: 2rem; align-items: center; }
.hero-media { min-height: 320px; border-radius: 22px; overflow: hidden; background: linear-gradient(rgba(15,23,42,.12), rgba(15,23,42,.12)), url('extension.png') center/cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.badges, .pill-links, .areas-links, .service-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.pill-links a, .areas-links a, .badge { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: var(--soft-2); color: var(--dark); border-radius: 999px; padding: .6rem 1rem; font-weight: 700; font-size: .92rem; }
.pill-links a:hover, .areas-links a:hover { border-color: var(--green); color: var(--green); }
.service-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-link-card { padding: 1.5rem; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-link-card:hover, .gallery-card:hover { transform: translateY(-4px); border-color: rgba(46,139,87,.35); box-shadow: var(--shadow-md); }
.service-link-card h3 { margin-bottom: .55rem; }
.service-link-card h3 a { color: var(--dark); }
.service-link-card h3 a:hover { color: var(--green); }
.service-link-card p { color: var(--muted); font-size: .96rem; }

.cta { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); border-radius: 28px; padding: 2.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; box-shadow: 0 18px 40px rgba(46,139,87,.24); }
.cta h2 { color: #fff; margin-bottom: .45rem; }
.cta p { color: rgba(255,255,255,.88); max-width: 640px; }
.btn-primary { padding: 1rem 1.5rem; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; border-radius: 999px; font-weight: 800; text-decoration: none; display: inline-block; box-shadow: 0 10px 24px rgba(46,139,87,.22); }
.btn-white { padding: 1rem 1.5rem; background: #fff; color: var(--green); border-radius: 999px; font-weight: 800; display: inline-block; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.gallery-card { overflow: hidden; }
.gallery-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery-card-content { padding: 1rem 1.1rem 1.2rem; }

footer { background: white; border-top: 1px solid var(--border); padding: 1.5rem; margin-top: 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; color: var(--muted); font-size: .92rem; gap: 1rem; flex-wrap: wrap; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--green); }

@media (max-width: 900px) {
  .hero-split, .service-links, .gallery-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: 240px; }
  .contact-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .nav-links, .nav > .btn-nav { display: none; }
  .hamburger { display: flex; }
  .contact-box, .footer-inner, .cta { flex-direction: column; text-align: center; }
  .contact-box { align-items: center; }
  .service-links { grid-template-columns: 1fr; }
}

/* ================================================================
   HOMEPAGE (index.html) — section-specific classes
   ================================================================ */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.hero-text h1 span { color: var(--green); }
.hero-text p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-img {
  height: 360px;
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: white;
  border: 1px solid var(--border);
  padding: 1.8rem;
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(46,139,87,.35);
  box-shadow: var(--shadow-md);
}
.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: block;
  border: 1px solid var(--border);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); }
.areas-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}
.areas-pills a {
  display: inline-block;
  padding: .55rem 1rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  font-weight: 600;
  color: var(--dark);
  transition: .2s;
}
.areas-pills a:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}

/* ================================================================
   GALLERY PAGE (gallery.html) — gallery-specific classes
   ================================================================ */
.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1rem;
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: .5rem;
}
.page-header p { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.filters {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.filter-btn {
  padding: .55rem 1.1rem;
  border: 1px solid var(--border);
  background: white;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--dark);
  transition: .2s;
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.active { background: var(--green); color: white; border-color: var(--green); }
.gallery-section { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.5rem 4rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--border);
  aspect-ratio: 1 / 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: .3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.gallery-item:hover .overlay { background: rgba(0,0,0,.38); }
.gallery-item .caption {
  color: white;
  font-size: .88rem;
  font-weight: 600;
  opacity: 0;
  transition: .3s;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.gallery-item:hover .caption { opacity: 1; }
.gallery-item[data-hidden="true"] { display: none; }
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); object-fit: contain; display: block; }
.lightbox-caption {
  position: absolute;
  bottom: -2.2rem;
  left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
}
.lb-close {
  position: fixed;
  top: 1.2rem; right: 1.5rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  z-index: 1001;
  opacity: .8;
  transition: .2s;
}
.lb-close:hover { opacity: 1; }
.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  opacity: .7;
  transition: .2s;
  padding: .5rem 1rem;
  z-index: 1001;
  user-select: none;
}
.lb-arrow:hover { opacity: 1; }
.lb-prev { left: .5rem; }
.lb-next { right: .5rem; }
.empty-state { text-align: center; padding: 4rem 1.5rem; color: var(--muted); display: none; }
.empty-state.show { display: block; }

/* ================================================================
   EXTENDED RESPONSIVE — homepage & gallery
   ================================================================ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 2rem; }
  .hero-img { height: 260px; }
  .grid-3 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .page-header h1 { font-size: 1.8rem; }
  .lb-arrow { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
}

/* ================================================================
   CONTACT FORM
   ================================================================ */
.contact-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: start; }
.contact-info-card { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: 0 18px 40px rgba(46,139,87,.22); color: white; }
.contact-info-card h2 { color: white; margin-bottom: 0.5rem; font-size: 1.55rem; }
.contact-info-card .tagline { color: rgba(255,255,255,.82); margin-bottom: 1.8rem; font-size: 1rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.9rem; margin-bottom: 1.2rem; }
.contact-detail-icon { font-size: 1.25rem; margin-top: 0.1rem; flex-shrink: 0; }
.contact-detail-body { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-detail-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,.65); }
.contact-detail-value { font-size: 1rem; font-weight: 600; color: white; }
.contact-detail-value a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.contact-hours { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.2); }
.contact-hours h3 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,.65); margin-bottom: 0.6rem; }
.contact-hours p { font-size: 0.95rem; color: rgba(255,255,255,.9); line-height: 1.65; margin: 0; }
.google-maps-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.5rem; padding: 0.7rem 1.2rem; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 0.9rem; font-weight: 700; color: white; transition: .2s; }
.google-maps-link:hover { background: rgba(255,255,255,.25); }

/* Form card */
.form-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.form-card .form-subtitle { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.8rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-group { display: flex; flex-direction: column; gap: 0.38rem; }
.form-group label { font-size: 0.88rem; font-weight: 700; color: var(--dark); letter-spacing: 0.01em; }
.form-group input,
.form-group select,
.form-group textarea { padding: 0.82rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 0.97rem; color: var(--dark); background: #fdfdfd; transition: border-color .2s, box-shadow .2s; outline: none; width: 100%; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0b8c1; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); background: white; box-shadow: 0 0 0 3px rgba(46,139,87,.1); }
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; cursor: pointer; }
.form-submit-row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 0.3rem; }
.form-submit-row .btn-primary { font-size: 1.02rem; padding: 0.95rem 2rem; }
.form-note { font-size: 0.83rem; color: var(--muted); line-height: 1.5; }
.form-success { display: none; background: #f0fdf4; border: 1.5px solid #86efac; border-radius: var(--radius); padding: 1rem 1.2rem; color: #166534; font-weight: 600; font-size: 0.97rem; margin-top: 0.5rem; }
.form-success.show { display: block; }

@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } .form-submit-row { flex-direction: column; align-items: stretch; } .form-submit-row .btn-primary { text-align: center; } }
