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

:root {
  --emerald-900: #042f23;
  --emerald-800: #064e3b;
  --emerald-700: #065f46;
  --emerald-600: #047857;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --cream-100: #f5f0e8;
  --cream-200: #faf6ef;
  --cream-300: #fffdf9;
  --cream-50: #fefcf7;
  --text-dark: #1a2e26;
  --text-muted: #4a6357;
  --text-light: #f5f0e8;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 4px rgba(6, 79, 59, 0.08);
  --shadow-md: 0 4px 20px rgba(6, 79, 59, 0.12);
  --shadow-lg: 0 12px 40px rgba(6, 79, 59, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream-100);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Decorative background shapes */
.deco-shape {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
}
.deco-shape--1 {
  width: 600px;
  height: 600px;
  background: var(--emerald-600);
  border-radius: 50%;
  top: -200px;
  right: -200px;
}
.deco-shape--2 {
  width: 400px;
  height: 400px;
  background: var(--emerald-500);
  border-radius: 50%;
  bottom: 20%;
  left: -150px;
}
.deco-shape--3 {
  width: 250px;
  height: 250px;
  background: var(--emerald-700);
  border-radius: 50%;
  top: 50%;
  right: 5%;
}

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

/* ─── HEADER ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--emerald-800);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo--light {
  color: var(--cream-100);
}
.logo__text {
  display: none;
}
@media (min-width: 640px) {
  .logo__text { display: inline; }
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav__links {
  display: none;
  list-style: none;
  gap: 6px;
}
@media (min-width: 768px) {
  .nav__links { display: flex; }
}
.nav__links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.938rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav__links a:hover {
  background: rgba(6, 95, 70, 0.08);
  color: var(--emerald-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.938rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--emerald-700);
  color: var(--cream-100);
  border-color: var(--emerald-700);
}
.btn--primary:hover {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--outline {
  background: transparent;
  color: var(--cream-100);
  border-color: rgba(245, 240, 232, 0.5);
}
.btn--outline:hover {
  background: rgba(245, 240, 232, 0.15);
  border-color: var(--cream-100);
}
.btn--light {
  background: var(--cream-100);
  color: var(--emerald-800);
  border-color: var(--cream-100);
}
.btn--light:hover {
  background: var(--cream-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--ghost {
  background: transparent;
  color: var(--cream-100);
  border-color: rgba(245, 240, 232, 0.4);
}
.btn--ghost:hover {
  background: rgba(245, 240, 232, 0.12);
  border-color: var(--cream-100);
}
.btn--header {
  display: none;
  padding: 9px 20px;
  font-size: 0.875rem;
}
@media (min-width: 1024px) {
  .btn--header { display: inline-flex; }
}
.btn--lg {
  padding: 14px 30px;
  font-size: 1rem;
}
.btn--full {
  width: 100%;
  justify-content: center;
}

/* Mobile nav toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}
@media (min-width: 768px) {
  .nav__toggle { display: none; }
}
.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--emerald-800);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav__links.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(245, 240, 232, 0.97);
  backdrop-filter: blur(16px);
  padding: 16px 24px;
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
  box-shadow: var(--shadow-md);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #042f23 0%, #065f46 35%, #10b981 70%, #34d399 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(6, 79, 59, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(16, 185, 129, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(52, 211, 153, 0.2) 0%, transparent 60%);
  pointer-events: none;
}
.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.geo {
  position: absolute;
  opacity: 0.12;
}
.geo--circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 3px solid var(--cream-100);
  top: 8%;
  right: -4%;
}
.geo--triangle {
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 170px solid var(--cream-100);
  bottom: 15%;
  left: 5%;
  transform: rotate(-15deg);
}
.geo--square {
  width: 140px;
  height: 140px;
  background: var(--cream-100);
  border-radius: var(--radius-md);
  top: 25%;
  left: 8%;
  transform: rotate(30deg);
  opacity: 0.08;
}
.geo--ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--cream-100);
  bottom: 20%;
  right: 10%;
  opacity: 0.07;
}
.geo--dot {
  width: 16px;
  height: 16px;
  background: var(--cream-100);
  border-radius: 50%;
  top: 40%;
  right: 25%;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 240, 232, 0.15);
  border: 1px solid rgba(245, 240, 232, 0.25);
  color: var(--cream-100);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--cream-100);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__accent {
  color: var(--emerald-400);
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245, 240, 232, 0.82);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 48px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 240, 232, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
}
.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero__wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ─── SECTION COMMON ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald-600);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: var(--emerald-500);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

/* ─── SERVICES ─── */
.services {
  padding: 100px 0;
  background: var(--cream-100);
  position: relative;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.card {
  position: relative;
  background: var(--cream-300);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(6, 95, 70, 0.07);
  transition: all var(--transition);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6, 95, 70, 0.14);
}
.card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 95, 70, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ─── ABOUT ─── */
.about {
  padding: 100px 0;
  background: var(--cream-200);
  position: relative;
  overflow: hidden;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .about__inner { grid-template-columns: 1fr 1fr; }
}
.about__visual {
  position: relative;
}
.about__image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}
.about__image-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 79, 59, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.about__stat {
  position: absolute;
  bottom: -24px;
  right: -12px;
  background: var(--emerald-700);
  color: var(--cream-100);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0.8;
}
.about__stat-num--big {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.2;
}
.about__stat-label {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 2px;
}
.about__text {
  position: relative;
  z-index: 2;
}
.about__body {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 18px;
}
.about__list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-600) 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.geo--sm {
  opacity: 0.08;
}
.geo--circle.geo--sm {
  width: 180px;
  height: 180px;
  border-width: 2px;
  top: -40px;
  left: 5%;
}
.geo--triangle.geo--sm {
  border-left-width: 60px;
  border-right-width: 60px;
  border-bottom-width: 100px;
  bottom: -20px;
  right: 10%;
}
.geo--square.geo--sm {
  width: 80px;
  height: 80px;
  top: 30%;
  right: 3%;
  transform: rotate(45deg);
}
.cta-banner__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--cream-100);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.cta-banner__text {
  color: rgba(245, 240, 232, 0.82);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ─── GALLERY ─── */
.gallery {
  padding: 100px 0;
  background: var(--cream-100);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery__item:hover img {
  transform: scale(1.06);
}
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 47, 35, 0.3) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery__item:hover::after {
  opacity: 1;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 100px 0;
  background: var(--cream-200);
  position: relative;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial {
  background: var(--cream-300);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(6, 95, 70, 0.07);
  position: relative;
  transition: all var(--transition);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}
.testimonial p {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial footer {
  border-top: 1px solid rgba(6, 95, 70, 0.1);
  padding-top: 16px;
}
.testimonial cite {
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--emerald-700);
}

/* ─── CONTACT ─── */
.contact {
  padding: 100px 0;
  background: var(--cream-100);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) {
  .contact__inner { grid-template-columns: 1fr 1fr; }
}
.contact__details {
  list-style: none;
  margin: 32px 0;
  display: grid;
  gap: 24px;
}
.contact__detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact__detail strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.contact__detail span,
.contact__detail a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}
.contact__detail a:hover {
  color: var(--emerald-600);
  text-decoration: underline;
}
.contact__form-wrap {
  background: var(--cream-300);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid rgba(6, 95, 70, 0.07);
}
.contact__form-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(6, 95, 70, 0.18);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream-100);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0b4aa;
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(6, 95, 70, 0.07);
  border-radius: var(--radius-sm);
  color: var(--emerald-800);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--emerald-900);
  color: var(--cream-100);
  padding: 60px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; }
}
.footer__brand p {
  color: rgba(245, 240, 232, 0.65);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.6;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a {
  color: rgba(245, 240, 232, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__links a:hover {
  color: var(--cream-100);
}
.footer__contact p {
  color: rgba(245, 240, 232, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer__contact a {
  color: var(--emerald-400);
  text-decoration: none;
}
.footer__contact a:hover {
  text-decoration: underline;
}
.footer__bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  padding: 22px 0;
}
.footer__bottom p {
  text-align: center;
  color: rgba(245, 240, 232, 0.4);
  font-size: 0.82rem;
}

/* ─── REVEAL ANIMATIONS (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Fallback: ensure content is visible without JS */
@media not all and (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
