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

:root {
  --emerald-50:  #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --cream-50:    #fefdf8;
  --cream-100:   #fefce8;
  --cream-200:   #fef9c3;
  --cream-300:   #fde68a;
  --cream-400:   #fcd34d;
  --cream-500:   #f59e0b;
  --stone-50:    #fafaf9;
  --stone-100:   #f5f5f4;
  --stone-200:   #e7e5e4;
  --stone-300:   #d6d3d1;
  --stone-500:   #78716c;
  --stone-600:   #57534e;
  --stone-700:   #44403c;
  --stone-800:   #292524;
  --stone-900:   #1c1917;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--stone-800);
  background: var(--cream-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--stone-900); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { color: var(--stone-600); }
em { font-style: italic; color: var(--emerald-600); }

/* ── Section Tag ── */
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-xl);
  padding: 14px 28px;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--emerald-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(5,150,105,.35);
}
.btn-primary:hover {
  background: var(--emerald-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5,150,105,.4);
}
.btn-secondary {
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.28);
  transform: translateY(-2px);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.6);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-nav {
  background: var(--emerald-600);
  color: #fff;
  padding: 10px 22px;
  font-size: .88rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 10px rgba(5,150,105,.3);
}
.btn-nav:hover { background: var(--emerald-700); transform: translateY(-1px); }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254,253,248,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--stone-900);
}
.logo-icon { flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 500;
}
.nav-links a:not(.btn-nav) {
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  color: var(--stone-600);
  transition: all .2s ease;
}
.nav-links a:not(.btn-nav):hover { color: var(--emerald-600); background: var(--emerald-50); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--stone-700);
  border-radius: 2px;
  transition: all .3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, #064e3b 0%, #059669 35%, #10b981 65%, #34d399 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(52,211,153,.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(6,78,59,.4) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--cream-50);
  clip-path: ellipse(55% 100% at 50% 100%);
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/7750102/pexels-photo-7750102.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1600&h=900');
  background-size: cover;
  background-position: center;
  opacity: .12;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.hero h1 .accent {
  background: linear-gradient(135deg, #fde68a, #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.stat span {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.25);
}
.hero-scroll {
  position: absolute;
  bottom: 100px;
  z-index: 1;
  color: rgba(255,255,255,.5);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Services ── */
.services {
  padding: 100px 0;
  background: var(--cream-50);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-100);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-200);
}
.service-card.featured {
  border: 2px solid var(--emerald-400);
  background: linear-gradient(135deg, var(--emerald-50) 0%, #fff 60%);
}
.featured-tag {
  position: absolute;
  top: 0;
  right: 24px;
  background: var(--emerald-600);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--emerald-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; color: var(--stone-800); }
.service-card > p { font-size: .92rem; margin-bottom: 18px; color: var(--stone-500); }
.service-features { list-style: none; }
.service-features li {
  position: relative;
  padding-left: 18px;
  font-size: .85rem;
  color: var(--stone-600);
  margin-bottom: 8px;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--emerald-400);
  border-radius: 50%;
}

/* ── About ── */
.about {
  padding: 100px 0;
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--emerald-200);
  border-radius: var(--radius-xl);
  z-index: -1;
}
.about-content h2 { margin-bottom: 20px; }
.about-content > p { margin-bottom: 16px; font-size: .98rem; }
.about-values { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--emerald-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value strong { display: block; font-size: .95rem; color: var(--stone-800); margin-bottom: 2px; }
.value span { font-size: .85rem; color: var(--stone-500); line-height: 1.5; }

/* ── Gallery ── */
.gallery {
  padding: 100px 0;
  background: var(--cream-50);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: auto;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.gallery-item:nth-child(1) { aspect-ratio: 4/5; }
.gallery-item:nth-child(2) { aspect-ratio: 1; }
.gallery-item:nth-child(3) { aspect-ratio: 4/5; }
.gallery-item:nth-child(4) { aspect-ratio: 1; }
.gallery-item:nth-child(5) { aspect-ratio: 4/5; }
.gallery-item:nth-child(6) { aspect-ratio: 1; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover { box-shadow: var(--shadow-lg); }

/* ── Testimonials ── */
.testimonials {
  padding: 100px 0;
  background: #fff;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--stone-100);
  transition: all .3s ease;
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-200);
}
.quote-mark {
  position: absolute;
  top: 20px;
  right: 24px;
}
.testimonial-card p {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--stone-600);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar { flex-shrink: 0; }
.testimonial-author strong {
  display: block;
  font-size: .9rem;
  color: var(--stone-800);
}
.testimonial-author span {
  font-size: .8rem;
  color: var(--stone-500);
}

/* ── CTA ── */
.cta {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #064e3b 0%, #059669 50%, #047857 100%);
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(52,211,153,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/27165069/pexels-photo-27165069.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1600&h=600');
  background-size: cover;
  background-position: center;
  opacity: .08;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 16px;
}
.cta > .container > .cta-content > p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact ── */
.contact {
  padding: 100px 0;
  background: var(--cream-50);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 32px; font-size: .98rem; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 28px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--emerald-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item strong { display: block; font-size: .9rem; color: var(--stone-800); margin-bottom: 2px; }
.contact-item span, .contact-item a {
  font-size: .9rem;
  color: var(--stone-500);
  line-height: 1.5;
}
.contact-item a:hover { color: var(--emerald-600); text-decoration: underline; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--stone-100);
}
.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { font-size: .9rem; margin-bottom: 28px; color: var(--stone-500); }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--stone-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--stone-800);
  background: var(--cream-50);
  transition: all .2s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,.12);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success svg { margin: 0 auto 16px; }
.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--emerald-700);
  margin-bottom: 8px;
}
.form-success p { font-size: .9rem; color: var(--stone-500); }

/* ── Footer ── */
.footer {
  background: var(--stone-900);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { margin-top: 12px; font-size: .88rem; color: rgba(255,255,255,.5); max-width: 260px; }
.footer .logo { color: #fff; margin-bottom: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--emerald-400); }
.footer-links span { font-size: .88rem; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.35); }

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 2; max-width: 50%; justify-self: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(254,253,248,.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--stone-100);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: all .3s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a:not(.btn-nav) { padding: 12px 16px; width: 100%; }
  .nav-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { max-width: 480px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(odd) { aspect-ratio: 4/5; }
  .gallery-item:nth-child(even) { aspect-ratio: 4/5; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: auto; max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 20px; }
  .stat strong { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { width: 36px; height: 1px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn-lg { width: 100%; justify-content: center; }
  .contact-form-wrap { padding: 28px 20px; }
}
