:root {
  --bg-main: #f5ede6;
  --bg-light: #faf8f5;
  --bg-dark: #2d2420;
  --text-dark: #3a3530;
  --text-light: #7a7269;
  --accent-primary: #b8846b;
  --accent-secondary: #d4c5ba;
  --border-color: #e8ddd2;
}

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

html {
  scroll-behavior: smooth;
}

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

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

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.25rem; margin-top: 2rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; margin-top: 1.5rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }
h5 { font-size: 1.1rem; margin-bottom: 0.5rem; }

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

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

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

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

.navbar {
  background-color: var(--bg-main);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-menu a {
  color: var(--text-light);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--accent-primary);
}

.btn-filled {
  display: inline-block;
  background-color: var(--accent-primary);
  color: white;
  padding: 0.75rem 2rem;
  border: 1px solid var(--accent-primary);
  border-radius: 0;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
}

.btn-filled:hover {
  transform: scale(1.02);
  background-color: var(--text-dark);
  border-color: var(--text-dark);
  color: white;
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--text-dark);
  padding: 0.75rem 2rem;
  border: 1px solid var(--text-dark);
  border-radius: 0;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
}

.btn-outline:hover {
  background-color: var(--accent-secondary);
  border-color: var(--accent-secondary);
  transform: scale(1.02);
}

.hero {
  background-color: var(--bg-light);
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 1rem;
}

.hero-text p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.hero-image-frame {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

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

.hero-image-frame:hover img {
  transform: scale(1.02);
}

.hero-image-frame-2 {
  margin-top: 2rem;
}

.page-header {
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.quick-sections {
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.section-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tile {
  background-color: white;
  padding: 2rem;
  border: 1px solid var(--border-color);
  text-align: center;
}

.tile h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

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

.products-preview {
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.products-preview h2 {
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background-color: white;
  border: 1px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

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

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

.product-card h4 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.1rem;
}

.product-card p {
  padding: 0 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.product-price {
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.product-card button {
  margin: 0 1.5rem 1.5rem;
  width: calc(100% - 3rem);
}

.catalog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-guide {
  padding: 3rem 0;
  margin-top: 3rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.guide-item {
  background-color: white;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.guide-item h4 {
  margin-top: 0;
}

.light-beige {
  background-color: var(--bg-light);
}

.faq {
  padding: 3rem 0;
  margin: 3rem 0;
}

.faq h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 2rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.faq-item {
  background-color: white;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.faq-item h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-col h5 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
  margin-top: 0;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-dark);
  color: white;
  padding: 2rem;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

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

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
}

.cookie-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-buttons button {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

#accept-cookies {
  background-color: var(--accent-primary);
  color: white;
}

#decline-cookies {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.product-detail {
  padding: 3rem 0;
}

.breadcrumb {
  margin-bottom: 2rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--accent-primary);
}

.product-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.product-image-large {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.product-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  margin-top: 0;
}

.description {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.quick-specs {
  background-color: var(--bg-light);
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid var(--border-color);
}

.quick-specs h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.quick-specs ul {
  list-style: none;
}

.quick-specs li {
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.product-price-large {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 2rem;
}

.product-extended {
  background-color: var(--bg-light);
  padding: 3rem;
  border: 1px solid var(--border-color);
}

.legal-page {
  padding: 3rem 0;
}

.last-updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-content {
  line-height: 1.8;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.about-content {
  padding: 3rem 0;
}

.about-section {
  margin-bottom: 3rem;
  background-color: white;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.about-section h2 {
  margin-top: 0;
}

.comparison-rules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.rule {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.rule h4 {
  margin-top: 0;
}

.editorial-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.guideline {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.guideline h4 {
  margin-top: 0;
}

.contact-section {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-top: 0;
}

.info-items {
  display: grid;
  gap: 2rem;
}

.info-item {
  background-color: var(--bg-light);
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.info-item h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.info-item p {
  margin: 0;
}

.contact-form h2 {
  margin-top: 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  background-color: white;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group.checkbox input {
  width: auto;
  margin: 0;
}

.form-group.checkbox label {
  margin: 0;
}

.thank-you-section {
  padding: 6rem 0;
  text-align: center;
}

.thank-you-content {
  background-color: white;
  padding: 3rem;
  border: 1px solid var(--border-color);
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-content h1 {
  margin-top: 0;
}

.thank-you-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.guide-list {
  display: grid;
  gap: 1.5rem;
}

.guide-point {
  background-color: white;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.guide-point h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.catalog-filters {
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.filter-tabs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: white;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

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

.filter-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.3rem; }

  .navbar .container-fluid {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-menu {
    gap: 1.5rem;
    font-size: 0.85rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .section-tiles {
    grid-template-columns: 1fr;
  }

  .products-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

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

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

  .product-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .comparison-rules,
  .editorial-guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }

  .container-fluid {
    padding: 0 15px;
  }

  .btn-filled,
  .btn-outline {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }

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

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

  .products-grid {
    gap: 1rem;
  }

  .product-card p,
  .product-card h4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

  .filter-tabs {
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
  }
}
