@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  --color-sage: #8FAE8E;
  --color-sand: #E8DCC3;
  --color-cream: #FDFBF6;
  --color-charcoal: #333333;
  --color-olive: #A7B2A0;
  --color-white: #ffffff;
  
  --font-primary: 'Merriweather', serif;
  --font-secondary: 'Open Sans', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  
  --shadow-sm: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.08);
  --shadow-md: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --max-width: 75rem;
  --header-height: 4.5rem;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-height);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.overflow-hidden {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.625rem;
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
}

p {
  margin-bottom: var(--space-sm);
}

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

a:hover {
  color: var(--color-olive);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.btn {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-sage);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-olive);
  box-shadow: var(--shadow-md);
  transform: translateY(-0.125rem);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-sand);
  color: var(--color-charcoal);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-olive);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-0.125rem);
}

.header-wrapper {
  background-color: var(--color-cream);
  border-bottom: 0.0625rem solid var(--color-sand);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform var(--transition-normal);
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  min-height: var(--header-height);
}

.logo {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-sage);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

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

.logo-icon {
  font-size: 1.5rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-sage);
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1001;
}

.nav-main {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-main a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-charcoal);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

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

.hero-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
  padding: calc(var(--space-xl) * 2) 0;
  text-align: center;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(143, 174, 142, 0.85) 0%, rgba(167, 178, 160, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  color: var(--color-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  line-height: 1.2;
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  opacity: 0.98;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1.7;
}

.section {
  padding: var(--space-lg) 0;
}

.section-alt {
  background-color: var(--color-white);
  padding: var(--space-xl) 0;
  box-shadow: inset 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.05);
  border-top: 0.0625rem solid rgba(143, 174, 142, 0.1);
  border-bottom: 0.0625rem solid rgba(143, 174, 142, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.section-header h2 {
  color: var(--color-sage);
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--color-charcoal);
  opacity: 0.85;
  max-width: 50rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
}

.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.25rem);
}

.card-icon {
  font-size: 2rem;
  color: var(--color-sage);
  margin-bottom: var(--space-sm);
}

.card h3 {
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
  font-size: 1.125rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--color-charcoal);
  opacity: 0.85;
  margin-bottom: 0;
}

.product-card {
  text-align: center;
}

.product-image {
  width: 100%;
  height: 12.5rem;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .product-image img {
  transform: scale(1.05);
}

.product-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-sage);
  margin: var(--space-sm) 0;
}

.contact-wrapper {
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-sand) 100%);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  gap: var(--space-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-item i {
  font-size: 1.25rem;
  color: var(--color-sage);
  margin-top: 0.125rem;
}

.contact-item-content h3 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.contact-item-content p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
  color: var(--color-charcoal);
}

.form-control {
  width: 100%;
  padding: var(--space-xs) var(--space-sm);
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  border: 0.0625rem solid var(--color-olive);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 0.1875rem rgba(143, 174, 142, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 7.5rem;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checkbox-wrapper input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.checkbox-wrapper label {
  font-size: 0.8125rem;
  cursor: pointer;
  margin: 0;
}

.map-container {
  width: 100%;
  height: 18.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-lg);
}

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

.footer-main {
  background-color: var(--color-charcoal);
  color: var(--color-cream);
  padding: var(--space-md) 0;
  font-size: 0.8125rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  align-items: center;
}

.footer-links {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--color-sand);
  font-size: 0.8125rem;
}

.footer-links a:hover {
  color: var(--color-white);
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-charcoal);
  color: var(--color-cream);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.privacy-popup.show {
  transform: translateY(0);
}

.privacy-popup-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.privacy-popup-text {
  font-size: 0.8125rem;
  flex: 1;
  min-width: 15.625rem;
}

.privacy-popup-text a {
  color: var(--color-sand);
  text-decoration: underline;
}

.privacy-popup-actions {
  display: flex;
  gap: var(--space-sm);
}

.error-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-sm);
}

.error-content h1 {
  font-size: 4rem;
  color: var(--color-sage);
  margin-bottom: var(--space-md);
}

.error-content h2 {
  margin-bottom: var(--space-md);
}

.thank-you-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-sm);
}

.thank-you-content {
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 37.5rem;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-sage);
  margin-bottom: var(--space-md);
}

.policy-content {
  max-width: 50rem;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-sm);
}

.policy-content h1 {
  color: var(--color-sage);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.policy-content h2 {
  color: var(--color-sage);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 1.375rem;
}

.policy-content h3 {
  color: var(--color-charcoal);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  font-size: 1.125rem;
}

.policy-content p {
  margin-bottom: var(--space-md);
}

.policy-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.policy-content li {
  margin-bottom: var(--space-xs);
}

@media (max-width: 48rem) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.375rem;
  }

  .hero-section {
    min-height: 400px;
    padding: var(--space-xl) 0;
  }

  .hero-section h1 {
    font-size: 2.25rem;
  }

  .hero-section p {
    font-size: 1.0625rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-main {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 16.875rem;
    background-color: var(--color-cream);
    flex-direction: column;
    padding: var(--space-xl) var(--space-md);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    z-index: 999;
    height: 100vh;
  }

  .nav-main.active {
    transform: translateX(0);
  }

  .nav-main a {
    width: 100%;
    text-align: left;
  }

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

  .privacy-popup-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .privacy-popup-actions {
    width: 100%;
    flex-direction: column;
  }

  .privacy-popup-actions .btn {
    width: 100%;
  }

  .error-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 26.25rem) {
  body {
    font-size: 0.875rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .hero-section {
    min-height: 350px;
    background-attachment: scroll;
  }

  .hero-section h1 {
    font-size: 1.875rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .logo {
    font-size: 1.125rem;
  }

  .card {
    padding: var(--space-sm);
  }

  .product-image {
    height: 10rem;
    font-size: 2.5rem;
  }

  .nav-main {
    width: 100%;
  }

  .error-content h1 {
    font-size: 2.5rem;
  }
}

