:root {
  --bg: #f5f1e8;
  --surface: #ffffff;
  --surface-soft: #eef6ee;
  --brand: #1f7a40;
  --brand-dark: #114a2b;
  --brand-light: #dff3e5;
  --text: #183126;
  --text-soft: #4d665a;
  --line: rgba(17, 74, 43, 0.12);
  --shadow: 0 18px 40px rgba(19, 44, 30, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 110px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  position: relative;
  z-index: 1;
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/img-a&t-3.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: -1;
}

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

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: flex;
  position: relative;
  z-index: 32;
  flex-direction: column;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 0.9rem;
  padding: 0.65rem 0.7rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(17, 74, 43, 0.08);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 999px;
  margin: 0.2rem 0;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  display: grid;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 0.75rem;
  z-index: 31;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  gap: 0.35rem;
}

.menu-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-panel a {
  padding: 0.7rem 0.85rem;
  border-radius: 0.7rem;
  color: var(--text-soft);
  font-weight: 600;
}

.menu-panel a:hover,
.menu-panel a.active {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-soft);
  font-weight: 600;
}

.main-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand-dark);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  height: 2px;
  background: var(--brand);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  animation: floatButton 5s ease-in-out infinite;
}

.btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 30px rgba(31, 122, 64, 0.22);
  filter: brightness(1.02);
}

.btn:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(31, 122, 64, 0.22);
}

.btn-secondary {
  background: var(--surface);
  color: var(--brand-dark);
  border: 1px solid var(--line);
}

.btn:active {
  background: var(--brand-light);
  color: var(--brand-dark);
  box-shadow: 0 6px 16px rgba(31, 122, 64, 0.16);
  transform: translateY(0) scale(0.98);
  filter: none;
}

.hero,
.about-hero {
  background: linear-gradient(135deg, rgba(223, 243, 229, 0.7), rgba(255, 255, 255, 0.9));
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.eyebrow-dark {
  color: var(--brand);
}

.hero-copy h1,
.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: textReveal 0.9s ease both;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 62ch;
  animation: textReveal 1.1s ease 0.15s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  animation: floatCard 6s ease-in-out infinite;
}

.mini-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  color: var(--text-soft);
}

.hero-card li::before {
  content: "•";
  color: var(--brand);
  font-weight: 700;
  margin-right: 0.65rem;
}

.features,
.values-section,
.story-section,
.stats-section,
.cta-section,
.gallery-section,
.faq-section {
  padding: 4.75rem 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(16, 35, 24, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.gallery-card figcaption {
  padding: 1rem 1.2rem 1.3rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 20px rgba(17, 74, 43, 0.04);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-dark);
}

.faq-list p {
  margin-top: 0.8rem;
  color: var(--text-soft);
}

.section-heading h2,
.story-grid h2,
.cta-box h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  padding: 1.75rem;
  box-shadow: 0 12px 30px rgba(16, 35, 24, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover,
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(17, 74, 43, 0.12);
}

.icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: var(--brand-light);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.info-card p {
  color: var(--text-soft);
}

.cta-strip {
  padding: 0 0 4.5rem;
}

.cta-content,
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.story-grid p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card strong {
  font-size: 1.8rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes floatButton {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -3px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  background: #ebf3ec;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer-address {
  margin-top: 0.75rem;
  color: var(--brand-dark);
  font-weight: 700;
  text-align: center;
}

.contact-address {
  margin-top: 1rem;
  color: var(--text-soft);
  font-weight: 600;
  line-height: 1.8;
}

.contact-phone {
  margin-top: 0.75rem;
  color: var(--text-soft);
  font-weight: 700;
}

.contact-phone a,
.footer-address a {
  color: var(--brand-dark);
}

@media (max-width: 820px) {
  .nav {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 0.75rem;
  }

  .main-nav {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    width: min(82vw, 320px);
    height: 100vh;
    border-radius: 1.25rem 0 0 1.25rem;
    padding: 5.5rem 1rem 1.5rem;
    transform: translateX(110%);
    opacity: 1;
    visibility: visible;
    background: var(--surface);
  }

  .menu-panel.open {
    transform: translateX(0);
  }

  .hero-grid,
  .story-grid,
  .card-grid,
  .stats-grid,
  .image-gallery,
  .cta-content,
  .cta-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-card,
  .info-card,
  .gallery-card {
    animation: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .cta-content,
  .cta-box {
    padding: 1.5rem 1rem;
  }

  .site-footer {
    padding-bottom: 1.25rem;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 2.4rem;
    height: 2.4rem;
  }

  .hero,
  .about-hero,
  .features,
  .values-section,
  .story-section,
  .stats-section,
  .cta-section,
  .gallery-section,
  .faq-section {
    padding: 3.75rem 0;
  }

  .hero-card,
  .info-card,
  .faq-list details,
  .gallery-card {
    border-radius: 1rem;
  }

  .gallery-card img {
    height: 220px;
  }

  .container {
    width: min(100% - 1.5rem, 1120px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn:hover {
    animation: none;
    transition: none;
    transform: none;
    translate: none;
  }
}
