/* Океан Трейд — стилове на сайта */
* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
    scroll-padding-top:95px;
}

body {
    margin:0;
    font:16px/1.7 Arial,sans-serif;
    color:#14243b;
}

a {
    color:inherit;
    text-decoration:none;
}

button {
    font:inherit;
    cursor:pointer;
}

header {
    position:fixed;
    inset:0 0 auto;
    z-index:10;
    background:#fffffffa;
    box-shadow:0 2px 24px #0001;
}

nav {
    max-width:1450px;
    margin:auto;
    padding:12px 5%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
}

nav img {
    width:145px;
    display:block;
}

nav ul {
    display:flex;
    gap:28px;
    list-style:none;
    padding:0;
    font-size:12px;
    font-weight:700;
    letter-spacing:1px;
}

nav a:hover {
    color:#1768b5;
}

.hero {
    height:94svh;
    min-height:570px;
    position:relative;
    background:#173958;
    display:grid;
    place-items:center;
    text-align:center;
    color:#fff;
    overflow:hidden;
}

.hero video,.hero .poster {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero:after {
    content:'';
    position:absolute;
    inset:0;
    background:#061b39a8;
}

.heroText {
    z-index:1;
    position:relative;
    padding:100px 20px 20px;
}

.tag {
    font-size:12px;
    letter-spacing:3px;
    font-weight:bold;
    text-transform:uppercase;
}

h1 {
    font-size:clamp(45px,7vw,100px);
    letter-spacing:-.05em;
    line-height:1.04;
    margin:20px auto;
    font-weight:700;
}

h2 {
    font-size:clamp(30px,4vw,55px);
    line-height:1.15;
    letter-spacing:-.035em;
    margin:12px 0 25px;
}

h3 {
    font-size:25px;
    line-height:1.2;
}

.hero p {
    font-size:clamp(16px,2vw,24px);
    font-weight:300;
}

.btn {
    display:inline-block;
    padding:15px 26px;
    background:#164a91;
    color:white;
    border-radius:3px;
    font-weight:700;
    font-size:13px;
    letter-spacing:.5px;
}

.hero .btn {
    background:transparent;
    border:1px solid #fff;
}

.hero .btn:hover {
    background:white;
    color:#164a91;
}

.down {
    position:absolute;
    bottom:25px;
    z-index:2;
    font-size:26px;
}

.bar {
    background:#15458a;
    color:white;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    text-align:center;
    padding:35px 5%;
    gap:15px;
}

.bar b {
    font-size:clamp(19px,3vw,38px);
    display:block;
}

.bar span {
    font-size:11px;
    letter-spacing:2px;
}

.wrap {
    max-width:1320px;
    margin:auto;
    padding:105px 5%;
}

.intro {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:65px;
    align-items:center;
}

.intro img {
    width:100%;
    height:420px;
    object-fit:cover;
}

.blue {
    color:#164a91;
}

.muted {
    color:#647184;
}

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

.card {
    position:relative;
    min-height:430px;
    overflow:hidden;
    display:flex;
    align-items:end;
    color:white;
    background:#193a5a;
}

.card img {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .7s;
}

.card:hover img {
    transform:scale(1.09);
}

.card:after {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(transparent 15%,#071c36e8);
}

.card div {
    position:relative;
    z-index:1;
    padding:35px;
}

.card h3 {
    font-size:35px;
    margin:12px 0;
}

.center {
    text-align:center;
}

.values {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:45px;
    margin-top:55px;
}

.values article {
    border-top:2px solid #164a91;
    padding-top:20px;
}

.values b {
    font-size:38px;
    color:#164a91;
}

.contact {
    background:#102e58;
    color:white;
    text-align:center;
}

.contact .btn {
    background:white;
    color:#164a91;
}

footer {
    padding:26px 5%;
    background:#081c36;
    color:#d0dbe8;
    font-size:13px;
}

#toggle {
    display:none;
}

.reveal {
    animation:appear .9s both;
}

@keyframes appear {
    from {
        opacity:0;
        transform:translateY(25px);
    }
    to {
        opacity:1;
        transform:none;
    }
}

@media(max-width:800px) {
    nav img {
        width:115px;
    }
    #toggle {
        display:block;
        background:white;
        border:0;
        font-size:24px;
    }
    nav ul {
        display:none;
        position:absolute;
        top:100%;
        left:0;
        right:0;
        background:white;
        flex-direction:column;
        padding:25px;
        margin:0;
    }
    nav ul.open {
        display:flex;
    }
    .intro,.cards,.values {
        grid-template-columns:1fr;
    }
    .wrap {
        padding:65px 6%;
    }
    .intro img {
        height:280px;
    }
    .card {
        min-height:320px;
    }
    .bar span {
        letter-spacing:0;
    }
    .hero {
        height:88svh;
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation:none!important;
        scroll-behavior:auto!important;
    }
}

body {
    color:#161b23;
}

header {
    position:sticky;
    top:0;
    box-shadow:0 1px 0 #e9edf2;
}

nav {
    max-width:1320px;
    padding:12px 4%;
}

nav ul {
    font-size:13px;
    letter-spacing:0;
}

nav img {
    width:140px;
}

.intro {
    max-width:1320px;
    padding:65px 5% 75px;
    grid-template-columns:1.15fr 1fr;
    gap:8%;
    align-items:start;
}

.visual {
    padding-top:28px;
}

.photo {
    position:relative;
    margin-left:28px;
}

.intro .photo img {
    display:block;
    height:340px;
    border-radius:16px;
    background:#dce5ef;
}

.quote {
    position:absolute;
    left:-48px;
    top:18%;
    width:205px;
    min-height:190px;
    background:#164a91;
    color:white;
    border-radius:13px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    text-align:center;
    padding:24px;
    line-height:1.4;
    box-shadow:0 15px 40px #173a6433;
}

.quote strong {
    font-size:75px;
    line-height:.7;
}

.metrics {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    text-align:center;
    margin:32px 0;
}

.metrics b {
    display:block;
    color:#164a91;
    font-size:clamp(23px,3.2vw,45px);
    letter-spacing:-1px;
}

.metrics span {
    font-size:12px;
    letter-spacing:.5px;
}

.copy h1 {
    font-size:clamp(30px,3.25vw,48px);
    line-height:1.17;
    letter-spacing:-.035em;
    margin:12px 0 30px;
}

.copy em,.copy strong,.more {
    color:#164a91;
    font-style:normal;
}

.copy p {
    margin:0 0 22px;
    line-height:1.8;
}

.more {
    display:inline-block;
    font-weight:bold;
    margin-top:8px;
}

.cards {
    gap:14px;
    padding:0 14px;
    grid-template-columns:repeat(4,1fr);
}

.card {
    min-height:330px;
}

.card div {
    padding:24px;
}

.card h3 {
    font-size:25px;
}

@media(max-width:950px) {
    .intro {
        grid-template-columns:1fr;
        gap:20px;
        padding:30px 6% 50px;
    }
    .visual {
        padding-top:0;
    }
    .quote {
        left:-22px;
        width:160px;
        min-height:150px;
        padding:14px;
        font-size:14px;
    }
    .photo {
        margin-left:18px;
    }
    .intro .photo img {
        height:280px;
    }
    .cards {
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:540px) {
    .cards {
        grid-template-columns:1fr;
    }
    .metrics b {
        font-size:27px;
    }
    .metrics span {
        font-size:10px;
    }
}

.ot-slider {
    height:450px;
    position:relative;
    overflow:hidden;
    background:#123d70;
    color:white;
}

.ot-slide {
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:opacity .85s,visibility .85s;
    background-position:center;
    background-size:cover;
}

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

.ot-slide:before {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,#071d3de8,#0b315c70 65%,#0b315c20);
}

.ot-content {
    position:relative;
    width:min(1100px,82%);
    margin:auto;
}

.ot-content h2 {
    font-size:clamp(30px,4.2vw,58px);
    max-width:760px;
    margin:12px 0;
    line-height:1.08;
}

.ot-content p {
    font-size:18px;
    margin:12px 0 22px;
}

.ot-arrow {
    display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
	position:absolute;
    top:50%;
    transform:translateY(-50%);
    border:1px solid #ffffff80;
    background:#071d3d55;
    color:white;
    border-radius:50%;
    width:42px;
    height:42px;
    font-size:25px;
    z-index:2;
}

.ot-prev {
    left:18px;
}

.ot-next {
    right:18px;
}

.ot-controls {
    position:absolute;
    bottom:18px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    gap:10px;
    z-index:2;
}

.ot-dot {
    width:10px;
    height:10px;
    border:1px solid white;
    border-radius:50%;
    background:transparent;
    padding:0;
}

.ot-dot.active {
    background:white;
}

.ot-pause {
    background:transparent;
    border:0;
    color:white;
    font-size:17px;
    padding:0 6px;
}

@media(max-width:800px) {
    .ot-slider {
        height:300px;
    }
    .ot-content {
        width:78%;
    }
    .ot-content p {
        font-size:14px;
        margin:8px 0 12px;
    }
    .ot-content .btn {
        padding:9px 14px;
    }
    .ot-arrow {
        width:30px;
        height:30px;
        font-size:18px;
    }
    .ot-prev {
        left:6px;
    }
    .ot-next {
        right:6px;
    }
    .ot-content .tag {
        font-size:10px;
        letter-spacing:1px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .ot-slide {
        transition:none;
    }
}


/* Why choose us */
.why-section { padding-top: 65px; padding-bottom: 85px; }
.why-section h2 { margin: 0 0 65px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; }
.why-accordion details { border-bottom: 1px solid #e4e7eb; }
.why-accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; padding: 25px 20px; font-size: 15px; font-weight: 700; text-transform: uppercase; }
.why-accordion summary::-webkit-details-marker { display: none; }
.why-accordion summary::after { content: '+'; border: 2px solid currentColor; border-radius: 50%; width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; font-size: 21px; line-height: 1; font-weight: 400; }
.why-accordion details[open] summary { color: #164a91; }
.why-accordion details[open] summary::after { content: '\2212'; }
.why-accordion p { margin: 0; padding: 0 20px 24px; color: #647184; }
.why-photo { overflow: hidden; border-radius: 14px; border-bottom: 16px solid #164a91; background: #193a5a; }
.why-photo img { display: block; width: 100%; height: 330px; object-fit: cover; }
@media (max-width: 760px) {
    .why-grid { grid-template-columns: 1fr; gap: 32px; }
    .why-section h2 { margin-bottom: 28px; }
    .why-photo img { height: 250px; }
}

/* Independent section, always visible */
#why { display:block; opacity:1; visibility:visible; transform:none; background:#fff; }
.why-inner { max-width:1320px; margin:auto; padding:0 4%; }


/* IcoMoon – иконки в показателите и дейностите */
.metrics .metric-icon {
    display: block;
    font-size: 38px;
    color: #004385;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}
.metrics > div:hover .metric-icon {
    transform: translateY(-4px);
}
.card .service-icon {
    display: block;
    font-size: 42px;
    color: #fff;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}
.card:hover .service-icon {
    transform: translateY(-4px);
}
.contact .btn .icon {
    margin-right: 8px;
}
@media (max-width: 600px) {
    .metrics .metric-icon { font-size: 28px; }
    .card .service-icon { font-size: 34px; }
}


/* Animated counters */
.metrics .counter {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}


/* Отделна страница Контакти */
.contacts-page main { padding-top: 0; }
.contacts-page nav a[aria-current="page"] { color: #004385; border-bottom: 2px solid #004385; }
.contacts-banner {
    background: linear-gradient(#102c50a8, #102c50a8), url('../images/info-1.webp') center 45% / cover;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 24px;
}
.contacts-banner h1 { font-size: clamp(32px, 4vw, 48px); margin: 0; }
.contacts-banner p { margin: 4px 0 0; }
.contacts-info { max-width: 1350px; margin: auto; padding: 64px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.contacts-icon { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 20px; border: 2px solid #004385; border-radius: 50%; color: #004385; font-size: 30px; transition: background .2s, color .2s; }
.contacts-info > div:hover .contacts-icon { background: #004385; color: white; }
.contacts-info h2 { font-size: 17px; margin: 0 0 8px; }
.contacts-info p { color: #004385; margin: 0; }
.contacts-info a:hover { text-decoration: underline; }
.contacts-map iframe { display: block; width: 100%; height: 350px; border: 0; }
.contacts-map p { text-align: center; font-size: 13px; margin: 0; padding: 8px 16px; background: #f5f6f8; }
@media (max-width: 700px) {
    .contacts-info { grid-template-columns: 1fr; padding: 36px 20px; gap: 36px; }
    .contacts-map iframe { height: 300px; }
}

/* Contacts hero layout */
.contacts-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 450px;
    padding: 0;
    background: #19334d;
    align-items: stretch;
}
.contacts-banner::before {
    content: "";
    position: absolute;
    inset: -5px;
    z-index: -1;
    background: linear-gradient(90deg, rgba(0,0,0,.60), rgba(0,0,0,.32)), url('../images/info-1.webp') center / cover no-repeat;
    filter: blur(0px);
}
.contacts-banner-inner {
    width: 100%;
    max-width: 1320px;
    margin: auto;
    padding: 0 4%;
    text-align: left;
}
.contacts-banner h1 { font-size: clamp(28px, 3vw, 44px); line-height: 1.4; color: #fff; }
.contacts-info { padding: 64px 24px 40px; }
.contacts-icon { width: 88px; height: 88px; border-width: 1.5px; font-size: 28px; }
@media (max-width: 700px) {
    .contacts-banner { min-height: 280px; }
    .contacts-banner-inner { padding: 0 7%; }
    .contacts-info { padding: 36px 20px; }
}

/* Two office locations */
.office-grid { max-width: 1350px; margin: auto; padding: 60px 24px 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.office-location { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.office-location h2 { color: #004385; font-size: 25px; margin: 0 0 24px; }
.office-location h3 { font-size: 17px; margin: 0 0 10px; }
.office-location p { margin: 0 0 12px; color: #004385; }
.office-location iframe { width: 100%; height: 350px; border: 0; margin-top: auto; }
.office-location p:last-of-type { padding-bottom: 20px; }
.office-map-link { display: block; padding: 12px; color: #004385; }
.office-email { text-align: center; padding: 35px 20px 60px; }
.office-email h2 { font-size: 17px; margin: 0 0 10px; }
.office-email a { color: #004385; overflow-wrap: anywhere; }
.office-location a:hover, .office-email a:hover { text-decoration: underline; }
@media (max-width: 700px) { .office-grid { grid-template-columns: 1fr; gap: 40px; padding: 36px 20px; } .office-location iframe { height: 300px; } }

/* ==========================================
   КОНТАКТИ – ТРИ КОЛОНИ
   ========================================== */

.contacts-page .office-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 30px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 60px 24px 35px;
}

.contacts-page .office-location {
    text-align: center;
    min-width: 0;
}

.contacts-page .office-location h2 {
    color: #004385;
    font-size: 24px;
    margin: 0 0 24px;
}

.contacts-page .office-location h3 {
    margin: 20px 0 12px;
}

.contacts-page .office-location p {
    margin: 12px 0;
    line-height: 1.6;
}

.contacts-page .office-email-center a {
    overflow-wrap: anywhere;
}


/* ==========================================
   GOOGLE MAPS – ДВЕ КОЛОНИ
   ========================================== */

.contacts-page .office-maps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px 50px;
}

.contacts-page .office-map {
    text-align: center;
    min-width: 0;
}

.contacts-page .office-map iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: 0;
    margin: 0;
}

.contacts-page .office-map-link {
    display: inline-block;
    margin-top: 15px;
    color: #004385;
    text-decoration: none;
}

.contacts-page .office-map-link:hover {
    text-decoration: underline;
}


/* ==========================================
   МОБИЛНИ УСТРОЙСТВА
   ========================================== */

@media (max-width: 768px) {

    .contacts-page .office-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .contacts-page .office-email-center {
        order: 3;
    }

    .contacts-page .office-maps {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px 40px;
    }

    .contacts-page .office-map iframe {
        height: 280px;
    }

}

/* Плавна анимация на акордеона */

.why-accordion details {
    box-sizing: border-box;
}

.why-accordion summary {
    cursor: pointer;
    transition: color 0.3s ease;
}

.why-accordion summary::after {
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease;
}

.why-accordion details.is-expanded summary {
    color: #004385;
}

.why-accordion details.is-expanded summary::after {
    content: "−";
    color: #004385;
    border-color: #004385;
}

.why-accordion details:not(.is-expanded) summary::after {
    content: "+";
}

/* ==========================================
   BACK TO TOP
   ========================================== */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #004385;
    color: #ffffff;
    cursor: pointer;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #002d5c;
    transform: translateY(-4px);
}

.back-to-top svg {
    display: block;
    flex-shrink: 0;
}

@media (max-width: 768px) {

    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 42px;
        height: 42px;
    }

}
/* Страница Логистика */
.logistics-page nav a[aria-current="page"] { color:#004385; border-bottom:2px solid #004385; }
.logistics-heading { background:#f4f5f7; text-align:center; padding:24px 16px; }
.logistics-heading h1 { margin:0; color:#004385; font-size:clamp(28px,4vw,40px); }
.logistics-content { max-width:1200px; margin:auto; padding:40px 24px 64px; }
.logistics-content h2 { color:#004385; font-size:clamp(22px,3vw,30px); margin:0 0 20px; }
.logistics-content p { margin:0 0 18px; }
.logistics-main-photo { display:block; width:100%; height:auto; border-radius:4px; margin:28px 0; }
.logistics-features { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; padding:30px 0 44px; }
.logistics-features i { font-size:38px; color:#004385; }
.logistics-features h3 { font-size:17px; margin:10px 0 4px; }
.logistics-features p { font-size:14px; margin:0; }
.logistics-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.logistics-gallery figure { margin:0; }
.logistics-gallery img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; border-radius:4px; }
.logistics-gallery a { display:block; cursor:zoom-in; }
.logistics-gallery figcaption { padding:8px 0; color:#004385; }
.logistics-note { font-size:13px; color:#626b76; }
.logistics-contact { display:inline-block; background:#004385; color:white; padding:12px 24px; border-radius:4px; }
#logistics-lightbox { padding:0; border:0; background:#111; max-width:94vw; max-height:94vh; overflow:visible; }
#logistics-lightbox::backdrop { background:#000c; }
#logistics-lightbox img { display:block; max-width:90vw; max-height:85vh; object-fit:contain; }
@media(max-width:760px) { .logistics-features { grid-template-columns:repeat(2,1fr); } .logistics-content { padding:28px 18px 40px; } }
@media(max-width:480px) { .logistics-gallery { grid-template-columns:1fr; } }

#logistics-lightbox button {
    position: absolute;
    right: 8px;
    top: 8px;
    background: #000b;
    color: white;
    border: 0;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    caret-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

#logistics-lightbox button:hover {
    background: #004385;
}


/* Footer navigation */
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.footer-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-menu a {
    color: #d0dbe8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.footer-menu a:hover,
.footer-menu a[aria-current="page"] {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}
@media (max-width: 760px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-menu { gap: 18px; }
}

/* ========================================
   ПАРТНЬОРСТВО - CTA БАНЕР
======================================== */

.partnership-banner {
    position: relative;
    width: 100%;
    min-height: 350px;
    padding: 30px 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            rgba(0, 25, 50, .25),
            rgba(0, 25, 50, .35)
        ),
        url('../images/partnership_banner.webp')
        center center / cover no-repeat;
}

.partnership-content {
    width: 100%;
    max-width: 1000px;
    padding: 25px 40px;
    background: rgba(0, 35, 70, .65);
    backdrop-filter: blur(2px);
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
}

.partnership-content h2 {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
}

.partnership-content p {
    margin: 0 auto 20px;
    max-width: 850px;
    font-size: 19px;
    line-height: 1.5;
    color: #ffffff;
}

.partnership-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: #004385;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s ease;
}

.partnership-button:hover {
    background: #0063b5;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Таблети */

@media (max-width: 1100px) {

    .partnership-banner {
        min-height: 320px;
    }

    .partnership-content {
        max-width: 90%;
        padding: 25px 30px;
    }
}

/* Мобилни устройства */

@media (max-width: 768px) {

    .partnership-banner {
        min-height: 280px;
        padding: 25px 15px;
        background-position: center center;
    }

    .partnership-content {
        max-width: 100%;
        padding: 20px 15px;
    }

    .partnership-content h2 {
        font-size: 22px;
    }

    .partnership-content p {
        font-size: 15px;
    }

    .partnership-button {
        padding: 12px 22px;
        font-size: 13px;
    }
}

/* Активна страница в главното меню */

header nav a[aria-current="page"] {
    color: #004385;
    border-bottom: 2px solid #004385;
}

/* Активна страница във footer менюто */

.footer-menu a[aria-current="page"] {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}
/* За нас */

.about-hero{background:linear-gradient(90deg,#082342e8,#08234270),url('../images/Slider/slide-1-1320x600.webp') center/cover;color:#fff;padding:clamp(65px,9vw,140px) 24px;}
.about-hero-inner{max-width:1150px;margin:auto}.about-hero h1{font-size:clamp(32px,4.5vw,58px);line-height:1.15;max-width:850px;margin:12px 0}.about-hero p{margin:0;font-size:18px}.about-section{max-width:1200px;margin:auto;padding:65px 24px}.about-section h2{color:#004385;font-size:clamp(26px,3vw,36px);line-height:1.2;margin:12px 0 24px}.about-kicker{color:#004385;font-size:12px;letter-spacing:2px;font-weight:700}.about-intro{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.about-intro img{width:100%;border-radius:12px;display:block}.about-history{background:#f4f6f9}.about-timeline{list-style:none;padding:0;margin:35px 0 0}.about-timeline li{display:grid;grid-template-columns:110px 1fr;gap:24px;margin:0;position:relative}.about-timeline time,.about-year{font-size:28px;font-weight:700;color:#004385}.about-timeline li div{border-left:3px solid #004385;padding:0 0 28px 25px}.about-timeline h3,.about-values h3{margin:0 0 8px;color:#004385}.about-timeline p{margin:0}.about-values{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.about-values article{padding:28px;background:#f4f6f9;border-top:3px solid #004385;border-radius:6px}.about-values p{margin:0}.about-cta{text-align:center;background:#004385;color:white;padding:45px 24px}.about-cta h2{margin:0}.about-cta a{display:inline-block;background:white;color:#004385;padding:12px 24px;border-radius:5px;font-weight:700}.about-cta a:hover{background:#e8eff7}@media(max-width:700px){.about-intro,.about-values{grid-template-columns:1fr;gap:22px}.about-section{padding:40px 20px}.about-timeline li{grid-template-columns:72px 1fr;gap:10px}.about-timeline time,.about-year{font-size:23px}}


/* Нашите партньори */
.partners-section { background: #fff; padding: 48px 20px 36px; text-align: center; }
.partners-section h2 { color: #004385; font-size: clamp(26px, 3vw, 36px); margin: 0 0 30px; }
.partners-carousel { max-width: 1200px; margin: auto; display: flex; align-items: center; gap: 12px; }
.partners-viewport { flex: 1; min-width: 0; overflow: hidden; }
.partners-track { display: flex; list-style: none; padding: 0; margin: 0; will-change: transform; }
.partners-track li { flex: 0 0 25%; min-width: 0; padding: 12px 22px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: 110px; }
.partners-track img { display: block; width: 100%; height: 100%; max-width: 190px; object-fit: contain; }
.partners-prev, .partners-next, .partners-pause { border: 0; background: transparent; color: #004385; cursor: pointer; padding: 8px; font-size: 19px; }
.partners-controls, .partners-dots { display: flex; align-items: center; justify-content: center; gap: 9px; }
.partners-controls { margin-top: 16px; }
.partners-dots button { border: 0; border-radius: 50%; width: 9px; height: 9px; padding: 0; background: #cbd3dd; cursor: pointer; }
.partners-dots button[aria-current="true"] { background: #004385; }
.partners-section button:focus-visible, .partners-viewport:focus-visible { outline: 2px solid #004385; outline-offset: 4px; }
@media (max-width: 800px) { .partners-track li { flex-basis: 33.333333%; padding: 12px; } }
@media (max-width: 520px) { .partners-track li { flex-basis: 50%; height: 85px; padding: 10px; } .partners-carousel { gap: 2px; } .partners-section { padding: 34px 12px; } }
@media (prefers-reduced-motion: reduce) { .partners-track { transition: none !important; } }

.partners-track li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.partners-track li a img {
    transition: transform 0.3s ease;
}

.partners-track li a:hover img {
    transform: scale(1.08);
}

.partners-track li a:focus-visible {
    outline: 2px solid #004385;
    outline-offset: -3px;
    border-radius: 6px;
}

.learn-more-link {
    display: inline-block;
    font-weight:bold;
    color: #164a91;
    transition: transform 0.3s ease,
                color 0.3s ease;
}

.learn-more-link:hover {
    color: #0074c8;
    transform: translateX(8px);
}


/* Stable compact header: reserve the full height independently of scroll. */
body {
    --header-height: 95px;
    --header-compact-height: 65px;
    padding-top: var(--header-height);
}
header {
    position: fixed;
    inset: 0 0 auto;
    height: var(--header-height);
    transition: height 0.3s ease, box-shadow 0.3s ease;
}
header nav {
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
}
header nav > a:first-child img {
    width: 140px;
    height: auto;
    transition: width 0.3s ease;
}
header.scrolled {
    height: var(--header-compact-height);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.10);
}
header.scrolled nav > a:first-child img {
    width: 100px;
}
@media (max-width: 800px) {
    body {
        --header-height: 82px;
        --header-compact-height: 60px;
    }
    header nav > a:first-child img { width: 120px; }
    header.scrolled nav > a:first-child img { width: 92px; }
    header nav ul.open {
        top: 100%;
        max-height: calc(100dvh - var(--header-height));
        overflow-y: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    header, header nav > a:first-child img { transition: none; }
}


/* About page - Mission, Vision and Values */

.about-value-icon {
    display: inline-block;
    font-size: 44px;
    line-height: 1;
    color: #004385;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.about-values article {
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                background-color 0.3s ease;
}

.about-values article:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 67, 133, 0.12);
    background-color: #ffffff;
}

.about-values article:hover .about-value-icon {
    transform: scale(1.12);
}

.partners-pause {
    display: none !important;
}

.ot-pause {
    display: none !important;
}

.about-cta h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.about-cta p {
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-cta h2 {
        font-size: 26px;
    }

    .about-cta p {
        font-size: 15px;
    }
}

/* Navigation hover animation */

header nav #nav li a {
    position: relative;
    display: inline-block;
    border-bottom: none;
    text-decoration: none;
    transition: color 0.3s ease;
}

header nav #nav li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #004385;
    border-radius: 2px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

header nav #nav li a:hover,
header nav #nav li a:focus-visible,
header nav #nav li a[aria-current="page"] {
    color: #004385;
    border-bottom: none;
}

header nav #nav li a:hover::after,
header nav #nav li a:focus-visible::after,
header nav #nav li a[aria-current="page"]::after {
    transform: translateX(-50%) scaleX(1);
}