:root {
  --primary-color: #8ba5b8;
  --primary-dark: #6b8599;
  --secondary-color: #d4b896;
  --text-dark: #2c3e50;
  --text-light: #5a6c7d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e5e9;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-light);
}

#main-header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-light);
  padding: 0.5rem 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-brand:hover {
  color: var(--primary-dark);
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-cta {
  padding: 0.5rem 1.25rem;
}

.hero-section {
  background: linear-gradient(135deg, #f0f4f7 0%, #e8edf2 100%);
  padding: 120px 0 80px;
  margin-top: 56px;
}

.hero-section h1 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.content-section {
  padding: 80px 0;
}

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

.section-intro {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: 12px;
}

.shadow-sm {
  box-shadow: var(--shadow-light);
}

.transition-box {
  background-color: var(--bg-white);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
}

.transition-box h4 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.info-box {
  background-color: #fff9f0;
  border: 2px solid var(--secondary-color);
  padding: 1.5rem;
  border-radius: 8px;
}

.info-box h5 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.faq-item {
  background-color: var(--bg-white);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
}

.faq-item h5 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.contact-info {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
}

.contact-form-box {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(139, 165, 184, 0.25);
}

.closing-statement {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--secondary-color);
}

.site-footer {
  background-color: var(--text-dark);
  color: var(--bg-light);
  padding: 40px 0 20px;
  margin-top: 80px;
}

.site-footer h5 {
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

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

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

.copyright {
  color: var(--text-light);
  margin-top: 1rem;
  margin-bottom: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  border-top: 2px solid var(--border-color);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin-bottom: 0;
}

.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.cookie-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-content {
  background-color: var(--bg-white);
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-header {
  padding: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h4 {
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
}

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-category {
  margin-bottom: 1.5rem;
}

.cookie-category label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.cookie-category input[type="checkbox"] {
  margin-right: 0.75rem;
  width: 20px;
  height: 20px;
}

.cookie-modal-footer {
  padding: 1.5rem;
  border-top: 2px solid var(--border-color);
  text-align: right;
}

.thank-you-section {
  padding: 120px 0 80px;
  margin-top: 56px;
  background-color: var(--bg-light);
}

.thank-you-box {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
}

.info-reminder {
  background-color: #fff9f0;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
}

.contact-reference {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
}

.policy-section {
  padding: 120px 0 80px;
  margin-top: 56px;
}

.policy-content {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
}

.policy-content h3 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content h3:first-child {
  margin-top: 0;
}

.policy-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-content ul {
  margin-bottom: 1rem;
}

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

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

@media (max-width: 991px) {
  .hero-section {
    padding: 100px 0 60px;
  }

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

  .content-section {
    padding: 60px 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

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

  .content-section {
    padding: 50px 0;
  }

  .cookie-banner .col-md-8,
  .cookie-banner .col-md-4 {
    text-align: center;
  }

  .cookie-banner .btn {
    margin: 0.25rem;
  }
}
