/* PrintVel wow redesign: premium print studio / marketplace visual layer. */

:root {
    --pv-red: #9a1915;
    --pv-red-hot: #d9251d;
    --pv-red-dark: #650f0d;
    --pv-red-deep: #2b0505;
    --pv-black: #08090b;
    --pv-graphite: #111318;
    --pv-panel: #171a20;
    --pv-panel-2: #20242c;
    --pv-ink: #151515;
    --pv-muted: #8d929d;
    --pv-white: #ffffff;
    --pv-paper: #f5f1eb;
    --pv-paper-2: #ebe5dc;
    --pv-line: rgba(255, 255, 255, 0.12);
    --pv-line-dark: rgba(0, 0, 0, 0.12);
    --pv-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
    --pv-shadow-red: 0 18px 42px rgba(154, 25, 21, 0.28);
    --pv-max: 1320px;
    --pv-pad: clamp(18px, 4vw, 56px);
    --pv-section: clamp(64px, 9vw, 124px);
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: var(--pv-black);
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% -5%, rgba(154, 25, 21, 0.34), transparent 34rem),
        linear-gradient(180deg, #08090b 0%, #111318 46%, #f5f1eb 46%, #f5f1eb 100%);
    color: var(--pv-white);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

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

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

p {
    margin: 0 0 1rem;
    max-width: 72ch;
    color: inherit;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: inherit;
    line-height: 0.98;
    letter-spacing: 0;
    font-weight: 900;
}

h1 {
    font-size: clamp(2.55rem, 7vw, 6.9rem);
}

h2 {
    font-size: clamp(2.15rem, 5.2vw, 5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

ul,
ol {
    margin-top: 0;
}

.container {
    width: min(var(--pv-max), calc(100% - var(--pv-pad)));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

main > .container {
    position: relative;
    padding: clamp(54px, 9vw, 110px) 0 var(--pv-section);
    color: var(--pv-white);
}

main > .container::before {
    content: "PRINTVEL / PRODUCTION";
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 1.1rem;
    padding: 0.45rem 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--pv-line);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

main > .container > h1 {
    max-width: 920px;
    margin-bottom: clamp(28px, 5vw, 56px);
    color: var(--pv-white);
}

main > .container > h1::after,
.section h2::after,
.about h2::after,
.services h2::after,
.partners h2::after,
.news h2::after,
.gallery h2::after,
.hits h2::after {
    content: "";
    display: block;
    width: clamp(82px, 13vw, 180px);
    height: 6px;
    margin-top: 1rem;
    background: var(--pv-red-hot);
}

.section,
.about,
.services,
.partners,
.news,
.hits,
.gallery {
    position: relative;
    padding: var(--pv-section) 0;
}

.section .container,
.about .container,
.services .container,
.partners .container,
.news .container,
.hits .container,
.gallery .container {
    position: relative;
    z-index: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
header,
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    color: var(--pv-white);
    background: rgba(8, 9, 11, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
}

header::before,
.site-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--pv-red-hot), var(--pv-red), var(--pv-red-deep));
}

header .container,
.site-header .container {
    min-height: 86px;
    width: min(var(--pv-max), calc(100% - var(--pv-pad)));
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 4vw, 54px);
}

.logo,
header .logo,
.footer-logo {
    flex: 0 0 auto;
}

.logo img,
header .logo img,
footer .footer-logo img {
    width: auto;
    height: 56px;
    filter: none;
}

header nav {
    flex: 1 1 auto;
}

header nav ul,
footer nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    flex-wrap: wrap;
}

header nav ul li,
footer nav ul li {
    position: relative;
    margin: 0;
}

header nav ul.menu > li > a,
footer nav ul.footer-menu > li > a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1rem;
    color: rgba(255, 255, 255, 0.86);
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.1;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

header nav ul.menu > li > a:hover,
header nav ul.menu > li > a:focus-visible,
header nav ul.menu > li:focus-within > a,
footer nav ul.footer-menu > li > a:hover,
footer nav ul.footer-menu > li > a:focus-visible {
    color: #fff;
    background: rgba(154, 25, 21, 0.22);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 -2px 0 var(--pv-red-hot);
}

header nav ul li ul {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 250px;
    margin: 0;
    padding: 0.45rem;
    background: rgba(17, 19, 24, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--pv-shadow);
    transform: translateX(-50%);
    z-index: 1001;
}

header nav ul li:hover > ul,
header nav ul li:focus-within > ul {
    display: block;
    opacity: 1;
    visibility: visible;
}

header nav ul li ul li a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.85rem 0.95rem;
    color: rgba(255, 255, 255, 0.84);
    border: 1px solid transparent;
    white-space: normal;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

header nav ul li ul li a:hover,
header nav ul li ul li a:focus-visible {
    color: #fff;
    background: rgba(154, 25, 21, 0.34);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Hero */
.hero {
    min-height: calc(100vh - 86px);
    padding: clamp(18px, 3vw, 34px) 0 clamp(42px, 6vw, 82px);
    overflow: hidden;
    color: var(--pv-white);
    background:
        linear-gradient(125deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.78) 42%, rgba(154, 25, 21, 0.26) 100%),
        #08090b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
    content: "PRINT / DESIGN / BRAND / PACKAGING";
    position: absolute;
    left: max(18px, calc((100vw - var(--pv-max)) / 2));
    bottom: 18px;
    color: rgba(255, 255, 255, 0.16);
    font-size: clamp(2.2rem, 8vw, 8.2rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: 0;
    white-space: nowrap;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.12) 1px, transparent 1.6px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 34%, rgba(154, 25, 21, 0.18));
    background-size: 22px 22px, auto;
    opacity: 0.32;
    mask-image: linear-gradient(120deg, transparent 0%, #000 28%, transparent 74%);
}

.hero .container {
    position: relative;
    z-index: 2;
    width: min(var(--pv-max), calc(100% - var(--pv-pad)));
    padding: 0;
}

.hero .container::before {
    content: "POLYGRAPHY MARKETPLACE";
    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 1rem;
    padding: 0.5rem 0.72rem;
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.banner-carousel {
    position: relative;
    width: 100% !important;
    height: min(68vh, 650px) !important;
    min-height: 510px;
    margin: 0 !important;
    overflow: hidden;
    background: #050506;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--pv-shadow);
    isolation: isolate;
}

.banner-carousel::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 4;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.banner-carousel::after {
    content: "PRINTVEL";
    position: absolute;
    right: clamp(16px, 3vw, 38px);
    bottom: clamp(14px, 2vw, 28px);
    z-index: 5;
    color: rgba(255, 255, 255, 0.18);
    font-size: clamp(2.6rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 0.8;
    pointer-events: none;
}

.banner {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center right !important;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.55s ease;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 5, 6, 0.94) 0%, rgba(5, 5, 6, 0.72) 36%, rgba(5, 5, 6, 0.18) 72%, rgba(5, 5, 6, 0.36) 100%),
        linear-gradient(180deg, rgba(154, 25, 21, 0.18), transparent 46%);
    pointer-events: none;
}

.banner.active {
    opacity: 1;
    z-index: 1;
}

.banner-text {
    position: absolute;
    left: clamp(24px, 6vw, 92px) !important;
    top: clamp(64px, 10vw, 128px) !important;
    right: auto !important;
    max-width: min(640px, calc(100% - 58px)) !important;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.38s ease, transform 0.38s ease;
    z-index: 6;
}

.banner-text::before {
    content: "PRINTVEL";
    display: inline-flex;
    margin-bottom: 0.9rem;
    padding: 0.45rem 0.7rem;
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.banner.active .banner-text {
    opacity: 1;
    transform: translateY(0);
}

.banner-text h2,
.hero h2 {
    margin: 0;
    color: #fff !important;
    font-size: clamp(2.5rem, 6.8vw, 6.8rem) !important;
    line-height: 0.9 !important;
    text-align: left !important;
    max-width: 760px;
    text-transform: none;
    text-shadow: 0 12px 44px rgba(0, 0, 0, 0.55);
}

.banner-button {
    position: absolute;
    left: clamp(24px, 6vw, 92px) !important;
    bottom: clamp(74px, 10vw, 118px) !important;
    top: auto !important;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.45rem !important;
    color: #fff !important;
    background: var(--pv-red-hot) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: var(--pv-shadow-red) !important;
    font-weight: 900;
    letter-spacing: 0;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.38s ease, transform 0.38s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    z-index: 6;
}

.banner-button::after {
    content: " ->";
    margin-left: 0.55rem;
}

.banner.active .banner-button {
    opacity: 1;
    transform: translateY(0);
}

.banner-button:hover,
.banner-button:focus-visible {
    background: #fff !important;
    color: var(--pv-black) !important;
    border-color: #fff !important;
    box-shadow: 0 22px 54px rgba(255, 255, 255, 0.12) !important;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    z-index: 8;
    transform: translateY(-50%);
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.carousel-prev {
    left: 22px;
}

.carousel-next {
    right: 22px;
}

.carousel-prev:hover,
.carousel-next:hover,
.carousel-prev:focus-visible,
.carousel-next:focus-visible {
    background: var(--pv-red-hot) !important;
    border-color: var(--pv-red-hot) !important;
}

/* About */
.about {
    color: var(--pv-white);
    background:
        linear-gradient(135deg, #111318 0%, #171a20 56%, #250808 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.about::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.65;
}

.about .container {
    display: grid;
    grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(28px, 6vw, 78px);
    align-items: start;
}

.about h2 {
    position: sticky;
    top: 118px;
    color: #fff;
    max-width: 440px;
}

.about p {
    width: auto !important;
    max-width: none;
    color: rgba(255, 255, 255, 0.72);
    text-align: left !important;
    font-size: clamp(1rem, 1.28vw, 1.18rem);
}

.about .container > p:first-of-type,
.about ul,
.about .container > p:last-of-type {
    grid-column: 2;
}

.about .container > p:first-of-type {
    font-size: clamp(1.12rem, 1.7vw, 1.46rem);
    line-height: 1.62;
}

.about ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about li {
    padding: clamp(22px, 3vw, 38px);
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: var(--pv-shadow);
}

.about b,
.about strong,
.about li b,
.about li strong {
    color: #fff !important;
}

.about li b[style],
.about li strong[style] {
    color: #ff514a !important;
}

.about .container > p:last-of-type {
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* Section themes */
.services,
.gallery {
    color: var(--pv-white);
    background: #08090b;
}

.services::before,
.gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(154, 25, 21, 0.16), transparent 35%),
        radial-gradient(circle at 78% 12%, rgba(154, 25, 21, 0.2), transparent 24rem);
    pointer-events: none;
}

.partners,
.news,
.hits,
main > .container {
    color: var(--pv-white);
    background: transparent;
}

.section h2,
.services h2,
.partners h2,
.news h2,
.hits h2,
.gallery h2,
.header {
    width: 100%;
    margin: 0 0 clamp(28px, 5vw, 62px);
    color: inherit;
    text-align: left;
}

/* Card systems */
.card-container,
.subcategory-container,
#latest-news,
#news-container,
.gallery-carousel,
.product-grid,
.news-grid,
.service-grid {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: clamp(18px, 2vw, 28px);
    margin: 0;
    padding: 0;
    align-items: stretch;
    text-align: left;
}

.card-container {
    counter-reset: pv-card;
}

.product-grid,
.gallery-carousel,
#news-container,
#latest-news {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.info-card,
.service-card,
.service-card-design,
.subcategory-card,
.product-card,
.news-item,
.latest-news-item,
.testimonial,
.gallery-item {
    position: relative;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    height: 100%;
    margin: 0 !important;
    padding: clamp(18px, 2.2vw, 28px) !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    color: var(--pv-white);
    text-align: left;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.service-card::before,
.subcategory-card::before,
.product-card::before,
.news-item::before,
.latest-news-item::before,
.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--pv-red-hot);
    opacity: 0.78;
    transition: opacity 0.18s ease, width 0.18s ease;
}

.service-card {
    counter-increment: pv-card;
}

.service-card::after {
    content: "0" counter(pv-card);
    position: absolute;
    top: 18px;
    right: 18px;
    color: rgba(255, 255, 255, 0.14);
    font-size: clamp(2rem, 5vw, 4.4rem);
    font-weight: 900;
    line-height: 0.8;
}

.service-card:hover,
.service-card-design:hover,
.subcategory-card:hover,
.product-card:hover,
.news-item:hover,
.latest-news-item:hover,
.testimonial:hover,
.gallery-item:hover,
.info-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: var(--pv-shadow-red);
}

.service-card:hover::before,
.subcategory-card:hover::before,
.product-card:hover::before,
.news-item:hover::before,
.latest-news-item:hover::before,
.gallery-item:hover::before {
    width: 7px;
    opacity: 1;
}

.service-card a,
.service-card-design a,
.subcategory-card a,
.product-card a,
.news-item a,
.latest-news-item a {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
}

.service-card img,
.service-card-design img,
.subcategory-card img,
.product-card img,
.news-item img,
.latest-news-item img,
.gallery-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin: 0 0 1.15rem !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--pv-panel);
    filter: saturate(1.05) contrast(1.02);
}

.service-card h2,
.service-card h3,
.service-card-design h3,
.subcategory-card h2,
.product-card h3,
.news-item h3,
.latest-news-item h3,
.info-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 0.75rem;
    color: #fff;
    text-align: left;
    font-size: clamp(1.25rem, 2vw, 1.85rem);
    line-height: 1.05;
}

.service-card p,
.service-card-design p,
.subcategory-card p,
.product-card p,
.news-item p,
.latest-news-item p,
.info-card p,
.testimonial p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.66);
    text-align: left;
}

.subcategory-card .order-button,
.product-card button,
.read-more,
.order-button {
    margin-top: auto;
}

.price,
.product-card .price {
    margin-top: auto;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
}

/* Light content pages */
body:has(main > .container) main > .container .subcategory-container,
body:has(main > .container) main > .container #news-container,
body:has(main > .container) main > .container .product-grid {
    margin-top: 0.4rem;
}

body:not(:has(.hero)) main {
    min-height: 62vh;
    background:
        linear-gradient(180deg, #08090b 0%, #12141a 48%, #f5f1eb 48%, #f5f1eb 100%);
}

body:not(:has(.hero)) main > .container > p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.2rem;
}

/* Buttons and inputs */
.btn,
.order-button,
.banner-button,
.read-more,
button,
button[type="submit"],
.product-card button,
#order-form button,
.modal-content button,
#send-chat,
#open-chat,
#toggle-chat {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.88rem 1.18rem;
    color: #fff;
    background: var(--pv-red-hot);
    border: 1px solid var(--pv-red-hot);
    font-weight: 900;
    line-height: 1.1;
    cursor: pointer;
    box-shadow: none;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.btn:hover,
.order-button:hover,
.banner-button:hover,
.read-more:hover,
button:hover,
button[type="submit"]:hover,
.product-card button:hover,
#order-form button:hover,
.modal-content button:hover,
#send-chat:hover,
#open-chat:hover,
#toggle-chat:hover {
    color: var(--pv-black);
    background: #fff;
    border-color: #fff;
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.1);
}

input,
select,
textarea,
.modal-content input,
.modal-content textarea {
    width: 100%;
    min-height: 46px;
    padding: 0.82rem 0.95rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

input:focus,
select:focus,
textarea:focus,
.btn:focus-visible,
.order-button:focus-visible,
.banner-button:focus-visible,
.read-more:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(217, 37, 29, 0.35);
    outline-offset: 2px;
}

textarea,
#order-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Tables */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 2rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--pv-shadow);
}

.styled-table,
.service-card table,
.service-card-design table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    text-align: left;
}

.styled-table thead tr,
.service-card th,
.service-card-design th {
    background: var(--pv-red-hot);
    color: #fff;
}

.styled-table th,
.styled-table td,
.service-card th,
.service-card td,
.service-card-design th,
.service-card-design td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    text-align: left;
}

.styled-table tbody tr:nth-child(even),
.service-card tbody tr:nth-child(even),
.service-card-design tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.045);
}

.styled-table tbody tr:hover,
.service-card tbody tr:hover,
.service-card-design tbody tr:hover {
    background: rgba(217, 37, 29, 0.16);
}

/* Partners / news / gallery */
.partners-logos {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 14px;
    align-items: center;
    justify-items: center;
}

.partners-logos img {
    width: 100%;
    max-width: 128px;
    margin: 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.12);
    filter: grayscale(1);
    opacity: 0.56;
    transition: opacity 0.18s ease, filter 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.partners-logos img:hover {
    opacity: 0.94;
    filter: grayscale(0);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
}

.gallery-item-overlay,
.modal-content,
#chat-box,
#chat-header,
#open-chat {
    color: #fff;
    background: rgba(17, 19, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--pv-shadow);
}

/* Footer */
footer {
    padding: clamp(42px, 6vw, 76px) 0;
    color: var(--pv-white);
    background: #08090b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .container {
    align-items: center;
    text-align: center;
}

footer nav ul.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 0.85rem;
    margin-top: 1.2rem;
    font-size: 0.92rem;
}

footer nav ul.footer-submenu {
    display: block;
    padding: 0;
    margin-top: 0.45rem;
}

footer nav ul.footer-submenu li {
    margin: 0.28rem 0;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-copy {
    margin-top: 1.4rem;
}

.footer-copy p {
    color: rgba(255, 255, 255, 0.56);
}

/* Override later-loaded CSS files without editing them. */
body header nav ul li a,
body footer nav ul li a,
body .btn,
body .order-button,
body .banner-button,
body .read-more,
body button,
body input,
body select,
body textarea,
body .banner-carousel,
body .banner,
body .banner-text,
body .carousel-prev,
body .carousel-next,
body .info-card,
body .service-card,
body .service-card-design,
body .subcategory-card,
body .product-card,
body .news-item,
body .latest-news-item,
body .testimonial,
body .gallery-item,
body .gallery-item img,
body .product-card img,
body .service-card img,
body .service-card-design img,
body .subcategory-card img,
body .modal-content,
body #chat-box,
body #chat-header,
body #open-chat {
    border-radius: 8px !important;
}

body .banner-carousel,
body .banner,
body .banner-text,
body .carousel-prev,
body .carousel-next,
body header,
body footer,
body .site-header,
body .about li,
body .table-container {
    border-radius: 0 !important;
}

body .service-card:hover,
body .service-card-design:hover,
body .subcategory-card:hover,
body .product-card:hover,
body .news-item:hover,
body .latest-news-item:hover,
body .gallery-item:hover,
body .testimonial:hover,
body .info-card:hover,
body .partners-logos img:hover,
body .btn:hover,
body .order-button:hover,
body .banner-button:hover,
body .read-more:hover,
body button:hover {
    transform: none !important;
}

body .banner-button:hover {
    transform: translateY(0) !important;
}

body .carousel-prev:hover,
body .carousel-next:hover {
    transform: translateY(-50%) !important;
}

/* Responsive */
@media (max-width: 1100px) {
    .about .container {
        grid-template-columns: 1fr;
    }

    .about h2,
    .about .container > p:first-of-type,
    .about ul,
    .about .container > p:last-of-type {
        grid-column: 1;
    }

    .about h2 {
        position: static;
        max-width: 760px;
    }

    .banner-carousel {
        min-height: 470px;
        height: 58vh !important;
    }
}

@media (max-width: 820px) {
    :root {
        --pv-pad: 24px;
        --pv-section: 58px;
    }

    header .container,
    .site-header .container {
        min-height: auto;
        padding: 0.85rem 0 1rem;
        flex-direction: column;
        gap: 0.8rem;
    }

    .logo img,
    header .logo img,
    footer .footer-logo img {
        height: 50px;
    }

    header nav,
    header nav ul.menu {
        width: 100%;
    }

    header nav ul.menu {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    header nav ul.menu > li,
    header nav ul.menu > li > a {
        width: 100%;
    }

    header nav ul li ul {
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 0.35rem;
        box-shadow: none;
        transform: none;
    }

    .hero {
        min-height: auto;
        padding-top: 14px;
    }

    .hero::before {
        display: none;
    }

    .banner-carousel {
        height: 500px !important;
        min-height: 500px;
    }

    .banner::before {
        background: linear-gradient(180deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.58) 55%, rgba(5, 5, 6, 0.88) 100%);
    }

    .banner-text {
        top: 36px !important;
        left: 22px !important;
        right: 22px !important;
        max-width: none !important;
    }

    .banner-text h2,
    .hero h2 {
        font-size: clamp(2.4rem, 11vw, 4.8rem) !important;
    }

    .banner-button {
        left: 22px !important;
        bottom: 46px !important;
    }

    .card-container,
    .subcategory-container,
    #latest-news,
    #news-container,
    .gallery-carousel,
    .product-grid,
    .news-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    footer nav ul.footer-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    footer nav ul.footer-menu > li > a {
        width: 100%;
    }
}

@media (max-width: 430px) {
    :root {
        --pv-pad: 18px;
        --pv-section: 46px;
    }

    main > .container {
        padding-top: 44px;
    }

    h1 {
        font-size: 2.35rem;
    }

    h2 {
        font-size: 2rem;
    }

    .banner-carousel {
        height: 440px !important;
        min-height: 440px;
    }

    .banner-carousel::before {
        inset: 10px;
    }

    .banner-text {
        top: 24px !important;
        left: 18px !important;
        right: 18px !important;
    }

    .banner-text h2,
    .hero h2 {
        font-size: 2.25rem !important;
    }

    .banner-button {
        left: 18px !important;
        bottom: 34px !important;
        min-height: 48px;
        padding: 0.85rem 1rem !important;
    }

    .carousel-prev,
    .carousel-next {
        top: auto;
        bottom: 34px;
        width: 46px !important;
        height: 48px !important;
        transform: none;
    }

    .carousel-prev {
        left: auto;
        right: 72px;
    }

    .carousel-next {
        right: 18px;
    }

    body .carousel-prev:hover,
    body .carousel-next:hover {
        transform: none !important;
    }

    .service-card,
    .service-card-design,
    .subcategory-card,
    .product-card,
    .news-item,
    .latest-news-item,
    .testimonial,
    .info-card {
        padding: 16px !important;
    }
}

@media (max-width: 390px) {
    :root {
        --pv-pad: 16px;
    }

    .banner-carousel {
        height: 410px !important;
        min-height: 410px;
    }

    .banner-text h2,
    .hero h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 360px) {
    :root {
        --pv-pad: 14px;
    }

    h1 {
        font-size: 2.05rem;
    }

    h2 {
        font-size: 1.78rem;
    }

    .banner-carousel {
        height: 388px !important;
        min-height: 388px;
    }

    .banner-text h2,
    .hero h2 {
        font-size: 1.82rem !important;
    }

    .banner-button {
        font-size: 0.92rem;
    }
}

/* Polish pass after visual QA screenshots: fix cut backgrounds, blank cards, chat overlay. */
body {
    background: #08090b !important;
}

body:not(:has(.hero)) main {
    background: #08090b !important;
}

main > .container {
    padding-top: clamp(72px, 9vw, 118px) !important;
    padding-bottom: clamp(64px, 8vw, 104px) !important;
}

main > .container > h1 {
    max-width: 1080px !important;
    font-size: clamp(2.35rem, 5.6vw, 5.7rem) !important;
    line-height: 0.98 !important;
    overflow-wrap: normal;
    hyphens: manual;
}

/* Product/category pages should stay fully dark, not split into beige bands. */
body:not(:has(.hero)) .subcategory-container,
body:not(:has(.hero)) .product-grid,
body:not(:has(.hero)) #news-container {
    position: relative;
    z-index: 2;
}

body:not(:has(.hero)) .subcategory-card,
body:not(:has(.hero)) .product-card {
    color: #fff !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28) !important;
}

body:not(:has(.hero)) .subcategory-card h2,
body:not(:has(.hero)) .subcategory-card h3,
body:not(:has(.hero)) .product-card h2,
body:not(:has(.hero)) .product-card h3 {
    color: #fff !important;
}

body:not(:has(.hero)) .subcategory-card p,
body:not(:has(.hero)) .product-card p {
    color: rgba(255, 255, 255, 0.72) !important;
}

body:not(:has(.hero)) .subcategory-card img,
body:not(:has(.hero)) .product-card img {
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
}

/* Compact homepage sections that looked too empty. */
.partners {
    padding: clamp(42px, 5.5vw, 72px) 0 !important;
    background: #101217 !important;
}

.partners h2 {
    font-size: clamp(2rem, 4.6vw, 4.2rem) !important;
}

.partners-logos {
    gap: 12px !important;
    align-items: center !important;
}

.partners-logos img {
    max-width: 118px !important;
    min-height: 96px;
    object-fit: contain;
}

.hits {
    padding: clamp(42px, 5vw, 68px) 0 !important;
    color: #fff !important;
    background: #08090b !important;
}

.hits .carousel:empty {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* News must be readable on the light studio-paper band. */
.news {
    color: #161616 !important;
    background: var(--pv-paper) !important;
}

.news h1,
.news h2,
.news h3,
.news .header {
    color: #161616 !important;
}

.news h1::after,
.news h2::after,
.news .header::after {
    background: var(--pv-red-hot) !important;
}

#news-container,
#latest-news {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: clamp(20px, 2.4vw, 32px) !important;
    justify-content: stretch !important;
    align-items: stretch !important;
}

.news-item,
.latest-news-item {
    width: auto !important;
    min-height: auto !important;
    height: auto !important;
    padding: clamp(18px, 2vw, 26px) !important;
    color: #171717 !important;
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-left: 4px solid var(--pv-red-hot) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1) !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.news-item h3,
.latest-news-item h3 {
    color: var(--pv-red-dark) !important;
    text-align: left !important;
    line-height: 1.08 !important;
}

.news-item p,
.latest-news-item p,
.news-content,
.news-date,
.latest-news-date {
    color: #4f4f4f !important;
    text-align: left !important;
}

.news-item img,
.latest-news-item img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    margin: 0 0 1rem !important;
}

.news .read-more,
.latest-news-item .read-more,
.news-item .read-more {
    align-self: flex-start !important;
    margin-top: 1rem !important;
    color: #fff !important;
    background: var(--pv-red) !important;
    border-color: var(--pv-red) !important;
}

.news .read-more:hover,
.latest-news-item .read-more:hover,
.news-item .read-more:hover {
    color: #fff !important;
    background: var(--pv-red-dark) !important;
    border-color: var(--pv-red-dark) !important;
}

/* Gallery should be image-forward, not tall white empty cards. */
.gallery {
    color: #fff !important;
    background: radial-gradient(circle at 20% 0%, rgba(154, 25, 21, 0.22), transparent 30rem), #08090b !important;
}

.gallery-carousel {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
    gap: clamp(14px, 1.7vw, 22px) !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    justify-content: stretch !important;
}

.gallery-item {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22) !important;
    overflow: hidden !important;
}

.gallery-item img {
    width: 100% !important;
    height: 190px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    margin: 0 !important;
    border: 0 !important;
    filter: saturate(1.08) contrast(1.03) !important;
}

.gallery-item p,
.gallery-item figcaption {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0.75rem 0.85rem !important;
    color: rgba(255, 255, 255, 0.78) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    text-align: left !important;
}

/* Chat must be compact and dark; collapsed state should never leak into hero. */
#chat-box {
    right: 18px !important;
    bottom: 86px !important;
    width: min(360px, calc(100vw - 36px)) !important;
    max-height: min(620px, calc(100vh - 120px)) !important;
    padding: 0 !important;
    color: #fff !important;
    background: rgba(17, 19, 24, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34) !important;
    overflow: hidden !important;
    z-index: 1200 !important;
}

#chat-box.collapsed {
    display: none !important;
}

#chat-box:not(.collapsed) {
    display: flex !important;
}

#chat-header {
    padding: 0.85rem 1rem !important;
    background: var(--pv-red) !important;
    border: 0 !important;
}

#chat-content {
    padding: 0.9rem !important;
}

#chat-messages {
    height: 190px !important;
    max-height: 32vh !important;
    margin-bottom: 0.75rem !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

#chat-input {
    width: 100% !important;
    height: 84px !important;
    margin-bottom: 0.75rem !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

#open-chat {
    right: 18px !important;
    bottom: 18px !important;
    width: auto !important;
    min-width: 58px !important;
    height: 50px !important;
    padding: 0 1rem !important;
    z-index: 1201 !important;
}

/* Final no-scale guarantee. */
body *:hover {
    --tw-scale-x: 1 !important;
    --tw-scale-y: 1 !important;
}

@media (max-width: 820px) {
    main > .container > h1 {
        font-size: clamp(2.1rem, 10vw, 4.2rem) !important;
    }

    .partners {
        padding: 40px 0 !important;
    }

    .gallery-item img {
        height: 220px !important;
    }
}

@media (max-width: 430px) {
    main > .container {
        padding-top: 42px !important;
    }

    main > .container > h1 {
        font-size: clamp(2rem, 12vw, 3.15rem) !important;
    }

    #news-container,
    #latest-news,
    .gallery-carousel {
        grid-template-columns: 1fr !important;
    }

    #chat-box {
        left: 12px !important;
        right: 12px !important;
        bottom: 76px !important;
        width: auto !important;
    }

    #open-chat {
        right: 12px !important;
        bottom: 12px !important;
    }
}

/* Mobile-first correction pass: compact navigation, readable hero, stable cards. */
@media (max-width: 820px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    :root {
        --pv-pad: 20px;
        --pv-section: 44px;
    }

    header,
    .site-header {
        position: sticky !important;
        top: 0 !important;
        background: rgba(8, 9, 11, 0.96) !important;
    }

    header .container,
    .site-header .container {
        width: calc(100% - 24px) !important;
        min-height: 0 !important;
        padding: 0.62rem 0 0.68rem !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.58rem !important;
        align-items: center !important;
    }

    header .logo,
    .site-header .logo {
        justify-self: center !important;
    }

    header .logo img,
    .site-header .logo img,
    footer .footer-logo img {
        height: 42px !important;
        max-width: 150px !important;
        object-fit: contain !important;
    }

    header nav {
        width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    header nav ul.menu {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 0.45rem !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        padding: 0 0 0.2rem !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch;
    }

    header nav ul.menu::-webkit-scrollbar {
        display: none !important;
    }

    header nav ul.menu > li {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    header nav ul.menu > li > a {
        width: auto !important;
        min-height: 38px !important;
        padding: 0.58rem 0.78rem !important;
        font-size: 0.86rem !important;
        white-space: nowrap !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
        background: rgba(255, 255, 255, 0.045) !important;
    }

    header nav ul li ul {
        position: absolute !important;
        top: calc(100% + 6px) !important;
        left: 0 !important;
        right: auto !important;
        width: min(280px, calc(100vw - 32px)) !important;
        min-width: 0 !important;
        transform: none !important;
        z-index: 1500 !important;
        max-height: 60vh !important;
        overflow-y: auto !important;
    }

    .hero {
        min-height: auto !important;
        padding: 12px 0 34px !important;
    }

    .hero .container {
        width: calc(100% - 24px) !important;
    }

    .hero .container::before {
        margin-bottom: 0.75rem !important;
        padding: 0.38rem 0.55rem !important;
        font-size: 0.62rem !important;
        letter-spacing: 0.1em !important;
    }

    .banner-carousel {
        width: 100% !important;
        height: min(70svh, 500px) !important;
        min-height: 390px !important;
        max-height: 520px !important;
    }

    .banner-carousel::before {
        inset: 10px !important;
    }

    .banner-carousel::after {
        display: none !important;
    }

    .banner {
        background-position: center center !important;
    }

    .banner::before {
        background: linear-gradient(180deg, rgba(5, 5, 6, 0.9) 0%, rgba(5, 5, 6, 0.5) 48%, rgba(5, 5, 6, 0.92) 100%) !important;
    }

    .banner-text {
        top: 24px !important;
        left: 18px !important;
        right: 18px !important;
        max-width: none !important;
        transform: none !important;
    }

    .banner-text::before {
        margin-bottom: 0.65rem !important;
        padding: 0.34rem 0.5rem !important;
        font-size: 0.62rem !important;
    }

    .banner-text h2,
    .hero h2 {
        max-width: 100% !important;
        font-size: clamp(1.86rem, 9.5vw, 3.2rem) !important;
        line-height: 0.98 !important;
        overflow-wrap: anywhere !important;
        text-wrap: balance;
    }

    .banner-button {
        left: 18px !important;
        right: 18px !important;
        bottom: 28px !important;
        width: auto !important;
        min-height: 48px !important;
        padding: 0.78rem 0.95rem !important;
        font-size: 0.95rem !important;
        transform: none !important;
    }

    .carousel-prev,
    .carousel-next {
        top: auto !important;
        bottom: 88px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 1.15rem !important;
        transform: none !important;
    }

    .carousel-prev {
        left: 18px !important;
        right: auto !important;
    }

    .carousel-next {
        left: 66px !important;
        right: auto !important;
    }

    body .carousel-prev:hover,
    body .carousel-next:hover {
        transform: none !important;
    }

    main > .container {
        width: calc(100% - 24px) !important;
        padding-top: 36px !important;
        padding-bottom: 48px !important;
    }

    main > .container::before {
        margin-bottom: 0.8rem !important;
        padding: 0.38rem 0.55rem !important;
        font-size: 0.62rem !important;
        letter-spacing: 0.1em !important;
        max-width: 100% !important;
        white-space: normal !important;
    }

    main > .container > h1 {
        max-width: 100% !important;
        margin-bottom: 26px !important;
        font-size: clamp(2rem, 10vw, 3.65rem) !important;
        line-height: 1.02 !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    main > .container > h1::after,
    .section h2::after,
    .about h2::after,
    .services h2::after,
    .partners h2::after,
    .news h2::after,
    .gallery h2::after,
    .hits h2::after {
        width: 82px !important;
        height: 4px !important;
        margin-top: 0.72rem !important;
    }

    .section,
    .about,
    .services,
    .partners,
    .news,
    .hits,
    .gallery {
        padding: 44px 0 !important;
    }

    .section h2,
    .services h2,
    .partners h2,
    .news h2,
    .hits h2,
    .gallery h2,
    .about h2,
    .header {
        margin-bottom: 24px !important;
        font-size: clamp(1.85rem, 9vw, 3.2rem) !important;
        line-height: 1.02 !important;
        overflow-wrap: anywhere !important;
    }

    .about .container {
        gap: 1.1rem !important;
    }

    .about .container > p:first-of-type {
        font-size: 1rem !important;
        line-height: 1.58 !important;
    }

    .about li {
        padding: 1rem !important;
    }

    .about li p {
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
    }

    .card-container,
    .subcategory-container,
    #latest-news,
    #news-container,
    .gallery-carousel,
    .product-grid,
    .news-grid,
    .service-grid {
        width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .service-card,
    .service-card-design,
    .subcategory-card,
    .product-card,
    .news-item,
    .latest-news-item,
    .testimonial,
    .info-card {
        width: 100% !important;
        min-height: 0 !important;
        padding: 15px !important;
    }

    .service-card::after {
        font-size: 2.4rem !important;
        opacity: 0.52 !important;
    }

    .service-card img,
    .service-card-design img,
    .subcategory-card img,
    .product-card img,
    .news-item img,
    .latest-news-item img {
        aspect-ratio: 16 / 10 !important;
        margin-bottom: 0.85rem !important;
    }

    .service-card h2,
    .service-card h3,
    .service-card-design h3,
    .subcategory-card h2,
    .product-card h3,
    .news-item h3,
    .latest-news-item h3,
    .info-card h2 {
        font-size: clamp(1.22rem, 6.2vw, 1.7rem) !important;
        line-height: 1.08 !important;
        overflow-wrap: anywhere !important;
    }

    .service-card p,
    .service-card-design p,
    .subcategory-card p,
    .product-card p,
    .news-item p,
    .latest-news-item p,
    .info-card p,
    .testimonial p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .order-button,
    .read-more,
    .product-card button,
    .btn,
    button[type="submit"] {
        width: 100% !important;
        min-height: 46px !important;
        padding: 0.82rem 0.95rem !important;
    }

    .partners {
        padding: 34px 0 !important;
    }

    .partners-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    .partners-logos img {
        max-width: none !important;
        width: 100% !important;
        min-height: 74px !important;
        padding: 8px !important;
    }

    .gallery-carousel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .gallery-item img {
        height: 150px !important;
    }

    .gallery-item p,
    .gallery-item figcaption {
        padding: 0.62rem 0.7rem !important;
        font-size: 0.86rem !important;
    }

    footer {
        padding: 34px 0 !important;
    }

    footer nav ul.footer-menu {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
        width: 100% !important;
    }

    footer nav ul.footer-menu > li > a {
        min-height: 40px !important;
    }

    .footer-submenu a {
        font-size: 0.92rem !important;
        color: rgba(255, 255, 255, 0.72) !important;
    }
}

@media (max-width: 430px) {
    :root {
        --pv-pad: 16px;
        --pv-section: 38px;
    }

    header .container,
    .site-header .container,
    .hero .container,
    main > .container,
    .container {
        width: calc(100% - 20px) !important;
    }

    header .logo img,
    .site-header .logo img {
        height: 38px !important;
    }

    header nav ul.menu > li > a {
        min-height: 36px !important;
        padding: 0.52rem 0.68rem !important;
        font-size: 0.8rem !important;
    }

    .banner-carousel {
        height: 390px !important;
        min-height: 390px !important;
    }

    .banner-text {
        top: 18px !important;
        left: 14px !important;
        right: 14px !important;
    }

    .banner-text h2,
    .hero h2 {
        font-size: clamp(1.58rem, 10.5vw, 2.55rem) !important;
    }

    .banner-button {
        left: 14px !important;
        right: 14px !important;
        bottom: 22px !important;
        font-size: 0.9rem !important;
    }

    .carousel-prev,
    .carousel-next {
        bottom: 78px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .carousel-prev {
        left: 14px !important;
    }

    .carousel-next {
        left: 58px !important;
    }

    main > .container > h1 {
        font-size: clamp(1.85rem, 11vw, 2.75rem) !important;
    }

    .gallery-carousel {
        grid-template-columns: 1fr !important;
    }

    .gallery-item img {
        height: 210px !important;
    }

    .partners-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #chat-box {
        left: 10px !important;
        right: 10px !important;
        bottom: 72px !important;
        width: auto !important;
    }

    #open-chat {
        right: 10px !important;
        bottom: 10px !important;
    }
}

@media (max-width: 360px) {
    header .container,
    .site-header .container,
    .hero .container,
    main > .container,
    .container {
        width: calc(100% - 16px) !important;
    }

    .banner-carousel {
        height: 362px !important;
        min-height: 362px !important;
    }

    .banner-text h2,
    .hero h2 {
        font-size: 1.54rem !important;
    }

    main > .container > h1 {
        font-size: 1.82rem !important;
    }
}

/* Codex polish pass: design price pages, inner-page rhythm, mobile header. */
body:not(:has(.hero)) main {
    background:
        radial-gradient(circle at 86% 4%, rgba(154, 25, 21, 0.26), transparent 28rem),
        linear-gradient(180deg, #08090b 0%, #101217 100%) !important;
}

body:not(:has(.hero)) main > .container {
    padding-top: clamp(44px, 6vw, 78px) !important;
    padding-bottom: clamp(56px, 7vw, 92px) !important;
}

body:not(:has(.hero)) main > .container > h1,
body:not(:has(.hero)) main > .container > h1.header {
    max-width: 1040px !important;
    margin-bottom: clamp(24px, 3.8vw, 44px) !important;
    font-size: clamp(2.65rem, 5.7vw, 5.35rem) !important;
    line-height: 1.02 !important;
    overflow-wrap: anywhere !important;
}

body:not(:has(.hero)) main > .container > p.header {
    max-width: 820px !important;
    margin: 0 0 clamp(28px, 4vw, 46px) !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: clamp(1rem, 1.2vw, 1.18rem) !important;
    font-weight: 500 !important;
    line-height: 1.66 !important;
}

body .card-container.service-cards,
body main > .container .card-container.service-cards {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 410px), 1fr)) !important;
    gap: clamp(20px, 2.2vw, 30px) !important;
    align-items: start !important;
}

body .service-cards .service-card-design,
body main > .container .service-cards .service-card-design {
    min-height: 0 !important;
    height: auto !important;
    padding: clamp(18px, 2vw, 26px) !important;
    overflow: hidden !important;
}

body .service-cards .service-card-design:only-child {
    width: 100% !important;
    max-width: none !important;
}

body .service-card-design > h2,
body main > .container .service-card-design > h2 {
    display: block !important;
    max-width: 100% !important;
    margin: 0 0 clamp(14px, 1.8vw, 22px) !important;
    color: #fff !important;
    font-size: clamp(1.45rem, 2.05vw, 2.25rem) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
}

body .service-card-design > h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin-top: 0.7rem;
    background: var(--pv-red-hot);
}

body .service-card-design table,
body main > .container .service-card-design table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    font-size: clamp(0.88rem, 0.95vw, 1rem) !important;
    line-height: 1.45 !important;
}

body .service-card-design th,
body .service-card-design td,
body main > .container .service-card-design th,
body main > .container .service-card-design td {
    padding: 0.78rem 0.9rem !important;
    vertical-align: top !important;
    overflow-wrap: anywhere !important;
}

body .service-card-design th:nth-child(2),
body .service-card-design td:nth-child(2) {
    width: 34% !important;
    color: #fff !important;
    font-weight: 800 !important;
}

body .service-card-design th {
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
}

body .info-card.highlighted-card {
    min-height: 0 !important;
    padding: clamp(18px, 2vw, 28px) !important;
}

body .info-card.highlighted-card h2 {
    margin-bottom: 0.55rem !important;
    font-size: clamp(1.35rem, 2vw, 2rem) !important;
    line-height: 1.08 !important;
}

body .info-card.highlighted-card .price {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: clamp(1rem, 1.25vw, 1.2rem) !important;
}

/* Override news.css while keeping edits limited to style.css. */
body:not(:has(.hero)) #news-container {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: clamp(18px, 2.2vw, 28px) !important;
    justify-content: stretch !important;
    align-items: stretch !important;
}

body:not(:has(.hero)) #news-container .news-item,
body .latest-news-item,
body .news-item {
    border-radius: 0 !important;
}

body:not(:has(.hero)) #news-container .news-item {
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: clamp(18px, 1.9vw, 24px) !important;
    display: flex !important;
    flex-direction: column !important;
}

body:not(:has(.hero)) #news-container .news-item h3 {
    margin-bottom: 0.85rem !important;
    color: var(--pv-red-dark) !important;
    font-size: clamp(1.35rem, 2.2vw, 2rem) !important;
    line-height: 1.08 !important;
    text-align: left !important;
}

body:not(:has(.hero)) #news-container .news-item img {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

body:not(:has(.hero)) #news-container .news-content,
body:not(:has(.hero)) #news-container .news-date {
    color: #3e3e3e !important;
    font-size: 0.98rem !important;
    line-height: 1.5 !important;
}

body .read-more,
body .news .read-more,
body .latest-news-item .read-more,
body .news-item .read-more {
    border-radius: 0 !important;
}

@media (min-width: 1180px) {
    body:not(:has(.hero)) #news-container {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1180px) {
    body .card-container.service-cards,
    body main > .container .card-container.service-cards {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)) !important;
    }
}

@media (max-width: 820px) {
    header,
    .site-header {
        background: rgba(8, 9, 11, 0.98) !important;
    }

    header .container,
    .site-header .container {
        width: calc(100% - 18px) !important;
        padding: 0.48rem 0 0.56rem !important;
        gap: 0.42rem !important;
    }

    header .logo img,
    .site-header .logo img {
        height: 36px !important;
        max-width: 140px !important;
    }

    header nav {
        display: block !important;
        width: 100% !important;
    }

    header nav ul.menu {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 1px !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    header nav ul.menu > li {
        min-width: 0 !important;
    }

    header nav ul.menu > li > a {
        width: 100% !important;
        min-height: 38px !important;
        padding: 0.48rem 0.32rem !important;
        white-space: normal !important;
        text-align: center !important;
        font-size: clamp(0.68rem, 2.45vw, 0.82rem) !important;
        line-height: 1.12 !important;
    }

    header nav ul.menu > li > ul {
        top: calc(100% + 2px) !important;
        width: min(292px, calc(100vw - 18px)) !important;
        max-height: 58vh !important;
    }

    header nav ul.menu > li:nth-child(1) > ul {
        left: 0 !important;
        right: auto !important;
    }

    header nav ul.menu > li:nth-child(2) > ul {
        left: 50% !important;
        right: auto !important;
        margin-left: -146px !important;
    }

    header nav ul.menu > li:nth-child(3) > ul {
        left: auto !important;
        right: 0 !important;
    }

    body:not(:has(.hero)) main > .container {
        width: calc(100% - 24px) !important;
        padding-top: 24px !important;
        padding-bottom: 46px !important;
    }

    body:not(:has(.hero)) main > .container::before {
        margin-bottom: 0.75rem !important;
    }

    body:not(:has(.hero)) main > .container > h1,
    body:not(:has(.hero)) main > .container > h1.header {
        margin-bottom: 22px !important;
        font-size: clamp(2.05rem, 9.2vw, 3.4rem) !important;
        line-height: 1.04 !important;
    }

    body:not(:has(.hero)) main > .container > p.header {
        margin-bottom: 24px !important;
        font-size: 0.98rem !important;
        line-height: 1.58 !important;
    }

    body .card-container.service-cards,
    body main > .container .card-container.service-cards {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    body .service-cards .service-card-design,
    body main > .container .service-cards .service-card-design {
        padding: 14px !important;
        overflow-x: auto !important;
    }

    body .service-card-design > h2,
    body main > .container .service-card-design > h2 {
        font-size: clamp(1.28rem, 6vw, 1.75rem) !important;
        line-height: 1.08 !important;
    }

    body .service-card-design table,
    body main > .container .service-card-design table {
        min-width: 560px !important;
        font-size: 0.9rem !important;
    }

    body .service-card-design th,
    body .service-card-design td,
    body main > .container .service-card-design th,
    body main > .container .service-card-design td {
        padding: 0.68rem 0.75rem !important;
    }

    body:not(:has(.hero)) #news-container {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    body:not(:has(.hero)) #news-container .news-item h3 {
        font-size: clamp(1.3rem, 6.2vw, 1.85rem) !important;
    }
}

@media (max-width: 430px) {
    header .container,
    .site-header .container {
        width: calc(100% - 14px) !important;
        padding-top: 0.42rem !important;
        padding-bottom: 0.5rem !important;
    }

    header .logo img,
    .site-header .logo img {
        height: 32px !important;
        max-width: 128px !important;
    }

    header nav ul.menu > li > a {
        min-height: 36px !important;
        padding: 0.42rem 0.22rem !important;
        font-size: clamp(0.64rem, 2.85vw, 0.74rem) !important;
    }

    body:not(:has(.hero)) main > .container {
        width: calc(100% - 18px) !important;
        padding-top: 18px !important;
    }

    body:not(:has(.hero)) main > .container::before {
        max-width: 100% !important;
        font-size: 0.58rem !important;
        line-height: 1.2 !important;
        white-space: normal !important;
    }

    body:not(:has(.hero)) main > .container > h1,
    body:not(:has(.hero)) main > .container > h1.header {
        font-size: clamp(1.85rem, 9.4vw, 2.55rem) !important;
    }

    body .service-card-design table,
    body main > .container .service-card-design table {
        min-width: 520px !important;
    }
}
