/* ===== Design tokens ===== */
:root {
  --green: #124e25;
  --green-hover: #1d803d;
  --sage: #c5d7b1;
  --sage-hover: #e3ecd9;
  --dark: #09210f;
  --cream: #fefefb;
  --beige: #eeede4;
  --yellow: #f7c200;
  --text: #09210f;
  --text-muted: rgba(9, 33, 15, 0.65);
  --text-muted-light: rgba(254, 254, 251, 0.75);

  --container: 1280px;
  --radius-lg: 24px;
  --radius-pill: 100rem;

  --font: "Rethink Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  margin: 0;
}

p { margin: 0; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.eyebrow-light { color: rgba(254, 254, 251, 0.75); }

.heading-primary {
  max-width: 35ch;
  margin: 0 auto 16px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}
.heading-primary.light { color: var(--cream); }

.section-sub {
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
}
.section-sub.light { color: var(--text-muted-light); }

.center-text {
  text-align: center;
  color: var(--text-muted);
  margin-top: 48px;
}

.center-btn {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
}
.btn-yellow:hover { background: #e0b400; }

.btn-outline-light {
  background: transparent;
  border-color: rgba(254, 254, 251, 0.8);
  color: var(--cream);
}
.btn-outline-light:hover { background: rgba(254, 254, 251, 0.12); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--dark);
  color: var(--dark);
}
.btn-outline-dark:hover { background: var(--dark); color: var(--cream); }

.btn-outline-dark-sm {
  background: transparent;
  border: 1px solid var(--dark);
  color: var(--dark);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
}
.btn-outline-dark-sm:hover { background: var(--dark); color: var(--cream); }

.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background-color 0.3s, padding 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: var(--dark);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo img { width: 100%; height: 100%; object-fit: cover; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.nav-link:hover { opacity: 0.7; }

.nav-cta-mobile { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s, background-color 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  background:
    linear-gradient(0deg, rgba(0,0,0,0.85), rgba(0,0,0,0.46) 62%),
    url("images/hero-bg.jpg") center/cover no-repeat;
}

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

.hero-heading {
  color: var(--cream);
  font-size: clamp(2.4rem, 6.4vw, 5.65rem);
  line-height: 1.08;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-sub {
  color: rgba(254, 254, 251, 0.85);
  font-size: 18px;
  max-width: 46ch;
  margin: 0 auto 40px;
}

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

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

.service-card {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
}

.services-cta-text {
  text-align: center;
  color: var(--cream);
  margin-top: 56px;
  font-size: 17px;
}

/* ===== Gallery ===== */
.gallery {
  background: var(--beige);
  padding: 100px 0;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
}

.gallery-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--dark);
  padding: 100px 0;
}

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

.testimonial-card {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #f4b980;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 12px;
}

.testimonial-card h4 {
  font-size: 16px;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* ===== FAQs ===== */
.faqs { padding: 100px 0; }

.accordion {
  max-width: 780px;
  margin: 56px auto 0;
}

.accordion-item { border-bottom: 1px solid rgba(9, 33, 15, 0.15); }

.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.chevron {
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: rotate(45deg);
  transition: transform 0.25s;
}
.accordion-toggle[aria-expanded="true"] .chevron { transform: rotate(-135deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.accordion-panel p {
  padding-bottom: 22px;
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 65ch;
}

/* ===== Contact ===== */
.contact { padding: 100px 0; }

.contact .eyebrow, .contact .heading-primary, .contact .section-sub { text-align: center; }
.contact .eyebrow { display: block; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 56px auto 0;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  color: var(--text);
}

.contact-card-btn {
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.contact-card-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(9, 33, 15, 0.12);
}
.contact-card-btn:hover .contact-icon { background: var(--green); }
.contact-card-btn:hover .contact-value { color: var(--green); }

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.contact-card h4 { font-size: 16px; }

.contact-value {
  color: var(--text-muted);
  font-size: 15px;
  word-break: break-word;
  text-decoration: none;
}
a.contact-value:hover {
  color: var(--green);
  text-decoration: underline;
}

.contact-card .socials { margin-top: 8px; }

.socials { display: flex; gap: 12px; justify-content: center; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(9, 33, 15, 0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.2s;
}
.socials a:hover { background: var(--green); color: var(--cream); }

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: var(--cream);
  padding: 48px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cream);
  overflow: hidden;
  justify-self: start;
}

.footer-credit { justify-self: center; }

.footer-inner .socials { justify-self: end; }

.footer-credit { color: rgba(254, 254, 251, 0.6); font-size: 14px; }

.footer .socials a { background: rgba(254, 254, 251, 0.1); color: var(--cream); }
.footer .socials a:hover { background: var(--green-hover); }

.copyright {
  text-align: center;
  color: rgba(254, 254, 251, 0.45);
  font-size: 13px;
  margin-top: 32px;
}

/* ===== Reveal animation ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 760px) {
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu .nav-link { color: var(--cream); font-size: 18px; }
  .nav-cta-mobile { display: inline-flex; margin-top: 12px; }
  .nav-right { display: none; }
  .menu-toggle { display: flex; }
  .gallery-grid { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer-logo, .footer-credit, .footer-inner .socials { justify-self: center; }
}
