/* ── 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:       #fefaf3;
  --cream-dark:  #f5f0e6;
  --cream-mid:   #faf6ed;
  --text-dark:   #1a2e2a;
  --text-mid:    #374e48;
  --text-light:  #6b8a82;
  --white:       #ffffff;
  --shadow-sm:   0 1px 3px rgba(6,78,59,.08), 0 1px 2px rgba(6,78,59,.06);
  --shadow-md:   0 4px 16px rgba(6,78,59,.10), 0 2px 6px rgba(6,78,59,.08);
  --shadow-lg:   0 12px 40px rgba(6,78,59,.14), 0 4px 12px rgba(6,78,59,.10);
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --font-head:   'Nunito', sans-serif;
  --font-body:   'Inter', sans-serif;
  --transition:  .3s cubic-bezier(.4,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.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--emerald-700); color: var(--white);
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; font-weight: 800; }

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--emerald-600);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
}

.text-accent { color: var(--emerald-600); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald-600);
  color: var(--white);
  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,.40);
}

.btn-outline {
  background: var(--white);
  color: var(--emerald-700);
  border: 2px solid var(--emerald-200);
}
.btn-outline:hover {
  border-color: var(--emerald-500);
  background: var(--emerald-50);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--emerald-700);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(254,250,243,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(5,150,105,.1);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(254,250,243,.95);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark);
}
.nav-logo-accent { color: var(--emerald-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-mid);
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--emerald-600); background: var(--emerald-50); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--emerald-600);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--emerald-700); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
}
.hamburger { position: relative; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--emerald-50) 50%, var(--cream-mid) 100%);
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: radial-gradient(circle at 25% 25%, var(--emerald-600) 1px, transparent 1px),
                    radial-gradient(circle at 75% 75%, var(--emerald-600) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 520px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--emerald-700);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Cards */
.hero-cards {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 480px;
  margin: 0 auto;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.hero-card:hover { transform: translateY(-6px) !important; }

.hero-card--main {
  width: 280px;
  height: 320px;
  top: 10px;
  left: 20px;
  z-index: 2;
}
.hero-card--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card--stat {
  width: 180px;
  background: var(--white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  z-index: 3;
  bottom: 160px;
  right: 0;
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.hero-card--stat.hero-card--offset {
  bottom: 60px;
  right: 40px;
  z-index: 4;
}

.hero-card--badge {
  width: 200px;
  background: var(--emerald-600);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  z-index: 5;
  bottom: 0;
  left: 30px;
}
.hero-card--badge svg { flex-shrink: 0; }

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-sub { margin: 0 auto; }

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

.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}
.service-card:hover {
  background: var(--white);
  border-color: var(--emerald-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--emerald-50);
  color: var(--accent, 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;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Why Us ── */
.why-us {
  padding: 100px 0;
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-content .section-sub { margin-bottom: 36px; }

.reasons { display: flex; flex-direction: column; gap: 28px; }

.reason {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.reason-num {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--emerald-200);
  line-height: 1;
  padding-top: 2px;
}

.reason h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.reason p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── About ── */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text .section-sub { margin-bottom: 20px; }
.about-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--emerald-100);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--emerald-600);
}
.about-stat-label {
  font-size: .9rem;
  color: var(--text-light);
}
.about-stat-phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--emerald-600);
  transition: var(--transition);
}
.about-stat-phone:hover { color: var(--emerald-700); }

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.testimonials .section-tag {
  background: rgba(255,255,255,.12);
  color: var(--emerald-200);
  border-color: rgba(255,255,255,.2);
}

.testimonials .section-title { color: var(--white); }
.testimonials .section-title .text-accent { color: var(--emerald-300); }

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

.testimonial-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #fbbf24;
}

.testimonial-text {
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--emerald-500);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
}

/* ── CTA ── */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 8px;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--emerald-100);
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

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

.contact-info .section-sub { margin-bottom: 36px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  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 {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-value {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}
.contact-link { transition: var(--transition); }
.contact-link:hover { color: var(--emerald-600); }

.map-wrapper { border-radius: var(--radius-lg); overflow: hidden; }

.map-link {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-link img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition);
}
.map-link:hover img { transform: scale(1.03); }

.map-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--emerald-700);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  padding: 10px 16px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.map-link:hover .map-overlay { background: var(--emerald-600); color: var(--white); }

/* ── Contact Form ── */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--emerald-100);
}

.form-title {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--emerald-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--cream);
  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 3px rgba(5,150,105,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: .8rem;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--emerald-50);
  color: var(--emerald-700);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--emerald-200);
  margin-top: 16px;
}

/* ── Footer ── */
.footer {
  background: var(--emerald-900);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: .9rem;
  color: var(--emerald-200);
  line-height: 1.6;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: .9rem;
  color: var(--emerald-200);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--emerald-300);
  transition: var(--transition);
}
.footer-phone:hover { color: var(--white); }
.footer-contact span {
  font-size: .9rem;
  color: var(--emerald-200);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  text-align: center;
  font-size: .85rem;
  color: var(--emerald-400);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-cards { max-width: 400px; margin: 0 auto; height: 420px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .why-grid,
  .about-inner,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-image, .about-image { order: -1; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(254,250,243,.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(5,150,105,.1);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { width: 100%; text-align: center; padding: 12px; }
  .nav-cta { justify-content: center; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-cards { height: 360px; }
  .hero-card--main { width: 220px; height: 260px; top: 0; left: 0; }
  .hero-card--stat { width: 150px; }
  .hero-card--stat.hero-card--offset { bottom: 80px; right: 10px; }
  .hero-card--badge { width: 170px; left: 10px; }

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

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .contact-form-wrap { padding: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 90px 0 50px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-cards { height: 300px; }
  .hero-card--main { width: 180px; height: 220px; }
  .hero-card--stat { width: 130px; padding: 14px; }
  .stat-label { font-size: .75rem; }
  .hero-card--badge { width: 155px; font-size: .78rem; padding: 12px 14px; }
  .services, .why-us, .about, .testimonials, .contact { padding: 70px 0; }
}
