:root {
  --primary-red: #d32f2f;
  --dark-bg: #1a1a1a;
  --light-bg: #ffffff;
  --text-dark: #212121;
  --text-light: #f5f5f5;
  --border-color: #e0e0e0;
}

* {
  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;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
  font-size: 16px;
}

.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

header {
  background-color: var(--light-bg);
  border-bottom: 3px solid var(--primary-red);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-red);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--primary-red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--primary-red);
  border-bottom: 2px solid var(--primary-red);
}

footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 50px 0 20px;
  margin-top: 60px;
}

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

.footer-section h3 {
  color: var(--primary-red);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  line-height: 1.8;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

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

.hero {
  background: linear-gradient(135deg, var(--text-dark) 0%, #333 100%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--primary-red);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  font-size: 16px;
}

.btn:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--primary-red);
  color: white;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
}

.card {
  background: white;
  border-left: 4px solid var(--primary-red);
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.card p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 4px;
  border-left: 4px solid var(--primary-red);
}

.testimonial-text {
  font-size: 15px;
  margin-bottom: 15px;
  color: #555;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

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

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

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

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.info-item {
  display: flex;
  gap: 15px;
}

.info-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  font-weight: bold;
}

.info-content h4 {
  margin-bottom: 5px;
  color: var(--text-dark);
}

.info-content p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

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

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

.image-section {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 30px;
}

.alert-info {
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 30px;
}

.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
}

.consent-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
}

.consent-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.consent-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.consent-btn-accept {
  background-color: var(--primary-red);
  color: white;
}

.consent-btn-accept:hover {
  background-color: #b71c1c;
}

.consent-btn-reject {
  background-color: transparent;
  border: 1px solid var(--text-light);
  color: var(--text-light);
}

.consent-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .header-content {
    gap: 15px;
  }

  nav {
    gap: 15px;
    width: 100%;
  }

  nav a {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .grid-2,
  .grid-3 {
    gap: 20px;
  }

  .consent-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .consent-text {
    width: 100%;
  }

  .consent-buttons {
    width: 100%;
  }

  .consent-btn {
    flex: 1;
    min-width: 120px;
  }

  .footer-content {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  nav {
    gap: 10px;
  }

  nav a {
    font-size: 12px;
  }
}
