:root {
  --primary-accent: #8B3A3A;
  --secondary-accent: #9DB8A8;
  --bg-light: #F8F7F5;
  --text-dark: #2C2B2A;
  --text-muted: #7A7A7A;
  --border-color: #E8E8E8;
  --white: #FFFFFF;
}

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

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main, section {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.1rem; }

p {
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.7;
}

a {
  color: var(--primary-accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.navbar-wrapper {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar-brand:hover {
  color: var(--primary-accent);
}

.nav-link {
  color: var(--text-dark) !important;
  margin-left: 1.5rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-accent) !important;
}

.btn {
  border-radius: 0;
  border-width: 2px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: scale(1.02);
}

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

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

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

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

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

.btn-light:hover {
  background-color: var(--bg-light);
  border-color: var(--bg-light);
}

.hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

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

.hero h1 {
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  margin-bottom: 1rem;
}

.hero .lead {
  color: rgba(255,255,255,0.95);
  font-size: 1.3rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
}

.standard-description {
  background-color: var(--white);
  padding: 4rem 0;
}

.description-item {
  padding: 2rem;
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-accent);
  min-height: 100%;
}

.description-item h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.how-to-read {
  background-color: var(--white);
  padding: 4rem 0;
}

.card-guide {
  background-color: var(--bg-light);
  padding: 2rem;
  text-align: center;
  border-radius: 2px;
  height: 100%;
}

.card-guide h4 {
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

.featured-products {
  background-color: var(--bg-light);
  padding: 4rem 0;
}

.product-card {
  background-color: white;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.product-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-color: var(--bg-light);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-card h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.price-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-accent);
}

.testimonials {
  background-color: var(--white);
  padding: 4rem 0;
}

.testimonial {
  background-color: var(--bg-light);
  padding: 2rem;
  border-left: 4px solid var(--secondary-accent);
}

.testimonial p {
  margin-bottom: 0.5rem;
}

.testimonial em {
  color: var(--text-dark);
  font-style: italic;
  font-size: 1rem;
}

.author {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.faq {
  padding: 4rem 0;
}

.faq-item {
  margin-bottom: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h5 {
  color: var(--primary-accent);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.cta-section {
  background-color: var(--primary-accent);
  padding: 4rem 0;
}

.cta-section h2 {
  color: white;
  font-size: 2rem;
}

.cta-section p {
  color: rgba(255,255,255,0.95);
  font-size: 1.1rem;
}

.bg-accent {
  background-color: var(--primary-accent) !important;
}

footer {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

footer h5 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

footer ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

footer ul a:hover {
  color: var(--primary-accent);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 2px solid var(--border-color);
  padding: 1.5rem 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
  z-index: 999;
  display: none;
}

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

.cookie-banner p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.principle-box {
  background-color: var(--bg-light);
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-accent);
}

.principle-box h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.dont-item {
  background-color: var(--bg-light);
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-accent);
}

.dont-item h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.comparison-card {
  background-color: var(--bg-light);
  padding: 2rem;
  height: 100%;
  border-radius: 2px;
}

.comparison-card h4 {
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

.standards-list {
  padding-left: 0;
}

.standards-list li {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.7;
}

.standards-list strong {
  color: var(--primary-accent);
}

.glossary-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.glossary-item h5 {
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.glossary-item p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-box {
  background-color: var(--bg-light);
  padding: 2rem;
  border-left: 4px solid var(--primary-accent);
  height: 100%;
}

.contact-box h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-form {
  background-color: var(--bg-light);
  padding: 2rem;
}

.form-control {
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 2px;
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 0.2rem rgba(139, 58, 58, 0.1);
}

.form-check-label {
  color: var(--text-dark);
  font-size: 0.9rem;
}

.thank-you-section h1 {
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

.page-header h1 {
  margin-bottom: 0;
  color: var(--text-dark);
}

.page-header .text-muted {
  color: var(--text-muted) !important;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  
  .hero {
    min-height: 350px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .navbar {
    padding: 0.75rem 0;
  }
  
  .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .product-image {
    height: 180px;
  }
  
  .price-section {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-block {
    width: 100%;
  }
  
  .cookie-banner {
    padding: 1rem;
  }
  
  .cookie-banner .row {
    flex-direction: column;
  }
  
  .cookie-banner .col-md-4 {
    text-align: left;
    margin-top: 1rem;
  }
  
  .cookie-banner .col-md-4.text-right {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .hero {
    min-height: 280px;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero .lead {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }
  
  h4 {
    font-size: 1.2rem;
  }
  
  .description-item,
  .card-guide,
  .contact-box,
  .principle-box,
  .dont-item,
  .comparison-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .product-card {
    padding: 1rem;
  }
  
  footer h5 {
    margin-bottom: 1rem;
  }
}
