/* -------------------- */
/* RESET */
/* -------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* -------------------- */
/* ROOT VARIABLES */
/* -------------------- */
:root {
  --max-width: 1440px;
  --padding-x: clamp(1.25rem, 3vw, 3rem);
  --section-space: clamp(4rem, 8vw, 6rem);

  --color-bg: #f5f5f0;
  --color-text: #111111;
  --color-primary: #036032;
  --color-accent: #ffc20f;
  --color-muted: #555555;
  --color-border: rgba(17, 17, 17, 0.12);

  --font-display: "Bebas Neue", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --shadow-accent: 4px 4px 0 var(--color-accent);
  --shadow-dark: 4px 4px 0 var(--color-text);

  --title-font: clamp(2.4rem, 4vw, 3.5rem);
}

/* -------------------- */
/* BASE ELEMENTS */
/* -------------------- */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  overflow-x: hidden;
  padding-top: 50px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

/* -------------------- */
/* LAYOUT UTILITIES */
/* -------------------- */
.main {
  width: 100%;
}

.container {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: var(--padding-x);
}

.section {
  padding-block: var(--section-space);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-bg);
  background: var(--color-primary);
  padding: 1rem 2rem;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--color-accent);
}

/* -------------------- */
/* HEADER */
/* -------------------- */
.site-header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
}

.site-header .container {
  pointer-events: none;
}

.site-header-bar {
  min-height: 3.3rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  pointer-events: auto;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* .site-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1;
  color: #111111;
  white-space: nowrap;
} */
.site-logo {
  display: inline-flex;
  align-items: center;
  height: 3rem; /* controls logo height */
}

.site-logo img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.site-nav a,
.mobile-nav a {
  position: relative;
  font-size: 0.95rem;
  line-height: 1;
  color: #111111;
}

.site-nav a::after,
.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after,
.mobile-nav a:hover::after,
.mobile-nav a.active::after {
  transform: scaleX(1);
}

/* toggle button */
.nav-toggle {
  width: 2.8rem;
  height: 2.8rem;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 1.2rem;
  height: 2px;
  background: #111111;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-toggle.is-active span:first-child {
  transform: translateY(0.22rem) rotate(45deg);
}

.nav-toggle.is-active span:last-child {
  transform: translateY(-0.22rem) rotate(-45deg);
}

/* mobile dropdown */
.mobile-nav {
  display: none;
  margin-top: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  background: var(--color-accent);
  pointer-events: auto;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.mobile-nav a {
  display: block;
  width: fit-content;
  padding: 0.6rem 0;
}

/* -------------------- */
/* RESPONSIVE HEADER */
/* -------------------- */
@media (max-width: 768px) {
  .site-header {
    top: 1rem;
  }

  .site-header-bar {
    min-height: 3.5rem;
    padding: 0.75rem 1rem;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav.is-open {
    display: block;
  }
}

/* -------------------- */
/* FOOTER */
/* -------------------- */
.site-footer {
  background: var(--color-bg);
  color: var(--color-bg);
  padding: 0 0 1rem;
  overflow: hidden;
}

.site-footer-shell {
  background: var(--color-primary);
  border-top-left-radius: 1.75rem;
  border-top-right-radius: 1.75rem;
  overflow: hidden;
  padding-top: clamp(2rem, 5vw, 3rem);
}

.site-footer-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-inline: clamp(1.25rem, 3vw, 2rem);
}

/* left */
.footer-intro {
  max-width: 28rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.65rem;
  padding: 0.15rem 0.7rem;
  border: 1px solid rgba(245, 245, 240, 0.22);
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 240, 0.7);
  margin-bottom: 1rem;
}

.footer-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 0.95;
  color: var(--color-bg);
}

.footer-heading em {
  font-style: italic;
  font-weight: 400;
}

/* right columns */
.footer-links-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col-title {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  color: rgba(245, 245, 240, 0.45);
  margin-bottom: 0.35rem;
}

.footer-links-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  font-size: 0.88rem;
  color: rgba(245, 245, 240, 0.86);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.footer-links-col a:hover {
  opacity: 1;
  transform: translateX(2px);
}

.footer-links-col i {
  font-size: 0.8rem;
  width: 0.9rem;
  text-align: center;
}

/* big visual logo */
.footer-brand-visual {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
  padding-inline: clamp(1.25rem, 3vw, 2rem);
}

.footer-logo-image {
  width: 100%;
  max-width: 1050px;
  display: block;
  object-fit: contain;
  object-position: left bottom;
  transform: translateY(2%);
  opacity: 0.98;
}

/* bottom */
.site-footer-bottom {
  margin-top: 0.2rem;
  padding: 0.8rem clamp(1.25rem, 3vw, 2rem) 0;
  border-top: 1px solid rgba(245, 245, 240, 0.12);
  text-align: center;
}

.site-footer-bottom p {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 240, 0.45);
}

/* -------------------- */
/* FOOTER RESPONSIVE */
/* -------------------- */
@media (max-width: 900px) {
  .site-footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-footer-shell {
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
    padding-top: 1.5rem;
  }

  .footer-heading {
    max-width: 10ch;
  }

  .footer-links-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-brand-visual {
    margin-top: 1.5rem;
  }

  .footer-logo-image {
    transform: translateY(8%);
  }

  .site-footer-bottom {
    text-align: left;
  }
}
