:root {
  --color-taupe: #2F2E2B;
  --color-sage: #A8B5A1;
  --color-cream: #F2EFE5;
  --color-terracotta: #D98E73;
  --color-stone: #7A7A78;
  --color-moss: #B4C4A4;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  
  --font-base: 0.9375rem;
  --font-sm: 0.8125rem;
  --font-md: 1.125rem;
  --font-lg: 1.5rem;
  --font-xl: 2rem;
  --font-xxl: 2.5rem;
  
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 50%;
  
  --shadow-sm: 0 2px 8px rgba(47, 46, 43, 0.08);
  --shadow-md: 0 4px 16px rgba(47, 46, 43, 0.12);
  --shadow-lg: 0 8px 24px rgba(47, 46, 43, 0.16);
  
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: var(--color-cream);
  color: var(--color-stone);
  font-size: var(--font-base);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--color-taupe);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

h1 { font-size: var(--font-xxl); }
h2 { font-size: var(--font-xl); }
h3 { font-size: var(--font-lg); }
h4 { font-size: var(--font-md); }

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-sage);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-terracotta);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header-wrapper {
  position: relative;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-moss) 100%);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-sage);
  transform-origin: top;
  transition: transform var(--transition-base);
}

.header-wrapper.hidden {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--color-taupe);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: transform var(--transition-base);
}

.logo:hover {
  transform: scale(1.05);
  color: var(--color-taupe);
}

.logo i {
  color: var(--color-sage);
  font-size: var(--font-md);
}

.nav-desktop {
  display: none;
  gap: var(--space-md);
}

.nav-desktop a {
  color: var(--color-taupe);
  font-size: var(--font-sm);
  font-weight: 500;
  padding: var(--space-xs) var(--space-xs);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-desktop a:hover {
  background-color: var(--color-moss);
  transform: translateY(-2px);
}

.burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  z-index: 1001;
}

.burger-line {
  width: 1.5rem;
  height: 0.125rem;
  background-color: var(--color-taupe);
  transition: all var(--transition-base);
  border-radius: 0.125rem;
}

.burger-btn.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(0.2rem, -0.2rem);
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 20rem;
  height: 100vh;
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-moss) 100%);
  padding: var(--space-xl) var(--space-md);
  transition: right var(--transition-base);
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile a {
  display: block;
  padding: var(--space-sm);
  margin-bottom: var(--space-xs);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-weight: 500;
}

.nav-mobile a:hover {
  background-color: var(--color-sage);
  color: var(--color-cream);
  transform: translateX(-0.5rem);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(47, 46, 43, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 999;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--color-moss) 0%, var(--color-cream) 50%, var(--color-moss) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, var(--color-sage) 0%, transparent 70%);
  border-radius: var(--radius-full);
  top: -10rem;
  right: -10rem;
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle, var(--color-terracotta) 0%, transparent 70%);
  border-radius: var(--radius-full);
  bottom: -7.5rem;
  left: -7.5rem;
  opacity: 0.2;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2rem, 2rem) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 50rem;
}

.hero h1 {
  font-size: clamp(var(--font-xl), 5vw, var(--font-xxl));
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: var(--font-md);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-sage);
  color: var(--color-cream);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.btn:hover {
  background-color: var(--color-terracotta);
  color: var(--color-cream);
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-cream);
  color: var(--color-taupe);
  border: 2px solid var(--color-sage);
}

.btn-secondary:hover {
  background-color: var(--color-sage);
  color: var(--color-cream);
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: calc(var(--space-xl) * 2) 0;
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-hero .section-header {
  text-align: center;
  margin-bottom: 0;
}

.section-hero .section-header h1 {
  color: var(--color-cream);
  text-shadow: 2px 2px 6px rgba(47, 46, 43, 0.8);
  font-size: clamp(var(--font-xl), 5vw, 3rem);
  margin-bottom: var(--space-md);
}

.section-hero .section-header p {
  color: var(--color-cream);
  font-size: var(--font-md);
  text-shadow: 1px 1px 4px rgba(47, 46, 43, 0.8);
  max-width: 50rem;
  margin: 0 auto;
  line-height: 1.8;
}

.section-alt {
  background-color: var(--color-moss);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-sm);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--color-sage) 0%, var(--color-terracotta) 100%);
  border-radius: var(--radius-sm);
}

.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.card {
  background-color: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--color-sage) 0%, var(--color-terracotta) 100%);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  transition: transform var(--transition-base);
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card h3 {
  margin-bottom: var(--space-xs);
}

.card-icon {
  font-size: var(--font-xl);
  color: var(--color-sage);
  margin-bottom: var(--space-sm);
  transition: all var(--transition-base);
}

.card:hover .card-icon {
  transform: scale(1.2) rotate(10deg);
  color: var(--color-terracotta);
}

.product-card {
  text-align: center;
}

.product-price {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--color-terracotta);
  margin: var(--space-sm) 0;
}

.product-features {
  list-style: none;
  margin: var(--space-sm) 0;
  padding: 0;
  text-align: left;
}

.product-features li {
  padding: var(--space-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-sm);
}

.product-features i {
  color: var(--color-sage);
  font-size: var(--font-sm);
}

.contact-section {
  background: linear-gradient(135deg, var(--color-moss) 0%, var(--color-cream) 100%);
  padding: var(--space-xl) 0;
}

.contact-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background-color: var(--color-cream);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.contact-item:hover {
  transform: translateX(0.5rem);
  box-shadow: var(--shadow-md);
}

.contact-item i {
  font-size: var(--font-lg);
  color: var(--color-sage);
  min-width: 2rem;
}

.contact-item-content h3 {
  font-size: var(--font-base);
  margin-bottom: 0.25rem;
}

.contact-item-content p,
.contact-item-content a {
  font-size: var(--font-sm);
  color: var(--color-stone);
}

.form-wrapper {
  background-color: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--color-taupe);
  font-size: var(--font-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-moss);
  border-radius: var(--radius-sm);
  font-family: 'Quicksand', sans-serif;
  font-size: var(--font-base);
  color: var(--color-taupe);
  background-color: var(--color-cream);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(168, 181, 161, 0.2);
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checkbox-wrapper input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-wrapper label {
  font-size: var(--font-sm);
  font-weight: 400;
  cursor: pointer;
}

.map-container {
  width: 100%;
  height: 20rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  background-color: var(--color-taupe);
  color: var(--color-cream);
  padding: var(--space-md) 0;
  font-size: var(--font-sm);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--color-moss);
  font-size: var(--font-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-cream);
}

.footer p {
  margin: 0;
  color: var(--color-moss);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(47, 46, 43, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 2000;
  padding: var(--space-md);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 35rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(2rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: none;
  border: none;
  font-size: var(--font-lg);
  color: var(--color-stone);
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background-color: var(--color-moss);
  color: var(--color-taupe);
}

.modal-content h2 {
  margin-bottom: var(--space-md);
  padding-right: var(--space-lg);
}

.modal-content p {
  font-size: var(--font-sm);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.thank-you {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 0;
}

.thank-you-content {
  max-width: 40rem;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-sage);
  margin-bottom: var(--space-md);
  animation: scaleIn 0.6s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
body.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.error-page main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-page {
  width: 100%;
  text-align: center;
  padding: var(--space-xl) 0;
}

.error-content {
  max-width: 40rem;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-sage);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-terracotta) 100%);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-sm);
  color: var(--color-cream);
  font-size: var(--font-lg);
  transition: transform var(--transition-base);
}

.card:hover .feature-icon {
  transform: rotate(360deg) scale(1.1);
}

.policy-content {
  max-width: 50rem;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.policy-content h1 {
  margin-bottom: var(--space-lg);
}

.policy-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.policy-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.policy-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
}

.policy-content li {
  margin-bottom: var(--space-xs);
  line-height: 1.8;
}

@media (min-width: 48rem) {
  .nav-desktop {
    display: flex;
  }
  
  .burger-btn {
    display: none;
  }
  
  .nav-mobile {
    display: none;
  }
  
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

@media (min-width: 64rem) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero {
    min-height: 85vh;
  }
}

@media (max-width: 20rem) {
  :root {
    --font-base: 0.875rem;
    --font-sm: 0.75rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 2.5rem;
  }
  
  .hero h1 {
    font-size: var(--font-xl);
  }
  
  .nav-mobile {
    width: 85%;
  }
}


@media (max-width: 350px) {
  .logo{
    font-size: var(--font-md);
  }
}
