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

:root{
    --blue:#123847;
    --blue-dark:#0b2d3d;
    --red:#d43d27;
    --orange:#ff5a3d;
    --cream:#f7f4ef;
    --light:#f8fafc;
    --text:#34454c;
    --shadow:0 14px 38px rgba(0,0,0,.10);
}

html{
    scroll-behavior:smooth;
}

body{
    overflow-x:hidden;
    font-family:'Montserrat',Arial,sans-serif;
    background:var(--cream);
    color:var(--blue);
    font-weight:400;
    letter-spacing:.2px;
}

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

.visually-hidden{
    position:absolute;
    left:-9999px;
    width:1px;
    height:1px;
    overflow:hidden;
}

/* ===== Header ===== */
.site-header{
    min-height:96px;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(10px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 70px;
    box-shadow:0 4px 20px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:100;
}

.logo img{
    height:100px;
    width:auto;
}

.main-nav a{
    text-decoration:none;
    color:var(--blue);
    margin-left:22px;
    font-size:17px;
    font-weight:600;
    position:relative;
    transition:.3s;
}

.main-nav a:hover{
    color:var(--red);
}

.main-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-7px;
    width:0;
    height:3px;
    background:var(--red);
    border-radius:4px;
    transition:.3s;
}

.main-nav a:hover::after{
    width:100%;
}

.mobile-menu-btn{
    display:none;
}

/* ===== Hero ===== */
.hero{
    min-height:78vh;
    background:
        linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.35), rgba(0,0,0,.18)),
        url("images/hero-prima-optimized.webp");
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
}

.hero-overlay{
    width:100%;
    padding:120px 70px;
}

.hero-content{
    max-width:780px;
    color:white;
}

.hero-label,
.section-head span,
.small-title{
    display:inline-block;
    color:var(--orange);
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:16px;
}

.hero-content h1{
    font-size:64px;
    line-height:1.05;
    margin-bottom:24px;
    text-transform:uppercase;
    font-weight:800;
    letter-spacing:-1.5px;
}

.hero-content p{
    max-width:670px;
    font-size:24px;
    line-height:1.55;
    margin-bottom:36px;
}

.hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

/* ===== Buttons ===== */
.btn{
    display:inline-block;
    background:var(--red);
    color:white;
    text-decoration:none;
    padding:17px 36px;
    border-radius:40px;
    font-size:18px;
    font-weight:700;
    transition:.3s;
    border:2px solid transparent;
}

.btn:hover{
    transform:translateY(-3px);
    background:var(--orange);
    box-shadow:0 12px 28px rgba(0,0,0,.22);
}

.btn-outline{
    background:transparent;
    border-color:white;
}

.btn-outline:hover{
    background:white;
    color:var(--blue);
}

/* ===== Sections ===== */
.section{
    width:100%;
    padding:85px 70px;
}

.section-head{
    text-align:center;
    max-width:900px;
    margin:0 auto 48px;
}

.section-head h2{
    font-size:42px;
    color:var(--blue);
    margin-bottom:16px;
    font-weight:700;
    letter-spacing:-.6px;
}

.section-head p{
    font-size:20px;
    line-height:1.7;
    color:#4b5b61;
}

/* ===== Products ===== */
.product-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:26px;
}

.card{
    background:white;
    padding:32px;
    border-radius:22px;
    box-shadow:var(--shadow);
    border-top:5px solid var(--red);
    transition:.3s;
}

.card:hover{
    transform:translateY(-7px);
    box-shadow:0 18px 45px rgba(0,0,0,.14);
}

.card h3{
    font-size:25px;
    font-weight:700;
    color:var(--blue);
    margin-bottom:14px;
}

.card p{
    font-size:17px;
    line-height:1.55;
    color:#4b5b61;
}

/* ===== Brands ===== */
.brands{
    background:white;
}

.brand-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:24px;
}

.brand-card{
    background:var(--cream);
    border-radius:22px;
    padding:28px;
    min-height:150px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 10px 28px rgba(0,0,0,.07);
    transition:.3s;
}

.brand-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.brand-card img{
    max-width:180px;
    max-height:90px;
    object-fit:contain;
    transition:.3s;
}

.brand-card:hover img{
    transform:scale(1.08);
}

/* ===== Partners ===== */
.partners{
    background:var(--cream);
}

.partner-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.partner-card{
    background:white;
    padding:38px;
    border-radius:24px;
    text-align:center;
    box-shadow:var(--shadow);
    border-top:5px solid var(--blue);
    transition:.3s;
}

.partner-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.14);
}

.partner-card h3{
    font-size:30px;
    color:var(--blue);
    margin-bottom:18px;
}

.partner-card p{
    font-size:18px;
    line-height:1.7;
    color:#555;
    margin-bottom:28px;
}

.partner-btn{
    padding:14px 28px;
    font-size:17px;
}

.partner-note{
    display:inline-block;
    margin-top:10px;
    color:#777;
    font-style:italic;
    font-size:17px;
}

.partner-info{
    max-width:900px;
    margin:45px auto 0;
    background:linear-gradient(135deg,var(--blue),#0b3d52);
    color:white;
    padding:35px;
    border-radius:24px;
    text-align:center;
    box-shadow:var(--shadow);
}

.partner-info h3{
    font-size:28px;
    margin-bottom:12px;
}

.partner-info p{
    font-size:19px;
    line-height:1.7;
}

/* ===== Toning ===== */
.toning{
    width:100%;
    background:linear-gradient(135deg,var(--blue),#0b3d52);
    color:white;
    padding:95px 70px;
}

.toning-box{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:55px;
    align-items:center;
}

.toning h2{
    font-size:46px;
    line-height:1.15;
    margin-bottom:24px;
    color:white;
}

.toning p{
    font-size:21px;
    line-height:1.6;
    margin-bottom:30px;
}

.toning-list{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin-bottom:32px;
}

.toning-list div{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.15);
    padding:18px;
    border-radius:16px;
    font-size:18px;
}

.color-btn{
    background:var(--orange);
}

.toning-image{
    display:flex;
    justify-content:center;
    align-items:center;
}

.toning-image img{
    width:100%;
    max-width:520px;
    height:340px;
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 22px 48px rgba(0,0,0,.35);
}

/* ===== About ===== */
.about{
    background:white;
}

.about-box{
    max-width:1100px;
    margin:auto;
    background:var(--cream);
    padding:46px;
    border-radius:26px;
    box-shadow:var(--shadow);
    border-left:6px solid var(--blue);
}

.about-box p{
    font-size:20px;
    line-height:1.8;
    color:var(--text);
    margin-bottom:20px;
}

.about-box strong{
    color:var(--blue);
}

/* ===== Why ===== */
.why{
    background:var(--light);
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.why-grid div{
    background:white;
    padding:32px;
    border-radius:22px;
    text-align:center;
    box-shadow:var(--shadow);
    font-weight:800;
    color:var(--blue);
    font-size:20px;
    transition:.3s;
}

/* ===== Service area ===== */
.service-area{
    background:var(--cream);
}

.service-area-box{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.service-area-box > div{
    background:#fff;
    border-radius:22px;
    padding:30px;
    box-shadow:0 10px 28px rgba(0,0,0,.07);
}

.service-area-box h3{
    color:var(--blue);
    font-size:23px;
    margin-bottom:12px;
}

.service-area-box p{
    color:#4b5b61;
    font-size:17px;
    line-height:1.65;
}

.why-grid div:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.14);
}

/* ===== Gallery ===== */
.gallery{
    background:white;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.gallery-grid img{
    width:100%;
    height:285px;
    object-fit:cover;
    border-radius:22px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    transition:.3s;
}

.gallery-grid img:hover{
    transform:scale(1.03);
}

/* ===== Footer ===== */
footer{
    background:var(--blue-dark);
    color:white;
    padding:75px 30px 30px;
    text-align:center;
}

.footer-container{
    max-width:1200px;
    margin:auto;
}

.footer-info{
    max-width:760px;
    margin:auto;
}

footer h2{
    font-size:42px;
    margin-bottom:18px;
}

footer p{
    font-size:20px;
    line-height:1.8;
    margin-bottom:8px;
}

.footer-info a{
    color:white;
    text-decoration:none;
}

.footer-btn{
    display:inline-block;
    margin-top:22px;
    margin-right:12px;
    background:var(--orange);
    color:white;
    padding:16px 28px;
    border-radius:40px;
    text-decoration:none;
    font-weight:800;
    transition:.3s;
}

.footer-btn:hover{
    transform:translateY(-3px);
    background:white;
    color:var(--blue);
}

.instagram{
    background:#d62976;
}

.copyright{
    margin-top:50px;
    border-top:1px solid rgba(255,255,255,.15);
    padding-top:25px;
    color:#d0d0d0;
}

/* ===== Brand pages ===== */
.brand-page{
    padding:80px 30px 50px;
    text-align:center;
    background:#f7f4ef;
}

.brand-content{
    max-width:1000px;
    margin:0 auto;
}

.brand-content img{
    width:300px;
    height:auto;
    margin:0 auto 25px;
    object-fit:contain;
}

.brand-content p{
    max-width:850px;
    margin:0 auto 25px;
    font-size:20px;
    line-height:1.7;
    color:#34454c;
}

.products-brand{
    padding:70px 40px;
    background:#f7f4ef;
}

.products-brand h2{
    text-align:center;
    font-size:38px;
    color:#123847;
    margin-bottom:45px;
}

.product-brand-card{
    max-width:1100px;
    margin:0 auto 35px;
    background:#fff;
    border-radius:24px;
    padding:35px;
    box-shadow:0 14px 38px rgba(0,0,0,.10);
    display:grid;
    grid-template-columns:260px 1fr;
    gap:40px;
    align-items:center;
    border-left:6px solid #123847;
}
.product-brand-card img{
    width:340px;
    height:auto;
    max-width:100%;
    object-fit:contain;
    display:block;
    margin:auto;
}

.product-brand-text h3{
    font-size:28px;
    color:#123847;
    margin-bottom:15px;
}

.product-brand-text p{
    font-size:18px;
    line-height:1.7;
    color:#34454c;
    margin-bottom:15px;
}

.product-brand-text ul{
    list-style:none;
    padding:0;
    margin:18px 0 25px;
}

.product-brand-text li{
    font-size:18px;
    line-height:1.7;
    color:#34454c;
    margin-bottom:8px;
}

.product-brand-text .btn{
    margin-top:15px;
}

/* ===== Реализиран обект: ресторант VIGO ===== */
.vigo-project{
    max-width:1100px;
    margin:0 auto 45px;
    padding:38px;
    color:#fff;
    background:linear-gradient(135deg,#0d303e 0%,#123847 58%,#1b4b59 100%);
    border-radius:28px;
    box-shadow:0 18px 46px rgba(13,48,62,.22);
    overflow:hidden;
}

.vigo-project-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:28px;
    margin-bottom:18px;
}

.vigo-project .product-label{
    color:#ff7b68;
}

.vigo-project h3{
    margin:7px 0 0;
    color:#fff;
    font-size:clamp(30px,4vw,48px);
    line-height:1.05;
}

.vigo-project-product{
    min-width:270px;
    padding:15px 20px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:16px;
    background:rgba(255,255,255,.08);
}

.vigo-project-product span,
.vigo-project-product strong{
    display:block;
}

.vigo-project-product span{
    margin-bottom:5px;
    color:rgba(255,255,255,.72);
    font-size:13px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.vigo-project-product strong{
    font-size:18px;
    line-height:1.35;
}

.vigo-project-copy{
    max-width:860px;
    margin:0 0 28px;
    color:rgba(255,255,255,.84);
    font-size:17px;
    line-height:1.7;
}

.vigo-project-gallery{
    display:grid;
    grid-template-columns:repeat(12,1fr);
    gap:14px;
}

.vigo-photo{
    height:410px;
    margin:0;
    overflow:hidden;
    border-radius:18px;
    background:#e8e1d9;
}

.vigo-photo-wide{grid-column:span 7}
.vigo-photo-tall{grid-column:span 5}

.vigo-photo img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .45s ease;
}

.vigo-photo:hover img{
    transform:scale(1.025);
}

/* ===== Responsive ===== */
@media(max-width:1100px){
    .site-header{
        flex-direction:column;
        gap:15px;
        height:auto;
        padding:18px 25px;
    }

    .main-nav{
        text-align:center;
    }

    .main-nav a{
        display:inline-block;
        margin:8px 10px;
    }

    .product-grid,
    .brand-grid,
    .why-grid,
    .partner-grid,
    .service-area-box{
        grid-template-columns:repeat(2,1fr);
    }

    .toning-box{
        grid-template-columns:1fr;
        text-align:center;
    }

    .toning h2{
        text-align:center;
    }
}

@media(max-width:700px){
    .site-header{
        flex-direction:column;
        min-height:auto;
        padding:16px 20px;
    }

    .main-nav a{
        font-size:16px;
        margin:7px 8px;
    }

    .section,
    .toning{
        padding:60px 24px;
    }

    .hero-overlay{
        padding:90px 26px;
    }

    .hero-content h1{
        font-size:38px;
        letter-spacing:-.8px;
    }

    .hero-content p{
        font-size:19px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:flex-start;
    }

    .btn{
        font-size:17px;
        padding:14px 24px;
    }

    .product-grid,
    .brand-grid,
    .why-grid,
    .toning-list,
    .partner-grid,
    .service-area-box{
        grid-template-columns:1fr;
    }

    .logo img{
        height:72px;
    }

    .toning-image img{
        height:260px;
    }

    .about-box,
    .partner-card,
    .partner-info{
        padding:28px;
    }

    .product-brand-card{
        grid-template-columns:1fr;
        text-align:center;
        padding:30px;
    }

    .product-brand-card img{
        width:220px;
        height:auto;
    }

    .product-brand-text ul{
        text-align:left;
        display:inline-block;
    }

    .brand-content img{
        width:260px;
    }

    .products-brand{
        padding:50px 20px;
    }

    .vigo-project{
        padding:25px 18px 18px;
        border-radius:22px;
    }

    .vigo-project-head{
        align-items:flex-start;
        flex-direction:column;
        gap:18px;
    }

    .vigo-project-product{
        width:100%;
        min-width:0;
    }

    .vigo-project-gallery{
        grid-template-columns:1fr;
        gap:12px;
    }

    .vigo-photo-wide,
    .vigo-photo-tall{
        grid-column:auto;
    }

    .vigo-photo{
        height:auto;
        aspect-ratio:4/3;
    }

    .vigo-photo-tall{
        aspect-ratio:3/4;
    }
}
/* ===== KRAIBURG page ===== */

.kraiburg-system-card{
    max-width:1180px;
    margin:0 auto 42px;
    background:#fff;
    border-radius:26px;
    box-shadow:0 14px 38px rgba(0,0,0,.10);
    overflow:hidden;
    border-left:6px solid #123847;
}

.kraiburg-system-image{
    background:#f1f1f1;
    padding:20px;
    text-align:center;
}

.kraiburg-system-image img{
    width:100%;
    max-width:900px;
    height:auto;
    display:block;
    margin:0 auto;
    border-radius:18px;
}

.kraiburg-system-text{
    padding:42px;
}
.kraiburg-contact-box{
    text-align:center;
}

.kraiburg-contact-box p{
    max-width:800px;
    margin:15px auto 30px;
}

.kraiburg-contact-box .btn{
    display:inline-block;
}
.product-label{
    display:inline-block;
    color:#d43d27;
    text-transform:uppercase;
    letter-spacing:1.5px;
    font-weight:800;
    font-size:14px;
    margin-bottom:10px;
}

/* ===== NOVAMIX product page ===== */
.novamix-hero h1{
    margin:0 0 22px;
    color:#123847;
    font-size:clamp(32px, 5vw, 48px);
    line-height:1.15;
}

.novamix-category-nav{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin:38px auto 0;
}

.novamix-category-nav a{
    padding:11px 17px;
    border:1px solid rgba(18,56,71,.22);
    border-radius:24px;
    background:#fff;
    color:#123847;
    font-weight:700;
    text-decoration:none;
    transition:.25s;
}

.novamix-category-nav a:hover{
    color:#fff;
    background:#123847;
    transform:translateY(-2px);
}

.novamix-products{
    padding-top:55px;
}

.novamix-card{
    scroll-margin-top:30px;
}

.novamix-card > img{
    width:240px;
    height:290px;
    padding:6px;
    object-fit:contain;
}

.novamix-card > img.novamix-logo-fallback{
    height:180px;
    padding:35px 10px;
}

.novamix-actions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:18px;
    margin-top:24px;
}

.novamix-actions .btn{
    margin:0;
    padding:14px 25px;
    font-size:16px;
}

.novamix-source{
    color:#123847;
    font-weight:700;
    text-underline-offset:4px;
}

.novamix-source:hover{
    color:#d43d27;
}

.novamix-note{
    max-width:1100px;
    margin:65px auto 0;
    padding:38px;
    border-radius:24px;
    background:#123847;
    color:#fff;
    text-align:center;
}

.novamix-note h3{
    margin:0 0 14px;
    font-size:30px;
}

.novamix-note p{
    max-width:850px;
    margin:0 auto 24px;
    font-size:18px;
    line-height:1.7;
}

.novamix-note .btn{
    padding:14px 25px;
    font-size:16px;
}

@media(max-width:700px){
    .novamix-category-nav{
        align-items:stretch;
        flex-direction:column;
    }

    .novamix-category-nav a{
        text-align:center;
    }

    .novamix-card > img{
        width:210px;
        height:255px;
    }

    .novamix-actions{
        justify-content:center;
    }

    .novamix-actions .btn{
        width:100%;
        max-width:310px;
        text-align:center;
    }

    .novamix-note{
        padding:32px 22px;
    }
}
/* ===== ER-LAC product categories ===== */

.brand-category-title{
    max-width:1100px;
    margin:65px auto 30px;
    padding-bottom:12px;
    border-bottom:2px solid rgba(18,56,71,.15);
    color:#123847;
    font-size:28px;
    text-align:left;
}

@media(max-width:800px){
    .brand-category-title{
        margin-top:45px;
        font-size:23px;
        text-align:center;
    }
}
/* ===== RIVES product page ===== */

.product-actions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
    margin-top:28px;
}

.product-actions .btn{
    margin:0;
}

.catalog-btn{
    background:#123847;
}

.catalog-btn:hover{
    background:#0b2934;
}

.details-btn{
    background:#ffffff;
    color:#de3b27;
    border:1px solid #de3b27;
}

.details-btn:hover{
    background:#fff1ed;
    color:#c72f20;
}

.rives-more-products{
    max-width:1100px;
    margin:70px auto 20px;
    padding:0;
}

.rives-more-products-box{
    padding:48px 40px;
    background:#ffffff;
    border-radius:24px;
    border-top:5px solid #123847;
    box-shadow:0 14px 38px rgba(0,0,0,.10);
    text-align:center;
}

.rives-more-products-box h2{
    margin:8px 0 18px;
    color:#123847;
    font-size:34px;
}

.rives-more-products-box p{
    max-width:820px;
    margin:0 auto 16px;
    color:#34454c;
    font-size:18px;
    line-height:1.75;
}

.rives-more-products-box .btn{
    display:inline-block;
    margin-top:18px;
}

@media(max-width:800px){

    .product-actions{
        justify-content:center;
    }

    .product-actions .btn{
        width:100%;
        max-width:310px;
        text-align:center;
    }

    .rives-more-products{
        margin-top:45px;
    }

    .rives-more-products-box{
        padding:34px 22px;
    }

    .rives-more-products-box h2{
        font-size:27px;
    }

    .rives-more-products-box p{
        font-size:16px;
    }
}
.brand-hero{
    width:100%;
    overflow:hidden;
    margin-bottom:50px;
}

.brand-hero img{
    width:100%;
    height:520px;
    object-fit:cover;
    display:block;
}

@media(max-width:768px){

.brand-hero img{
    height:320px;
}

}
.brand-hero{
    width:100%;
    overflow:hidden;
    margin-bottom:50px;
}

.brand-hero img{
    width:100%;
    height:560px;
    object-fit:cover;
    object-position:center;
    display:block;
}

@media(max-width:768px){
    .brand-hero img{
        height:340px;
    }
}
