@import url('https://fonts.googleapis.com/css2?family=Karla:wght@300;400;600&family=Cormorant+Garamond:wght@400;500;600&display=swap');

:root {
  --color-bg-primary: #F9F9F9;
  --color-bg-secondary: #F5F5F5;
  --color-bg-accent: #EEF0EB;
  --color-text-primary: #333333;
  --color-text-secondary: #666666;
  --color-accent-sage: #A8B9A5;
  --color-accent-beige: #D4C5B9;
  --color-accent-blue: #B8C5D6;
  --color-border: #E0E0E0;
  --color-white: #FFFFFF;
  
  --font-primary: 'Karla', sans-serif;
  --font-secondary: 'Cormorant Garamond', serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.5rem;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --container-max: 75rem;
  --container-narrow: 50rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.875rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-sage);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
  position: relative;
}

.header-hidden {
  transform: translateY(-100%);
  transition: transform var(--transition-normal);
}

.header-visible {
  transform: translateY(0);
  transition: transform var(--transition-normal);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
}

.nav-main {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-sage);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.burger-toggle {
  display: none;
  flex-direction: column;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1001;
}

.burger-line {
  width: 1.5rem;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-fast);
}

.burger-toggle.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translateY(0.7rem);
}

.burger-toggle.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-toggle.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-0.7rem);
}

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-accent) 100%);
  padding: var(--space-xl) 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-text h1 {
  margin-bottom: var(--space-md);
}

.hero-text p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.section {
  padding: var(--space-xl) 0;
}

.section-alt {
  background: var(--color-bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--color-text-secondary);
  max-width: 40rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md);
}

.card-image {
  width: 100%;
  height: 15rem;
  object-fit: cover;
}

.card-content {
  padding: var(--space-md);
}

.card-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.card-text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.card-price {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-accent-sage);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--color-accent-sage);
  color: var(--color-white);
}

.btn-primary:hover {
  background: #92A58F;
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-secondary);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-sage);
}

.form-textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.form-checkbox {
  margin-top: 0.25rem;
}

.form-checkbox-label {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-icon {
  font-size: 1.25rem;
  color: var(--color-accent-sage);
}

.map-container {
  margin-top: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 18rem;
  border: none;
}

.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0 var(--space-md);
  font-size: 0.8125rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-link {
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
}

.footer-link:hover {
  color: var(--color-text-primary);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  max-width: 90%;
  width: 31rem;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.modal-title {
  font-size: 1.25rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-secondary);
  line-height: 1;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--color-text-primary);
}

.modal-body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.modal-footer {
  margin-top: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
}

.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-content h1 {
  font-size: 6rem;
  color: var(--color-accent-sage);
  margin-bottom: 0;
}

.error-content h2 {
  margin-bottom: var(--space-md);
}

.error-content p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.thank-you-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 35rem;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-accent-sage);
  margin-bottom: var(--space-md);
}

.feature-list {
  list-style: none;
  display: grid;
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--color-accent-sage);
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.feature-content p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin: 0;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-xl);
}

.product-image-main {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.product-info {
  position: sticky;
  top: var(--space-md);
}

.product-price {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-accent-sage);
  margin: var(--space-md) 0;
}

.product-description {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.privacy-content,
.terms-content {
  max-width: 50rem;
  margin: 0 auto;
}

.privacy-section,
.terms-section {
  margin-bottom: var(--space-lg);
}

.privacy-section h2,
.terms-section h2 {
  margin-bottom: var(--space-md);
}

.privacy-section p,
.terms-section p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.privacy-section ul,
.terms-section ul {
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.privacy-section li,
.terms-section li {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
}

@media (max-width: 768px) {
  :root {
    --space-xs: 0.375rem;
    --space-sm: 0.75rem;
    --space-md: 1.125rem;
    --space-lg: 1.875rem;
    --space-xl: 2.5rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .nav-main {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    z-index: 1000;
  }
  
  .nav-main.active {
    display: flex;
  }
  
  .burger-toggle {
    display: flex;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .hero-text {
    order: 2;
  }
  
  .hero-image {
    order: 1;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .product-detail-hero {
    grid-template-columns: 1fr;
  }
  
  .product-info {
    position: static;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.875rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }
  
  .card-image {
    height: 12rem;
  }
  
  .error-content h1 {
    font-size: 4rem;
  }
}

@media (max-width: 320px) {
  :root {
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 0.875rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
  }
  
  .container,
  .container-narrow {
    padding: 0 var(--space-sm);
  }
}


