/* ============================================
   ULTRA MODERN DESIGN - IMPROVED 2026
   ============================================ */

:root {
    /* Color Palette */
    --primary: #12544f;
    --secondary: #174b47;
    --accent: #12544f;
    --accent-dark: #0c3f3b;
    --success: #24746c;
    --warning: #f59e0b;
    --danger: #ef4444;
    --light: #f0f8f7;
    --white: #ffffff;
    --text-primary: #172624;
    --text-secondary: #526563;
    --border: #d7e9e6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1d7069 0%, #12544f 100%);
    --gradient-dark: linear-gradient(135deg, #12544f 0%, #0a3936 100%);
    --gradient-accent: linear-gradient(135deg, #24746c 0%, #12544f 100%);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(18, 84, 79, 0.05);
    --shadow-md: 0 4px 6px rgba(18, 84, 79, 0.1);
    --shadow-lg: 0 10px 15px rgba(18, 84, 79, 0.1);
    --shadow-xl: 0 20px 25px rgba(18, 84, 79, 0.15);
    --shadow-2xl: 0 25px 50px rgba(18, 84, 79, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   CONTAINERS & LAYOUT
   ============================================ */

.global-wrap,
.global-center-wrap {
    width: 100%;
}

.global-center-wrap {
    max-width: 100%;
    margin: 0 auto;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 0.75rem 2rem;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 0 !important;
}

.global-center-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.global-center-wrap header {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    padding: 0.75rem clamp(0.75rem, 2vw, 2rem);
}

header .services-columns-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
}

.services-column-header-one {
    flex: 0 0 auto;
}

.services-column-header-two {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.services-column-header-three {
    flex: 0 0 auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    max-width: 120px;
    height: auto;
    filter: brightness(1.1);
}

.header-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
    flex-shrink: 0;
}

.header-phone,
.header-email,
.mobile-header-phone a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 13px;
    text-decoration: none;
    color: var(--white);
    transition: all var(--transition-base);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-lg);
    white-space: nowrap;
    flex-shrink: 0;
}

.header-phone a,
.header-email a,
.mobile-header-phone a {
    color: var(--white);
    text-decoration: none;
}

.header-phone:hover,
.header-email:hover,
.mobile-header-phone a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

/* ============================================
   NAVIGATION MENU
   ============================================ */

.main-menu-bg-wrap {
    width: 100%;
    background: var(--gradient-dark);
    box-shadow: var(--shadow-md);
    border-top: 2px solid var(--accent);
}

.main-menu-wrap {
    max-width: 100%;
    margin: 0 auto;
}

nav {
    background: transparent;
    box-shadow: none;
    border-top: none;
    padding: 0;
}

.menu__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.menu__item {
    position: relative;
    padding: 0;
}

.menu__item a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all var(--transition-base);
    border-bottom: 2px solid transparent;
    position: relative;
}

.menu__item a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.menu__item a:hover::before,
.menu__item a.current::before {
    transform: scaleX(1);
    transform-origin: left;
}

.menu__item a:hover,
.menu__item a.current {
    color: var(--accent);
}

/* ============================================
   SUBMENU STYLES
   ============================================ */

.menu__item--submenu {
    position: relative;
}

.menu__item--submenu > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 0.5rem;
    transition: transform var(--transition-base);
}

.menu__item--submenu:hover > a::after {
    transform: rotate(-180deg);
}

.menu__list__submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    color: var(--text-primary);
    min-width: 280px;
    box-shadow: var(--shadow-2xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: 1000;
    border-top: 3px solid var(--accent);
    margin-top: 0;
}

.menu__item--submenu:hover .menu__list__submenu {
    display: block;
    animation: slideDown var(--transition-base) ease-out;
}

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

.menu__list__submenu__item {
    padding: 0;
    border-bottom: 1px solid var(--border);
    list-style: none;
}

.menu__list__submenu__item:last-child {
    border-bottom: none;
}

.menu__list__submenu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    transition: all var(--transition-base);
    border-left: 4px solid transparent;
}

.menu__list__submenu a:hover {
    background: var(--light);
    color: var(--accent);
    border-left-color: var(--accent);
    padding-left: calc(1.5rem + 4px);
}

/* ============================================
   PAGE SLIDER
   ============================================ */

.front-page-slider-wrap {
    width: 100%;
    background: var(--white);
    padding: 2rem 0;
}

.front-page-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-base) ease-in-out;
}

.slide.current {
    display: flex;
    opacity: 1;
    z-index: 10;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide .text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    color: var(--white);
    padding: 2rem;
    z-index: 20;
}

.slide .title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.slide p {
    font-size: 16px;
    opacity: 0.9;
}

.front-page-slider .controls {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    font-size: 20px;
    color: var(--white);
}

.button:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.prev-button::before {
    content: '‹';
}

.next-button::before {
    content: '›';
}

.slides-buttons {
    display: flex;
    gap: 0.5rem;
}

.slide-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.slide-button.current {
    background: var(--accent);
    width: 30px;
    border-radius: 6px;
}

.slide-button:hover {
    background: var(--white);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.front-page-features-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

.features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0 0 0;
}

.feature {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature .image-wrap {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: var(--radius-lg);
    height: 150px;
}

.feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.feature:hover img {
    transform: scale(1.05);
}

.feature .name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1rem 0;
}

.feature p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   PAGE CONTENT
   ============================================ */

.page-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

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

.page-content h2 {
    font-size: 2rem;
    color: var(--accent);
    margin: 2rem 0 1rem 0;
    position: relative;
    padding-bottom: 1rem;
}

.page-content h2 span {
    position: relative;
    display: inline-block;
}

.page-content h2 span::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.page-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.page-content ul,
.page-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.page-content li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.page-content a {
    color: var(--accent);
    text-decoration: none;
    transition: all var(--transition-base);
    font-weight: 500;
}

.page-content a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* CONTACTS PAGE */
.contacts-banner .content-page-top-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 1.5rem;
    overflow: hidden;
    background: var(--gradient-dark);
}

.contacts-banner .banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
}

.contacts-banner h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.contacts.global-center-wrap {
    display: grid;
    gap: 1.5rem;
    width: min(100% - 2rem, 1200px);
    margin: 2.5rem auto;
    padding: 0;
}

.contacts .contact {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 1.5rem;
    align-items: stretch;
    min-width: 0;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.contacts .contact .map {
    position: relative;
    min-width: 0;
    min-height: 320px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--light);
}

.contacts .contact .map iframe,
.contacts .contact .map > div,
.contacts .contact .map > ymaps {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 320px;
    border: 0;
}

.contacts .contact .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 0.75rem 1rem;
}

.contacts .contact .content h2 {
    margin: 0 0 1.25rem;
    padding: 0 0 0.75rem;
    border-bottom: 2px solid var(--border);
    color: var(--primary);
    font-size: 1.5rem;
}

.contacts .contact-detail {
    margin-bottom: 1rem;
}

.contacts .contact-detail:last-child {
    margin-bottom: 0;
}

.contacts .contact-detail h3 {
    margin: 0 0 0.3rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
}

.contacts .contact-detail p {
    margin: 0.25rem 0;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.contacts .contact-detail a {
    color: var(--accent-dark);
    font-weight: 600;
    text-decoration: none;
}

.contacts .contact-detail a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* PRODUCT LAYOUTS */
.int-auto-list-block {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin: 2rem 0;
}

.int-auto_item {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.int-auto_item > a {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1rem;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.int-auto_img_block {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    padding: 0.5rem;
    overflow: hidden;
}

img.int-auto_img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.int-auto-name {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2em;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text-primary);
}

.har_block {
    width: 100%;
    max-width: none;
    padding: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.har_block-item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.automodel__links {
    margin-top: auto;
    text-align: center;
}

.two-column-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
    width: 100%;
    margin-bottom: 2.5rem;
}

.product-image-column,
.product-info-column {
    min-width: 0;
}

.product-image-column {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.product-image-column img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
}

.celly-page-features-wrap .features {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 0;
}

.celly-page-features-wrap .feature {
    width: auto !important;
}

.celly-page-features-wrap .feature .image-wrap {
    height: 220px;
    margin: 0;
}

.celly-page-features-wrap .feature .image-wrap img {
    height: 100% !important;
    max-height: 100%;
    object-fit: contain;
}

.page-content img {
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
}

.product-carousel {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #f5faf9;
    box-shadow: var(--shadow-sm);
}

.product-carousel .carousel-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 260px;
    max-height: 480px;
    aspect-ratio: 1 / 1;
}

.product-carousel .carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.product-carousel .carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.product-carousel .carousel-button,
.product-carousel-duo .carousel-button-duo {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    background: rgba(18, 84, 79, 0.82);
    color: var(--white);
    cursor: pointer;
}

.product-carousel .carousel-button:hover,
.product-carousel-duo .carousel-button-duo:hover {
    background: var(--accent-dark);
}

.product-carousel .carousel-button.prev,
.product-carousel-duo .carousel-button-duo.prev {
    left: 0.75rem;
}

.product-carousel .carousel-button.next,
.product-carousel-duo .carousel-button-duo.next {
    right: 0.75rem;
}

.product-carousel .carousel-dots,
.product-carousel-duo .carousel-dots-duo {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
    transform: translateX(-50%);
}

.product-carousel .carousel-dot,
.product-carousel-duo .carousel-dot-duo {
    display: block;
    width: 0.7rem;
    height: 0.7rem;
    padding: 0;
    border: 1px solid var(--secondary);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
}

.product-carousel .carousel-dot.active,
.product-carousel-duo .carousel-dot-duo.active {
    background: var(--accent);
    border-color: var(--white);
}

.product-carousel .carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-image-column-duo {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-carousel-duo {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #f5faf9;
    box-shadow: var(--shadow-sm);
}

.product-carousel-duo .carousel-container-duo {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 260px;
    max-height: 600px;
    aspect-ratio: 3 / 2;
}

.product-carousel-duo .carousel-slide-duo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.product-carousel-duo .carousel-slide-duo.active {
    opacity: 1;
    visibility: visible;
}

.product-carousel-duo .duo-slide-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.product-carousel-duo .duo-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--white);
}

.product-carousel-duo .duo-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.two-images-container {
    float: none !important;
    width: 100%;
    max-width: 100%;
}

.page-content .two-images-img {
    display: block !important;
}

.two-images-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.page-content .two-images-img,
.two-images-wrapper .video-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 320px !important;
    min-width: 0;
    margin: 0;
    padding: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #f5faf9;
    object-fit: contain;
}

.two-images-wrapper .video-container video {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: contain;
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #f5faf9;
}

.image-container img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: 480px;
    object-fit: contain;
}

.fiber-intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1.5rem;
    width: 100%;
}

.fiber-intro-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.fiber-intro-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.fiber-intro-copy {
    width: 100%;
}

.product-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
    margin: 1.5rem 0;
}

.product-media-grid > a,
.product-media-grid > video {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    aspect-ratio: 4 / 3;
    padding: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #f5faf9;
}

.product-media-grid > a img,
.product-media-grid > video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-media-grid > a img {
    display: block;
    width: 100%;
    height: 100% !important;
}

.product-media-grid > video {
    display: block;
    padding: 0;
}

.paper-pulp-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.paper-pulp-gallery > a {
    aspect-ratio: 3 / 4;
}

.wrap-item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.our-addresses-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 2.5rem auto;
    padding: 0 2rem;
}

.our-addresses-wrap h2 {
    margin: 0 0 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.our-addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.our-addresses .our-address {
    display: grid;
    align-content: start;
    gap: 0.75rem;
    min-width: 0;
    min-height: 150px;
    margin: 0;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.our-addresses .our-address .title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.our-addresses .our-address .address {
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .int-auto-list-block {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .int-auto-list-block,
    .wrap-item,
    .our-addresses {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .two-column-product {
        grid-template-columns: 1fr;
    }

    .contacts.global-center-wrap {
        width: calc(100% - 2rem);
        gap: 1rem;
        margin: 1.5rem auto;
    }

    .contacts .contact {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
        padding: 0.75rem;
    }

    .contacts .contact .map {
        min-height: 280px;
    }

    .contacts .contact .map iframe,
    .contacts .contact .map > div,
    .contacts .contact .map > ymaps {
        min-height: 280px;
    }

    .contacts .contact .content {
        padding: 0.75rem;
    }

    .paper-pulp-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-image-column-duo {
        padding: 0 1.5rem;
    }

    .our-addresses-wrap {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .int-auto-list-block,
    .wrap-item,
    .our-addresses {
        grid-template-columns: 1fr;
    }

    .int-auto_img_block {
        height: 200px;
    }

    .contacts-banner .content-page-top-banner {
        min-height: 120px;
    }

    .contacts .contact .map,
    .contacts .contact .map iframe,
    .contacts .contact .map > div,
    .contacts .contact .map > ymaps {
        min-height: 240px;
    }

    .contacts .contact .content h2 {
        font-size: 1.25rem;
    }

    .product-carousel .carousel-container {
        min-height: 220px;
    }

    .product-carousel-duo .carousel-container-duo {
        min-height: 220px;
    }

    .product-carousel-duo .duo-slide-container {
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .two-images-wrapper {
        grid-template-columns: 1fr;
    }

    .product-media-grid,
    .paper-pulp-gallery {
        grid-template-columns: 1fr;
    }

    .page-content .two-images-img,
    .two-images-wrapper .video-container {
        height: 260px !important;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.page-content-wrap {
    width: 100%;
    background: var(--light);
}

.text-block {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer,
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.footer-wrap {
    width: 100%;
    margin-top: 0;
    border-top: 3px solid var(--accent);
    background: var(--gradient-dark);
    box-shadow: 0 -8px 24px rgba(18, 84, 79, 0.12);
}

footer.global-center-wrap {
    display: block;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem clamp(1rem, 4vw, 3rem);
    background: transparent;
    box-shadow: none;
}

.services-columns-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.services-column-footer-one {
    justify-self: start;
}

.services-column-footer-two {
    justify-self: center;
}

.services-column-footer-three {
    justify-self: end;
}

footer .logo img {
    width: auto;
    max-width: 200px;
    height: auto;
}

footer .footer-text {
    display: grid;
    gap: 0.65rem;
    font-size: 1rem;
    line-height: 1.5;
}

footer .footer-text br {
    display: none;
}

footer .footer-text a {
    color: #c5e3df;
    font-size: 0.95rem;
    font-weight: 500;
}

footer .footer-text a:hover {
    color: var(--white);
}

footer .footer-text .footer-phone-link {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-copyright {
    color: #c5e3df;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: right;
}

footer a,
.footer a {
    color: var(--accent);
    text-decoration: none;
    transition: all var(--transition-base);
}

footer a:hover,
.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-width: 140px;
    height: auto;
    filter: brightness(1.1);
}

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

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS & FORMS
   ============================================ */

button,
.button-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

button:hover,
.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

form {
    margin: 2rem 0;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 14px;
    transition: all var(--transition-base);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(18, 84, 79, 0.2);
}

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

/* ============================================
   FLOATING ACTION BUTTON
   ============================================ */

.floating-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.floating-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-2xl);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    header .services-columns-header {
        gap: 1.5rem;
    }
    
    .menu__item a {
        padding: 0.75rem 1rem;
        font-size: 12px;
    }
    
    .slide .title {
        font-size: 22px;
    }
    
    .slide p {
        font-size: 14px;
    }
    
    .page-content {
        padding: 2rem 1.5rem;
    }
    
    .page-content h1 {
        font-size: 2rem;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }
    
    header .services-columns-header {
        gap: 1rem;
    }
    
    .services-column-header-two {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .menu__list {
        flex-direction: column;
    }
    
    .menu__item a {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .slide .title {
        font-size: 18px;
    }
    
    .slide p {
        font-size: 13px;
    }
    
    .slide .text {
        padding: 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-content {
        padding: 1.5rem;
    }
    
    .page-content h1 {
        font-size: 1.75rem;
    }
    
    .page-content h2 {
        font-size: 1.25rem;
    }
    
    .floating-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.75rem 1rem;
    }
    
    header .services-columns-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .logo img {
        max-width: 120px;
    }
    
    .header-phone,
    .header-email {
        font-size: 12px;
        padding: 0.25rem 0.5rem;
    }
    
    .services-column-header-two {
        width: 100%;
        justify-content: center;
    }
    
    .menu__item a {
        padding: 0.5rem 1rem;
        font-size: 11px;
    }
    
    .slide .title {
        font-size: 14px;
    }
    
    .slide p {
        font-size: 12px;
    }
    
    .slide .text {
        padding: 1rem;
    }
    
    .front-page-slider .controls {
        bottom: 1rem;
        gap: 0.5rem;
    }
    
    .button {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .features {
        gap: 1rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .page-content {
        padding: 1rem;
    }
    
    .page-content h1 {
        font-size: 1.5rem;
    }
    
    .page-content h2 {
        font-size: 1.1rem;
    }
    
    .page-content p {
        font-size: 14px;
    }
    
    button,
    .button-primary {
        padding: 0.75rem 1.5rem;
        font-size: 12px;
    }
    
    .floating-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    footer.global-center-wrap {
        padding: 1.75rem 1rem;
    }

    .services-columns-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1.25rem;
        text-align: center;
    }

    .services-column-footer-one,
    .services-column-footer-two,
    .services-column-footer-three {
        justify-self: center;
    }

    footer .logo img {
        max-width: 170px;
    }

    footer .footer-text {
        justify-items: center;
    }

    .footer-copyright {
        text-align: center;
    }
}
