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

:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --cream-50:  #faf9f6;
  --cream-100: #f5f0e8;
  --cream-200: #ede5d8;
  --cream-300: #e0d5c4;
  --warm-800:  #3d3228;
  --warm-700:  #5c4a3a;
  --warm-600:  #7a6555;
  --white:     #ffffff;
  --shadow-sm: 0 1px 3px rgba(6, 79, 63, 0.08), 0 1px 2px rgba(6, 79, 63, 0.06);
  --shadow-md: 0 4px 16px rgba(6, 79, 63, 0.10), 0 2px 6px rgba(6, 79, 63, 0.07);
  --shadow-lg: 0 12px 40px rgba(6, 79, 63, 0.12), 0 4px 12px rgba(6, 79, 63, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--warm-800);
  background-color: var(--cream-50);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

.text-center { text-align: center; }

/* ========== SECTION LABELS ========== */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--emerald-900);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--warm-700);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald-600);
  color: var(--white);
  border-color: var(--emerald-600);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
  background: var(--emerald-700);
  border-color: var(--emerald-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--emerald-800);
  border-color: var(--emerald-600);
}

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

.btn-emerald {
  background: var(--emerald-600);
  color: var(--white);
  border-color: var(--emerald-600);
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn-emerald:hover {
  background: var(--emerald-700);
  border-color: var(--emerald-700);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}

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

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(5, 150, 105, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--emerald-900);
  line-height: 1.2;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-accent {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--emerald-600);
  letter-spacing: 0.02em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--warm-700);
  padding: 8px 16px;
  border-radius: 100px;
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--emerald-700);
  background: rgba(5, 150, 105, 0.07);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-toggle:hover {
  background: rgba(5, 150, 105, 0.07);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--emerald-800);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

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

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.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: 40px 40px;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-700);
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--emerald-900);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--warm-700);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--emerald-700);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--warm-600);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--cream-300);
}

/* Hero Images */
.hero-image-group {
  position: relative;
}

.hero-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-main {
  width: 100%;
  aspect-ratio: 520/640;
}

.hero-img-main img,
.hero-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-accent {
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 70%;
  aspect-ratio: 420/300;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--cream-50);
}

.hero-floating-card {
  position: absolute;
  top: 30px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--emerald-800);
  animation: float 4s ease-in-out infinite;
}

.hero-floating-card svg {
  color: #ef4444;
  flex-shrink: 0;
}

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

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

/* ========== ABOUT ========== */
.about {
  padding: 100px 0;
  background: var(--cream-100);
}

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

.about-image-wrap {
  position: relative;
}

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

.about-accent-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--emerald-700);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.about-accent-box .accent-num {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.about-accent-box .accent-label {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
}

.about-text .section-title {
  margin-top: 4px;
}

.about-text p {
  color: var(--warm-700);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-weight: 600;
  color: var(--warm-800);
}

.about-features svg {
  flex-shrink: 0;
  margin-top: 2px;
}

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

.services .section-header {
  margin-bottom: 60px;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid rgba(5, 150, 105, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(5, 150, 105, 0.18);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(5, 150, 105, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--emerald-600);
}

.service-card:hover .service-icon-wrap svg {
  stroke: var(--white);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--emerald-900);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--warm-700);
  line-height: 1.75;
}

/* ========== COMMUNITY ========== */
.community {
  padding: 100px 0;
  background: var(--cream-100);
}

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

.community-content .section-title {
  margin-top: 4px;
}

.community-content p {
  color: var(--warm-700);
  line-height: 1.85;
  margin-bottom: 16px;
}

.community-values {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(5, 150, 105, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--emerald-800);
  margin-bottom: 4px;
}

.value-item span {
  font-size: 0.9rem;
  color: var(--warm-700);
  line-height: 1.65;
}

.community-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.community-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.community-img-row img,
.community-img-single img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.community-img-single img {
  height: 300px;
}

/* ========== VISIT ========== */
.visit {
  padding: 100px 0;
  background: linear-gradient(145deg, var(--emerald-800) 0%, var(--emerald-900) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.visit::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 20% 80%, var(--white) 1px, transparent 1px),
                    radial-gradient(circle at 80% 20%, var(--white) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

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

.visit-content .section-label {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.3);
  color: var(--emerald-300);
}

.visit-content .section-title {
  color: var(--white);
}

.visit-intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 500px;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}

.detail-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  backdrop-filter: blur(8px);
}

.detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(52, 211, 153, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-card strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-300);
  margin-bottom: 6px;
}

.detail-card span,
.detail-card a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.detail-card a:hover {
  color: var(--white);
  text-decoration: underline;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.visit-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 460px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--emerald-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .logo-accent {
  color: var(--emerald-400);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-contact strong,
.footer-links strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-400);
  margin-bottom: 16px;
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.8;
}

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

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

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

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

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

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

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ========== MOBILE NAV OVERLAY ========== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(6, 78, 59, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ========== SCROLL REVEAL (progressive enhancement) ========== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.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 {
    gap: 40px;
  }
  .hero-img-accent {
    left: -20px;
    bottom: -20px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a {
    display: block;
    font-size: 1.1rem;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
  }

  .main-nav .btn-emerald {
    text-align: center;
    margin-top: 12px;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

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

  .hero-image-group {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-img-main {
    aspect-ratio: 4/3;
  }

  .hero-img-accent {
    width: 55%;
    left: -10px;
    bottom: -16px;
  }

  .hero-floating-card {
    right: -10px;
    top: 16px;
    padding: 12px 16px;
    font-size: 0.82rem;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-num { font-size: 1.3rem; }

  .about-inner,
  .community-inner,
  .visit-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-accent-box {
    right: 10px;
    bottom: -14px;
  }

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

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

  .community-img-single img,
  .community-img-row img {
    height: 220px;
  }

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

  .visit-map {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-headline { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stat-divider { display: none; }
  .btn-lg { padding: 16px 28px; font-size: 0.95rem; width: 100%; justify-content: center; }
  .visit-actions { flex-direction: column; }
}
