:root {
  --color-green: #2e8b57;
  --color-green-dark: #1e5c3a;
  --color-blue: #2980b9;
  --color-blue-dark: #1c5980;
  --color-white: #ffffff;
  --color-bg: #f4f8f6;
  --color-text: #2c3e50;
  --font-body: system-ui, -apple-system, sans-serif;
  --font-condensed: "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --radius-soft: 12px;
  --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.05);
  --container-width: 1410px;
  --spacing-md: 2rem;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);

  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-condensed);
  letter-spacing: -0.02em;
  margin-top: 0;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  box-sizing: border-box;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4rem;

}

/* Header Styling */
.site-header {
  position: sticky;
  top: 0;
  background-color: var(--color-white);
  border-bottom: 2px solid var(--color-green);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-green-dark);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  font-family: var(--font-condensed);
  text-transform: uppercase;
}

.brand svg {
  height: 40px;
  width: auto;
}

.main-nav .nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  text-transform: uppercase;
  font-family: var(--font-condensed);
  transition: color 0.2s;
}

.nav-list a:hover {
  color: var(--color-green);
}

.nav-list a.activ_link {
  color: var(--color-green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-block;
  background-color: var(--color-blue);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-soft);
  text-decoration: none;
  font-weight: bold;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  transition: background-color 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--color-blue-dark);
  transform: translateY(-2px);
}

.btn-cta {
  background-color: var(--color-green);
}

.btn-cta:hover {
  background-color: var(--color-green-dark);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Global Requirements */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-top: 4px solid var(--color-green);
}

.hero-section {
  min-height: 50vh;
  background-color: var(--color-blue);
  color: var(--color-white);
  display: flex;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  background-size: cover;
  background-position: center;
}

.hero-headline {
  font-size: 3rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

img[loading="lazy"] {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius-soft);
}

input:required,
select:required,
textarea:required {
  border: 1px solid var(--color-blue);
  border-radius: 4px;
  padding: 0.75rem;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  background-color: var(--color-white);
}

/* Grid Classes Explicitly Defined */
.grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Footer Styling */
.site-footer {
  background-color: var(--color-white);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-condensed);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-green-dark);
  text-transform: uppercase;
}

.tagline {
  font-style: italic;
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
}

.footer-heading {
  font-family: var(--font-condensed);
  font-size: 1.25rem;
  color: var(--color-blue-dark);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-green);
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-contact address {
  font-style: normal;
  line-height: 1.6;
}

.footer-contact p {
  margin: 0 0 0.75rem 0;
}

.footer-contact a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--color-blue);
  text-decoration: underline;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-list a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-list a:hover {
  color: var(--color-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: #777;
  font-size: 0.875rem;
}

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

  .main-nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-bottom: 2px solid var(--color-green);
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* footer extras */
.footer__extras {
  margin-top: 16px;
}

.footer__extrasInner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}

.footer-social__icon {
  display: block;
}

.footer__poemWrap {
  max-width: 520px;
}

.footer-poem {
  opacity: 0.9;
  font-size: 0.95em;
  line-height: 1.35;
}

/* --- injected by logo step --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px
}

.brand-logo {
  width: 28px;
  height: 28px;
  display: inline-block;
  flex: 0 0 auto
}

.brand-logo * {
  vector-effect: non-scaling-stroke
}

/* --- /injected by logo step --- */
@media (max-width: 768px) {
  .header-actions a {
    display: none;
  }
}

.privacy-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-light-grey);
  border-radius: 4px;
  margin-bottom: 0;
}

.flex-wrap {
  flex-wrap: wrap;
}

a,
button {
  cursor: pointer;
  text-align: center;
}
