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

:root {
  --emerald-900: #042f23;
  --emerald-800: #064e3b;
  --emerald-700: #065f46;
  --emerald-600: #047857;
  --emerald-500: #059669;
  --emerald-400: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;
  --cream:       #faf8f4;
  --cream-dark:  #f0ebe3;
  --cream-mid:   #e8e0d4;
  --charcoal:    #1c1917;
  --stone:       #292524;
  --stone-mid:   #57534e;
  --stone-light: #78716c;
  --gold:        #b8860b;
  --gold-light:  #d4a843;
  --white:       #ffffff;
  --font-serif:  'Cormorant Garamond', 'Georgia', serif;
  --font-sans:   'Lato', 'Helvetica Neue', sans-serif;
  --max-width:   1200px;
  --header-h:    72px;
  --radius:      4px;
  --transition:  0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  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; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ─── Header ─── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  background: rgba(4, 47, 35, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(8px);
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-icon { color: var(--gold-light); flex-shrink: 0; }

.logo-light { color: var(--white); }

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

#main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

#main-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  border-radius: var(--radius) !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Hero ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--emerald-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(4, 47, 35, 0.92) 0%,
    rgba(6, 78, 59, 0.85) 40%,
    rgba(4, 47, 35, 0.78) 70%,
    rgba(4, 47, 35, 0.90) 100%
  );
}

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

.hero-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(184, 134, 11, 0.4);
  border-radius: 50px;
  background: rgba(184, 134, 11, 0.08);
}

#hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 400;
}

.hero-feature svg { color: var(--gold-light); flex-shrink: 0; }

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.5);
  animation: bobble 2s ease-in-out infinite;
}

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

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.02em;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--emerald-600);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--emerald-500);
  box-shadow: 0 8px 24px rgba(4, 120, 87, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 12px 28px;
  font-size: 0.9rem;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
}

.btn-full { width: 100%; }

/* ─── Sections ─── */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 16px;
  padding: 5px 14px;
  border: 1px solid var(--emerald-200, #a7f3d0);
  border-radius: 50px;
  background: var(--emerald-50);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--charcoal);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--stone-mid);
  line-height: 1.7;
}

/* ─── Services ─── */
.services { background: var(--cream); }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--cream-mid);
  border-radius: 8px;
  padding: 36px 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(4, 47, 35, 0.1);
  border-color: var(--emerald-200, #a7f3d0);
}

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

.service-card h3 {
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--stone-mid);
  line-height: 1.65;
}

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

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

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

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(4, 47, 35, 0.15);
}

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

.about-accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 55%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(4, 47, 35, 0.2);
  border: 4px solid var(--white);
}

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

.about-content .section-tag { margin-bottom: 16px; }
.about-content .section-title { margin-bottom: 20px; text-align: left; }
.about-content > p {
  color: var(--stone-mid);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--cream-mid);
  border-bottom: 1px solid var(--cream-mid);
}

.stat { flex: 1; text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--emerald-700);
  line-height: 1;
  margin-bottom: 6px;
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--cream-mid);
  flex-shrink: 0;
}

.about-content .btn { margin-top: 8px; }

/* ─── Gallery ─── */
.gallery { background: var(--cream); }

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

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-mid);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

/* ─── Testimonials ─── */
.testimonials {
  background: var(--emerald-900);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials .section-tag {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--emerald-400);
}

.testimonials .section-title { color: var(--white); }
.testimonials .section-desc { color: rgba(255,255,255,0.65); }

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

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 36px 28px;
  transition: background var(--transition), border-color var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold-light);
  opacity: 0.4;
  margin-bottom: -12px;
}

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

.testimonial-author {
  font-size: 0.88rem;
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ─── Contact ─── */
.contact { background: var(--white); }

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

.contact-info .section-tag { margin-bottom: 16px; }
.contact-info .section-title { margin-bottom: 16px; text-align: left; }
.contact-desc {
  color: var(--stone-mid);
  line-height: 1.75;
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.contact-details { margin-bottom: 32px; }

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-item dt {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: 10px;
  color: var(--emerald-700);
}

.contact-item dd { flex: 1; }
.contact-item dd strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.contact-item dd span,
.contact-item dd a {
  font-size: 0.95rem;
  color: var(--stone-mid);
  line-height: 1.6;
}
.contact-item dd a:hover { color: var(--emerald-600); }

.map-wrap { margin-top: 8px; }

.map-placeholder {
  background: var(--emerald-900);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  color: var(--white);
}

.map-placeholder svg { color: var(--gold-light); margin: 0 auto 12px; }
.map-placeholder p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ─── Contact Form ─── */
.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--cream-mid);
  border-radius: 8px;
  padding: 40px;
}

.contact-form-wrap h3 {
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-hint {
  font-size: 0.92rem;
  color: var(--stone-light);
  margin-bottom: 28px;
}

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

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--cream-mid);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  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(5, 150, 105, 0.12);
}

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

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

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
  color: var(--emerald-700);
}

.form-success svg { color: var(--emerald-500); }
.form-success p { font-size: 1.05rem; font-weight: 500; }

/* ─── Footer ─── */
#site-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;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.footer-links ul li { margin-bottom: 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(--white); }

.footer-contact address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-contact a {
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

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

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

  .about-grid { gap: 40px; }
  .about-accent { right: -20px; bottom: -24px; }

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

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .mobile-menu-btn { display: flex; }

  #main-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--emerald-900);
    padding: 80px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
  }

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

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

  #main-nav a {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 12px;
  }

  .hero-content { padding: 100px 20px 60px; }
  .hero-features { gap: 20px; }

  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }

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

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

  .about-image img { height: 360px; }
  .about-accent { width: 60%; bottom: -20px; right: -10px; }

  .gallery-grid { grid-template-columns: repeat(2, 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; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
}
