body {
    margin: 0;
    font-family: Lato, sans-serif;
    background: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    font-weight: 700;
    color: #111;
}

:root {
    --bg: #f5f5f5;
    --card: #fff;
    --accent: #1fc602;
    --muted: #9a9a9a;
    --text: #333;
    --border: #e0e0e0;
}

.container {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    box-sizing: border-box;
}

/* СЕКЦИИ */
.section {
    margin-top: 80px;
    margin-bottom: 100px;
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-weight: 700;
    color: #111;
    margin: 0;
}

.section-btn {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
}

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

/* О СЕТКА */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.about-image {
    position: relative;
    margin-top: 110px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-5px);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.about-details {
    background: var(--card);
    padding: 25px;
    border-radius: 16px;
    border-left: 5px solid var(--accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.about-details p {
    margin: 10px 0;
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
}

/* СТИЛИ ДЛЯ ОСНОВНОЙ ИНФОРМАЦИИ О КОМПАНИИ */
.company-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid var(--accent);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.info-value {
    color: var(--accent);
    font-weight: 500;
    font-size: 14px;
    text-align: right;
}

/* ПРОСТОЙ И НАДЕЖНЫЙ КОНТЕЙНЕР */
.advantages-container {
    margin-top: 40px;
}

.advantages-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.centered-row {
    justify-content: center;
}

/* КАРТОЧКИ */
.advantage-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    width: 320px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.advantage-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    border: 1px solid #e9ecef;
}

.advantage-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #111;
    font-weight: 700;
    line-height: 1.3;
}

.advantage-card p {
    color: var(--text);
    line-height: 1.5;
    font-size: 14px;
    margin: 0;
}

/* ИНФОРМАЦИОННЫЕ СЕКЦИИ */
.info-section {
    background: var(--card);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-top: 30px;
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

.info-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.info-section h3 {
    color: #111;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
}

.info-section h3:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.info-section h4 {
    color: #111;
    margin: 20px 0 10px 0;
    font-size: 18px;
}

.info-section ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.info-section li {
    margin-bottom: 12px;
    color: var(--text);
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.info-section li:before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
}

.license-1 {
    background: var(--card);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* ЛИЦЕНЗИЯ */
.license {
    background: linear-gradient(135deg, var(--accent), #148a01);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(31, 198, 2, 0.3);
}

.license h4 {
    margin: 0 0 15px 0;
    color: white;
    font-size: 20px;
}

.license p {
    margin: 10px 0;
    line-height: 1.5;
}

.license a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.license a:hover {
    color: #e8f5e8;
}

/* ВРЕМЕННАЯ ШКАЛА */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), #148a01);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding: 0 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    border: 1px solid var(--border);
}

.timeline-content:after {
    content: '';
    position: absolute;
    top: 25px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
    border: 1px solid var(--border);
}

.timeline-item:nth-child(odd) .timeline-content:after {
    right: -10px;
    border-left: none;
    border-bottom: none;
}

.timeline-item:nth-child(even) .timeline-content:after {
    left: -10px;
    border-right: none;
    border-top: none;
}

.timeline-year {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 14px;
}

/* СТИЛИ ДЛЯ СЛАЙДЕРА */
.slider-section {
    margin: 60px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 30px;
    background: transparent;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.slide-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* КНОПКИ СЛАЙДЕРА */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border: 2px solid var(--accent);
}

.slider-btn:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(31, 198, 2, 0.4);
}

.slider-btn:hover svg {
    fill: white;
}

.slider-btn.prev {
    left: -10px;
}

.slider-btn.next {
    right: -10px;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
    transition: fill 0.3s ease;
}

/* ТОЧКИ СЛАЙДЕРА */
.slider-dots {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.3);
    border-color: var(--accent);
}

.slider-dot:hover {
    background: var(--accent);
    transform: scale(1.2);
}

/* ПЕРВОЕ ПОСЕЩЕНИЕ */
.visit-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-top: 30px;
}

.visit-intro {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.visit-intro p {
    font-size: 18px;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* АККОРДЕОН С ПЛАВНОЙ АНИМАЦИЕЙ */
.visit-accordion {
    border-radius: 12px;
    overflow: hidden;
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    background: #fafafa;
    transition: all 0.3s ease;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-header {
    padding: 25px 30px;
    background: white;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.accordion-header:hover {
    background: #f8f9fa;
}

.accordion-header.active {
    border-bottom-color: #e9ecef;
    background: #f8f9fa;
}

.accordion-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.accordion-header.active .accordion-icon {
    background: var(--accent);
    color: white;
}

.accordion-icon svg {
    width: 24px;
    height: 24px;
}

.accordion-header h3 {
    margin: 0;
    font-size: 20px;
    color: #111;
    font-weight: 700;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.accordion-header.active h3 {
    color: var(--accent);
}

.accordion-arrow {
    font-size: 14px;
    color: var(--accent);
    transition: all 0.3s ease;
    transform-origin: center;
}

.accordion-header.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    opacity: 0;
}

.accordion-content.active {
    max-height: 2000px;
    opacity: 1;
    padding: 30px;
    animation: accordionSlideDown 0.4s ease-out;
}

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

/* ПЛАВНЫЕ ТРАНЗИЦИИ ДЛЯ ВНУТРЕННЕГО КОНТЕНТА */
.accordion-content > * {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
}

.accordion-content.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* КОНТАКТНАЯ ИНФОРМАЦИЯ */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    background: #e9ecef;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--accent);
    color: white;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-details strong {
    color: #111;
    font-size: 14px;
    margin-bottom: 5px;
}

.phone-number {
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
    transition: color 0.3s ease;
}

.contact-item:hover .phone-number {
    color: #148a01;
}

/* ИНФО-КАРТОЧКИ */
.info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(5px);
}

.info-card h4 {
    margin: 0 0 15px 0;
    color: #111;
    font-size: 16px;
}

.documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.documents-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text);
    transition: color 0.3s ease;
}

.doc-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.documents-list li:hover .doc-icon {
    transform: scale(1.1);
}

.doc-icon svg {
    width: 16px;
    height: 16px;
}

/* СЕТКА ДОКУМЕНТОВ */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.document-type {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.document-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.document-type h4 {
    margin: 0 0 15px 0;
    color: #111;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: var(--text);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.requirements-list li:before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.requirements-list li:hover:before {
    transform: scale(1.2);
}

/* БОКСЫ С ИКОНКАМИ */
.tip-box, .notice-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.tip-box {
    background: linear-gradient(135deg, #f0f9ff, #e6f7ff);
    border-left: 4px solid #1890ff;
}

.notice-box {
    background: linear-gradient(135deg, #fffaf0, #fff7e6);
    border-left: 4px solid #faad14;
}

.tip-box:hover, .notice-box:hover {
    transform: translateX(5px);
}

.tip-icon, .notice-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform 0.3s ease;
}

.tip-box:hover .tip-icon,
.notice-box:hover .notice-icon {
    transform: scale(1.1);
}

.tip-icon svg, .notice-icon svg {
    width: 20px;
    height: 20px;
}

.tip-icon {
    color: #1890ff;
}

.notice-icon {
    color: #faad14;
}

.tip-content, .notice-box p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

.tip-content strong {
    color: #1890ff;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-title {
        font-size: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        order: -1;
    }

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

    .timeline:before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px;
        padding-right: 15px;
    }

    .timeline-content:after {
        left: -10px !important;
        right: auto !important;
    }

    .slider-section {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .slider-wrapper {
        max-width: 100%;
    }
    
    .slider-container {
        height: 350px;
        margin-bottom: 25px;
    }
    
    .slider-btn {
        width: 50px;
        height: 50px;
        display: none;
    }
    
    .slider-btn.prev {
        left: -60px;
    }
    
    .slider-btn.next {
        right: -60px;
    }
    
    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .slider-dots {
        margin-top: 20px;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-value {
        text-align: left;
    }
    
    .advantages-list li {
        padding-left: 25px;
        font-size: 13px;
    }
    
    .company-info,
    .advantages-preview {
        padding: 15px;
    }

    .visit-container {
        padding: 25px 20px;
        margin: 20px 0;
    }
    
    .visit-intro {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .visit-intro p {
        font-size: 16px;
    }
    
    .accordion-header {
        padding: 20px;
    }
    
    .accordion-header h3 {
        font-size: 18px;
    }
    
    .accordion-icon {
        width: 40px;
        height: 40px;
    }
    
    .accordion-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .accordion-content.active {
        padding: 20px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .document-type {
        padding: 20px;
    }
    
    .tip-box, .notice-box {
        padding: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 30px 20px;
    }

    .slider-section {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .slider-container {
        height: 450px;
    }
    
    .slider-btn.prev {
        left: -60px;
    }
    
    .slider-btn.next {
        right: -60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px 10px;
    }

    .section-title {
        font-size: 28px;
    }

    .slider-section {
        padding: 0 10px;
    }
    
    .slider-container {
        margin-bottom: 20px;
        height: 300px;
    }
    
    .slider-btn {
        display: none;
    }

    .about-details,
    .info-section,
    .advantage-card {
        padding: 20px;
    }

    .visit-container {
        padding: 20px 15px;
    }
    
    .accordion-header {
        padding: 15px;
        gap: 12px;
    }
    
    .accordion-header h3 {
        font-size: 16px;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
    }
    
    .contact-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 40px 30px;
    }

    .slider-section {
        max-width: 1400px;
        padding: 0 30px;
    }
    
    .slider-container {
        height: 550px;
    }
    
    .slider-btn.prev {
        left: -80px;
    }
    
    .slider-btn.next {
        right: -80px;
    }
}

/* ГЛОБАЛЬНЫЕ ИСПРАВЛЕНИЯ */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent);
    transition: color 0.3s ease;
}

a:hover {
    color: #148a01;
}

/* АНИМАЦИИ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.6s ease-out;
}