/* ============================================================
   ANIME.JS EDITION - Oliver Bobla Garten- und Landschaftsbau
   Maximale Animationen, maximaler Effekt!
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --green: #2d6a1e;
  --green-light: #3a8820;
  --green-dark: #1e4a12;
  --gold: #d4a843;
  --gold-light: #e8c76a;
  --dark: #1a1a2e;
  --dark-light: #242442;
  --white: #ffffff;
  --off-white: #f8faf5;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --shadow: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-lg: 0 25px 60px rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.accent {
  color: var(--green);
}

/* ---------- LOGO IMAGE ---------- */
.logo-img {
  height: 64px;
  width: auto;
  display: block;
  opacity: 0;
  transition: var(--transition);
}

#header.scrolled .logo-img {
  height: 52px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
}

/* ---------- CURSOR TRAIL ---------- */
#cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
}

.cursor-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* ---------- SCROLL PROGRESS ---------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
  z-index: 9999;
  transition: none;
}

/* ---------- HEADER ---------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1001;
}


#main-nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 0.3rem 0;
  opacity: 0;
  transform: translateY(-20px);
  transition: color var(--transition);
}

#header.scrolled .nav-link {
  color: var(--dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

#mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

#mobile-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

#header.scrolled #mobile-toggle span {
  background: var(--dark);
}

/* ---------- HERO ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.5s ease, transform 8s ease;
}

.hero-bg-img.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.85) 0%,
    rgba(45, 106, 30, 0.6) 50%,
    rgba(26, 26, 46, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  margin: 0 0.15em;
}

.hero-word.accent {
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.subtitle-word {
  display: inline-block;
  opacity: 0;
  margin: 0 0.3em;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
}

.hero-scroll-indicator {
  opacity: 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 13px;
  margin: 0 auto 0.8rem;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(45, 106, 30, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-ripple {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 1.1rem 2rem;
}

/* ---------- STATS BAR ---------- */
#stats-bar {
  position: relative;
  z-index: 10;
  background: var(--dark);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  opacity: 0;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  display: inline;
}

.stat-suffix {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
}

.stat-label {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* ---------- SECTIONS GENERAL ---------- */
section {
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  opacity: 0;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
}

.section-line {
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  margin: 1.5rem auto 0;
  border-radius: 3px;
}

/* ---------- PROCESS SECTION ---------- */
#process {
  padding: 8rem 0;
  background: var(--off-white);
}

.process-path-svg {
  display: block;
  width: 100%;
  height: 30px;
  margin-bottom: 2rem;
  opacity: 0;
}

.process-connect-path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: var(--transition);
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

.process-card:hover::before {
  transform: scaleX(1);
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.process-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(45, 106, 30, 0.08);
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  line-height: 1;
}

.process-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
}

.process-icon svg {
  width: 100%;
  height: 100%;
}

.process-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.process-card p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* ---------- ABOUT SECTION ---------- */
#about {
  padding: 8rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.about-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(45, 106, 30, 0.06);
  top: -10%;
  right: -5%;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(212, 168, 67, 0.06);
  bottom: -5%;
  left: -5%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-images {
  position: relative;
  height: 500px;
}

.about-img-wrapper {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0;
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-wrapper:hover img {
  transform: scale(1.05);
}

.about-img-wrapper.img-1 {
  width: 280px;
  height: 340px;
  top: 0;
  left: 0;
  z-index: 3;
}

.about-img-wrapper.img-2 {
  width: 220px;
  height: 280px;
  top: 40px;
  right: 0;
  z-index: 2;
}

.about-img-wrapper.img-3 {
  width: 200px;
  height: 200px;
  bottom: 0;
  left: 80px;
  z-index: 1;
}

.about-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  bottom: 20px;
  right: 30px;
  z-index: 0;
  opacity: 0;
}

.about-content {
  opacity: 0;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
}

.feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 600;
  color: var(--dark);
}

/* ---------- GALLERY MARQUEE ---------- */
#gallery-marquee {
  padding: 2rem 0;
  background: var(--dark);
  overflow: hidden;
}

.marquee-track {
  overflow: hidden;
}

.marquee-content {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.marquee-content img {
  height: 200px;
  width: 300px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease;
}

.marquee-content img:hover {
  transform: scale(1.05);
}

/* ---------- SERVICES SECTION ---------- */
#services {
  padding: 8rem 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.15);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.5) 0%, transparent 60%);
}

.service-content {
  padding: 1.8rem;
}

.service-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.service-list {
  list-style: none;
}

.service-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray);
  font-size: 0.95rem;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%) scale(0);
  transition: transform 0.3s ease;
}

.service-card:hover .service-list li::before {
  transform: translateY(-50%) scale(1);
}

.service-hover-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card:hover .service-hover-line {
  transform: scaleX(1);
}

/* ---------- TEXT MARQUEE ---------- */
#text-marquee {
  padding: 3rem 0;
  background: var(--green);
  overflow: hidden;
}

.text-marquee-track {
  overflow: hidden;
}

.text-marquee-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  white-space: nowrap;
}

.text-marquee-content span {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
}

.text-marquee-content .dot {
  font-size: 1rem;
  color: var(--gold);
}

/* ---------- REFERENCES SECTION ---------- */
#references {
  padding: 8rem 0;
  background: var(--white);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1.5rem;
}

.ref-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  opacity: 0;
}

.ref-card.ref-large {
  grid-column: span 2;
}

.ref-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.ref-card:hover img {
  transform: scale(1.1);
}

.ref-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ref-card:hover .ref-overlay {
  opacity: 1;
}

.ref-tag {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.3rem 1rem;
  background: rgba(45, 106, 30, 0.6);
  border-radius: 50px;
}

/* ---------- JOBS SECTION ---------- */
#jobs {
  padding: 8rem 0;
  background: var(--off-white);
}

.jobs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.jobs-intro {
  opacity: 0;
}

.jobs-intro p {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.jobs-cta-text {
  color: var(--dark) !important;
  font-weight: 600;
  margin-bottom: 2rem !important;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.job-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transition: var(--transition);
  overflow: hidden;
}

.job-card:hover {
  box-shadow: var(--shadow-lg);
}

.job-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.job-card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
}

.job-card:hover .job-card-header {
  transform: translateX(10px);
  transition: transform 0.3s ease;
}

.job-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.job-icon svg {
  width: 100%;
  height: 100%;
}

.job-info {
  flex: 1;
}

.job-info h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.job-type {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
}

.job-arrow {
  color: var(--gold);
  transition: transform 0.3s ease;
}

.job-card.expanded .job-arrow {
  transform: rotate(180deg);
}

.job-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.job-card.expanded .job-details {
  max-height: 400px;
}

.job-details-inner {
  padding: 0 2rem 1.5rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.5rem;
}

.job-details-inner p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.job-details-inner .btn-sm {
  margin-top: 0.5rem;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

/* ---------- CONTACT SECTION ---------- */
#contact {
  padding: 8rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(45, 106, 30, 0.04);
}

.c-shape-1 { width: 500px; height: 500px; top: -200px; right: -100px; }
.c-shape-2 { width: 300px; height: 300px; bottom: -100px; left: -50px; }
.c-shape-3 { width: 200px; height: 200px; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  opacity: 0;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

.contact-form {
  background: var(--off-white);
  padding: 2.5rem;
  border-radius: var(--radius);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
  opacity: 0;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: none;
  border-bottom: 2px solid var(--gray-light);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--green);
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1rem;
  color: var(--gray);
  pointer-events: none;
  transition: var(--transition);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.6rem;
  font-size: 0.8rem;
  color: var(--green);
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.4s ease;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line,
.form-group select:focus ~ .form-line {
  width: 100%;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.form-check label {
  position: static;
  font-size: 0.9rem;
  pointer-events: auto;
}

.btn-send-icon {
  transition: transform 0.3s ease;
}

.btn-submit:hover .btn-send-icon {
  transform: translateX(5px);
}

/* ---------- FOOTER ---------- */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding-top: 0;
  position: relative;
}

.footer-wave {
  position: relative;
  margin-top: -2px;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.footer-col {
  opacity: 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-col a {
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,0.7);
}

.social-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: var(--gold);
}

/* ---------- BACK TO TOP ---------- */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(45, 106, 30, 0.4);
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-images { height: 400px; }
  .jobs-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .references-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-card.ref-large { grid-column: span 2; }
}

@media (max-width: 768px) {
  #main-nav {
    position: fixed;
    inset: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  }

  #main-nav.open {
    transform: translateX(0);
  }

  #main-nav .nav-link {
    font-size: 1.5rem;
    color: var(--white);
    opacity: 1;
    transform: none;
  }

  #mobile-toggle {
    display: flex;
  }

  .process-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .about-images { height: 350px; }
  .footer-grid { grid-template-columns: 1fr; }
  .references-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .ref-card.ref-large { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2rem; }
}
