:root {
  --bg-warm: #f5f1ed;
  --text-deep: #2a2a2a;
  --accent-terracotta: #c9735a;
  --accent-taupe: #b8a89f;
  --dark-charcoal: #1a1a1a;
  --border-light: #e8ddd5;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent-terracotta);
  text-decoration: none;
  transition: all 220ms ease;
}

a:hover {
  opacity: 0.85;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  color: var(--text-deep);
}

h2 {
  font-size: 2rem;
  color: var(--text-deep);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.3rem;
  color: var(--text-deep);
  margin-bottom: 1rem;
}

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

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-deep);
  letter-spacing: 1px;
}

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

nav a {
  color: var(--text-deep);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
}

nav a:hover {
  border-bottom-color: var(--accent-terracotta);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 200ms ease;
  border: none;
  text-align: center;
  text-decoration: none;
}

.btn-filled {
  background-color: var(--accent-terracotta);
  color: white;
  border: 2px solid var(--accent-terracotta);
}

.btn-filled:hover {
  transform: scale(1.02);
  background-color: #b8634a;
  border-color: #b8634a;
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-terracotta);
  border: 2px solid var(--accent-terracotta);
}

.btn-outline:hover {
  transform: scale(1.02);
  background-color: rgba(201, 115, 90, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-deep);
  border: 2px solid var(--text-deep);
}

.btn-secondary:hover {
  transform: scale(1.02);
  background-color: rgba(42, 42, 42, 0.05);
}

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

.section {
  padding: 4rem 0;
}

.section-dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
  color: white;
  padding: 4rem 0;
}

.section-dark h2 {
  color: white;
}

.section-dark h3 {
  color: white;
}

.section-dark a {
  color: var(--accent-terracotta);
}

.hero {
  background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 100%);
  color: white;
  padding: 3rem 0;
  display: flex;
  align-items: center;
  min-height: 500px;
}

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

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

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #e0e0e0;
}

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

.hero-image {
  position: relative;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: all 220ms ease;
}

.card:hover {
  border-color: var(--accent-terracotta);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(201, 115, 90, 0.15);
}

.card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

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

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-deep);
}

.card-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.card-meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

.card-button {
  width: 100%;
}

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

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

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

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.faq-question::before {
  content: "+ ";
  color: var(--accent-terracotta);
  font-weight: 700;
  margin-right: 0.5rem;
}

.faq-item.active .faq-question::before {
  content: "- ";
}

.faq-answer {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  display: none;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent-terracotta);
}

.faq-item.active .faq-answer {
  display: block;
}

footer {
  background: var(--dark-charcoal);
  color: #ddd;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

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

.footer-block h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-block p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-block ul {
  list-style: none;
}

.footer-block ul li {
  margin-bottom: 0.7rem;
}

.footer-block a {
  color: #bbb;
  border-bottom: 1px solid transparent;
}

.footer-block a:hover {
  color: var(--accent-terracotta);
  border-bottom-color: var(--accent-terracotta);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
}

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

.product-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  height: 500px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-specs {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.specs-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-deep);
  margin-bottom: 1rem;
}

.spec-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: var(--text-deep);
}

.spec-value {
  color: #666;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-terracotta);
  box-shadow: 0 0 0 3px rgba(201, 115, 90, 0.1);
}

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

.form-group.checkbox {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.form-group.checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  flex: 1;
}

.cta-panel {
  background: linear-gradient(135deg, var(--accent-terracotta) 0%, #d68373 100%);
  color: white;
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
}

.cta-panel h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-panel p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

.thank-you-message h2 {
  color: var(--accent-terracotta);
  margin-bottom: 1rem;
}

.thank-you-message p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

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

.switcher button {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-light);
  background: white;
  color: var(--text-deep);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 200ms ease;
}

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

.switcher button:hover {
  border-color: var(--accent-terracotta);
}

.intro-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
}

.intro-section h3 {
  margin-bottom: 1rem;
}

.intro-section p {
  line-height: 1.7;
  color: #666;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

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

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

  .hero-image {
    height: 300px;
  }

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

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

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

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

  .product-image {
    height: 300px;
  }

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

  .cards-section {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  .btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
  }

  header .container {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 2rem 0;
  }

  .cta-panel {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  nav a {
    font-size: 0.8rem;
  }

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

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

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

  .btn {
    width: 100%;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .switcher {
    gap: 0.5rem;
  }

  .switcher button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}
