/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-900: #1B4332;
  --green-800: #2D6A4F;
  --green-700: #40916C;
  --green-600: #52B788;
  --green-500: #74C69D;
  --cream: #FEFAE0;
  --cream-dark: #F5F0D1;
  --cream-light: #FFFDF0;
  --brown-dark: #3C2415;
  --brown-mid: #6B4226;
  --text-dark: #1A2E23;
  --text-mid: #3D5A48;
  --text-light: #6B8F78;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.08);
  --shadow-md: 0 4px 20px rgba(27, 67, 50, 0.12);
  --shadow-lg: 0 8px 40px rgba(27, 67, 50, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.2;
  color: var(--green-900);
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 250, 224, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(254, 250, 224, 0.97);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  color: var(--green-900);
  font-weight: 700;
}

.logo strong {
  font-weight: 800;
}

.logo-light {
  color: var(--cream);
}

.logo-icon {
  color: var(--green-800);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-mid);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--green-800);
  background: rgba(45, 106, 79, 0.08);
}

.btn-nav {
  background: var(--green-800) !important;
  color: var(--cream) !important;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.btn-nav:hover {
  background: var(--green-700) !important;
  color: var(--cream) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--green-900);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--green-800);
  color: var(--cream);
  border-color: var(--green-800);
}

.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-800);
}

.btn-outline:hover {
  background: var(--green-800);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--cream);
  color: var(--green-900);
  border-color: var(--cream);
}

.btn-light:hover {
  background: var(--cream-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn-outline-light:hover {
  background: var(--cream);
  color: var(--green-900);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding-top: 72px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 106, 79, 0.1);
  color: var(--green-800);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--green-900);
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero-title .highlight {
  color: var(--green-600);
  font-style: italic;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-800);
}

.trust-item svg {
  color: var(--green-600);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 6/7;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

.float-card-icon {
  width: 48px;
  height: 48px;
  background: var(--green-800);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  flex-shrink: 0;
}

.hero-float-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--green-900);
}

.hero-float-card span {
  font-size: 0.85rem;
  color: var(--text-light);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(45, 106, 79, 0.1);
  color: var(--green-800);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid rgba(27, 67, 50, 0.06);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--green-900);
}

.service-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  top: -20px;
  right: 40px;
  width: 80px;
  height: 80px;
  background: var(--green-800);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transform: rotate(12deg);
  box-shadow: var(--shadow-md);
}

.about-content .section-tag {
  margin-bottom: 16px;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-text {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.stat {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1rem;
  color: var(--green-900);
  margin-bottom: 4px;
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.about-content .btn {
  margin-top: 8px;
}

/* ===== WHY US ===== */
.why-us {
  padding: 100px 0;
  background: var(--green-900);
  color: var(--cream);
}

.why-us .section-tag {
  background: rgba(254, 250, 224, 0.15);
  color: var(--cream);
}

.why-us .section-title {
  color: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: rgba(254, 250, 224, 0.07);
  border: 1px solid rgba(254, 250, 224, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(254, 250, 224, 0.12);
  transform: translateY(-4px);
}

.why-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--green-500);
  margin-bottom: 16px;
  line-height: 1;
}

.why-card h3 {
  color: var(--cream);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.why-card p {
  color: rgba(254, 250, 224, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid rgba(27, 67, 50, 0.06);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #F4B942;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
  color: var(--green-900);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: var(--green-800);
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: rgba(254, 250, 224, 0.07);
  border-radius: var(--radius-xl);
  padding: 60px;
  border: 1px solid rgba(254, 250, 224, 0.12);
}

.cta-content .section-tag {
  background: rgba(254, 250, 224, 0.15);
  color: var(--cream);
  margin-bottom: 20px;
}

.cta-content .section-title {
  color: var(--cream);
  margin-bottom: 16px;
}

.cta-desc {
  color: rgba(254, 250, 224, 0.75);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
}

.cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-tag {
  margin-bottom: 16px;
}

.contact-info .section-title {
  margin-bottom: 16px;
}

.contact-desc {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--green-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 1rem;
  color: var(--green-900);
  margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
  font-size: 0.95rem;
  color: var(--text-mid);
}

.contact-item a:hover {
  color: var(--green-700);
  text-decoration: underline;
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Contact Form */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(27, 67, 50, 0.06);
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--green-900);
}

.form-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-900);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(27, 67, 50, 0.12);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--cream-light);
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(82, 183, 141, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.active {
  display: block;
}

.contact-form.hidden {
  display: none;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  margin: 0 auto 20px;
}

.form-success h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--green-900);
}

.form-success p {
  color: var(--text-mid);
  margin-bottom: 24px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-900);
  color: var(--cream);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand p {
  color: rgba(254, 250, 224, 0.65);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a,
.footer-contact li {
  color: rgba(254, 250, 224, 0.65);
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links li a:hover,
.footer-contact li a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(254, 250, 224, 0.12);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: rgba(254, 250, 224, 0.5);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: rgba(254, 250, 224, 0.5);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--cream);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }

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

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(254, 250, 224, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  .btn-nav {
    margin-left: 0;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 40px 0 80px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-float-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-images {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-img-secondary {
    right: -20px;
    bottom: -20px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }

  .cta-visual {
    max-height: 300px;
    aspect-ratio: auto;
  }

  .cta-visual img {
    height: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 28px 20px;
  }

  .cta-card {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
