/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: forest-500;
  color: #348148;
  background: #f0f7f2;
  border: 1px solid #d5eadb;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #184024;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: #5a7d62;
  max-width: 600px;
  line-height: 1.7;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-desc { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #1d502c;
  color: #fdfcf8;
  box-shadow: 0 4px 14px rgba(29, 80, 44, 0.3);
}
.btn-primary:hover {
  background: #184024;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 80, 44, 0.4);
}

.btn-white {
  background: #fdfcf8;
  color: #1d502c;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-ghost {
  background: rgba(253, 252, 248, 0.15);
  color: #fdfcf8;
  border: 1.5px solid rgba(253, 252, 248, 0.4);
}
.btn-ghost:hover {
  background: rgba(253, 252, 248, 0.25);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fdfcf8;
  border: 1.5px solid rgba(253, 252, 248, 0.6);
}
.btn-outline-white:hover {
  background: rgba(253, 252, 248, 0.15);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 252, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 92, 58, 0.08);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(26, 92, 58, 0.1); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #184024;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #266537;
  transition: all 0.2s ease;
}
.nav-links a:not(.btn):hover {
  background: #f0f7f2;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle .bar {
  width: 22px;
  height: 2px;
  background: #184024;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #13321c 0%, #1d502c 30%, #266537 55%, #348148 80%, #52a066 100%);
  padding: 120px 24px 80px;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(82, 160, 102, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(29, 80, 44, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(52, 129, 72, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253, 252, 248, 0.12);
  border: 1px solid rgba(253, 252, 248, 0.2);
  color: #d5eadb;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fdfcf8;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #aed6b8;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fdfcf8;
}
.stat-label {
  font-size: 0.8rem;
  color: #aed6b8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(253, 252, 248, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(253, 252, 248, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(253,252,248,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── Services ── */
.services { background: #fdfcf8; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: #faf8f0;
  border: 1px solid #ebe4c8;
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 92, 58, 0.1);
  border-color: #d5eadb;
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d502c, #348148);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fdfcf8;
  margin-bottom: 20px;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #184024;
  margin-bottom: 10px;
}
.card-text {
  font-size: 0.95rem;
  color: #5a7d62;
  line-height: 1.7;
}

/* ── Portfolio ── */
.portfolio { background: #f0f7f2; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: auto;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.portfolio-item:nth-child(1) { grid-row: span 2; }
.portfolio-item:nth-child(4) { grid-row: span 2; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 64, 36, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
  color: #fdfcf8;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
}

/* ── About ── */
.about { background: #fdfcf8; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-images {
  position: relative;
  min-height: 560px;
}
.about-img-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 92, 58, 0.15);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(26, 92, 58, 0.2);
  border: 4px solid #fdfcf8;
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #aed6b8, #52a066);
  opacity: 0.3;
  z-index: -1;
}

.about-content .section-tag { margin-bottom: 16px; }
.about-content .section-title { margin-bottom: 20px; }
.about-text {
  font-size: 1.05rem;
  color: #5a7d62;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #184024;
}
.value svg { color: #348148; flex-shrink: 0; }

/* ── Testimonials ── */
.testimonials { background: #f0f7f2; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: #fdfcf8;
  border: 1px solid #ebe4c8;
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 92, 58, 0.08);
}
.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  line-height: 1;
  color: #d5eadb;
  pointer-events: none;
}
.testimonial-text {
  font-size: 1rem;
  color: #3d5a42;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1d502c;
}

/* ── CTA ── */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #13321c 0%, #1d502c 50%, #266537 100%);
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(82, 160, 102, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(29, 80, 44, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fdfcf8;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-text {
  font-size: 1.1rem;
  color: #aed6b8;
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact ── */
.contact { background: #fdfcf8; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.contact-info .section-tag { margin-bottom: 16px; }
.contact-info .section-title { margin-bottom: 16px; }
.contact-desc {
  font-size: 1.05rem;
  color: #5a7d62;
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d502c, #348148);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fdfcf8;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #348148;
  margin-bottom: 4px;
}
.contact-item p, .contact-item a {
  font-size: 0.95rem;
  color: #266537;
  line-height: 1.6;
}
.contact-item a:hover { text-decoration: underline; }

/* Form */
.contact-form-wrap {
  background: #faf8f0;
  border: 1px solid #ebe4c8;
  border-radius: 24px;
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d502c;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d5eadb;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #184024;
  background: #fdfcf8;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #348148;
  box-shadow: 0 0 0 3px rgba(52, 129, 72, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aed6b8;
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: #f0f7f2;
  border: 1px solid #d5eadb;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1d502c;
}

.map-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(26, 92, 58, 0.1); }

/* ── Footer ── */
.footer {
  background: #0a1c0f;
  color: #aed6b8;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #d5eadb;
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #7dbf8e;
  max-width: 280px;
}
.footer h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d5eadb;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: #7dbf8e;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #d5eadb; }
.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #7dbf8e;
  margin-bottom: 6px;
}
.footer-contact a {
  color: #7dbf8e;
  transition: color 0.2s ease;
}
.footer-contact a:hover { color: #d5eadb; }

.footer-bottom {
  border-top: 1px solid rgba(213, 234, 219, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #5a7d62;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253, 252, 248, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid #ebe4c8;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 24px rgba(26, 92, 58, 0.1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; text-align: center; padding: 12px; }
  .nav-toggle { display: flex; }

  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(4) { grid-row: span 1; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images { min-height: 400px; }
  .about-img-secondary { right: 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .hero { padding: 100px 20px 60px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.4rem; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form-wrap { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { transition: none; }
}
