/* ===== CUSTOM PROPERTIES ===== */
:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;
  --cream:       #faf8f0;
  --cream-dark:  #f5f0e1;
  --cream-mid:   #f0ead6;
  --warm-gray:   #6b6560;
  --warm-gray-light: #98928c;
  --text-dark:   #1a1a18;
  --text-mid:    #3d3a36;
  --text-light:  #6b6560;
  --white:       #ffffff;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
  --font-serif:  'DM Serif Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--emerald-700);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(4,120,87,0.3);
}
.btn-primary:hover {
  background: var(--emerald-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4,120,87,0.35);
}
.btn-outline-light {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--emerald-800);
  border-color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--emerald-800);
  box-shadow: var(--shadow-md);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  color: var(--emerald-700);
  border: 1.5px solid var(--emerald-700);
}
.btn-outline:hover {
  background: var(--emerald-700);
  color: var(--white);
}
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250,248,240,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
}
.header.scrolled {
  background: rgba(250,248,240,0.96);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--emerald-800);
}
.logo-icon { color: var(--emerald-700); }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--transition);
}
.main-nav a:hover {
  color: var(--emerald-700);
  background: var(--emerald-50);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.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: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 16px 24px 24px;
    transform: translateY(-110%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .main-nav a {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 1rem;
  }
  .main-nav .btn { text-align: center; margin-top: 8px; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,78,59,0.82) 0%,
    rgba(4,120,87,0.68) 50%,
    rgba(6,95,70,0.78) 100%
  );
  z-index: -1;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  max-width: 720px;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--emerald-100);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 400;
}
.hero-headline em {
  font-style: italic;
  color: var(--emerald-100);
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.188rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
}
.stat-label {
  font-size: 0.813rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 96px 0;
}
@media (min-width: 768px) {
  .section { padding: 120px 0; }
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
  font-weight: 400;
}
.section-sub {
  font-size: 1.063rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== SERVICES ===== */
.services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  height: 220px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img {
  transform: scale(1.05);
}
.service-card-body {
  padding: 28px;
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--emerald-50);
  color: var(--emerald-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 400;
}
.service-card-body p {
  font-size: 0.938rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
.link-arrow {
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--emerald-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.link-arrow:hover { gap: 10px; }

/* ===== ABOUT ===== */
.about { background: var(--cream-dark); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.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: 400px;
  object-fit: cover;
}
.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--cream-dark);
}
.about-img-secondary img {
  width: 220px;
  height: 160px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .about-img-main img { height: 520px; }
  .about-img-secondary img { width: 260px; height: 190px; }
}
.about-badge {
  position: absolute;
  top: -20px;
  left: -12px;
  background: var(--emerald-700);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  line-height: 1.4;
}
.about-badge svg { flex-shrink: 0; }
.about-content .section-tag { text-align: left; }
.about-content .section-title { text-align: left; }
.about-content > p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 28px 0 36px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.938rem;
  color: var(--text-mid);
}
.check-icon { color: var(--emerald-600); flex-shrink: 0; }

/* ===== AREAS ===== */
.areas { background: var(--white); }
.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
}
.area-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.area-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.area-card-body {
  padding: 24px;
}
.area-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.area-card-body p {
  font-size: 0.938rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--cream); }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.testimonial-quote {
  color: var(--emerald-200, #6ee7b7);
  margin-bottom: 20px;
  opacity: 0.5;
}
.testimonial-text {
  font-size: 0.938rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name {
  display: block;
  font-weight: 600;
  font-size: 0.938rem;
  color: var(--text-dark);
}
.testimonial-detail {
  display: block;
  font-size: 0.813rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ===== CTA ===== */
.cta { background: var(--emerald-800); padding: 80px 0; }
.cta-card {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-pattern {
  position: absolute;
  inset: -60px;
  color: var(--emerald-100);
  pointer-events: none;
}
.cta-tag {
  display: inline-block;
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-100);
  margin-bottom: 16px;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-text {
  font-size: 1.063rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ===== CONTACT ===== */
.contact { background: var(--cream-dark); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.contact-info .section-tag { text-align: left; }
.contact-info .section-title { text-align: left; }
.contact-intro {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-details { margin-bottom: 32px; }
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.contact-details li:last-child { border-bottom: none; }
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--emerald-50);
  color: var(--emerald-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-details strong {
  display: block;
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.contact-details span,
.contact-details a {
  font-size: 0.938rem;
  color: var(--text-light);
}
.contact-details a:hover { color: var(--emerald-700); }
.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* ===== FORM ===== */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-mid);
  border-radius: var(--radius-md);
  background: var(--cream);
  color: var(--text-dark);
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray-light);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-note {
  font-size: 0.813rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
}
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.form-success p {
  font-size: 0.938rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--emerald-900);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 32px;
  }
}
.footer-logo {
  color: var(--white);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.938rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-serif);
  font-size: 1.063rem;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links ul li { margin-bottom: 12px; }
.footer-links a {
  font-size: 0.938rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--emerald-100); }
.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.938rem;
}
.footer-contact svg { flex-shrink: 0; margin-top: 2px; color: var(--emerald-500); }
.footer-contact a:hover { color: var(--emerald-100); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-bottom p {
  font-size: 0.813rem;
  color: rgba(255,255,255,0.45);
}

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