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

html, body {
  background-color: #f9f8f7;
  color: #2a2a2a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
}

a {
  color: #2c4a7c;
  text-decoration: none;
  transition: all 200ms ease;
}

a:hover {
  color: #1f3659;
}

header {
  background-color: #f9f8f7;
  border-bottom: 1px solid #e8e6e3;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2a2a2a;
  letter-spacing: 0.05em;
}

nav {
  display: none;
}

nav.active {
  display: flex;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  flex-direction: column;
  background-color: #f9f8f7;
  border-top: 1px solid #e8e6e3;
  padding: 1rem 0;
}

nav a {
  display: block;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid #e8e6e3;
}

.cta-primary {
  background-color: #2c4a7c;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 200ms ease;
  text-decoration: none;
  display: inline-block;
}

.cta-primary:hover {
  background-color: #1f3659;
  transform: scale(1.02);
}

.cta-outline {
  border: 1px solid #2c4a7c;
  color: #2c4a7c;
  background-color: transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 200ms ease;
  text-decoration: none;
  display: inline-block;
}

.cta-outline:hover {
  background-color: rgba(44, 74, 124, 0.08);
  transform: scale(1.02);
}

.toggle-menu {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  display: block;
  color: #2a2a2a;
}

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

.hero {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f9f8f7 0%, #f0eeeb 100%);
  display: grid;
  gap: 2rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #2a2a2a;
  line-height: 1.2;
}

.hero-left .subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.hero-right {
  display: grid;
  gap: 1rem;
}

.info-card {
  background-color: white;
  border: 1px solid #e8e6e3;
  border-radius: 3px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
}

.info-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.info-card-text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2a2a2a;
}

.info-card-text p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.rail-section {
  padding: 3rem 0;
  border-bottom: 1px solid #e8e6e3;
}

.rail-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #2a2a2a;
}

.rail {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.rail-card {
  background-color: white;
  border: 1px solid #e8e6e3;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: all 220ms ease;
}

.rail-card:hover {
  border-color: #2c4a7c;
  transform: scale(1.02);
}

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

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

.rail-card-content {
  padding: 1rem;
}

.rail-card-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2a2a2a;
}

.rail-card-content p {
  font-size: 0.85rem;
  color: #666;
}

.matrix-section {
  padding: 3rem 0;
  background-color: white;
  border-bottom: 1px solid #e8e6e3;
}

.matrix-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #2a2a2a;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
}

.matrix-table th,
.matrix-table td {
  padding: 1rem;
  text-align: left;
  border: 1px solid #e8e6e3;
  font-size: 0.9rem;
}

.matrix-table th {
  background-color: #f9f8f7;
  font-weight: 600;
  color: #2a2a2a;
}

.matrix-table td {
  color: #555;
}

.dark-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
  color: #f9f8f7;
}

.dark-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #f9f8f7;
}

.dark-section p {
  color: #d0d0d0;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

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

.grid-col-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background-color: white;
  border: 1px solid #e8e6e3;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: all 220ms ease;
}

.product-card:hover {
  border-color: #2c4a7c;
  transform: scale(1.02);
}

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

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

.product-card-content {
  padding: 1.25rem;
}

.product-card-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2a2a2a;
}

.product-spec {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c4a7c;
  margin-bottom: 1rem;
}

.product-card button {
  width: 100%;
  padding: 0.75rem;
}

footer {
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
  color: #f9f8f7;
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  margin-bottom: 0.75rem;
  color: #d0d0d0;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #f9f8f7;
}

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

.faq-grid {
  display: grid;
  gap: 2rem;
}

.faq-item {
  background-color: white;
  padding: 1.5rem;
  border: 1px solid #e8e6e3;
  border-radius: 3px;
}

.faq-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #2a2a2a;
}

.faq-item p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #2a2a2a;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e8e6e3;
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.95rem;
}

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

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

.checkbox-group input {
  margin-top: 0.3rem;
}

.checkbox-group label {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2a2a2a;
  color: #f9f8f7;
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-top: 3px solid #2c4a7c;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  font-size: 0.9rem;
  flex: 1;
}

.cookie-text a {
  color: #6fa3dc;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-buttons button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 200ms ease;
}

.cookie-accept {
  background-color: #2c4a7c;
  color: white;
}

.cookie-accept:hover {
  background-color: #1f3659;
  transform: scale(1.02);
}

.cookie-decline {
  background-color: transparent;
  border: 1px solid #f9f8f7;
  color: #f9f8f7;
}

.cookie-decline:hover {
  background-color: rgba(249, 248, 247, 0.1);
}

.split-panel {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.split-panel.reverse {
  grid-template-columns: 1fr 1fr;
}

.split-panel-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2a2a2a;
}

.split-panel-text p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.split-panel img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.product-detail {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.product-detail-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2a2a2a;
}

.product-detail-content p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.specs-list {
  background-color: #f9f8f7;
  padding: 1.5rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.specs-list h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.specs-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e8e6e3;
  font-size: 0.9rem;
}

.specs-list li:last-child {
  border-bottom: none;
}

.specs-list strong {
  color: #2a2a2a;
}

.guide-list {
  list-style: none;
  margin: 1.5rem 0;
}

.guide-list li {
  padding: 1rem;
  background-color: white;
  border-left: 3px solid #2c4a7c;
  margin-bottom: 1rem;
  border-radius: 2px;
}

.guide-list li strong {
  color: #2a2a2a;
}

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

.switcher button {
  padding: 0.75rem 1.5rem;
  border: 1px solid #e8e6e3;
  background-color: white;
  cursor: pointer;
  border-radius: 3px;
  font-size: 0.9rem;
  transition: all 200ms ease;
}

.switcher button.active {
  background-color: #2c4a7c;
  color: white;
  border-color: #2c4a7c;
}

.switcher button:hover {
  border-color: #2c4a7c;
}

.thank-you-box {
  text-align: center;
  padding: 3rem 1rem;
}

.thank-you-box h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2a2a2a;
}

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

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  .logo {
    font-size: 1.1rem;
  }

  .toggle-menu {
    order: 3;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  nav {
    order: 4;
  }

  .hero {
    padding: 2rem 0;
    grid-template-columns: 1fr;
  }

  .hero-left h1 {
    font-size: 1.75rem;
  }

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

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

  .info-card {
    flex-direction: column;
  }

  .info-card img {
    width: 100%;
    height: 150px;
  }

  .rail {
    grid-auto-columns: minmax(150px, 1fr);
    gap: 1rem;
  }

  .rail-card img {
    height: 120px;
  }

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

  .matrix-table th,
  .matrix-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }

  .split-panel.reverse {
    grid-template-columns: 1fr;
  }

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

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

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    flex-wrap: wrap;
  }

  .cookie-buttons button {
    flex: 1;
  }

  .switcher {
    gap: 0.5rem;
  }

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

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

  .product-card-content h3 {
    font-size: 0.9rem;
  }

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

  .rail-card img {
    height: 100px;
  }

  .product-card img {
    height: 180px;
  }
}
