/* Surface Finishing Tools — custom styles */

@font-face {
    font-family: "Montserrat";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("/assets/fonts/montserrat-regular.woff2") format("woff2"),
         url("/assets/fonts/montserrat-regular.woff") format("woff");
}
@font-face {
    font-family: "Montserrat";
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url("/assets/fonts/montserrat-semibold.woff2") format("woff2"),
         url("/assets/fonts/montserrat-semibold.woff") format("woff");
}
@font-face {
    font-family: "Montserrat";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("/assets/fonts/montserrat-bold.woff2") format("woff2"),
         url("/assets/fonts/montserrat-bold.woff") format("woff");
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #222;
    background: #f0f0f0;
    margin: 0;
    padding: 0;
}

.page-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#main-container { flex: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.15s; }

.container { max-width: 1200px; padding: 0 24px; margin: 0 auto; }

/* ---- Buttons ---- */
.home-button--fill,
a.home-button--fill,
button.home-button--fill,
.btn-sz {
    display: inline-block;
    background: #1c3557;
    color: #fff !important;
    border: 2px solid #1c3557;
    padding: 10px 26px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.2s, border-color 0.2s;
}
.home-button--fill:hover,
a.home-button--fill:hover,
.btn-sz:hover {
    background: #0f2236;
    border-color: #0f2236;
    color: #fff !important;
}
.home-button--stroke {
    display: inline-block;
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.6);
    padding: 10px 26px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.2s, border-color 0.2s;
}
.home-button--stroke:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.9);
    color: #fff !important;
}

/* ============================================================
   HEADER
   ============================================================ */
.home-header {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 0 !important;
    position: sticky;
    top: 0;
    z-index: 500;
}

.home-header__top {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
}

.home-header__logo { flex-shrink: 0; line-height: 0; }
.home-header__logo-pic { max-height: 50px; width: auto; }

.home-header__block {
    display: flex;
    align-items: center;
    gap: 10px;
}
.home-header__email-callback { margin-left: auto; }
.home-header__callback { margin-left: 16px; }

.home-header__button {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
    border-radius: 50%;
    flex-shrink: 0;
}
.home-header__button svg path { fill: #1c3557; }

.home-header__column { display: flex; flex-direction: column; gap: 2px; }
.home-header__email { font-size: 13px; color: #444; font-weight: 500; display: block; }
.home-header__email:hover { color: #1c3557; }
.home-header__phone { font-size: 16px; color: #111; font-weight: 700; display: block; }
.home-header__phone:hover { color: #1c3557; }

.lang {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    margin-left: 16px;
}
.lang__link { font-size: 12px; color: #999; font-weight: 700; padding: 3px 7px; border: 1px solid transparent; }
.lang__item--current .lang__link {
    color: #1c3557;
    border-color: #1c3557;
}

/* ---- NAV BAR ---- */
.home-header__menu { background: #1c3557; }

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.menu-item > a {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    padding: 14px 15px;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
}
.menu-item > a:hover,
.menu-item.current-menu-item > a {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.menu-item.current-menu-item > a {
    border-bottom: 3px solid #fff;
}

.menu-item-has-children { position: relative; }
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    min-width: 260px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: 999;
}
.sub-menu .menu-item > a {
    color: #333;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    padding: 9px 20px;
    white-space: normal;
    border-bottom: none;
}
.sub-menu .menu-item > a:hover { color: #1c3557; background: #f4f7fb; }
.menu-item-has-children:hover > .sub-menu { display: block; }

/* mobile burger */
.mobile-control { display: none; }
.mobile-control__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}
.mobile-control__burger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.mobile-control__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}
.mobile-control__phone {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

/* ============================================================
   USP / HERO
   ============================================================ */
.usp {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    background-color: #1c3557;
    background-size: cover;
    background-position: center;
}
.usp::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,20,35,0.82) 50%, rgba(10,20,35,0.4));
    pointer-events: none;
}
.usp__container {
    position: relative;
    z-index: 1;
    padding: 60px 0;
    max-width: 680px;
}
.usp__title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.usp__offer {
    font-size: 14px;
    color: rgba(255,255,255,0.78);
    margin: 0 0 32px;
    line-height: 1.7;
}
.usp__control { display: flex; gap: 12px; flex-wrap: wrap; }
.usp__slider-arrow { display: none; }
.usp__slider { display: none; }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
section { padding: 60px 0; }

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    border-bottom: 3px solid #1c3557;
    padding-bottom: 12px;
}
.section-head__name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-head__link {
    font-size: 13px;
    color: #1c3557;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-color: transparent;
}
.section-head__link:hover { text-decoration-color: #1c3557; }

.section-subhead {
    margin: -20px 0 28px;
    color: #666;
    font-size: 14px;
}

/* ============================================================
   PRODUCTS GRID (home + catalog)
   ============================================================ */
.products { background: #fff; }

.products__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.products__item {
    background: #fff;
    border: 1px solid #e0e0e0;
    position: relative;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.products__item:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.11);
    border-color: #c0c0c0;
}
.products__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.products__pic-container {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.products__pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.products__item:hover .products__pic { transform: scale(1.03); }
.products__more {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    text-align: center;
    font-size: 11px;
    padding: 8px;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
}
.products__item:hover .products__more { opacity: 1; }
.products__name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    padding: 12px 14px 8px;
    line-height: 1.4;
}
.products__desc {
    font-size: 12px;
    color: #777;
    padding: 0 14px 14px;
    margin: 0;
    line-height: 1.5;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: #f0f0f0; }

.about__main {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}
.about__left {
    flex: 1;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}
.about__right {
    width: 280px;
    flex-shrink: 0;
    border: 4px solid #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}
.about__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.about__item {
    background: #fff;
    padding: 28px 24px;
    border: 1px solid #e0e0e0;
    text-align: center;
    border-top: 3px solid #1c3557;
}
.about__icon-container {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
}
.about__icon { width: 100%; height: 100%; }
.about__name { font-size: 14px; font-weight: 700; color: #1a1a1a; margin: 0 0 8px; }
.about__desc { font-size: 13px; color: #666; margin: 0; line-height: 1.5; }

/* ============================================================
   MAKE / CATEGORIES
   ============================================================ */
.make { background: #fff; }

.make__slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.make__item {
    position: relative;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.make__item:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.11);
    border-color: #c0c0c0;
}
.make__link { position: absolute; inset: 0; z-index: 1; }
.make__pic-container {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 5/3;
}
.make__pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.make__item:hover .make__pic { transform: scale(1.03); }
.make__more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    background: rgba(28,53,87,0.82);
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
}
.make__item:hover .make__more { opacity: 1; }
.make__name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 12px 14px;
    margin: 0;
    background: #fff;
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners { background: #f0f0f0; }

.partners__slider {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
}
.partners__wrapper {
    padding: 16px 28px;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}
.partners__wrapper img {
    max-height: 72px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    filter: grayscale(50%);
    transition: filter 0.2s;
}
.partners__wrapper:hover img { filter: grayscale(0%); }

/* ============================================================
   FOOTER
   ============================================================ */
.home-footer { background: #181818; color: #aaa; }

.home-footer__main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 52px 0 44px;
}
.home-footer__column-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2e2e2e;
}
.home-footer__text { font-size: 13px; line-height: 1.8; }
.home-footer__menu { list-style: none; padding: 0; margin: 0; }
.home-footer__menu li { margin-bottom: 9px; }
.home-footer__menu a { color: #888; font-size: 13px; }
.home-footer__menu a:hover { color: #fff; }

.home-footer__contact-label {
    font-size: 11px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 5px;
}
.home-footer__email { display: block; color: #888; font-size: 13px; margin-bottom: 4px; }
.home-footer__email:hover { color: #fff; }
.home-footer__phone { margin: 4px 0 20px; }
.home-footer__phone--href { color: #fff; font-size: 17px; font-weight: 700; }
.home-footer__phone--href:hover { color: #ccc; }

.home-footer__bottom {
    border-top: 1px solid #242424;
    padding: 16px 0;
}
.home-footer__bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.home-footer__copyright { color: #444; font-size: 12px; margin: 0; }
a.home-footer__copyright:hover { color: #888; }

/* ============================================================
   INNER PAGES (breadcrumb, title)
   ============================================================ */
.page-area {
    background: #fff;
    padding: 40px 0 60px;
}

.breadcrumb-nav { margin-bottom: 20px; }
.breadcrumb {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    font-size: 13px;
    color: #999;
    align-items: center;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    margin: 0 8px;
    color: #bbb;
}
.breadcrumb-item a { color: #1c3557; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item.active { color: #999; }

.page-title.entry-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid #1c3557;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.product-page__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    align-items: start;
}
.product-page__main-img {
    width: 100%;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
}
.product-page__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.product-page__thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    cursor: pointer;
}
.product-page__thumb:hover { border-color: #1c3557; }
.product-page__excerpt {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    margin: 0 0 24px;
}
.product-page__description {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    border-top: 1px solid #eee;
    padding-top: 36px;
}
.product-page__description h2,
.product-page__description h3,
.product-page__description h4 {
    font-weight: 700;
    margin: 24px 0 12px;
    color: #1a1a1a;
}
.product-page__description table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}
.product-page__description table th,
.product-page__description table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}
.product-page__description table th { background: #f5f5f5; font-weight: 600; }
.product-page__description img { max-width: 100%; height: auto; margin: 8px 0; }

/* ============================================================
   STATIC PAGE CONTENT
   ============================================================ */
.entry-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}
.entry-content h2 { font-size: 20px; font-weight: 700; margin: 32px 0 14px; color: #1a1a1a; border-left: 4px solid #1c3557; padding-left: 12px; }
.entry-content h3 { font-size: 17px; font-weight: 700; margin: 24px 0 10px; }
.entry-content p { margin: 0 0 16px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin: 0 0 16px; }
.entry-content li { margin-bottom: 6px; }
.entry-content img { max-width: 100%; height: auto; margin: 16px 0; }
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13px;
}
.entry-content table th,
.entry-content table td {
    border: 1px solid #ddd;
    padding: 9px 12px;
    text-align: left;
}
.entry-content table th { background: #f2f2f2; font-weight: 700; }
.entry-content table tr:nth-child(even) td { background: #fafafa; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section { max-width: 700px; }
.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid #d0d0d0;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 18px;
    outline: none;
    background: #fff;
    transition: border-color 0.2s;
    border-radius: 0;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #1c3557; }
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ============================================================
   404
   ============================================================ */
.error-404 { text-align: center; padding: 80px 20px; }
.error-404 h1 { font-size: 80px; color: #ddd; margin: 0; }
.error-404 h2 { font-size: 24px; margin: 0 0 16px; }
.error-404 p { color: #666; margin-bottom: 32px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .home-header__top { gap: 14px; }
    .home-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    /* Header — mobile */
    .home-header { position: sticky; top: 0; }
    .home-header__block { display: none !important; }
    .home-header__top { padding: 10px 0; gap: 10px; }
    .lang { display: none; }

    .mobile-control { display: block; }
    .home-header__menu .menu { display: none; }
    .home-header__menu .container { padding: 0 16px; }

    /* USP */
    .usp { min-height: 300px; }
    .usp__title { font-size: 24px; }
    .usp__container { padding: 48px 0; }

    /* Sections */
    section { padding: 40px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }

    /* Grids */
    .products__list,
    .make__slider,
    .about__list { grid-template-columns: 1fr 1fr; }

    .about__main { flex-direction: column; }
    .about__right { width: 100%; }

    .product-page__layout { grid-template-columns: 1fr; gap: 24px; }

    /* Footer */
    .home-footer__main { grid-template-columns: 1fr; gap: 24px; padding: 36px 0 28px; }
    .home-footer__bottom-container { flex-direction: column; gap: 8px; text-align: center; }

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

@media (max-width: 480px) {
    .products__list,
    .make__slider,
    .about__list { grid-template-columns: 1fr; }
    .usp__title { font-size: 20px; }
    .container { padding: 0 16px; }
}

/* ============================================================
   MMENU LIGHT overrides
   ============================================================ */
:root {
    --mm-spn-item-height: 46px;
    --mm-spn-item-indent: 20px;
    --mm-spn-line-height: 26px;
    --mm-color-background: #1c3557;
    --mm-color-border: rgba(255,255,255,0.1);
    --mm-color-text: rgba(255,255,255,0.85);
    --mm-color-text-dimmed: rgba(255,255,255,0.5);
    --mm-color-background-highlight: rgba(255,255,255,0.08);
    --mm-color-background-emphasis: rgba(255,255,255,0.12);
}
.mm-spn.mm-spn--navbar::before { font-weight: 700; font-size: 13px; }

/* hide mobile nav until mmenu-light takes over */
#mobile-nav { display: none; }
.mm-spn { display: block; }
