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

:root {
  --emerald-900: #064e3b;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;
  --cream:       #fefcf3;
  --cream-dark:  #faf6eb;
  --cream-mid:   #f5f0e1;
  --sand:        #e8e0cc;
  --text-dark:   #1a2e28;
  --text-mid:    #3d5c52;
  --text-light:  #6b8f84;
  --white:       #ffffff;
  --shadow-sm:   0 1px 3px rgba(5,150,105,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 14px rgba(5,150,105,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:   0 10px 30px rgba(5,150,105,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:   0 20px 50px rgba(5,150,105,0.15), 0 8px 20px rgba(0,0,0,0.08);
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --font-body:   'Nunito', sans-serif;
  --font-display:'Playfair Display', serif;
  --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);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

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

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--text-dark); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; border-radius: 50px;
  transition: var(--transition); text-align: center; justify-content: center;
}
.btn-primary {
  background: var(--emerald-600); color: var(--white);
  box-shadow: 0 4px 14px rgba(5,150,105,0.35);
}
.btn-primary:hover {
  background: var(--emerald-700); transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(5,150,105,0.40);
}
.btn-outline {
  background: rgba(255,255,255,0.15); color: var(--white);
  border: 2px solid rgba(255,255,255,0.5); backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: var(--white); color: var(--emerald-700);
  border-color: var(--white); transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white); color: var(--emerald-700);
  border-color: var(--white); transform: translateY(-2px);
}
.btn-white {
  background: var(--white); color: var(--emerald-700);
  box-shadow: var(--shadow-lg);
}
.btn-white:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-xl);
}
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; padding: 16px 24px; font-size: 1.05rem; }

/* ─── SECTION HELPERS ─── */
.section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--emerald-600);
  background: var(--emerald-100); padding: 6px 16px; border-radius: 50px;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-sub  { font-size: 1.1rem; color: var(--text-light); max-width: 600px; line-height: 1.8; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-sub { margin: 0 auto; }

/* ─── HEADER ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(254,252,243,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(5,150,105,0.08);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(254,252,243,0.95);
  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-weight: 800; font-size: 1.15rem; color: var(--emerald-700);
}
.logo-icon { color: var(--emerald-600); }
.logo-text { font-family: var(--font-display); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-weight: 600; font-size: 0.95rem; color: var(--text-mid);
  transition: var(--transition); position: relative;
}
.nav-links a:not(.btn):hover { color: var(--emerald-600); }
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--emerald-500);
  transition: var(--transition); border-radius: 2px;
}
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px;
  background: var(--text-dark); border-radius: 4px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(145deg, #047857 0%, #059669 30%, #10b981 60%, #34d399 100%);
  overflow: hidden; padding: 100px 0 60px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3;
}
.blob-1 { width: 600px; height: 600px; background: #a7f3d0; top: -200px; right: -100px; }
.blob-2 { width: 400px; height: 400px; background: #6ee7b7; bottom: -100px; left: -50px; }
.blob-3 { width: 200px; height: 200px; background: #34d399; top: 50%; left: 40%; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.18); color: var(--white);
  font-size: 0.85rem; font-weight: 700; padding: 8px 18px;
  border-radius: 50px; margin-bottom: 24px;
  backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.2);
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem); color: var(--white);
  margin-bottom: 20px; line-height: 1.15;
}
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,0.88);
  line-height: 1.8; margin-bottom: 36px; max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; gap: 32px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 600;
}
.trust-item svg { color: var(--emerald-200); opacity: 0.9; }

.hero-image { position: relative; }
.hero-img-wrapper {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 560/640;
}
.hero-img-wrapper 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: 16px 24px; display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg);
}
.float-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--emerald-100); color: var(--emerald-600);
  display: flex; align-items: center; justify-content: center;
}
.float-label { font-size: 0.78rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.float-value { font-size: 1rem; font-weight: 800; color: var(--text-dark); }

/* ─── SERVICES ─── */
.services { padding: 100px 0; background: var(--cream); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; transition: var(--transition);
  border: 1px solid rgba(5,150,105,0.06);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--emerald-500), var(--emerald-400));
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition); border-radius: 4px 4px 0 0;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px; border-radius: var(--radius-sm);
  background: var(--emerald-50); color: var(--emerald-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--emerald-600); color: var(--white); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; font-family: var(--font-body); font-weight: 800; }
.service-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; }

/* ─── ABOUT ─── */
.about { padding: 100px 0; background: var(--cream-dark); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; 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: 480px; object-fit: cover; }
.about-img-secondary {
  position: absolute; bottom: -40px; right: -30px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); border: 6px solid var(--cream-dark);
}
.about-img-secondary img { width: 400px; height: 320px; object-fit: cover; }
.about-accent {
  position: absolute; top: -20px; left: -20px;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--emerald-100); z-index: -1;
}
.about-content .section-tag { margin-bottom: 12px; }
.about-content .section-title { margin-bottom: 20px; }
.about-text { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 16px; line-height: 1.8; }
.about-text em { color: var(--emerald-700); font-style: italic; }
.about-stats {
  display: flex; gap: 24px; margin: 32px 0; align-items: center;
}
.stat { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--emerald-600); font-family: var(--font-display); line-height: 1; }
.stat-label { font-size: 0.82rem; color: var(--text-light); font-weight: 600; margin-top: 4px; }
.stat-divider { width: 2px; height: 48px; background: var(--sand); border-radius: 2px; }

/* ─── WHY US ─── */
.why-us { padding: 100px 0; background: var(--cream); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; transition: var(--transition);
  border: 1px solid rgba(5,150,105,0.06);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card-icon {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: var(--transition);
}
.why-card:hover .why-card-icon { transform: scale(1.08); }
.why-card-icon.emerald    { background: #d1fae5; color: #059669; }
.why-card-icon.sky       { background: #e0f2fe; color: #0284c7; }
.why-card-icon.amber     { background: #fef3c7; color: #d97706; }
.why-card-icon.rose      { background: #ffe4e6; color: #e11d48; }
.why-card-icon.teal      { background: #ccfbf1; color: #0d9488; }
.why-card-icon.emerald-light { background: #d1fae5; color: #10b981; }
.why-card h3 { font-size: 1.15rem; margin-bottom: 10px; font-family: var(--font-body); font-weight: 800; }
.why-card p  { font-size: 0.93rem; color: var(--text-light); line-height: 1.7; }

/* ─── TESTIMONIALS ─── */
.testimonials { padding: 100px 0; background: var(--cream-dark); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; transition: var(--transition);
  border: 1px solid rgba(5,150,105,0.06); position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-quote {
  font-size: 4rem; font-family: var(--font-display); color: var(--emerald-200);
  line-height: 1; margin-bottom: -8px;
}
.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: 12px; }
.author-avatar { border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.author-avatar img { width: 40px; height: 40px; object-fit: cover; }
.author-name { font-weight: 800; font-size: 0.95rem; color: var(--text-dark); }
.author-location { font-size: 0.82rem; color: var(--text-light); }

/* ─── CTA BANNER ─── */
.cta-banner {
  position: relative; padding: 100px 0; overflow: hidden;
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.2;
}
.cta-blob-1 { width: 400px; height: 400px; background: #34d399; top: -100px; left: -100px; }
.cta-blob-2 { width: 300px; height: 300px; background: #6ee7b7; bottom: -80px; right: -50px; }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white);
  margin-bottom: 16px;
}
.cta-text {
  font-size: 1.1rem; color: rgba(255,255,255,0.82);
  max-width: 580px; margin: 0 auto 36px; line-height: 1.8;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── CONTACT ─── */
.contact { padding: 100px 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-text { font-size: 1.05rem; color: var(--text-mid); 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: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--emerald-50); color: var(--emerald-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); }
.contact-value { font-size: 1rem; color: var(--text-dark); font-weight: 600; line-height: 1.6; }
.contact-value a { color: var(--emerald-600); transition: var(--transition); }
.contact-value a:hover { color: var(--emerald-700); text-decoration: underline; }
.contact-map { border-radius: var(--radius-md); overflow: hidden; }

.form-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(5,150,105,0.06);
}
.form-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-note { font-size: 0.9rem; color: var(--text-light); 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-size: 0.88rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--cream-mid); border-radius: var(--radius-sm);
  background: var(--cream); color: var(--text-dark);
  transition: var(--transition); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500); background: var(--white);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  text-align: center; padding: 40px 20px;
}
.success-icon { color: var(--emerald-500); margin-bottom: 16px; }
.form-success h4 { font-size: 1.4rem; margin-bottom: 8px; color: var(--emerald-700); }
.form-success p  { color: var(--text-light); font-size: 0.95rem; }

/* ─── FOOTER ─── */
.footer { background: var(--text-dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  padding-bottom: 48px;
}
.footer .logo { color: var(--emerald-400); margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.8; max-width: 280px; }
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--white);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.92rem; transition: var(--transition);
}
.footer-links a:hover { color: var(--emerald-400); padding-left: 4px; }
.footer-contact p {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; margin-bottom: 12px; line-height: 1.6;
}
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--emerald-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0; text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-image { max-width: 480px; margin: 40px auto 0; }
  .hero-float-card { left: 10px; bottom: -10px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-images { max-width: 520px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(254,252,243,0.98); backdrop-filter: blur(16px);
    flex-direction: column; padding: 32px 24px; gap: 20px;
    border-bottom: 1px solid rgba(5,150,105,0.08);
    transform: translateY(-120%); opacity: 0;
    transition: var(--transition); pointer-events: none;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-img-secondary { right: 0; bottom: -30px; }
  .about-img-secondary img { width: 280px; height: 240px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 100px 0 80px; }
  .hero-float-card { position: relative; bottom: auto; left: auto; margin-top: 16px; display: inline-flex; }
  .hero-image { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; }
  .form-card { padding: 24px; }
  .about-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 48px; height: 2px; }
}
