:root {
  --primary-color: #1a3a5c;
  --secondary-color: #d4a84b;
  --accent-color: #2e5a8b;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-gray: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.logo span {
  color: var(--secondary-color);
}

nav ul {
  display: flex;
  gap: 30px;
}

nav a {
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

.hero {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
  background: linear-gradient(rgba(26, 58, 92, 0.85), rgba(26, 58, 92, 0.85)),
    url('../assets/pexels-casparroofing-5264825.jpg') center/cover no-repeat;
  color: var(--text-light);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

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

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--text-dark);
}

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

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

.btn-secondary:hover {
  background: var(--text-light);
  color: var(--primary-color);
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-gray);
}

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

.feature-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  fill: var(--secondary-color);
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-gray);
  margin-bottom: 0;
}

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

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  color: var(--primary-color);
}

.about-text p {
  color: var(--text-gray);
}

.about-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.lead-form-section {
  background: var(--primary-color);
  color: var(--text-light);
}

.lead-form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lead-form-text h2 {
  margin-bottom: 1.5rem;
}

.lead-form-text p {
  opacity: 0.9;
  margin-bottom: 0;
}

.lead-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

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

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

.consent-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  flex-shrink: 0;
}

.consent-group label {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 0;
}

.consent-group a {
  color: var(--primary-color);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  background: var(--secondary-color);
  color: var(--text-dark);
}

.btn-submit:hover {
  background: #c49a3d;
}

footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 60px 0 30px;
}

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

.footer-col h4 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-light);
  opacity: 0.8;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-col p {
  opacity: 0.8;
  margin-bottom: 8px;
}

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

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.disclaimer {
  font-size: 0.85rem;
  opacity: 0.6;
  max-width: 800px;
  margin: 0 auto 15px;
}

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

.service-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card-content {
  padding: 25px;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-gray);
  margin-bottom: 0;
}

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

.value-card {
  text-align: center;
  padding: 30px;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.value-card h3 {
  color: var(--primary-color);
}

.value-card p {
  color: var(--text-gray);
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-info strong {
  color: var(--primary-color);
}

.contact-form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 12px;
}

.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
}

.map-container {
  margin-top: 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding-top: calc(var(--header-height) + 40px);
}

.legal-content h1 {
  color: var(--primary-color);
  margin-bottom: 30px;
}

.legal-content h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.legal-content p,
.legal-content ul {
  color: var(--text-gray);
  margin-bottom: 15px;
}

.legal-content ul {
  padding-left: 30px;
  list-style: disc;
}

.legal-content ul li {
  margin-bottom: 8px;
}

.page-banner {
  background: linear-gradient(rgba(26, 58, 92, 0.85), rgba(26, 58, 92, 0.85)),
    url('../assets/pexels-introspectivedsgn-9367109.jpg') center/cover no-repeat;
  color: var(--text-light);
  padding: calc(var(--header-height) + 80px) 0 80px;
  text-align: center;
}

.page-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-banner p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: var(--text-light);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
  display: none;
}

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

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.cookie-text a {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

.cookie-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.btn-accept {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.btn-accept:hover {
  background: #c49a3d;
}

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

.btn-reject:hover {
  background: var(--text-light);
  color: var(--text-dark);
}

.btn-settings {
  background: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.btn-settings:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.active {
  display: flex;
}

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

.cookie-modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.cookie-modal-header h3 {
  margin-bottom: 0;
  color: var(--primary-color);
}

.cookie-modal-body {
  padding: 20px;
}

.cookie-category {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-category-header h4 {
  margin-bottom: 0;
  color: var(--primary-color);
}

.cookie-category p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 26px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--secondary-color);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

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

.sitemap-section h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.sitemap-section ul li {
  margin-bottom: 10px;
  padding-left: 15px;
  position: relative;
}

.sitemap-section ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

.business-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.model-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary-color);
}

.model-card h3 {
  color: var(--primary-color);
}

.model-card p {
  color: var(--text-gray);
  margin-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat-card {
  text-align: center;
  padding: 30px;
  background: var(--bg-light);
  border-radius: 12px;
}

.stat-card .number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.stat-card p {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0;
}

.accessibility-section {
  margin-bottom: 40px;
}

.accessibility-section h2 {
  color: var(--primary-color);
  margin-top: 30px;
}

.accessibility-section ul {
  padding-left: 30px;
  list-style: disc;
}

.accessibility-section ul li {
  margin-bottom: 10px;
  color: var(--text-gray);
}

.business-hours {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.business-hours h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.business-hours p {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: none;
}

.success-message.show {
  display: block;
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .about-content,
  .lead-form-container,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 20px;
  }

  nav.active ul {
    flex-direction: column;
    gap: 15px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
  }

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

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

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .section {
    padding: 60px 0;
  }

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

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

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

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
  }

  .lead-form {
    padding: 25px;
  }

  .contact-form {
    padding: 25px;
  }
}
