:root {
    --primary-color-old: #D11F26;
    --primary-color: #BC2229;
    --primary-dark: #A1181D;
    --accent-color: #E21F25;
    --bg-dark: #0F0F0F;
    --bg-card: #1A1A1A;
    --text-light: #F5F5F5;
    --text-dim: #A0A0A0;
    --glass-bg: rgba(26, 26, 26, 0.7);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-main: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll globally */
    width: 100%;
}

h1, h2, h3, h4 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

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

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 4rem;
    margin-top: 2rem; /* Abbassa il menu principale */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switcher {
    font-size: 0.8rem;
    font-weight: 700;
}

.header-right .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(15,15,15,1) 100%);
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1.2s ease-out;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(209, 31, 38, 0.3);
}

/* Services Sections */
.section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title .divider {
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 0 auto;
}

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

.card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-dim);
}

/* Contact Section Styles */
.contact-grid {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
}

.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form input, 
.contact-form select,
.contact-form textarea {
    background: #252525;
    border: 1px solid #333;
    padding: 1rem;
    border-radius: 4px;
    color: white;
    font-family: inherit;
    width: 100%;
}

.contact-form input:focus, 
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.privacy-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.privacy-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    cursor: pointer;
    line-height: 1.2;
}

/* Toggle Switch Styling */
.toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
    flex-shrink: 0;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

/* Feature Split Section */
.split {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.split:nth-child(even) {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-main);
}

.split-content {
    flex: 1;
}

.split-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    box-shadow: var(--shadow-main);
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Footer */
footer {
    background: #050505;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col p, .footer-col li {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.footer-col ul {
    list-style: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Catalog Section Styling */
.catalog-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
}

.catalog-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.4rem;
    border-radius: 50px;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    max-width: 100%;
}

.catalog-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari/Opera */
}

.catalog-tab {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.catalog-tab i {
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

.catalog-tab:hover {
    color: var(--text-light);
}

.catalog-tab:hover i {
    transform: scale(1.15);
}

.catalog-tab.active {
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 5px 15px rgba(188, 34, 41, 0.3);
}

.catalog-category-descs {
    margin-bottom: 3.5rem;
    text-align: center;
}

.catalog-category-desc {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-out forwards;
}

.catalog-category-desc p {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
}

.catalog-grids-container {
    position: relative;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.catalog-grid.active {
    opacity: 1;
    transform: translateY(0);
}

.catalog-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.catalog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.catalog-card:hover::before {
    transform: scaleX(1);
}

.card-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    background: rgba(188, 34, 41, 0.1);
    border: 1px solid rgba(188, 34, 41, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.catalog-card:hover .card-icon-wrap {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 5px 15px rgba(188, 34, 41, 0.3);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 1rem;
    justify-content: space-between;
}

.card-header-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.card-header-row h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-light);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.catalog-card:hover .badge {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(188, 34, 41, 0.05);
}

.card-text {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}

.card-footer-row {
    margin-top: auto;
    padding-top: 0.5rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(188, 34, 41, 0.25);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUpGrid {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-pdf-download {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.6rem;
    background: rgba(188, 34, 41, 0.08);
    border: 1px solid rgba(188, 34, 41, 0.35);
    border-radius: 50px;
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-pdf-download i {
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-pdf-download:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(188, 34, 41, 0.25);
    transform: translateY(-2px);
}

.btn-pdf-download:hover i {
    color: #fff;
    transform: scale(1.1);
}

/* Services Overview Section Styling */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(188, 34, 41, 0.08);
    border: 1px solid rgba(188, 34, 41, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrap {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 5px 15px rgba(188, 34, 41, 0.3);
}

.service-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.8rem;
}

.service-card-body h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-light);
    font-weight: 700;
}

.service-card-text {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0 0 auto 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    margin-top: auto;
    padding-top: 0.5rem;
    transition: var(--transition-smooth);
}

.service-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--text-light);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Digital Printing Showcase Section Styling */
.printing-hero-wrap {
    max-width: 1000px;
    margin: 0 auto 3.5rem auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
}

.printing-hero-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.printing-hero-wrap:hover img {
    transform: scale(1.025);
}

.printing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

.printing-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.printing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.printing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.printing-card:hover::before {
    transform: scaleX(1);
}

.printing-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(188, 34, 41, 0.08);
    border: 1px solid rgba(188, 34, 41, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: var(--transition-smooth);
}

.printing-card:hover .printing-icon-wrap {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 5px 15px rgba(188, 34, 41, 0.3);
}

.printing-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.8rem;
}

.printing-card-content h4 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-light);
    font-weight: 700;
}

.printing-card-content p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 auto 0;
}

.printing-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    margin-top: auto;
    padding-top: 0.5rem;
    transition: var(--transition-smooth);
}

.printing-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.printing-link:hover {
    color: var(--text-light);
}

.printing-link:hover i {
    transform: translateX(5px);
}

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .split { flex-direction: column !important; gap: 2rem; }
    .menu-group { margin-left: 2rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; overflow: hidden; } /* Ensure container doesn't leak */
    
    header { padding: 1rem 0; background: var(--bg-dark); }
    
    .mobile-toggle { display: flex; }
    
    .menu-group { margin-top: 0; margin-left: 0; flex: none; gap: 1rem; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(25px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1050;
    }
    
    .nav-links.active { right: 0; }
    
    .nav-links a { font-size: 1.2rem; }
    
    .header-btn { display: none; }
    
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    
    .section { padding: 5rem 0; }
    .section-title h2 { font-size: 2rem; }
    
    .contact-grid { grid-template-columns: 1fr !important; }
    .contact-form { padding: 2rem 1.5rem; }
    .form-row { grid-template-columns: 1fr; gap: 1rem; }
    
    .grid, .contact-form .grid { grid-template-columns: 1fr; } /* Stack all grids on mobile */
    
    .split-content h3 { font-size: 1.8rem; }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        left: 1rem;
        right: 1rem;
        width: calc(100% - 2rem); /* Precise width to avoid overflow */
        padding: 1.5rem;
        bottom: 1rem;
    }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    
    /* Catalog Mobile Styles */
    .catalog-grid { grid-template-columns: 1fr; }
    .catalog-tabs {
        flex-direction: column;
        border-radius: 16px;
        width: 100%;
        padding: 0.6rem;
    }
    .catalog-tab {
        justify-content: center;
        width: 100%;
        padding: 0.8rem 1.2rem;
        font-size: 0.88rem;
    }
    .catalog-card { padding: 1.8rem 1.4rem; }
    
    /* Services Mobile Styles */
    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 1.8rem 1.4rem; }
    
    /* Printing Mobile Styles */
    .printing-grid { grid-template-columns: 1fr; }
    .printing-card { padding: 1.8rem 1.4rem; }
    .printing-hero-wrap { margin-bottom: 2rem; }
    .printing-hero-wrap img { height: 220px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-btns { display: flex; flex-direction: column; gap: 1rem; }
    .hero-btns .btn { margin-left: 0 !important; }
}
