/* CSS Variables */

@font-face {
  font-family: "Cygre";
  src: url("fonts/Cygre-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Cygre";
  src: url("fonts/Cygre-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Cygre";
  src: url("fonts/Cygre-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Cygre";
  src: url("fonts/Cygre-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

:root {
  --primary-color: #e00fa2;
  --primary-dark: #b00c82;
  --secondary-color: #8b5cf6;
  --accent-color: #ffd700;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-light: #999999;
  --background-primary: #ffffff;
  --background-secondary: #fff5fc;
  --background-dark: #1a0a14;
  --border-color: #ffd1ed;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family-primary: "Cygre", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  --font-family-heading: "Cygre", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;

  --bs-body-font-family: "Cygre", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif !important;
}

/* Переопределение цветов Bootstrap */
:root {
  --bs-primary: #e00fa2 !important;
  --bs-primary-rgb: 224, 15, 162 !important;
  --bs-secondary: #8b5cf6 !important;
  --bs-secondary-rgb: 139, 92, 246 !important;
  --bs-success: #10b981 !important;
  --bs-info: #06b6d4 !important;
  --bs-warning: #ffd700 !important;
  --bs-danger: #ef4444 !important;
  --bs-light: #f8f9fa !important;
  --bs-dark: #1a0a14 !important;
}

.btn-primary {
  background-color: #e00fa2 !important;
  border-color: #e00fa2 !important;
}

.btn-primary:hover {
  background-color: #b00c82 !important;
  border-color: #b00c82 !important;
}

.btn-secondary {
  background-color: #8b5cf6 !important;
  border-color: #8b5cf6 !important;
}

.btn-secondary:hover {
  background-color: #7c3aed !important;
  border-color: #7c3aed !important;
}

.accordion-button:not(.collapsed) {
  background-color: #e00fa2 !important;
  color: white !important;
}

.accordion-button:focus {
  border-color: #e00fa2 !important;
  box-shadow: 0 0 0 0.25rem rgba(224, 15, 162, 0.25) !important;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-primary);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section Styles */
section {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-primary);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 70px;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  line-height: 1;
}

.logo i {
  font-size: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-image: url("images/main.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  backdrop-filter: brightness(50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  font-weight: 400;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  color: #fff;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  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);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Services Section */
.services {
  background: var(--background-secondary);
}

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

.service-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border-color);
}

/* Simplified service card styling */

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.service-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Comparison Table */
.comparison {
  background: white;
}

.table-container {
  overflow-x: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--background-secondary);
  font-weight: 600;
  color: var(--text-primary);
  position: sticky;
  top: 0;
  border-bottom: 2px solid var(--primary-color);
}

.comparison-table tr:hover {
  background: var(--background-secondary);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table td:not(:first-child) {
  text-align: center;
}

/* Video Section */
.video-section {
  background: var(--background-secondary);
}

.video-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

.video-container iframe {
  width: 100%;
  height: 500px;
  border: none;
}

/* FAQ Section */
.faq {
  background: white;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: var(--background-secondary);
  border: none;
  font-weight: 600;
  color: var(--text-primary);
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: white;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.accordion-body {
  background: white;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Section */
.contact {
  background: var(--background-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.25rem;
  width: 20px;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

/* Simplified contact form styling */

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 400;
  color: var(--text-primary);
}

.checkbox-label {
  font-weight: normal !important;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background: white;
  position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1);
  transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--primary-color);
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  position: relative;
  overflow: hidden;
}

.radio-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.radio-label:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.15);
}

.radio-label:hover::before {
  opacity: 0.05;
}

.radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--primary-color);
  position: relative;
  z-index: 1;
}

.radio-label span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.radio-label:has(input[type="radio"]:checked) {
  border-color: var(--primary-color);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1),
    rgba(29, 78, 216, 0.05)
  );
  color: var(--primary-color);
  font-weight: 400;
  box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.2);
}

.radio-label:has(input[type="radio"]:checked)::before {
  opacity: 0.1;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: normal;
  line-height: 1.5;
}

.checkbox-label span {
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  margin-top: 0.25rem;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.link {
  color: var(--primary-color);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--background-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-light);
  margin-bottom: 0;
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 1rem;
  color: white;
  font-size: 1rem;
  font-weight: 600;
}

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

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

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

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

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

/* Animations removed */

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .social-links {
    justify-content: center;
  }

  .radio-group {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .radio-label {
    padding: 0.625rem 0.875rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  section {
    padding: 2rem 0;
  }

  .hero-content {
    padding: 0 0.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
  }

  .btn-large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .radio-group {
    gap: 0.375rem;
  }

  .radio-label {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .radio-label input[type="radio"] {
    width: 14px;
    height: 14px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .hero-buttons,
  .contact-form {
    display: none;
  }

  .hero {
    background: none;
    color: black;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}
