﻿*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1f6f8b;
    --primary-hover: #174f63;
    --primary-soft: rgba(31, 111, 139, 0.08);
    --dark: #0f1720;
    --dark-2: #0b1118;
    --dark-3: #14212b;
    --white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.88);
    --text-muted: #9aa6b2;
    --text-dark: #4c5b68;
    --heading-dark: #14212b;
    --border: rgba(255, 255, 255, 0.10);
    --border-light: #e3ebf1;
    --section-light: #f4f8fb;
    --section-light-2: #eaf1f5;
    --shadow: 0 10px 30px rgba(15, 23, 32, 0.08);
}

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--white);
    scroll-behavior: smooth;
}

/* ─── HEADER ─── */
#header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
    padding: 0;
}

    #header-wrap.transparent {
        background: transparent;
    }

    #header-wrap.scrolled {
        background: rgba(11, 17, 24, 0.96);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(10px);
    }

#header-main {
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.4s;
    gap: 20px;
}

#header-wrap.scrolled #header-main {
    height: 68px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
}

    .logo img {
        height: 48px;
        width: auto;
        object-fit: contain;
        display: block;
    }

    .logo .accent {
        color: var(--primary);
    }

.logo-tagline {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.52rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-top: -2px;
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 34px;
    align-items: center;
}

    .primary-menu a {
        font-family: 'Poppins', sans-serif;
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: black;
        text-decoration: none;
        transition: color 0.3s;
    }

        .primary-menu a:hover {
            color: var(--primary);
        }

/* ─── HEADER ACTIONS ─── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* LANG SWITCHER */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    border: 1px solid var(--primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    user-select: none;
}

    .lang-btn:hover,
    .lang-switcher.open .lang-btn {
        border-color: var(--primary);
        color: var(--primary);
        background: rgba(31, 111, 139, 0.08);
    }

.lang-arrow {
    transition: transform 0.25s;
    opacity: 0.7;
    flex-shrink: 0;
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 170px;
    background: #0f1720;
    color: var(--primary);
    border: 1px solid var(--primary);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px) scaleY(0.95);
    transform-origin: top right;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 100;
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scaleY(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.77rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

    .lang-option:last-child {
        border-bottom: none;
    }

    .lang-option::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--primary);
        transform: scaleY(0);
        transition: transform 0.2s;
    }

    .lang-option:hover {
        background: rgba(31, 111, 139, 0.08);
        color: var(--white);
    }

        .lang-option:hover::before,
        .lang-option.active::before {
            transform: scaleY(1);
        }

    .lang-option.active {
        color: var(--primary);
        background: rgba(31, 111, 139, 0.06);
    }

.opt-check {
    margin-left: auto;
    font-size: 0.65rem;
    color: var(--primary);
    opacity: 0;
}

.lang-option.active .opt-check {
    opacity: 1;
}

/* ACTION BUTTONS */
.btn-vhlex {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--primary);
    border: 1px solid var(--primary);
    background: transparent;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

    .btn-vhlex::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--primary);
        transform: translateX(-101%);
        transition: transform 0.25s;
        z-index: 0;
    }

    .btn-vhlex span {
        position: relative;
        z-index: 1;
    }

    .btn-vhlex:hover {
        color: var(--white);
    }

        .btn-vhlex:hover::before {
            transform: translateX(0);
        }

.btn-consult {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 22px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--primary);
    color: var(--white);
    transition: background 0.3s, color 0.3s;
}

    .btn-consult:hover {
        background: var(--primary-hover);
        color: var(--white);
    }

@media (max-width: 768px) {
    .btn-vhlex {
        display: none;
    }

    .lang-btn span:last-of-type {
        display: none;
    }
}

/* ─── SLIDER / HERO ─── */
.rev-slider-wrap {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: none;
}

    .slide.active {
        opacity: 1;
        pointer-events: auto;
    }

.slide-bg {
    position: absolute;
    inset: 0;
    transform: scale(1.05);
    animation: none;
    overflow: hidden;
}

    .slide-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

.slide.active .slide-bg {
    animation: kenBurns 14s ease-out forwards;
}

@keyframes kenBurns {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1);
    }
}

.slide-overlay,
.slide-overlay-left,
.slide-overlay-center,
.slide-overlay-right {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 30, 0.65);
}

.slide-group {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 0;
}

    .slide-group.align-left {
        left: 60px;
        right: auto;
        top: 50%;
        transform: translateY(calc(-50% + 40px));
        align-items: flex-start;
        text-align: left;
        max-width: 760px;
    }

    .slide-group.align-center {
        left: 50%;
        transform: translate(-50%, calc(-50% + 40px));
        top: 50%;
        align-items: center;
        text-align: center;
        max-width: 800px;
    }

    .slide-group.align-right {
        right: 60px;
        left: auto;
        top: 50%;
        transform: translateY(calc(-50% + 40px));
        align-items: flex-end;
        text-align: right;
        max-width: 760px;
    }

.layer-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(50px);
}

.layer-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.18;
    color: var(--white);
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(50px);
}

    .layer-title cite {
        font-style: italic;
        font-family: 'Playfair Display', serif;
        color: var(--primary);
        font-weight: 500;
    }

.layer-btn {
    opacity: 0;
    transform: translateX(50px);
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--primary);
    color: var(--white);
    padding: 14px 38px;
    border: 2px solid var(--primary);
    transition: all 0.3s;
    cursor: pointer;
}

    .btn:hover {
        background: transparent;
        color: var(--primary);
    }

.slide.active .layer-eyebrow {
    animation: layerUp 0.7s 0.5s ease forwards;
}

.slide.active .layer-title {
    animation: layerUp 0.8s 0.9s ease forwards;
}

.slide.active .layer-btn {
    animation: layerRight 0.7s 1.3s ease forwards;
}

.slide.active .align-right .layer-btn {
    animation: layerLeft 0.7s 1.3s ease forwards;
}

.slide.active .align-center .layer-btn {
    animation: layerUp 0.7s 1.3s ease forwards;
}

@keyframes layerUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes layerRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes layerLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    font-size: 1.1rem;
}

    .slider-arrow:hover {
        background: var(--primary);
        border-color: var(--primary);
    }

    .slider-arrow.prev {
        left: 36px;
    }

    .slider-arrow.next {
        right: 36px;
    }

.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s;
}

    .dot.active {
        background: var(--primary);
        width: 28px;
        border-radius: 4px;
    }

/* ─── FANCYBOX ─── */
.fancybox-section {
    background: var(--dark);
    background-image: url('img/foto9.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

    .fancybox-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(11, 17, 24, 0.88);
    }

.fancybox-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.fancybox-item {
    padding: 52px 40px;
    border-right: 1px solid var(--border);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: background 0.3s;
}

    .fancybox-item:last-child {
        border-right: none;
    }

    .fancybox-item:hover {
        background: rgba(31, 111, 139, 0.08);
    }

.fancybox-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.fancybox-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.4;
}

.fancybox-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.82rem;
    line-height: 1.75;
    color: var(--text-muted);
}

/* ─── SERVICES SECTION ─── */
.services-section {
    padding: 110px 60px 120px;
    background: var(--section-light);
    position: relative;
}

    .services-section::before {
        display: none;
    }

    .services-section .inner {
        position: relative;
        z-index: 1;
        max-width: 1200px;
        margin: 0 auto;
    }

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

    .section-heading .sub {
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 5px;
        text-transform: uppercase;
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        margin-bottom: 14px;
    }

        .section-heading .sub::before,
        .section-heading .sub::after {
            content: '';
            display: block;
            width: 30px;
            height: 1px;
            background: var(--primary);
        }

    .section-heading h2 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.8rem, 3.5vw, 2.8rem);
        font-weight: 700;
        color: var(--heading-dark);
        line-height: 1.3;
    }

        .section-heading h2 cite {
            font-style: italic;
            color: var(--primary);
        }

.h-gap {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

    .h-gap i {
        display: block;
        height: 3px;
        border-radius: 2px;
        background: var(--primary);
    }

        .h-gap i:nth-child(1) {
            width: 28px;
        }

        .h-gap i:nth-child(2) {
            width: 8px;
        }

        .h-gap i:nth-child(3) {
            width: 5px;
        }

        .h-gap i:nth-child(4) {
            width: 3px;
        }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background: transparent;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 40px 34px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    cursor: default;
    box-shadow: var(--shadow);
}

    .service-card:hover {
        border-color: var(--primary);
        transform: translateY(-4px);
    }

    .service-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: var(--primary);
        transition: width 0.4s ease;
    }

    .service-card:hover::after {
        width: 100%;
    }

.service-card-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.5s ease;
    z-index: 0;
}

    .service-card-hover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .service-card-hover::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 32, 0.82);
    }

.service-card:hover .service-card-hover {
    opacity: 1;
}

.service-card-body {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--heading-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s;
}

.service-card p {
    font-size: 0.82rem;
    line-height: 1.8;
    color: var(--text-dark);
    transition: color 0.3s;
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

.service-card-cta {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s, color 0.3s;
}

.service-card:hover .service-card-cta {
    opacity: 1;
    color: var(--white);
}

/* ─── STATS ─── */
.stats-section {
    padding: 100px 60px;
    background: var(--section-light-2);
    position: relative;
}

    .stats-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(31, 111, 139, 0.03);
    }

    .stats-section .inner {
        position: relative;
        z-index: 1;
        max-width: 1200px;
        margin: 0 auto;
    }

.stats-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.stats-heading .sub {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.stats-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 700;
    color: var(--heading-dark);
    line-height: 1.3;
}

    .stats-heading h2 cite {
        font-style: italic;
        color: var(--primary-hover);
    }

.stats-heading .h-gap {
    justify-content: flex-start;
}

.stats-text {
    font-size: 0.86rem;
    line-height: 1.8;
    color: #5b6b78;
    padding-top: 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-item {
    padding: 40px 30px;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

    .stat-item:last-child {
        border-right: none;
    }

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item:nth-child(odd) .stat-num,
.stat-item:nth-child(even) .stat-num {
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #748290;
}

/* ─── CONTACT ─── */
.contact-section {
    padding: 110px 60px 120px;
    background: var(--dark);
    position: relative;
}

    .contact-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(11, 17, 24, 0.82);
    }

    .contact-section .inner {
        position: relative;
        z-index: 1;
        max-width: 1200px;
        margin: 0 auto;
    }

.contact-grid {
    display: grid;
    grid-template-columns: 5fr 4fr 3fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.contact-sub {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.contact-h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
}

    .contact-h2 cite {
        font-style: italic;
        color: var(--primary);
    }

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
}

.contact-info-text {
    font-size: 0.84rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    grid-column: 1 / -1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.84rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

    .form-input:focus {
        border-color: var(--primary);
        background: rgba(255, 255, 255, 0.08);
    }

    .form-input::placeholder {
        color: rgba(255, 255, 255, 0.35);
    }

.form-textarea {
    width: 100%;
    resize: vertical;
    min-height: 130px;
}

.btn-submit {
    align-self: flex-start;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    padding: 14px 46px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-submit:hover {
        background: transparent;
        color: var(--primary);
    }

/* ─── FOOTER ─── */
footer {
    background: #0b1118;
    border-top: 1px solid rgba(31, 111, 139, 0.16);
}

.footer-top {
    padding: 70px 60px 50px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-widget-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.footer-logo-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 18px;
}

    .footer-logo-link span {
        color: var(--primary);
    }

.footer-desc {
    font-size: 0.82rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.footer-contact-list {
    list-style: none;
}

    .footer-contact-list li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        font-size: 0.8rem;
        color: var(--text-muted);
        margin-bottom: 10px;
    }

        .footer-contact-list li span:first-child {
            color: var(--primary);
            font-size: 0.85rem;
            flex-shrink: 0;
        }

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        font-size: 0.82rem;
        color: var(--text-muted);
        text-decoration: none;
        transition: color 0.3s;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .footer-links a::before {
            content: '›';
            color: var(--primary);
            font-size: 1rem;
            line-height: 1;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 22px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-copy {
    font-size: 0.78rem;
    color: #657380;
}

.footer-social {
    display: flex;
    gap: 12px;
}

    .footer-social a {
        width: 34px;
        height: 34px;
        border: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.8rem;
        transition: all 0.3s;
    }

        .footer-social a:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

/* ─── SCROLL TO TOP ─── */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    pointer-events: none;
}

    .scroll-top.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    #header-main {
        padding: 0 30px;
    }

    .primary-menu {
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-header {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .primary-menu {
        display: none;
    }

    .slide-group.align-left,
    .slide-group.align-center,
    .slide-group.align-right {
        left: 20px;
        right: 20px;
        text-align: left;
        align-items: flex-start;
        transform: translateY(-50%);
    }

    .fancybox-inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .fancybox-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .services-section,
    .stats-section,
    .contact-section {
        padding: 70px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-header {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        padding: 50px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
}
