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

:root {
    --primary-color: #0A2E5F;
    --secondary-color: #1794E0;
    --accent-color: #C44536;
    --text-color: #333333;
    --text-secondary: #757575;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --container-max-width: 1200px;
    --header-height: 80px;

    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--bg-white);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary-color);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: #a63429;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 69, 54, 0.3);
}

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

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: var(--header-height);
}

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

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

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    filter: blur(2px);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(10, 46, 95, 0.8), rgba(10, 46, 95, 0.8)),
                url('/picture/section_hero/fon_hero.jpg') center/cover;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.trusted {
    padding: 4rem 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.trusted-slider {
    margin-top: 2rem;
}

.trusted-track {
    display: flex;
    animation: scroll 90s linear infinite;
    gap: 2rem;
    width: max-content;
}

.trusted-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.35rem 2.1rem;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    filter: grayscale(100%);
    transition: var(--transition);
    min-width: 300px;
}

.trusted-item:hover {
    filter: grayscale(0%);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.trusted-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition);
}

.trusted-icon img {
    width: 52px;
    height: 52px;
    display: block;
    filter: invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(75%);
    transition: var(--transition);
}

.trusted-item:hover .trusted-icon img {
    filter: invert(11%) sepia(52%) saturate(1200%) hue-rotate(196deg) brightness(85%) contrast(105%);
}

.trusted-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trusted-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.3;
    transition: var(--transition);
}

.trusted-desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.3;
    transition: var(--transition);
}

.trusted-item:hover .trusted-title {
    color: var(--primary-color);
}

.trusted-item:hover .trusted-desc {
    color: var(--secondary-color);
}

@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.advantages {
    padding: 5rem 0;
}

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

.advantage-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.advantage-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.advantage-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.services {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.services-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-item.active {
    border: 2px solid var(--secondary-color);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.service-header:hover {
    background-color: var(--bg-light);
}

.service-title {
    color: var(--primary-color);
    margin: 0;
}

.service-icon {
    color: var(--secondary-color);
    transition: var(--transition);
}

.service-item.active .service-icon {
    transform: rotate(180deg);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.service-item.active .service-content {
    max-height: 200px;
}

.service-content p {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.projects {
    padding: 5rem 0;
}

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

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(0.85);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(10, 46, 95, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-title {
    color: var(--bg-white);
    margin-bottom: 0.5rem;
}

.project-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.licenses {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

.license-item {
    cursor: pointer;
    transition: var(--transition);
}

.license-item:hover {
    transform: translateY(-4px);
}

.license-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: #f4f7fb;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/picture/section_about/bg_about.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.40;
    filter: blur(3px);
    z-index: 0;
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about .container::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 50px rgba(10, 46, 95, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -1;
}

.about-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.about-heading {
    margin-bottom: 1.5rem;
}

.about-subtitle {
    font-size: 1.35rem;
    color: #2c5282;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: #4a5568;
    line-height: 1.75;
    font-size: 1rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.about-badges {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(23, 148, 224, 0.15);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    box-shadow: 0 8px 32px rgba(10, 46, 95, 0.08);
}

.about-badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.4rem 0;
}

.about-badge-icon {
    font-size: 1.35rem;
    color: #3182ce;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.about-badge-text {
    font-size: 0.95rem;
    color: #2d3748;
    font-weight: 500;
    line-height: 1.4;
}

.about-divider {
    height: 1px;
    background: linear-gradient(to right,
        transparent,
        rgba(23, 148, 224, 0.20) 20%,
        rgba(23, 148, 224, 0.20) 80%,
        transparent
    );
    margin: 0.75rem 0;
}

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

.about-service-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(23, 148, 224, 0.12);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.about-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(10, 46, 95, 0.12);
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(23, 148, 224, 0.25);
}

.about-service-icon {
    font-size: 2.5rem;
    color: #3182ce;
    margin-bottom: 1rem;
}

.about-badge-svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    filter: invert(40%) sepia(80%) saturate(600%) hue-rotate(185deg) brightness(95%) contrast(95%);
}

.about-service-svg {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto 1rem;
    filter: invert(40%) sepia(80%) saturate(600%) hue-rotate(185deg) brightness(95%) contrast(95%);
}

.about-service-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.about-service-text {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.5;
}

.contact-form {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.form {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition);
}

.form-input[type="file"] {
    padding: 8px 15px;
    background-color: var(--bg-light);
    cursor: pointer;
}

.form-input[type="file"]::-webkit-file-upload-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
}

.form-input[type="file"]::-webkit-file-upload-button:hover {
    background-color: #0f7bc7;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(23, 148, 224, 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-bottom: 1rem;
}

.form-privacy {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

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

/* ============================================
   Превью прикреплённых файлов
   ============================================ */
.file-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.file-preview-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    padding: 8px 6px 6px;
    background-color: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: var(--transition);
}

.file-preview-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.file-preview-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    background-color: #fff;
}

.file-preview-doc {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
}

.file-preview-doc i {
    font-size: 2rem;
    color: var(--text-secondary);
}

.file-preview-doc .fa-file-pdf {
    color: #e53e3e;
}

.file-preview-doc .fa-file-word {
    color: #2b6cb0;
}

.file-preview-name {
    display: block;
    width: 100%;
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.file-preview-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background-color: var(--accent-color);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.file-preview-remove:hover {
    background-color: #a63429;
    transform: scale(1.15);
}

.file-preview-count {
    width: 100%;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
}

@media (max-width: 480px) {
    .file-preview-item {
        width: 85px;
        padding: 6px 4px 4px;
    }

    .file-preview-thumb,
    .file-preview-doc {
        width: 68px;
        height: 68px;
    }

    .file-preview-doc i {
        font-size: 1.6rem;
    }

    .file-preview-name {
        font-size: 10px;
    }
}

.footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
}

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

.footer-title {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
}

.footer-contact i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-contact a {
    color: var(--bg-white);
    text-decoration: none;
    transition: var(--transition);
}

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

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

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

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer-schedule p {
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.8);
}

.emergency {
    color: var(--secondary-color) !important;
    font-weight: 600;
    margin-top: 1rem !important;
}

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

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal[style*="display: block"] {
    display: flex !important;
}

.modal-content {
    position: relative;
    margin: 0;
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    animation: slideIn 0.3s ease;
}

.modal-image {
    display: block;
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.55);
    color: var(--bg-white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-arrow--prev {
    left: -20px;
}

.modal-arrow--next {
    right: -20px;
}

.modal-arrow:hover {
    background: rgba(0, 0, 0, 0.75);
    color: var(--secondary-color);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.75);
    color: var(--secondary-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {

    .nav-list {
        gap: 1rem;
    }

    .nav-link {
        font-size: 14px;
    }

    .logo-text {
        font-size: 14px;
    }

    .logo-img {
        height: 44px;
    }

    #get-calculation {
        padding: 8px 16px;
        font-size: 13px;
    }

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

    .hero-text {
        font-size: 1.05rem;
    }

    .trusted-item {
        min-width: 260px;
        padding: 1.1rem 1.6rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantage-card {
        padding: 1.5rem;
    }

    .service-header {
        padding: 1.2rem 1.5rem;
    }

    .service-content p {
        padding: 0 1.5rem 1.2rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-sidebar {
        position: static;
    }

    .about-services {
        grid-template-columns: repeat(3, 1fr);
    }

    .form {
        padding: 2.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .advantages,
    .services,
    .projects,
    .licenses,
    .about,
    .contact-form {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
        font-size: 16px;
    }

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

    #get-calculation {
        padding: 10px 20px;
        font-size: 14px;
        margin-right: 10px;
        white-space: nowrap;
    }

    .logo-text {
        display: none;
    }

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

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

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

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

    .about-content {
        grid-template-columns: 1fr;
    }

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

    .form {
        padding: 2rem 1.5rem;
    }

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

    .footer-contact {
        justify-content: center;
    }

    .footer-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {

    .container {
        padding: 0 15px;
    }

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

    .section-title {
        margin-bottom: 2rem;
    }

    .advantages,
    .services,
    .projects,
    .licenses,
    .about,
    .contact-form {
        padding: 3rem 0;
    }

    .trusted {
        padding: 2rem 0;
    }

    .advantage-card,
    .form {
        padding: 1.5rem;
    }

    .service-header {
        padding: 1.2rem 1.5rem;
    }

    .service-content p {
        padding: 0 1.5rem 1.2rem;
    }

    .modal {
        padding: 14px;
    }

    .modal-content,
    .modal-image {
        max-width: 96vw;
        max-height: 86vh;
    }

    .modal-close {
        top: -10px;
        right: -10px;
        width: 38px;
        height: 38px;
        font-size: 26px;
    }

    .about-service-card {
        padding: 1.5rem 1rem;
    }

    .footer-contact span,
    .footer-contact a {
        font-size: 14px;
    }

    #get-calculation {
        padding: 10px 16px;
        font-size: 14px;
        margin-right: 8px;
    }
}

@media (max-width: 375px) {

    .header-content {
        padding: 0 10px;
    }

    .logo-img {
        height: 40px;
    }

    .mobile-menu-btn span {
        width: 22px;
    }

    #get-calculation {
        padding: 10px 15px;
        font-size: 14px;
        margin-right: 6px;
        border-radius: 4px;
    }

    .hero-title {
        font-size: 1.55rem;
    }

    .hero-text {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-header {
        padding: 1rem 1.2rem;
    }

    .service-content p {
        padding: 0 1.2rem 1rem;
        font-size: 0.9rem;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-contact {
        gap: 8px;
    }

    .footer-contact span {
        font-size: 13px;
        line-height: 1.4;
    }

    .footer-contact a {
        font-size: 13px;
    }

    .footer-schedule p {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .footer-link {
        font-size: 13px;
    }
}

@media (max-width: 320px) {

    .container {
        padding: 0 8px;
    }

    .header-content {
        padding: 0 6px;
        gap: 4px;
    }

    .logo-img {
        height: 34px;
    }

    #get-calculation {
        padding: 8px 12px;
        font-size: 12px;
        margin-right: 4px;
        border-radius: 3px;
        letter-spacing: -0.3px;
    }

    .mobile-menu-btn {
        padding: 3px;
    }

    .mobile-menu-btn span {
        width: 20px;
        height: 2px;
    }

    .hero-title {
        font-size: 1.35rem;
    }

    .hero-text {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons .btn {
        max-width: 260px;
        padding: 10px 20px;
        font-size: 14px;
    }

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

    .advantages,
    .services,
    .projects,
    .licenses,
    .about,
    .contact-form {
        padding: 2rem 0;
    }

    .advantage-card {
        padding: 1.2rem;
    }

    .advantage-icon {
        font-size: 2.2rem;
    }

    .advantage-title {
        font-size: 1.05rem;
    }

    .advantage-text {
        font-size: 0.85rem;
    }

    .about-subtitle {
        font-size: 1.1rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .about-badge-text {
        font-size: 0.85rem;
    }

    .about-service-title {
        font-size: 1rem;
    }

    .about-service-text {
        font-size: 0.8rem;
    }

    .project-image {
        height: 200px;
    }

    .form {
        padding: 1.2rem;
    }

    .form-input,
    .form-textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .form-submit {
        font-size: 15px;
        padding: 12px;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-contact {
        gap: 6px;
    }

    .footer-contact i {
        width: 16px;
        font-size: 12px;
    }

    .footer-contact span {
        font-size: 12px;
        line-height: 1.4;
    }

    .footer-contact a {
        font-size: 12px;
    }

    .footer-schedule p {
        font-size: 12px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    .footer-link {
        font-size: 12px;
    }
}

.privacy-container {
    min-height: 100vh;
    padding-top: var(--header-height);
    background-color: var(--bg-white);
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background-color: var(--bg-light);
    border-radius: 15px;
}

.privacy-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.privacy-main {
    line-height: 1.7;
}

.privacy-section {
    background-color: var(--bg-white);
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.privacy-section:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.privacy-section h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.privacy-section p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.privacy-section a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.privacy-section a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.privacy-contact-info {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.privacy-contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.privacy-contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

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

.privacy-back-button {
    text-align: center;
    margin: 3rem 0 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.privacy-back-button .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    font-size: 16px;
}

.privacy-back-button .btn i {
    font-size: 14px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.logo a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 1rem 15px;
    }

    .privacy-header {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }

    .privacy-header h1 {
        font-size: 1.5rem;
    }

    .privacy-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .privacy-section h2 {
        font-size: 1.2rem;
    }

    .privacy-section ul {
        padding-left: 1.5rem;
    }

    .privacy-back-button {
        margin: 2rem 0 1rem;
    }

    .privacy-back-button .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .privacy-content {
        padding: 1rem 10px;
    }

    .privacy-header {
        padding: 1rem;
    }

    .privacy-section {
        padding: 1rem;
        border-left-width: 3px;
    }

    .privacy-contact-info {
        padding: 1rem;
    }

    .privacy-contact-info h3 {
        font-size: 1rem;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.response-modal-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 40px 36px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.75) translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.1);
}

.modal-overlay.active .response-modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 30px;
    color: #bbb;
    cursor: pointer;
    transition: color 0.25s, transform 0.25s;
    line-height: 1;
    padding: 4px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close-btn:hover {
    color: #1a1a2e;
    background: #f0f0f0;
    transform: rotate(90deg);
}

.modal-overlay .modal-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay .modal-icon.success {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.25);
}

.modal-overlay .modal-icon.error {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.25);
}

.modal-overlay .modal-icon svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.checkmark-circle {
    stroke: #4CAF50;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: modalCircleDraw 0.6s ease-in-out 0.25s forwards;
}

.checkmark-path {
    stroke: #4CAF50;
    stroke-width: 3;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: modalCheckDraw 0.35s ease-in-out 0.7s forwards;
}

.error-circle {
    stroke: #e94560;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: modalCircleDraw 0.6s ease-in-out 0.25s forwards;
}

.error-path {
    stroke: #e94560;
    stroke-width: 3;
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: modalCheckDraw 0.3s ease-in-out 0.65s forwards;
}

.error-path:nth-child(3) {
    animation-delay: 0.8s;
}

@keyframes modalCircleDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes modalCheckDraw {
    to { stroke-dashoffset: 0; }
}

.response-modal-box .modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.3;
}

.response-modal-box .modal-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #777;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-action-btn {
    background: #1a1a2e;
    color: #ffffff;
    border: none;
    padding: 14px 48px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.25s, box-shadow 0.3s;
    letter-spacing: 0.3px;
}

.modal-action-btn:hover {
    background: #e94560;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

.modal-action-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .response-modal-box {
        padding: 40px 24px 28px;
        border-radius: 16px;
    }

    .modal-overlay .modal-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 20px;
    }

    .modal-overlay .modal-icon svg {
        width: 36px;
        height: 36px;
    }

    .response-modal-box .modal-title {
        font-size: 19px;
    }

    .response-modal-box .modal-text {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .modal-action-btn {
        padding: 12px 40px;
        font-size: 14px;
        width: 100%;
    }
}