:root {
  --bg-primary: #f5f3f0;
  --bg-secondary: #faf9f7;
  --bg-dark: #1a1a19;
  --text-primary: #2d3436;
  --text-secondary: #636e72;
  --accent-primary: #1b4d3e;
  --accent-secondary: #c9b8a8;
  --border-light: #e8e6e3;
  --hover-bg: #eae7e3;
}

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

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

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

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: none;
  letter-spacing: 0.05em;
}

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

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

.btn:hover {
  background-color: var(--accent-primary);
  color: white;
  transform: scale(1.02);
}

.btn-filled {
  background-color: var(--accent-primary);
  color: white;
}

.btn-filled:hover {
  background-color: #143a32;
}

main {
  min-height: calc(100vh - 200px);
}

.hero {
  background: linear-gradient(135deg, rgba(26, 26, 25, 0.7) 0%, rgba(26, 26, 25, 0.5) 100%);
  color: white;
  padding: 4rem 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

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

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

.hero-img-frame {
  border: 1px solid var(--border-light);
  background-color: var(--bg-primary);
  border-radius: 2px;
  overflow: hidden;
}

.hero-img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-img-large {
  grid-row: 1 / 3;
  min-height: 400px;
}

.quick-cues {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  margin-bottom: 3rem;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.cue {
  flex: 1;
  min-width: 150px;
  text-align: center;
  font-size: 0.85rem;
}

.cue-label {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 1.5rem;
  margin-bottom: 2rem;
}

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

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

.section-accent {
  background-color: var(--accent-secondary);
  background-color: rgba(201, 184, 168, 0.15);
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.tile {
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  background-color: var(--bg-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.tile:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.tile img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 2px;
}

.tile h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.tile p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.product-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

.product-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: var(--bg-primary);
}

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

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

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

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

.product-card .btn {
  width: 100%;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.section-dark .section-title,
.section-dark .section-subtitle {
  color: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.faq-item {
  padding: 1.5rem;
  border-left: 3px solid var(--accent-primary);
  background-color: var(--bg-secondary);
  border-radius: 2px;
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.faq-answer {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 3rem 1.5rem 2rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

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

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

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

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

.breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-image-detail {
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  background-color: var(--bg-primary);
  border-radius: 2px;
}

.product-image-detail img {
  width: 100%;
  height: auto;
  display: block;
}

.product-content h1 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.product-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.quick-specs {
  background-color: var(--bg-secondary);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-left: 3px solid var(--accent-primary);
  border-radius: 2px;
}

.specs-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.spec-item {
  display: flex;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.spec-label {
  font-weight: 600;
  min-width: 120px;
  color: var(--text-primary);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(27, 77, 62, 0.1);
}

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

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.checkbox-group a {
  color: var(--accent-primary);
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.thank-you-message {
  text-align: center;
  padding: 3rem 1.5rem;
}

.thank-you-message h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.thank-you-message p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.text-left {
  text-align: left;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.list-style {
  padding-left: 1.5rem;
}

.list-style li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

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

.legal-content a {
  color: var(--accent-primary);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.switcher {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.switcher-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 0.85rem;
  }

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

  .hero-text h1 {
    font-size: 1.8rem;
  }

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

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

  .hero-img-large {
    grid-row: auto;
  }

  .tiles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .product-detail {
    grid-template-columns: 1fr;
  }

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

  .quick-cues {
    flex-direction: column;
    gap: 1rem;
  }

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

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

  .hero-cta .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

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

  .product-image {
    height: 200px;
  }

  nav {
    gap: 0.75rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .section {
    padding: 2rem 1rem;
  }
}
