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

:root {
  --primary: #2d5a27;
  --primary-dark: #1e3d1a;
  --primary-light: #4a7c45;
  --accent: #4a7c45;
  --bg: #f5f5f0;
  --bg-alt: #ffffff;
  --text: #1a1a1a;
  --text-light: #555555;
  --text-muted: #777777;
  --border: #d0d0c8;
  --shadow: rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-sm: 4px;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  z-index: 1000;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--primary-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--bg-alt);
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
}

.logo:hover {
  color: var(--text);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
}

.logo-text {
  font-size: 1.1rem;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

.main-nav ul {
  display: flex;
  gap: 8px;
}

.main-nav a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--primary);
  color: white;
}

.hero {
  padding: 40px 0;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
}

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

.hero-content {
  padding-right: 20px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
}

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

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

.card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow);
}

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

.card-content {
  padding: 20px;
}

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

.card-content p {
  color: var(--text-light);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-full {
  grid-column: 1 / -1;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}

.checkbox-label input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-legal {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.site-footer {
  background: var(--primary-dark);
  color: white;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
}

.footer-col p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 12px;
}

.footer-col .legal-name {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: white;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 8px;
}

.disclaimer {
  font-size: 0.8rem;
  opacity: 0.7;
  max-width: 800px;
  margin: 0 auto 16px;
}

.copyright {
  font-weight: 600;
}

.contact-info {
  font-size: 0.9rem;
  opacity: 0.9;
}

.contact-info a {
  color: white;
}

.contact-info a:hover {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-alt);
  box-shadow: 0 -4px 20px var(--shadow);
  z-index: 1000;
  display: none;
  padding: 20px;
}

.cookie-banner.show {
  display: block;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.modal-inner {
  background: var(--bg-alt);
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.25rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.option-info h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.option-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.switch {
  position: relative;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--border);
  border-radius: 28px;
  transition: background var(--transition);
}

.slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition);
}

.switch input:checked + .slider {
  background: var(--primary);
}

.switch input:checked + .slider::before {
  transform: translateX(22px);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid var(--border);
}

.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 40px 0;
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 0.9rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover {
  color: white;
}

.content-section {
  padding: 50px 0;
}

.content-section h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.content-section h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.content-section p {
  margin-bottom: 16px;
  color: var(--text-light);
}

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

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 25px var(--shadow);
}

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

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

.value-card {
  background: var(--bg-alt);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow);
}

.value-card h3 {
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.95rem;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.service-grid:last-child {
  margin-bottom: 0;
}

.service-grid:nth-child(even) {
  direction: rtl;
}

.service-grid:nth-child(even) > * {
  direction: ltr;
}

.service-content h2 {
  margin-bottom: 16px;
}

.service-content p {
  margin-bottom: 16px;
}

.service-content ul {
  margin-bottom: 20px;
}

.service-content li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-light);
}

.service-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.service-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 25px var(--shadow);
}

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

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

.examples-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

.business-section {
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}

.business-section:last-child {
  border-bottom: none;
}

.business-section h2 {
  font-size: 1.75rem;
  margin-bottom: 24px;
  color: var(--primary-dark);
}

.business-section h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.audience-card {
  background: var(--bg-alt);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px var(--shadow);
}

.audience-card h3 {
  margin-bottom: 12px;
}

.revenue-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.revenue-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.revenue-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.revenue-info h3 {
  margin-bottom: 6px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.data-table tr:hover {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--bg-alt);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px var(--shadow);
}

.contact-info-card h2 {
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.info-item strong {
  display: block;
  min-width: 80px;
  color: var(--text);
}

.info-item span,
.info-item a {
  color: var(--text-light);
}

.hours-table {
  width: 100%;
  margin-top: 20px;
}

.hours-table th,
.hours-table td {
  padding: 10px 0;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.hours-table th {
  color: var(--text);
}

.hours-table td {
  color: var(--text-light);
}

.map-container {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  height: 250px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form-card {
  background: var(--bg-alt);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px var(--shadow);
}

.contact-form-card h2 {
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--primary-dark);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--primary-dark);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
  color: var(--primary);
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text-light);
  line-height: 1.6;
}

.legal-content a {
  color: var(--primary);
}

.legal-content a:hover {
  text-decoration: underline;
}

.last-updated {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .main-nav.open {
    max-height: 400px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
  }

  .main-nav a {
    border-radius: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    height: 300px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

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

  .content-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid:nth-child(even) {
    direction: ltr;
  }

  .examples-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .legal-content h1 {
    font-size: 1.5rem;
  }

  .legal-content h2 {
    font-size: 1.25rem;
  }
}

.form-success {
  background: var(--primary);
  color: white;
  padding: 16px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 16px;
}

.form-error {
  background: #c62828;
  color: white;
  padding: 16px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 16px;
}
