
:root {
  --primary: #8B4513;
  --secondary: #D2691E;
  --accent: #FF6347;
  --bg-light: #FFF8DC;
  --bg-dark: #F5DEB3;
  --text-primary: #3E2723;
  --text-secondary: #5D4037;
  --success: #2E7D32;
  --warning: #F57F17;
  --error: #C62828;
}

body {
  font-family: 'Barlow', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'PT Serif', serif;
  color: var(--primary);
}

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

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

a:hover, a:focus {
  color: var(--accent);
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}


header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-container img {
  height: 50px;
}

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

.main-nav li {
  margin-left: 1.5rem;
}

.main-nav a {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.cta-button {
  background-color: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover, .cta-button:focus {
  background-color: var(--secondary);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}


.hero {
  position: relative;
  padding: 5rem 0;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

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

.hero-buttons .btn-secondary {
  background-color: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.hero-buttons .btn-secondary:hover,
.hero-buttons .btn-secondary:focus {
  background-color: var(--primary);
  color: white;
}


.section {
  padding: 5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent);
}

.section-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}


.card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.card-text {
  margin-bottom: 1.5rem;
}


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

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

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


.feature {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}


.form-container {
  background-color: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.form-checkbox input {
  margin-top: 0.3rem;
  margin-right: 0.75rem;
}

.form-button {
  width: 100%;
  padding: 1rem;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-button:hover, .form-button:focus {
  background-color: var(--secondary);
}


footer {
  background-color: var(--primary);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-info h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-info p {
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.footer-links a:hover, .footer-links a:focus {
  color: white;
}

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

.cookie-settings-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background-color: rgba(255, 255, 255, 0.1);
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  color: white;
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
  display: none;
}

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

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-accept {
  background-color: var(--success);
  color: white;
  border: none;
}

.cookie-accept:hover, .cookie-accept:focus {
  background-color: #1B5E20;
}

.cookie-customize {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-customize:hover, .cookie-customize:focus {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background-color: white;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cookie-modal-title {
  font-size: 1.5rem;
  color: var(--primary);
}

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

.cookie-categories {
  margin-bottom: 1.5rem;
}

.cookie-category {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category-title {
  font-weight: 700;
  color: var(--text-primary);
}

.cookie-category-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-category-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-category-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.cookie-category-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-category-slider {
  background-color: var(--success);
}

input:checked + .cookie-category-slider:before {
  transform: translateX(26px);
}

.cookie-category-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cookie-modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.cookie-save {
  background-color: var(--success);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-save:hover, .cookie-save:focus {
  background-color: #1B5E20;
}

.cookie-reject-all {
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cookie-reject-all:hover, .cookie-reject-all:focus {
  background-color: #f5f5f5;
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal-icon {
  font-size: 3rem;
  color: var(--success);
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.modal-text {
  margin-bottom: 1.5rem;
}

.modal-button {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-button:hover, .modal-button:focus {
  background-color: var(--secondary);
}


.legal-content {
  background-color: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p, .legal-content ul, .legal-content ol {
  margin-bottom: 1.5rem;
}

.legal-content ul, .legal-content ol {
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 3rem;
}


.iti { 
  width: 100%; 
}


@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav.show {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
  }
  
  .main-nav li {
    margin: 0 0 1rem 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

@media (max-width: 576px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: space-between;
  }
}