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

:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --cream-50: #fefdf8;
  --cream-100: #fef9ef;
  --cream-200: #fdf3e0;
  --cream-300: #fae8c4;
  --text-dark: #1a2e2a;
  --text-medium: #3d5a53;
  --text-light: #6b8f87;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(6, 95, 70, 0.06), 0 1px 2px rgba(6, 95, 70, 0.04);
  --shadow-md: 0 4px 16px rgba(6, 95, 70, 0.08), 0 2px 4px rgba(6, 95, 70, 0.04);
  --shadow-lg: 0 12px 40px rgba(6, 95, 70, 0.10), 0 4px 12px rgba(6, 95, 70, 0.05);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--cream-50);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* ── Navigation ── */
header#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 253, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(6, 95, 70, 0.06);
  transition: var(--transition);
}

.nav-scrolled {
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  color: var(--emerald-800);
  font-weight: 600;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-medium);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald-600);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--emerald-700);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--emerald-800) !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--emerald-700) !important;
  transform: translateY(-1px);
}

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

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

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 25%, #fef9ef 50%, #fdf3e0 75%, #fae8c4 100%);
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(6, 95, 70, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 60% 20%, rgba(253, 243, 224, 0.6) 0%, transparent 50%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23065f46' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 95, 70, 0.08);
  border: 1px solid rgba(6, 95, 70, 0.15);
  color: var(--emerald-800);
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease-out;
}

.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title em {
  font-style: italic;
  color: var(--emerald-700);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-medium);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  color: var(--emerald-800);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(6, 95, 70, 0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: float 2.5s ease-in-out infinite;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--emerald-800);
  color: white;
  box-shadow: 0 4px 16px rgba(6, 95, 70, 0.25);
}

.btn-primary:hover {
  background: var(--emerald-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 95, 70, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--emerald-800);
  border: 1.5px solid rgba(6, 95, 70, 0.2);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: white;
  border-color: var(--emerald-600);
  transform: translateY(-2px);
}

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

/* ── Section Shared ── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-600);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ── Services ── */
.services {
  padding: 100px 0;
  background: var(--cream-50);
}

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

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(6, 95, 70, 0.06);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-400), var(--emerald-600));
  opacity: 0;
  transition: opacity var(--transition);
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--emerald-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-700);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--emerald-800);
  color: white;
}

.service-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

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

/* ── About ── */
.about {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--emerald-50) 100%);
}

.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-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

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

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

.about-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--emerald-200), var(--emerald-400));
  border-radius: var(--radius-lg);
  opacity: 0.4;
  z-index: -1;
}

.about-content .section-tag {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

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

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.about-feature svg {
  flex-shrink: 0;
}

/* ── Process ── */
.process {
  padding: 100px 0;
  background: var(--cream-50);
}

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

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald-200), var(--emerald-400), var(--emerald-200));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: white;
  border: 2px solid var(--emerald-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: var(--emerald-700);
  transition: all var(--transition);
}

.process-step:hover .step-number {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  color: white;
  transform: scale(1.05);
}

.process-step h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.7;
  padding: 0 8px;
}

/* ── Testimonials ── */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--emerald-50) 0%, var(--cream-100) 100%);
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: white;
}

.testimonial-quote {
  margin-bottom: 20px;
}

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

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ── Contact ── */
.contact {
  padding: 100px 0;
  background: var(--cream-50);
}

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

.contact-info .section-tag {
  text-align: left;
}

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

.contact-desc {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 36px;
}

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

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

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--emerald-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-700);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-detail span,
.contact-detail a {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

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

.contact-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(6, 95, 70, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--emerald-100);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--cream-50);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  background: white;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

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

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

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--emerald-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ── Footer ── */
.footer {
  background: var(--emerald-900);
  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-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  color: white;
  font-weight: 600;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--emerald-300);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--emerald-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(254, 253, 248, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(6, 95, 70, 0.06);
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .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-content {
    padding: 60px 24px 80px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

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

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

  .about-img-secondary {
    right: 0;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .contact-form-wrap {
    padding: 28px;
  }

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

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }
}
