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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #fafaf9;
  color: #3f3f3f;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #3f3f3f;
}

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

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a47a2;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.logo:hover {
  color: #2c5aa0;
  transform: scale(1.02);
}

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

nav a {
  text-decoration: none;
  color: #3f3f3f;
  font-size: 0.95rem;
  transition: color 0.3s, transform 0.3s;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
}

nav a:hover {
  color: #1a47a2;
  border-bottom-color: #1a47a2;
}

.cta-button {
  background-color: transparent;
  color: #1a47a2;
  border: 1px solid #1a47a2;
  padding: 0.6rem 1.5rem;
  border-radius: 0.25rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #f5f5f5;
  transform: scale(1.02);
}

.cta-button-primary {
  background-color: #1a47a2;
  color: white;
  border-color: #1a47a2;
}

.cta-button-primary:hover {
  background-color: #153686;
  color: white;
}

.hero {
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 500px;
  margin-left: 5%;
}

.hero-content h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

section {
  padding: 4rem 0;
}

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

.card {
  border: 1px solid #d4d4d0;
  padding: 1.5rem;
  background-color: white;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: 1rem;
  color: #1a47a2;
}

.card-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field-value {
  font-size: 1rem;
  color: #1a1a1a;
  padding: 0.5rem 0;
}

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

.product-card {
  border: 1px solid #d4d4d0;
  padding: 1.5rem;
  background-color: white;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 0.25rem;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

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

.product-price {
  font-size: 1.4rem;
  color: #1a47a2;
  font-weight: 700;
  margin-bottom: 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.chip {
  background-color: #f5f5f5;
  border: 1px solid #d4d4d0;
  padding: 0.4rem 0.8rem;
  border-radius: 0.2rem;
  font-size: 0.8rem;
  color: #3f3f3f;
  font-weight: 500;
}

.fields-section {
  background-color: white;
  border: 1px solid #d4d4d0;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0.25rem;
}

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

.field-block {
  padding: 1rem;
  background-color: #fafaf9;
  border: 1px solid #e5e5e5;
  border-radius: 0.25rem;
}

.field-block-title {
  font-weight: 600;
  color: #1a47a2;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field-block-value {
  color: #3f3f3f;
  font-size: 1rem;
}

.steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
}

.steps-list li {
  counter-increment: step-counter;
  margin-bottom: 1.5rem;
  padding-left: 3rem;
  position: relative;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #1a47a2;
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

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

.faq-item {
  border-left: 3px solid #1a47a2;
  padding-left: 1.5rem;
  padding-top: 0.5rem;
}

.faq-question {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.filter-panel {
  background-color: white;
  border: 1px solid #d4d4d0;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 0.25rem;
}

.filter-panel h3 {
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-checkbox input {
  cursor: pointer;
}

.filter-checkbox label {
  cursor: pointer;
  font-size: 0.95rem;
  color: #3f3f3f;
}

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

.glossary-item {
  border: 1px solid #d4d4d0;
  padding: 1.5rem;
  background-color: white;
  border-radius: 0.25rem;
}

.glossary-term {
  font-weight: 700;
  color: #1a47a2;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.glossary-definition {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

footer {
  background-color: #f5f5f5;
  border-top: 1px solid #d4d4d0;
  padding: 3rem 0;
  margin-top: 4rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.footer-section p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #1a47a2;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-section a:hover {
  text-decoration: underline;
}

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

.legal-content {
  max-width: 900px;
  margin: 2rem auto;
  line-height: 1.8;
}

.legal-content h2 {
  margin-top: 2rem;
}

.legal-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.95rem;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a47a2;
  box-shadow: 0 0 0 2px rgba(26, 71, 162, 0.1);
}

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

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

.checkbox-group input {
  width: auto;
  margin-top: 0.3rem;
  cursor: pointer;
}

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

.submit-button {
  background-color: #1a47a2;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: #153686;
  transform: scale(1.02);
}

.thank-you-content {
  text-align: center;
  padding: 3rem 0;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-content h1 {
  color: #1a47a2;
  margin-bottom: 1rem;
}

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

.content-with-image {
  display: flex;
  gap: 3rem;
  align-items: start;
  margin: 2rem 0;
}

.content-with-image.reverse {
  flex-direction: row-reverse;
}

.content-text {
  flex: 1;
}

.content-image {
  flex: 0 0 300px;
}

.content-image img {
  width: 100%;
  border-radius: 0.25rem;
  display: block;
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    height: 300px;
  }

  .hero-content {
    margin-left: 2%;
    max-width: 90%;
  }

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

  .hero-content p {
    font-size: 1rem;
  }

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

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .product-image {
    height: 200px;
  }

  .fields-row {
    grid-template-columns: 1fr;
  }

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

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

  .content-with-image,
  .content-with-image.reverse {
    flex-direction: column;
  }

  .content-image {
    flex: 0 0 100%;
  }

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

  nav {
    flex-direction: column;
    text-align: center;
    width: 100%;
    gap: 0.5rem;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1a1a1a;
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner p {
  color: white;
  margin: 0;
  font-size: 0.95rem;
  flex: 1;
}

.cookie-banner button {
  background-color: #1a47a2;
  color: white;
  border: 1px solid #1a47a2;
  padding: 0.6rem 1.5rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-banner button:hover {
  background-color: #153686;
  transform: scale(1.02);
}

.cookie-banner.hidden {
  display: none;
}
