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

:root {
  --primary-color: #0077b6;
  --secondary-color: #00a8cc;
  --accent-color: #48cae4;
  --text-dark: #1a1a2e;
  --text-light: #4a4a68;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --success-color: #28a745;
  --border-radius: 8px;
  --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;
}

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);
}

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

header {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

nav a:hover,
nav a.active {
  color: var(--primary-color);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-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: 28px;
  cursor: pointer;
  color: var(--primary-color);
}

.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/pexels-tima-miroshnichenko-7607790.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

.btn-primary {
  background: var(--bg-white);
  color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

.btn-accent {
  background: var(--primary-color);
  color: white;
}

.btn-accent:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

section {
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  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: 200px;
  object-fit: cover;
}

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

.service-card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.lead-form {
  background: var(--bg-light);
  padding: 60px 20px;
}

.lead-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.lead-form-container h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.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 {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

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

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

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.4;
}

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

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

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--secondary-color);
}

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

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

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

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

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

.value-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

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

.contact-item-text h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.contact-item-text p,
.contact-item-text a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-item-text a:hover {
  color: var(--primary-color);
}

.business-hours {
  margin-top: 30px;
}

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

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  color: var(--text-light);
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.services-detailed {
  background: var(--bg-white);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #e0e0e0;
}

.service-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.service-detail-content h3 {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-bottom: 15px;
}

.service-detail-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.service-detail-content ul {
  list-style: none;
  margin-top: 20px;
}

.service-detail-content ul li {
  padding: 8px 0;
  color: var(--text-light);
  position: pl;
  padding-left: 25px;
}

.service-detail-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

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

.business-model-content {
  max-width: 900px;
  margin: 0 auto;
}

.business-model-content h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

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

.business-model-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.business-model-content ul {
  list-style: none;
  margin: 15px 0 30px 20px;
}

.business-model-content ul li {
  padding: 8px 0;
  color: var(--text-light);
  position: relative;
  padding-left: 25px;
}

.business-model-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.legal-section {
  background: var(--bg-white);
  padding: 60px 20px;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
}

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

.legal-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin: 15px 0 30px 30px;
  color: var(--text-light);
}

.legal-content ul li,
.legal-content ol li {
  padding: 8px 0;
  line-height: 1.6;
}

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

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

.last-updated {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

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

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

.footer-section h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.footer-section ul {
  list-style: none;
}

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

.footer-disclaimer {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

.footer-disclaimer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.footer-copyright {
  text-align: center;
  padding-top: 20px;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.accessibility-content {
  background: var(--bg-white);
}

.accessibility-content h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

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

.accessibility-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.accessibility-content ul {
  margin: 15px 0 30px 30px;
  color: var(--text-light);
}

.accessibility-content ul li {
  padding: 8px 0;
}

@media (max-width: 992px) {
  .about-content,
  .contact-grid,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

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

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

  nav {
    display: none;
    width: 100%;
    order: 3;
    padding-top: 15px;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav ul li {
    border-bottom: 1px solid #e0e0e0;
  }

  nav a {
    display: block;
    padding: 12px 0;
  }

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

  .hero {
    padding: 60px 20px;
  }

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

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

  section {
    padding: 50px 20px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .lead-form-container {
    padding: 25px;
  }

  .page-header {
    padding: 50px 20px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .cookie-banner {
    padding: 15px;
  }

  .cookie-banner-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .cookie-banner-message {
    font-size: 0.9rem;
  }

  .cookie-banner-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cookie-banner-btn {
    width: 100%;
    min-width: auto;
  }

  .cookie-customize-panel {
    padding: 15px;
  }

  .cookie-type {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cookie-type-header {
    width: 100%;
  }

  .cookie-toggle-wrapper {
    width: 100%;
    justify-content: space-between;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

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

.cookie-banner-message {
  flex: 1;
  min-width: 280px;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-banner-message a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookie-banner-message a:hover {
  color: var(--secondary-color);
}

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-banner-btn {
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  min-width: 120px;
  text-align: center;
}

.cookie-banner-btn-accept {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.cookie-banner-btn-accept:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.cookie-banner-btn-reject {
  background: transparent;
  color: var(--text-dark);
  border-color: #ccc;
}

.cookie-banner-btn-reject:hover {
  background: var(--bg-light);
  border-color: var(--text-light);
}

.cookie-banner-btn-customize {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.cookie-banner-btn-customize:hover {
  background: var(--primary-color);
  color: white;
}

.cookie-customize-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  margin-top: 0;
}

.cookie-customize-panel.show {
  max-height: 500px;
  padding: 20px;
  margin-top: 20px;
}

.cookie-customize-title {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.cookie-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  margin-bottom: 10px;
}

.cookie-type:last-child {
  margin-bottom: 0;
}

.cookie-type-header {
  flex: 1;
}

.cookie-type-name {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cookie-type-desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

.cookie-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
  appearance: none;
  background: #ccc;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-toggle:checked {
  background: var(--primary-color);
}

.cookie-toggle:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.cookie-toggle:checked:disabled {
  background: var(--success-color);
}

.cookie-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.cookie-toggle:checked::before {
  transform: translateX(24px);
}

.cookie-toggle-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.cookie-save-btn {
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-save-btn:hover {
  background: var(--secondary-color);
}
