/* Font loaded via <link> in HTML for performance */

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    background-image: url('../изображения/mainbg.png');
    background-position: calc(50% + 190px);
    background-repeat: repeat;
    background-size: auto;
    color: #222;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 86px;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid rgba(13, 42, 79, 0.1);
    height: 80px;
    display: flex;
    align-items: center;
}

.header-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 86px;
    height: 100%;
    background: none;
    border-radius: 0;
    border: none;
}

/* ===== HERO ===== */
.hero-section {
    background-size: cover;
    background-position: center 50%;
    will-change: background-position;
    height: calc(100vh - 80px);
    min-height: 560px;
    max-height: 900px;
    color: white;
  
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #00000040;
    z-index: 1;
    pointer-events: none;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 400;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    letter-spacing: 0;
    padding: 8px 18px;
    border-radius: 8px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #E0C096;
    border-radius: 2px;
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu ul li a:hover {
    color: #0d2a4f;
}

.nav-menu ul li a:hover::after {
    width: 70%;
}

.nav-menu ul li a::after {
    background: #0d2a4f;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.header-phone-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone-number {
    text-decoration: none;
    color: #0d2a4f;
    font-weight: 700;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    letter-spacing: 0;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #E0C096;
}

.work-schedule {
    font-size: 12px;
    color: rgba(13, 42, 79, 0.6);
    font-weight: 400;
    margin-top: 4px;
}

/* Burger menu */
.burger-menu {
    width: 32px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    z-index: 9999;
    position: relative;
}

.burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #0d2a4f;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.burger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.burger-menu.active span:nth-child(2) { opacity: 0; transform: scale(0); }
.burger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.containertwo{
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 86px;
}
/* ===== HERO CONTENT ===== */
.hero-content {
   max-width: 1440px;
    padding: 0 86px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
   height: 100%;
    
    /* align-items: flex-start; */
}

.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    color: #FDE8C7;
    margin-bottom: 32px;
    text-align: left;
}

/* ===== HERO BUTTONS ===== */
.hero-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #0E79BB;
    color: #FDE8C7;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 295px;
    height: 60px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    background-color: #0c68a3;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(14, 121, 187, 0.45);
}

.btn-outline {
    background: #FDE8C7;
    color: #0d2a4f;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 295px;
    height: 60px;
    padding: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-outline:hover {
    background: #f5d8a8;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(253, 232, 199, 0.5);
}

/* ===== ORNAMENT STRIPE ===== */
.ornament-stripe {
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(
        90deg,
        #0b385f 0px, #0b385f 20px,
        #e0c096 20px, #e0c096 40px,
        #196a9b 40px, #196a9b 60px,
        #e0c096 60px, #e0c096 80px
    );
    flex-shrink: 0;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    background: transparent;
    padding: 72px 0 80px;
    overflow: hidden;
}

.projects-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #222;
}

.projects-title span {
    color: #0d2a4f;
}

/* ===== PROJECTS CAROUSEL ===== */
.proj-outer {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 86px;
}

/* Projects carousel track — 500px card + 70px peek × 2 = 640px */
.proj-track {
    flex: 1;
    min-width: 0;
    height: 640px;
    position: relative;
    overflow: hidden;
}

.proj-card {
    position: absolute;
    left: 0;
    width: 100%;
    height: 500px;
    border-radius: 30px;
    background: linear-gradient(180deg, #1087D1 0%, #08456B 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 1;
    pointer-events: none;
    transition: top 0.5s cubic-bezier(0.4,0,0.2,1),
                bottom 0.5s cubic-bezier(0.4,0,0.2,1),
                opacity 0.5s ease,
                transform 0.5s ease;
    transform: scale(0.93);
}

/* Active: (640-500)/2 = 70px */
.proj-card.is-active {
    top: 70px;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    z-index: 3;
  
}


.proj-card.is-prev {
    top: 0;
    opacity: 0.8;
    transform: scale(0.88);
    transform-origin: top center;
    z-index: 2;
    background: linear-gradient(180deg, #0d6aa0 0%, #063a5c 100%);
}

.proj-card:not(.is-active):not(.is-prev):not(.is-next) {
    opacity: 0;
    pointer-events: none;
}

/* Next: bottom:0 → BOTTOM 70px visible */
.proj-card.is-next {
    top: auto;
    bottom: 0;
    opacity: 0.8;
    transform: scale(0.88);
    transform-origin: bottom center;
    z-index: 2;
    background: linear-gradient(180deg, #0d6aa0 0%, #063a5c 100%);
}

.project-card-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.project-card-text {
    flex: 1;
    padding: 40px 28px 28px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.project-card-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    color: #FDE8C7;
}

.project-card-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: #FDE8C7;
    margin: 0;
}

.project-card-text .project-details {
    font-size: 14px;
    font-weight: 400;
    color: rgba(253,232,199,0.75);
    line-height: 1.5;
}

.project-card-text .project-dates {
    font-size: 14px;
    font-weight: 500;
    color: #FDE8C7;
}

.project-card-img {
    flex: 0 0 396px;
    height: 411px;
    align-self: center;
    overflow: hidden;
    border-radius: 25px;
    margin: 0 24px 0 0;
}

.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card-link {
    display: inline-block;
    padding: 12px 44px 20px;
    color: #FDE8C7;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s;
    flex-shrink: 0;
}

.project-card-link:hover {
    color: #fff;
}

/* Right side vertical nav */
.projects-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.proj-nav-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: #0F85CE;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
    opacity: 0.7;
}

.proj-nav-btn:hover {
    background: rgba(15,133,206,0.12);
    opacity: 1;
}

.proj-nav-btn:disabled {
    opacity: 0.2;
    cursor: default;
}

.proj-nav-dots {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    position: relative;
    padding: 4px 0;
}



.proj-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1A5A8299;
    cursor: pointer;
    transition: background 0.3s, height 0.3s, border-radius 0.3s;
    display: block;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.proj-dot.active,
.proj-dot.swiper-pagination-bullet-active {
    background: linear-gradient(180deg, #0F85CE 0%, #08486F 100%);
    height: 28px;
    border-radius: 4px;
    transform: none;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.about-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.about-left {
    flex: 1;
    max-width: 58%;
}

.about-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 36px;
    line-height: 1;
    letter-spacing: 0;
   
    color: #0B385F;
    margin-bottom: 36px;
}

.about-logo-block {
    margin-bottom: 32px;
}

.about-logo-img {
    width: 340px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.about-logo-text {
    font-weight: 800;
    font-size: 44px;
    color: #0d2a4f;
    line-height: 1;
    letter-spacing: 2px;
}

.about-logo-text small {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 8px;
    display: block;
}

.about-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.7;
    letter-spacing: 0;
    color: #444;
}

.about-right {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 56px;
}

.stat-card {
    border-radius: 18px;
    padding: 26px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border: 1px solid #e5e8ed;
    box-shadow:
        0px 10px 23px 0px rgba(0,0,0,0.10),
        0px 41px 41px 0px rgba(0,0,0,0.09),
        0px 93px 56px 0px rgba(0,0,0,0.05),
        0px 165px 66px 0px rgba(0,0,0,0.02),
        0px 257px 72px 0px rgba(0,0,0,0.00);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(13,42,79,0.12);
}

.stat-card-accent {
    background: linear-gradient(135deg, #1a5f9e, #0d2a4f);
    border: none;
    box-shadow: 0 6px 24px rgba(13,42,79,0.3);
}

.stat-card-accent .stat-card-number,
.stat-card-accent .stat-card-label {
    color: #FDE8C7;
}

.stat-card-number {
    font-weight: 800;
    font-size: 16px;
    color: #0d2a4f;
    line-height: 1.3;
    display: block;
    margin-bottom: 6px;
}

.stat-card-label {
    font-size: 15px;
    color: #666;
    font-weight: 500;
    display: block;
}

/* ===== ADVANTAGES SECTION ===== */
.advantages-section {
    padding: 72px 0 80px;
    background: transparent;
}

.advantages-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #222;
}

.advantages-title span {
    color: #0d2a4f;
}

.advantages-grid {
    display: grid;
    grid-template-areas:
        "territory territory"
        "quarry    factory"
        "quarry    concrete";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 346px 280px 283px;
    gap: 20px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 65px;
}

.advantage-item {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

.adv-overlay {
    position: absolute;
    inset: 0;
    border-radius: 30px;
}

.advantage-item:hover .adv-overlay {
    background: rgba(0, 0, 0, 0.12);
}

.adv-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-item:hover .adv-text {
    transform: scale(1.04);
}

.adv-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.adv-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* Advantage backgrounds */
.adv-territory {
    grid-area: territory;
    background-image: url('../изображения/adv1.png');
}

.adv-quarry {
    grid-area: quarry;
    background-image: url('../изображения/adv2.png');
}

.adv-factory {
    grid-area: factory;
    background-image: url('../изображения/adv3.png');
}

.adv-concrete {
    grid-area: concrete;
    background-image: url('../изображения/adv4.png');
}

/* ===== FOOTER ===== */
.footer {
    background-color: #0d1e2e;
    background-image: url('../изображения/footerbg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.footer-ornament {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 2;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 40px;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    max-width: 160px;
    height: auto;
    display: block;
}

.footer-col-brand p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    max-width: 240px;
}

.footer-col-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-contact p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

.footer-col-contact a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-col-contact a:hover {
    color: #E0C096;
}

.footer-col-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-icons a img {
    width: 44px;
    height: 44px;
}

.social-icons a:hover {
    opacity: 0.8;
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.12);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: 0;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 48px 40px 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modal-in 0.3s ease;
}

@keyframes modal-in {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 36px;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover { color: #333; }

.modal-title {
    font-size: 28px;
    font-weight: 800;
    color: #0d2a4f;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 28px;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.callback-form input {
    width: 100%;
    padding: 14px 20px;
    border: 1.5px solid #dde2ea;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
    color: #333;
}

.callback-form input:focus {
    border-color: #0d2a4f;
}

.callback-form input::placeholder {
    color: #bbb;
}

.btn-submit {
    background: #0d2a4f;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 4px;
}

.btn-submit:hover {
    background: #1a4a7a;
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
    font-weight: 600;
}

.form-message.success { color: #27ae60; }
.form-message.error   { color: #e74c3c; }

/* ===== ANIMATIONS ===== */
:root {
    --animation-duration: 0.6s;
    --animation-easing: cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--animation-duration) var(--animation-easing);
}
.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    opacity: 0;
    transition: opacity var(--animation-duration) var(--animation-easing);
}
.animate-fade-in.animate-in {
    opacity: 1;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all var(--animation-duration) var(--animation-easing);
}
.animate-slide-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all var(--animation-duration) var(--animation-easing);
}
.animate-slide-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all var(--animation-duration) var(--animation-easing);
}
.animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* legacy — keep in case anything uses it */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9998;
    display: none;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-content {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 40px;
    position: relative;
}

.mobile-menu-close {
    position: absolute;
    top: 28px;
    right: 28px;
    background: none;
    border: none;
    color: #999;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    transition: transform 0.3s ease, color 0.2s;
}

.mobile-menu-close:hover {
    color: #333;
    transform: rotate(90deg) scale(1.1);
}

.mobile-menu-logo {
    margin-bottom: 20px;
    text-align: center;
}

.mobile-menu-logo img {
    width: 120px;
    height: auto;
}

.mobile-menu-tagline {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.4;
}

.mobile-menu-phone {
    color: #0d2a4f;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 48px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 28px;
    width: 100%;
    max-width: 300px;
}

.mobile-menu-phone:hover { color: #E0C096; }

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
}

.mobile-menu-nav a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.mobile-menu-nav a:hover {
    color: #0d2a4f;
    padding-left: 10px;
}

.mobile-menu-nav a:last-child { border-bottom: none; }

body.lock-scroll,
html.lock-scroll {
    overflow: hidden !important;
}

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

/* Large desktop */
@media (min-width: 1400px) {
    .hero-tagline { font-size: 56px; }
}

/* Medium desktop */
@media (max-width: 1199px) {
    .hero-tagline { font-size: 40px; }
    .project-card-img { flex: 0 0 280px; }
}

/* Tablet */
@media (max-width: 991px) {
    .burger-menu { display: flex; }
    .nav-menu { display: none; }
    .header-phone-block { display: none; }
    .header { height: 80px; }
    .header-nav { padding: 0 24px; }
    .hero-section { height: calc(100vh - 80px); }

    .hero-tagline { font-size: 34px; }
    .btn-primary, .btn-outline { min-width: 200px; font-size: 16px; height: 56px; }

    .about-layout { flex-direction: column; gap: 40px; }
    .about-left { max-width: 100%; }
    .about-right { flex: none; width: 100%; max-width: 100%; padding-top: 0; flex-direction: row; flex-wrap: wrap; }
    .stat-card { flex: 1 1 200px; }

    .proj-outer { padding: 0 24px; gap: 20px; }
    .proj-track { height: 520px; }
    .proj-card  { width: 100%; height: 400px; }
    .proj-card.is-active { top: 60px; }

    .project-card-body { flex-direction: column; padding: 16px 16px 0; gap: 14px; }
    .project-card-text { padding: 0 0 16px; justify-content: flex-start; }
    .project-card-img { flex: none; width: 100%; height: 220px; border-radius: 18px; margin: 0; align-self: auto; }

    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-col-social { grid-column: span 2; justify-content: flex-start; }
    .social-icons { justify-content: flex-start; }

    .advantages-grid {
        grid-template-rows: 260px 180px 180px;
    }
    .adv-title { font-size: 15px; }
    .adv-subtitle { font-size: 12px; }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-section { height: calc(100vh - 80px); min-height: 480px; }
    .hero-content { left: 24px; right: 24px; padding: 24px 0 60px; }
    .hero-tagline { font-size: 28px; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .btn-primary, .btn-outline { width: 260px; }

    .about-section { padding: 50px 0; }
    .about-title { font-size: 24px; }
    .about-logo-text { font-size: 32px; }
    .about-logo-text small { font-size: 16px; }
    .about-description { font-size: 14px; }
    .about-layout { flex-direction: column; gap: 32px; }
    .about-left { max-width: 100%; }
    .about-right {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 8px 20px 16px;
        margin: 0 -20px;
        scrollbar-width: none;
        width: calc(100% + 40px);
        padding-top: 0;
    }
    .about-right::-webkit-scrollbar { display: none; }
    .stat-card { flex: 0 0 75%; scroll-snap-align: center; }
    .stat-card-number { font-size: 36px; }

    .container { padding: 0 20px; }
    .header { height: 72px; }
    .logo img { width: 76px; height: 58px; object-fit: contain; }
    .header-nav { padding: 0 20px; }

    .projects-section { padding: 40px 0; }
    .projects-title { font-size: 24px; margin-bottom: 28px; }

    /* Mobile carousel: column layout, dots at bottom */
    .proj-outer {
        flex-direction: column;
        padding: 0 20px;
        gap: 16px;
    }
    .proj-track {
        width: 100%;
        flex: none;
        height: auto;
        overflow: visible;
        display: grid;
    }
    .proj-card {
        grid-column: 1;
        grid-row: 1;
        position: relative;
        height: auto;
        border-radius: 20px;
        padding: 25px;
        top: auto;
        bottom: auto;
        transform: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .proj-card.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        top: auto;
    }
    .proj-card.is-prev { opacity: 0; visibility: hidden; }
    .proj-card.is-next { opacity: 0; visibility: hidden; }

    /* Dots row at bottom, arrows hidden */
    .projects-nav {
        flex-direction: row;
        justify-content: center;
        gap: 0;
        width: 100%;
    }
    .proj-nav-btn { display: none; }
    .proj-nav-dots {
        flex-direction: row;
        gap: 8px;
    }
    .proj-nav-dots::before { display: none; }
    .proj-dot { width: 8px; height: 8px; }
    .proj-dot.active {
        width: 24px;
        height: 8px;
        border-radius: 4px;
    }

    .project-card-body { flex-direction: column; padding: 0; gap: 16px; }
    .project-card-text { padding: 0; gap: 8px; justify-content: flex-start; text-align: center; }
    .project-card-label { font-size: 14px; font-weight: 700; line-height: 1; text-align: center; }
    .project-card-text p { font-size: 14px; font-weight: 400; line-height: 1; text-align: center; }
    .project-card-text .project-details { font-size: 14px; line-height: 1; }
    .project-card-text .project-dates { font-size: 14px; line-height: 1; }
    .project-card-img { order: -1; flex: none; width: 270px; height: 227px; border-radius: 15px; margin: 0 auto; align-self: auto; }

    .advantages-section { padding: 48px 0 60px; }
    .advantages-title { font-size: 24px; margin-bottom: 32px; }
    .advantages-grid {
        grid-template-areas:
            "territory territory"
            "quarry    factory"
            "quarry    concrete";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 190px 190px;
        gap: 12px;
        max-width: 100%;
        padding: 0;
    }
    .adv-title { font-size: 13px; }
    .adv-subtitle { font-size: 11px; }
    .advantage-item { border-radius: 20px; }
    .adv-overlay { border-radius: 20px; }

    .footer-main { grid-template-columns: 1fr; gap: 28px; }
    .footer-col-social { grid-column: auto; justify-content: flex-start; }

    .modal-content { padding: 40px 24px 32px; }
    .modal-title { font-size: 24px; }
}

/* Small mobile */
@media (max-width: 479px) {
    .hero-section { height: calc(100vh - 80px); min-height: 420px; }
    .hero-tagline { font-size: 22px; }
    .btn-primary, .btn-outline { width: 240px; font-size: 15px; height: 52px; }

    .advantages-grid {
        grid-template-areas:
            "territory territory"
            "quarry    factory"
            "quarry    concrete";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 170px 170px;
        gap: 10px;
        padding: 0;
    }
    .advantage-item { border-radius: 16px; }
    .adv-overlay { border-radius: 16px; }
    .advantage-item span { font-size: 16px; }
}
