:root {
  --color-primary: #706D54;
  --color-secondary: #A08963;
  --color-tertiary: #C9B194;
  --color-light: #DBDBDB;
  --color-dark: #333333;
  --color-white: #ffffff;

  --font-primary: 'Space Grotesk', sans-serif;
  --font-secondary: 'Instrument Sans', sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 8px 24px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
}

button,
.btn {
  cursor: pointer;
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  border: none;
  border-radius: var(--radius-sm);
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-medium);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-md);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-lg) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

header {
  position: relative;
  padding: var(--space-md) 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  transition: all var(--transition-medium);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.nav-desktop a {
  font-weight: 500;
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width var(--transition-medium);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transition: all var(--transition-medium);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-medium);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li {
  margin-bottom: var(--space-lg);
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 500;
  display: block;
}

.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-color: var(--color-light);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  margin-bottom: var(--space-md);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: linear-gradient(to right, var(--color-light), transparent 70%);
}

.features {
  background-color: var(--color-white);
}

.features-grid {
  grid-template-columns: 1fr;
}

.feature-item {
  text-align: center;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  transition: transform var(--transition-medium);
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-secondary);
}

.about {
  background-color: var(--color-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.products-grid {
  grid-template-columns: 1fr;
}

.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  background-color: var(--color-white);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.product-img {
  height: 200px;
  background-color: var(--color-light);
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-content {
  padding: var(--space-lg);
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.testimonials {
  background-color: var(--color-light);
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.testimonial-item {
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-small);
  margin-bottom: var(--space-lg);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  font-weight: 700;
}

.faq {
  background-color: var(--color-white);
}

.faq-item {
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-light);
  padding-bottom: var(--space-md);
}

.faq-question {
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  transition: transform var(--transition-medium);
}

.faq-answer {
  margin-top: var(--space-md);
  display: none;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  display: block;
}

.contact {
  background-color: var(--color-light);
}

.contact-grid {
  grid-template-columns: 1fr;
}

.contact-info {
  margin-bottom: var(--space-lg);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.contact-info-item i {
  margin-right: var(--space-md);
  font-size: 1.2rem;
  color: var(--color-secondary);
}

.contact-form {
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-small);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--color-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.form-check-input {
  margin-right: var(--space-sm);
  margin-top: 0.25rem;
}

.form-submit {
  width: 100%;
}

.map {
  height: 400px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-lg) 0;
}

.footer-grid {
  grid-template-columns: 1fr;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: var(--space-sm);
}

.footer-nav a {
  color: var(--color-light);
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-contact {
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  color: var(--color-light);
  font-size: 1.5rem;
}

.footer-social a:hover {
  color: var(--color-white);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
  padding: var(--space-xl) 0;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.thank-you {
  text-align: center;
  padding: var(--space-xl) 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: var(--shadow-large);
  padding: var(--space-md);
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.cookie-banner p {
  margin-bottom: var(--space-md);
}

.cookie-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn var(--transition-slow) forwards;
}

.wave-animation {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(135deg, transparent 0%, transparent 40%, var(--color-tertiary) 40%, var(--color-tertiary) 60%, transparent 60%, transparent 100%),
    linear-gradient(225deg, transparent 0%, transparent 40%, var(--color-secondary) 40%, var(--color-secondary) 60%, transparent 60%, transparent 100%);
  background-size: 50px 50px;
  animation: waveMove 20s linear infinite;
}

@keyframes waveMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 50px 50px;
  }
}

@media (min-width: 576px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-banner p {
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  .nav-desktop {
    display: block;
  }

  .mobile-nav-toggle {
    display: none;
  }

  .about-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}