/* 
  KuhZavod Style - Clean, Bold, Commercial Premium
  Design System 
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Rubik:wght@400;500;700&display=swap');

:root {
    /* Colors (Premium Commercial Palette) */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-text: #0F172A;
    --color-text-muted: #64748B;
    --color-accent-yellow: #FFCC00;
    --color-accent-red: #C8102E;
    --color-accent-blue: #0056B3;
    --color-border: #E2E8F0;

    /* Spacing System */
    --container-width: 1280px;
    --section-padding: 100px 0;
    --section-padding-tablet: 80px 0;
    --section-padding-mobile: 60px 0;

    /* Layout */
    --header-height: 80px;
    --header-height-mobile: 66px;
    --border-radius: 16px;
    --border-radius-lg: 24px;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    position: fixed;
    left: 0;
    width: 100%;
    overflow: hidden;
    touch-action: none;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 1024px) {
    :root {
        --tablet-hero-usp-width: 620px;
    }

    body {
        padding-top: var(--header-height-mobile);
    }

    .container {
        padding: 0 32px;
    }

    .hero {
        margin-top: calc(-1 * var(--header-height-mobile));
        padding: calc(var(--header-height-mobile) + 36px) 0 80px;
        text-align: center;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.94)),
            url('img/hero_new.png');
        background-size: cover;
        background-position: center;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        min-height: 620px;
        display: flex;
        align-items: center;
    }
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 640px) {
    body {
        padding-top: var(--header-height-mobile);
    }

    .hero {
        margin-top: calc(-1 * var(--header-height-mobile));
        padding: calc(var(--header-height-mobile) + 24px) 0 55px;
        text-align: center;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.96)),
            url('img/hero_new.png');
        background-size: cover;
        background-position: center;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        min-height: auto;
        display: block;
    }
    .container {
        padding: 0 20px;
    }
}

/* --- Utility --- */
.price-old {
    text-decoration: line-through;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.price-new {
    color: var(--color-accent-red);
    font-weight: 800;
    font-size: 1.4rem;
}

.badge {
    background: var(--color-accent-red);
    color: white;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

/* --- Components --- */

/* --- Components --- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-yellow {
    background: var(--color-accent-yellow);
    color: #000;
}

.btn-yellow:hover {
    background: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.btn-outline {
    border: 2px solid var(--color-text);
    color: var(--color-text);
}

.btn-outline:hover {
    background: var(--color-text);
    color: #fff;
}

/* --- Header --- */


/* --- Header --- */
header {
    background: rgba(255, 255, 255, 0.84);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1010;
    transition: var(--transition);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-lg);
}

header .container {
    width: 100%;
}

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

.logo-wrapper {
    flex: 0 0 auto;
    display: block;
    line-height: 0;
}

.logo-wrapper svg {
    display: block;
    height: 48px;
    width: auto;
}

.hero {
    margin-top: calc(-1 * var(--header-height));
    padding-top: calc(var(--header-height) + 40px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    /* Reduced from 32px for better cohesion */
}

.nav-links>a,
.nav-dropdown-trigger {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    padding: 10px 0;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links>a:hover {
    color: var(--color-accent-red);
}

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

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

/* --- Dropdown --- */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-trigger .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    min-width: 260px;
    padding: 12px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-item-dropdown:hover .nav-dropdown-trigger {
    color: var(--color-accent-red);
}

.nav-item-dropdown:hover .nav-dropdown-trigger .material-symbols-outlined {
    transform: rotate(180deg);
    color: var(--color-accent-red);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    border-radius: 10px;
}

.dropdown-menu a:hover {
    background: var(--color-bg-alt);
    color: var(--color-accent-red);
    transform: translateX(4px);
}

.dropdown-menu .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--color-accent-red);
}

/* --- Header Right --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-contact-mobile {
    display: none;
    /* Hidden on desktop */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.contact-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Strictly align items to the right edge */
    text-align: right;
    justify-content: center;
}

.phone {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.phone:hover {
    color: var(--color-accent-red);
}

.phone .material-symbols-outlined {
    font-size: 0.82rem;
    color: var(--color-accent-red);
    margin-right: 2px;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.work-hours {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-top: 4px;
    width: 100%;
    /* Ensure text-align works properly */
}

.header-banner-installment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 16px;
    background: #ffffff;
    border: 1.5px solid rgba(200, 16, 46, 0.15);
    /* Slightly more prominent but clean */
    border-radius: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.header-banner-installment-mobile {
    display: none;
}

.header-banner-installment:hover {
    transform: translateY(-2px);
    border-color: rgba(200, 16, 46, 0.3);
    box-shadow: 0 5px 15px rgba(200, 16, 46, 0.08);
}

.header-banner-installment .material-symbols-outlined {
    width: 26px;
    height: 26px;
    background: transparent;
    /* Removed solid background as requested */
    border: 1.5px solid var(--color-accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-red);
    font-size: 0.95rem;
    font-variation-settings: 'FILL' 0, 'wght' 700, 'GRAD' 0, 'opsz' 20;
}

.banner-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.banner-title {
    font-size: 0.78rem;
    /* Slightly larger */
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.2px;
}

.banner-sub {
    font-size: 0.72rem;
    /* Increased as requested */
    font-weight: 600;
    color: var(--color-accent-red);
    line-height: 1;
    margin-top: 1px;
}

/* --- Mobile Toggle --- */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    /* Removed grey background as requested */
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    /* Slightly larger clean icon */
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
}

.menu-toggle:hover {
    color: var(--color-accent-red);
}

.mobile-call-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-accent-red);
    background: rgba(200, 16, 46, 0.05);
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-call-btn:hover {
    background: rgba(200, 16, 46, 0.1);
}

@media (max-width: 1100px) {
    .nav-links {
        gap: 20px;
    }

    .header-right {
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .hero {
        margin-top: calc(-1 * var(--header-height-mobile));
        padding: calc(var(--header-height-mobile) + 36px) 0 80px;
        text-align: center;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.94)),
            url('img/hero_new.png');
        background-size: cover;
        background-position: center;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        min-height: 620px;
        display: flex;
        align-items: center;
    }
    header {
        height: var(--header-height-mobile);
    }

    nav {
        display: grid !important;
        grid-template-columns: auto auto auto;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: var(--tablet-hero-usp-width);
        margin: 0 auto;
        gap: 18px;
    }

    .logo-wrapper {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex: 0 0 auto;
    }

    .nav-links,
    .header-right {
        display: none !important;
    }

    .header-contact-mobile {
        display: none !important;
    }

    .header-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex: 0 0 auto;
        margin-left: 0;
    }

    .header-banner-installment-mobile {
        display: flex;
        width: auto;
        max-width: 240px;
        min-width: 0;
        justify-content: center;
        padding: 5px 10px;
        gap: 8px;
        border-radius: 999px;
    }

    .header-banner-installment-mobile .material-symbols-outlined {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
        border-width: 1px;
    }

    .header-banner-installment-mobile .banner-text {
        min-width: 0;
        line-height: 1.05;
    }

    .header-banner-installment-mobile .banner-title {
        font-size: 0.75rem;
    }

    .header-banner-installment-mobile .banner-sub {
        font-size: 0.69rem;
        margin-top: 2px;
    }

    .header-banner-installment-mobile .banner-title,
    .header-banner-installment-mobile .banner-sub {
        white-space: nowrap;
    }

    .menu-toggle {
        display: flex;
        padding-right: 0;
    }

    .logo-wrapper svg {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .header-banner-installment-mobile {
        padding: 4px 8px;
        gap: 6px;
        max-width: 210px;
    }

    .header-banner-installment-mobile .banner-title {
        font-size: 0.68rem;
    }

    .header-banner-installment-mobile .banner-sub {
        font-size: 0.62rem;
        margin-top: 1px;
    }

    .header-banner-installment-mobile .material-symbols-outlined {
        width: 20px;
        height: 20px;
        font-size: 0.74rem;
    }
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.4);
    }

    15% {
        box-shadow: 0 0 0 8px rgba(200, 16, 46, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
    }
}

.btn-callback-red .material-symbols-outlined {
    font-size: 1rem;
    transform: scaleX(-1);
    display: inline-block;
}

.btn-callback-red span {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    display: block;
}

.mobile-quick-row,
.mobile-drawer {
    display: none;
}

.mobile-phone {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.mobile-cta {
    margin-left: 0 !important;
}

/* --- Mobile Drawer Installment --- */
.drawer-installment-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.05) 0%, rgba(200, 16, 46, 0.02) 100%);
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(200, 16, 46, 0.1);
}

.dil-icon {
    width: 44px;
    height: 44px;
    background: var(--color-accent-red);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.dil-icon .material-symbols-outlined {
    font-size: 1.1rem;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.dil-text {
    display: flex;
    flex-direction: column;
}

.dil-text strong {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.2;
}

.dil-text span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}







.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        repeating-linear-gradient(0deg, rgba(17, 24, 39, 0.03) 0px, rgba(17, 24, 39, 0.03) 1px, transparent 1px, transparent 5px),
        repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.02) 0px, rgba(17, 24, 39, 0.02) 1px, transparent 1px, transparent 6px);
    pointer-events: none;
}

.hero-slide {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    padding: 70px 0 70px;
}

.hero-text {
    flex: 0 1 auto;
    /* Stop stretching */
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 2;
    min-height: 460px;
}

.hero-text-main {
    display: flex;
    flex-direction: column;
}

.hero-trust {
    display: inline-flex;
    margin-bottom: 20px;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--color-bg-alt);
    border: 1px solid rgba(200, 16, 46, 0.08);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    text-transform: none;
    letter-spacing: 0.01em;
}

.hero-trust-item .material-symbols-outlined {
    color: var(--color-accent-red);
    font-size: 1.4rem;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 450, 'GRAD' 0, 'opsz' 20;
}

.hero-text h1 {
    font-size: clamp(1.95rem, 3.45vw, 2.5rem);
    font-weight: 950;
    color: var(--color-text);
    margin-bottom: 22px;
    letter-spacing: -0.05em;
    line-height: 1.08;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    max-width: 560px;
}

.hero-text h1 span {
    color: var(--color-accent-red);
    display: inline-block;
    margin-top: 0;
    white-space: nowrap;
    font-weight: 900;
    position: relative;
    width: auto;
}

.hero-text h1 span::after {
    content: none;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.55;
    color: #4b5563;
    max-width: 520px;
    margin-bottom: 36px;
    font-weight: 500;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 0;
}

.hero-main-cta {
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.hero-cta-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    max-width: 220px;
    line-height: 1.3;
}

.hero-cta-icon,
.measure-feature .material-symbols-outlined {
    color: #22c55e;
}

.hero-cta-icon {
    flex: 0 0 auto;
    font-size: 1.4rem;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 450, 'GRAD' 0, 'opsz' 20;
}

.hero-usp {
    display: flex;
    gap: 28px;
    margin-top: auto;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
}

.usp-item .material-symbols-outlined {
    color: var(--color-accent-red);
    font-size: 1.4rem;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.hero-img {
    flex: 0 1 520px;
    position: relative;
    height: 460px;
    padding: 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: none;
}

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

.hero-img:hover img {
    transform: scale(1.05);
}

.hero-mini-card {
    position: absolute;
    bottom: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 16px 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    z-index: 3;
}

.hero-mini-icon {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1.5px solid rgba(200, 16, 46, 0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e11d48;
}

.hero-mini-icon .material-symbols-outlined {
    font-size: 1.2rem;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 450, 'GRAD' 0, 'opsz' 20;
}

.hero-mini-text {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .hero {
        padding: 80px 0;
        text-align: center;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.94)),
            url('img/hero_new.png');
        background-size: cover;
        background-position: center;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        min-height: 620px;
        display: flex;
        align-items: center;
    }
    

    .hero-slide {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    padding: 70px 0 70px;
}

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-row {
        justify-content: center;
    }

    .hero-usp {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .hero {
        margin-top: calc(-1 * var(--header-height-mobile));
        padding: calc(var(--header-height-mobile) + 24px) 0 55px;
        text-align: center;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.96)),
            url('img/hero_new.png');
        background-size: cover;
        background-position: center;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        min-height: auto;
        display: block;
    }
    .header-contact-mobile .work-hours {
        display: none;
        /* Hide work-hours on small phones if too crowded */
    }

    .header-contact-mobile .phone {
        font-size: 0.85rem;
    }

    .logo-wrapper svg {
        height: 30px;
    }

    

    .hero-cta-row {
        flex-direction: column;
        width: 100%;
    }

    .hero-main-cta {
        width: 100%;
    }

    .hero-cta-note {
        text-align: center;
        max-width: none;
    }
}


.hero-offers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hero-offer-card {
    position: relative;
    min-height: 180px;
    border-radius: 20px;
    padding: 24px 20px 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.hero-offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.offer-pill {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #4b5563;
}

.hero-offer-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.8px;
    color: #111827;
}

.hero-offer-card p {
    max-width: 85%;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
    z-index: 2;
}

.offer-icon {
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-size: 5.5rem;
    color: #000;
    opacity: 0.08;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    transform: rotate(-10deg);
}

.hero-offer-card:hover .offer-icon {
    transform: rotate(0deg) scale(1.1) translate(-10px, -10px);
    opacity: 0.15;
}

.offer-guarantee {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}

.offer-estimate {
    background: linear-gradient(135deg, #fff1e6 0%, #fedac2 100%);
}

.offer-install {
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
}

.offer-credit {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

/* Hero stagger animation */
.hero-text .hero-trust,
.hero-text h1,
.hero-text .hero-subtitle,
.hero-text .hero-cta-row,
.hero-text .hero-usp {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-text.active .hero-trust {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.02s;
}

.hero-text.active h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.hero-text.active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.hero-text.active .hero-cta-row {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.hero-text.active .hero-usp {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.38s;
}

@media (prefers-reduced-motion: reduce) {

    .hero-text .hero-trust,
    .hero-text h1,
    .hero-text .hero-subtitle,
    .hero-text .hero-cta-row,
    .hero-text .hero-usp {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-main-cta,
    .hero-main-cta::after {
        transition: none;
    }
}

.hero-offers-section {
    padding: 0 0 70px;
    background: transparent;
    position: relative;
}

.hero-offers-section::before {
    content: none;
}

.hero-offers-section::after {
    content: none;
}

.hero-offers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.hero-offer-card {
    background: var(--color-bg-alt);
    padding: 32px 24px;
    border-radius: 32px;
    border: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    min-height: 220px;
    box-shadow: none;
}


.hero-offer-card:hover {
    transform: translateY(-10px);
    box-shadow: none;
}

.offer-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-red);
    font-size: 2.2rem;
    line-height: 1;
    margin: 0 auto 20px;
    font-variation-settings: 'FILL' 0, 'wght' 350, 'GRAD' 0, 'opsz' 40;
}

.hero-offer-card h3 {
    font-size: 1.24rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 auto 8px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.hero-offer-card p {
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.45;
    font-weight: 500;
    max-width: 230px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-offer-copy {
    width: 100%;
}

.offer-icon {
    display: none;
}

.hero-offer-card:hover .offer-icon {
    display: none;
}

/* --- Bento Catalog Grid --- */

.catalog-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(320px, auto);
    gap: 24px;
}

.bento-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    isolation: isolate;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: #f1f5f9;
}

.bento-wide {
    grid-column: span 2;
}

.bento-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(15, 23, 42, 0) 0%, 
        rgba(15, 23, 42, 0.2) 40%, 
        rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
}

.bento-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: #ffffff;
    transform: translateY(10px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-text {
    max-width: 90%;
}

.bento-title {
    display: block;
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    font-weight: 850;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.bento-sub {
    display: block;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.85;
    font-weight: 500;
}



.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}

.bento-card:hover .bento-bg {
    transform: scale(1.08);
}

.bento-card:hover .bento-content {
    transform: translateY(0);
}

/* Redefine kitchen images to be clean and simple classes */
.cat-kitchen-straight { background-image: url('img/catalog_kitchen_straight.png'); }
.cat-kitchen-corner { background-image: url('img/catalog_kitchen_corner.png'); }
.cat-kitchen-island { background-image: url('img/catalog_kitchen_island.png'); }
.cat-kitchen-u-shaped { background-image: url('img/catalog_kitchen_u_shaped.png'); }
.cat-kitchen-modern { background-image: url('img/catalog_kitchen_modern.png'); }

/* Bento Banner Specific Styles */
.bento-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    overflow: hidden;
    position: relative;
}

.bento-banner::after {
    background: radial-gradient(circle at top right, rgba(200, 16, 46, 0.15) 0%, transparent 70%);
}

.bento-banner .bento-content {
    transform: none; /* Always visible text on banner */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.bento-banner .bento-title {
    color: #fff;
}

.bento-banner .bento-sub {
    color: #94a3b8;
    max-width: 500px;
}

.bento-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: #ffffff;
    color: #0f172a;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.bento-cta:hover {
    background: var(--color-accent-yellow);
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.25);
}

.bento-cta .material-symbols-outlined {
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .bento-banner.bento-wide {
        grid-column: span 1; /* Place next to U-shaped card */
    }
    .bento-banner .bento-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px;
    }
    .bento-banner .bento-cta {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    .catalog-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .bento-wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .catalog-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 380px;
    }
    .bento-wide {
        grid-column: span 1;
    }
    .bento-content {
        padding: 30px;
    }
}
.catalog-hub-section {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
}

.catalog-hub-head {
    text-align: center;
    margin-bottom: 60px;
}

.catalog-hub-head h2 {
    font-size: clamp(2.2rem, 5vw, 2.5rem);
    font-weight: 900;
}

.catalog-hub-head p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
	margin-top: 10px;
}

.catalog-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.catalog-link-card {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0;
    background: #ffffff;
    border-radius: 20px;
    min-height: 180px;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: none;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
}

.catalog-link-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.catalog-link-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 0.96;
    transition: all 0.8s ease;
    filter: brightness(1.01) saturate(1.06) contrast(1.03);
}

.catalog-link-card::before {
    content: '';
    position: absolute;
    left: -1px;
    top: -1px;
    bottom: -1px;
    width: calc(min(56%, 320px) + 2px);
    background: #ffffff;
    border-radius: 20px 0 0 20px;
    z-index: 1;
}

.catalog-link-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    align-self: stretch;
    width: min(56%, 320px);
    height: 100%;
    padding: 22px 24px;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.cat-kitchen-straight {
    background-image: url('img/catalog_kitchen_straight.png');
}

.cat-kitchen-corner {
    background-image: url('img/catalog_kitchen_corner.png');
}

.cat-kitchen-island {
    background-image: url('img/catalog_kitchen_island.png');
}

.cat-kitchen-u-shaped {
    background-image: url('img/catalog_kitchen_u_shaped.png');
}

.cat-kitchen-modern {
    background-image: url('img/catalog_kitchen_modern.png');
}

.cat-kitchen-neoclassic {
    background-image: url('img/catalog_kitchen_neoclassic.png');
}

.catalog-link-text {
    position: relative;
    z-index: 1;
    flex: 1;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.catalog-link-title {
    display: block;
    font-size: 1.35rem;
    font-weight: 950;
    color: var(--color-text);
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 6px;
    white-space: nowrap;
}

.catalog-link-sub {
    display: block;
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
    opacity: 0.85;
    max-width: 230px;
}

.catalog-link-note {
    display: block;
    margin-top: 12px;
    max-width: 230px;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #64748b;
}

.catalog-link-arrow {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    /* Slightly smaller button */
    height: 44px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 0.9rem;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.catalog-link-arrow .material-symbols-outlined {
    font-size: 1.05rem;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.catalog-link-card:hover .catalog-link-bg {
    opacity: 1;
    transform: scale(1.06);
}

.catalog-link-card:hover .catalog-link-arrow {
    background: var(--color-accent-red);
    color: #fff;
    border-color: var(--color-accent-red);
    transform: translateY(-50%) translateX(6px);
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.25);
}

.catalog-link-card-static {
    cursor: default;
}

.catalog-link-card-static:hover {
    transform: none;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
}

.catalog-link-card-static:hover .catalog-link-bg {
    opacity: 0.96;
    transform: none;
}

.catalog-link-card-static .catalog-link-arrow {
    display: none;
}

/* --- About Section --- */
.about-section {
    padding: var(--section-padding);
    background: #fff;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: center;
}

.about-visual {
    order: 1;
}

.about-info {
    order: 2;
}

.about-visual {
    position: relative;
    padding: 0;
}

.about-visual::before {
    content: none;
}

.image-stack {
    position: relative;
    z-index: 1;
}

.image-main {
    border-radius: 40px;
    overflow: hidden;
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    background: #f8fafc;
}

.image-main img {
    width: 100%;
    min-height: 640px;
    display: block;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: #ffffff;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 5;
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.experience-badge strong {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-accent-red);
    line-height: 1;
    margin-bottom: 4px;
}

.experience-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: #475569;
    padding: 0 15px;
}

.premium-tag {
    color: var(--color-accent-red);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: block;
}

.feature-pills {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fp-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.fp-item i {
    width: 32px;
    height: 32px;
    background: rgba(200, 16, 46, 0.05);
    color: var(--color-accent-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.fp-item:hover i {
    background: var(--color-accent-red);
    color: #ffffff;
    transform: scale(1.1);
}

.about-info h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.about-info h2 span {
    color: var(--color-accent-red);
}

.about-intro {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 80%;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.af-card {
    padding: 18px 18px 16px;
    background: var(--color-bg-alt);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.af-card-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.af-card .material-symbols-outlined {
    font-size: 1.4rem;
    color: var(--color-accent-red);
    flex: 0 0 auto;
    font-variation-settings: 'FILL' 0, 'wght' 450, 'GRAD' 0, 'opsz' 20;
}

.af-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--color-text);
}

.af-card p {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--color-text-muted);
}

.af-card:hover {
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
    border-color: rgba(200, 16, 46, 0.1);
}

.about-footer-note {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.about-footer-note .material-symbols-outlined {
    color: var(--color-accent-red);
    font-size: 1.4rem;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

/* --- Process Section --- */
.process-section {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.process-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.process-head h2 {
    font-size: clamp(2.2rem, 5vw, 2.5rem);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.process-head p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-top: 10px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

/* Connecting line for desktop */
@media (min-width: 1025px) {
    .process-grid::before {
        content: '';
        position: absolute;
        top: 76px;
        left: 10%;
        right: 10%;
        height: 2px;
        background-image: linear-gradient(90deg, rgba(148, 163, 184, 0.55) 60%, transparent 40%);
        background-size: 18px 2px;
        z-index: 0;
        opacity: 0.9;
    }
}

.process-card {
    background: #ffffff;
    padding: 60px 32px 48px;
    border-radius: 32px;
    text-align: center;
    border: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.process-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
}

.process-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 2.2rem;
    color: var(--color-accent-red);
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.process-icon .material-symbols-outlined {
    font-size: inherit;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 350, 'GRAD' 0, 'opsz' 40;
}

.process-card:hover .process-icon {
    transform: translateY(-2px) scale(1.05);
}

.process-num {
    display: none;
}

.process-card h3 {
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--color-text);
    position: relative;
    z-index: 2;
}

.process-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* --- Portfolio Section --- */
.portfolio-section {
    padding: var(--section-padding);
    background: #ffffff;
    position: relative;
}

.seo-section {
    padding: 0 0 100px;
    margin-top: -80px;
    background: #ffffff;
    position: relative;
}

.seo-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.seo-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin: 0 0 24px;
    color: var(--color-text);
}

.seo-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 56px 0 12px;
    color: var(--color-text);
}

.seo-content .seo-subhead--compact {
    margin-top: 42px;
}

.seo-content .seo-subhead--spacious {
    margin-top: 64px;
}

.seo-content p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 14px;
}

.seo-content > :last-child {
    margin-bottom: 0;
}

.seo-content p strong {
    color: var(--color-text);
    font-weight: 600;
}

.seo-content h3::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-accent-red);
    border-radius: 2px;
    margin-bottom: 14px;
}

.portfolio-section::before {
    content: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(15, 23, 42, 0.06) 50%, transparent 100%);
}

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

.portfolio-head h2 {
    font-size: clamp(1.9rem, 4.5vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.portfolio-head p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-top: 10px;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.portfolio-tab {
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.portfolio-tab:hover {
    background: rgba(15, 23, 42, 0.04);
    color: var(--color-text);
}

.portfolio-tab.is-active {
    background: var(--color-text);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.portfolio-tab .tab-icon {
    font-size: 1.1rem;
    opacity: 0.8;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 32px;
    overflow: hidden;
    min-height: 100%;
    box-shadow: 
        0 4px 6px -1px rgba(15, 23, 42, 0.03),
        0 10px 20px -3px rgba(15, 23, 42, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 23, 42, 0.04);
    position: relative;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-red) 0%, #ff4757 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px -10px rgba(15, 23, 42, 0.12),
        0 8px 16px -6px rgba(15, 23, 42, 0.06);
}

.portfolio-card:hover::before {
    opacity: 1;
}

.portfolio-card.is-hidden {
    display: none;
}

/* Stagger animation for cards on load */
.portfolio-card {
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.6s ease forwards;
}

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-card:nth-child(5) { animation-delay: 0.5s; }
.portfolio-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pause animation when filtered */
.portfolio-card.is-filtering {
    animation: none;
}

.portfolio-card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.portfolio-card-media::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-card-media::after {
    opacity: 1;
}

.portfolio-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease;
    color: #fff;
    pointer-events: none;
}

.card-slider-arrow .material-symbols-outlined {
    font-size: 24px;
}

.portfolio-card-media:hover .card-slider-arrow {
    opacity: 1;
    pointer-events: auto;
}

.card-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.65);
}

.card-slider-prev {
    left: 10px;
}

.card-slider-next {
    right: 10px;
}

.card-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.portfolio-card-media:hover .card-slider-dots {
    opacity: 1;
    pointer-events: auto;
}

.card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.card-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.card-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

.card-photo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}

.card-photo-badge .material-symbols-outlined {
    font-size: 16px;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: lbFadeIn 0.2s ease;
}

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

body.lightbox-open {
    overflow: hidden;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10002;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s;
    pointer-events: auto;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close .material-symbols-outlined {
    font-size: 28px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav .material-symbols-outlined {
    font-size: 32px;
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    animation: lbZoomIn 0.25s ease;
}

@keyframes lbZoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 12px;
    font-weight: 500;
}

.lightbox-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 12px;
    overflow-x: auto;
    max-width: 90vw;
    scrollbar-width: none;
}

.lightbox-thumbs::-webkit-scrollbar {
    display: none;
}

.lightbox-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: #fff;
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.portfolio-card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 28px 28px;
    flex: 1;
}

.portfolio-card-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
    color: var(--color-accent-red);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(200, 16, 46, 0.1);
    box-shadow: 0 2px 8px rgba(200, 16, 46, 0.06);
}

.portfolio-card-type .type-icon {
    font-size: 0.95rem;
}

.portfolio-card h3 {
    font-size: 1.4rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--color-text);
    margin: 0;
}

.portfolio-card .portfolio-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.portfolio-card .portfolio-desc strong {
    color: var(--color-text);
    font-weight: 700;
}

.portfolio-card .portfolio-materials {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.55;
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin: 0;
}

.portfolio-card .portfolio-materials strong {
    color: var(--color-text);
}

.portfolio-card-meta {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    font-size: 0.9rem;
    border-top: 1px dashed rgba(15, 23, 42, 0.1);
}

.portfolio-card-meta .meta-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-weight: 600;
}

.portfolio-card-meta .meta-time .material-symbols-outlined {
    font-size: 1rem;
    color: var(--color-accent-red);
}

.portfolio-card-meta a {
    text-decoration: none;
    white-space: nowrap;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--color-accent-red) 0%, #d41836 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.25);
}

.portfolio-card-meta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.35);
    background: linear-gradient(135deg, #d41836 0%, #b9132f 100%);
}

.portfolio-card-meta a .material-symbols-outlined {
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.portfolio-card-meta a:hover .material-symbols-outlined {
    transform: translateX(3px);
}

.portfolio-actions {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.portfolio-more {
    min-height: 52px;
    padding: 0 36px;
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.1);
    background: #ffffff;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.portfolio-more:hover {
    border-color: var(--color-accent-red);
    color: var(--color-accent-red);
    background: #fff5f5;
}

.portfolio-more[hidden] {
    display: none;
}

/* --- FAQ Section --- */
.faq-section {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
    position: relative;
}

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

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
    color: var(--color-accent-red);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(200, 16, 46, 0.1);
    box-shadow: 0 2px 8px rgba(200, 16, 46, 0.06);
}

.faq-badge .material-symbols-outlined {
    font-size: 1.1rem;
}

.faq-head h2 {
    font-size: clamp(1.9rem, 4.5vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.faq-head p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-top: 10px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.faq-item {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.faq-item.is-open {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    border-color: rgba(200, 16, 46, 0.15);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: linear-gradient(90deg, rgba(200, 16, 46, 0.02) 0%, transparent 100%);
}

.faq-number {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-accent-red);
    opacity: 0.6;
    min-width: 28px;
    font-family: 'Inter', sans-serif;
}

.faq-text {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    padding-right: 12px;
}

.faq-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-icon .material-symbols-outlined {
    font-size: 1.3rem;
    color: var(--color-text);
    transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
    background: linear-gradient(135deg, var(--color-accent-red) 0%, #d41836 100%);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.faq-item.is-open .faq-icon .material-symbols-outlined {
    color: #ffffff;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 24px 24px 68px;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer-inner p {
    margin: 0;
}

.faq-cta {
    max-width: 800px;
    margin: 48px auto 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.faq-cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.faq-cta-content .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--color-accent-red);
    background: rgba(200, 16, 46, 0.15);
    padding: 12px;
    border-radius: 16px;
}

.faq-cta-content h4 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.faq-cta-content p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.faq-cta .btn-yellow {
    flex-shrink: 0;
    min-height: 52px;
    padding: 0 28px;
    font-weight: 700;
}

/* FAQ Mobile Styles */
@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .faq-cta {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }
    
    .faq-cta-content {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .seo-section {
        margin-top: -36px;
    }

.seo-content {
    padding: 0 20px;
}

    .faq-section {
        padding: 80px 0 56px;
    }
    
    .faq-head {
        padding: 0 20px;
        margin-bottom: 32px;
    }
    
    .faq-head h2 {
        font-size: clamp(1.5rem, 7vw, 1.9rem);
    }
    
    .faq-head p {
        font-size: 1.1rem;
        margin-top: 10px;
    }
    
    .faq-grid {
        padding: 0 16px;
        gap: 12px;
    }
    
    .faq-column {
        gap: 12px;
    }
    
    .faq-item {
        border-radius: 16px;
    }
    
    .faq-question {
        padding: 18px 20px;
        gap: 12px;
    }
    
    .faq-number {
        font-size: 0.8rem;
        min-width: 24px;
    }
    
    .faq-text {
        font-size: 0.95rem;
        padding-right: 8px;
    }
    
    .faq-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    
    .faq-icon .material-symbols-outlined {
        font-size: 1.1rem;
    }
    
    .faq-answer-inner {
        padding: 0 20px 20px 56px;
        font-size: 0.9rem;
    }
    
    .faq-cta {
        margin: 32px 16px 0;
        padding: 24px;
        border-radius: 20px;
    }
    
    .faq-cta-content .material-symbols-outlined {
        font-size: 2rem;
        padding: 10px;
        border-radius: 12px;
    }
    
    .faq-cta-content h4 {
        font-size: 1.1rem;
    }
    
    .faq-cta-content p {
        font-size: 0.9rem;
    }
    
    .faq-cta .btn-yellow {
        width: 100%;
        justify-content: center;
    }
}

/* --- Measure CTA --- */
.measure-cta-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #ffffff 0%, #fff8f8 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.measure-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 10% 20%, rgba(200, 16, 46, 0.04) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 80%, rgba(200, 16, 46, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.measure-cta-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 40px;
    padding: 60px 48px;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(15, 23, 42, 0.08),
        0 8px 24px rgba(200, 16, 46, 0.06);
    border: 1px solid rgba(200, 16, 46, 0.08);
    overflow: hidden;
}

/* Декоративные элементы */
.cta-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.6;
}

.cta-dec-1 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.15) 0%, rgba(255, 71, 87, 0.1) 100%);
    top: -100px;
    right: -80px;
}

.cta-dec-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(245, 158, 11, 0.08) 100%);
    bottom: -60px;
    left: -40px;
}

.cta-dec-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.1) 0%, rgba(255, 71, 87, 0.05) 100%);
    top: 40%;
    right: 5%;
}

/* Плавающие карточки */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid rgba(200, 16, 46, 0.12);
    border-radius: 999px;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    animation: float 3s ease-in-out infinite;
}

.floating-card .material-symbols-outlined {
    color: #22c55e;
    font-size: 1.1rem;
}

.floating-card-1 {
    top: 24px;
    left: 24px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 30px;
    right: 24px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.measure-cta-content {
    position: relative;
    z-index: 1;
}

.measure-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
    border: 1px solid rgba(200, 16, 46, 0.12);
    border-radius: 999px;
    color: var(--color-accent-red);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.measure-cta-badge .material-symbols-outlined {
    font-size: 1.1rem;
}

.measure-cta-title {
    font-size: clamp(1.9rem, 4.5vw, 2.6rem);
    font-weight: 900;
    color: var(--color-text);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.gradient-text {
    background: linear-gradient(135deg, #c8102e 0%, #ff4757 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.measure-cta-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 36px;
}

.measure-cta-subtitle strong {
    color: var(--color-text);
    font-weight: 700;
}

/* Преимущества */
.measure-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-bottom: 36px;
}

.measure-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 500;
}

.measure-feature .material-symbols-outlined {
    font-size: 1.3rem;
}

/* Форма */
.measure-cta-form {
    max-width: 560px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    margin-bottom: 14px;
    align-items: stretch;
}

.form-field {
    position: relative;
}

.form-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.3rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.form-field input {
    width: 100%;
    min-height: 58px;
    padding: 0 18px 0 54px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #f8fafc;
    color: var(--color-text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-field input::placeholder {
    color: #94a3b8;
}

.form-field input:focus {
    outline: none;
    border-color: rgba(200, 16, 46, 0.4);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.08);
}

.form-field input.error {
    border-color: rgba(200, 16, 46, 0.55);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.12);
}

.form-field input:focus + .form-icon,
.form-field:focus-within .form-icon {
    color: var(--color-accent-red);
}

.form-field:focus-within .form-icon,
.form-field input.error + .form-icon {
    color: var(--color-accent-red);
}

.form-error {
    display: none;
    color: var(--color-accent-red);
    font-size: 0.9rem;
    line-height: 1.35;
    text-align: left;
}

.form-error:not(:empty) {
    display: block;
    margin-bottom: 12px;
}

/* Кнопка */
.measure-cta-button {
    width: auto;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 32px;
    background: linear-gradient(135deg, #c8102e 0%, #ff4757 100%);
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 28px rgba(200, 16, 46, 0.35);
    margin-bottom: 0;
    white-space: nowrap;
}

.measure-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(200, 16, 46, 0.45);
}

.measure-cta-button:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.measure-cta-button:hover .btn-icon {
    transform: translateX(4px);
}

/* Примечание под кнопкой */
.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.form-note .material-symbols-outlined {
    font-size: 1rem;
    color: #22c55e;
}

.measure-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1200;
}

.measure-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.measure-modal {
    position: relative;
    width: min(100%, 620px);
    padding: 32px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform: translateY(14px) scale(0.97);
    transition: transform 0.25s ease;
}

.measure-modal-overlay.is-open .measure-modal {
    transform: translateY(0) scale(1);
}

.measure-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.06);
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
}

.measure-modal-close:hover {
    background: rgba(200, 16, 46, 0.12);
    color: var(--color-accent-red);
}

.measure-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(200, 16, 46, 0.06);
    color: var(--color-accent-red);
    font-size: 0.9rem;
    font-weight: 700;
}

.measure-modal-title {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    line-height: 1.05;
    margin-bottom: 12px;
    color: var(--color-text);
}

.measure-modal-subtitle {
    margin-bottom: 24px;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 520px;
}

.measure-modal-form {
    max-width: none;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .measure-cta-wrapper {
        padding: 48px 32px;
        margin: 0 20px;
    }

    .floating-card {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .measure-cta-button {
        width: 100%;
    }

    .measure-modal {
        width: min(100%, 560px);
        padding: 28px 24px 24px;
    }
}

@media (max-width: 640px) {
    .measure-cta-section {
        padding: 40px 0;
        background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
    }

    .measure-cta-wrapper {
        padding: 36px 24px;
        border-radius: 28px;
        margin: 0 16px;
        box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
    }

    .measure-cta-title {
        font-size: clamp(1.5rem, 6vw, 1.9rem);
    }

    .measure-cta-subtitle {
        font-size: 1rem;
    }

    .measure-features {
        gap: 12px 20px;
        margin-bottom: 28px;
    }

    .measure-feature {
        font-size: 0.85rem;
    }

    .measure-feature .material-symbols-outlined {
        font-size: 1.1rem;
    }

    .measure-modal-overlay {
        padding: 16px;
    }

    .measure-modal {
        padding: 24px 18px 20px;
        border-radius: 24px;
    }

    .measure-modal-title {
        font-size: 1.55rem;
    }

    .measure-modal-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .form-field input {
        min-height: 54px;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .measure-cta-button {
        min-height: 56px;
        font-size: 1rem;
    }

    .cta-dec-1,
    .cta-dec-2,
    .cta-dec-3 {
        opacity: 0.4;
        filter: blur(30px);
    }
}

/* --- Footer --- */
footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}

/* Footer CTA Section */
.footer-top {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.1) 0%, rgba(200, 16, 46, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-cta-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.footer-cta-content p {
    color: #94a3b8;
    font-size: 1.05rem;
}

.footer-cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #c8102e 0%, #ff4757 100%);
    color: #ffffff;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.3);
}

.footer-cta-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(200, 16, 46, 0.4);
}

.footer-cta-phone .material-symbols-outlined {
    font-size: 1.3rem;
}

.footer-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-cta-whatsapp:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Footer Main */
.footer-main {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 60px;
}

/* Brand Column */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.footer-logo svg {
    width: 200px;
    height: auto;
}

.footer-logo svg text:first-of-type {
    fill: #0a0a0a;
}

.footer-logo svg text:first-of-type tspan {
    fill: #c8102e;
}

.footer-logo svg text:last-of-type {
    fill: #777;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(200, 16, 46, 0.15);
    border-color: rgba(200, 16, 46, 0.3);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Navigation Columns */
.footer-nav {
    display: contents;
}

.footer-nav-col h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

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

.footer-nav-col ul li {
    margin-bottom: 14px;
}

.footer-nav-col ul li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-nav-col ul li a .material-symbols-outlined {
    font-size: 1.1rem;
    color: #64748b;
    transition: color 0.25s ease;
}

.footer-nav-col ul li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-nav-col ul li a:hover .material-symbols-outlined {
    color: var(--color-accent-red);
}

/* Contacts */
.footer-contacts li {
    margin-bottom: 16px !important;
}

.contact-link,
.contact-item {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    color: #94a3b8;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.contact-link .material-symbols-outlined,
.contact-item .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--color-accent-red);
    margin-top: 2px;
}

.contact-link:hover {
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copyright {
    color: #64748b;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-legal a {
    color: #64748b;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-legal a:hover {
    color: #94a3b8;
}

.footer-legal .separator {
    color: #334155;
}

/* --- Mobile Drawer --- */
.mobile-drawer {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height-mobile));
    background: #fff;
    z-index: 1009;
    padding: 16px 20px calc(86px + env(safe-area-inset-bottom, 0px));
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

#main-header.drawer-open .mobile-drawer {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-drawer-overlay {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1008;
}

#main-header.drawer-open .mobile-drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer-links {
    display: flex;
    flex-direction: column;
}

.mobile-drawer-links>a,
.mobile-dropdown-trigger {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
}

.mobile-drawer-links>a .material-symbols-outlined,
.mobile-dropdown-trigger .material-symbols-outlined,
.drawer-info-item .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--color-accent-red);
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.mobile-nav-dropdown {
    display: flex;
    flex-direction: column;
}

.mobile-dropdown-trigger {
    justify-content: space-between;
}

.mobile-submenu {
    display: none;
    padding-left: 20px;
    background: var(--color-bg-alt);
}

.mobile-submenu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.mobile-nav-dropdown.is-active .mobile-submenu {
    display: flex;
    flex-direction: column;
}

.mobile-nav-dropdown.is-active .arrow {
    transform: rotate(180deg);
}

.mobile-drawer-footer {
    padding: 12px 0 0;
}

.drawer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.drawer-info-item + .drawer-info-item {
    margin-top: 8px;
}

.drawer-phone,
.drawer-address {
    font-size: 1rem;
    line-height: 1.35;
    color: var(--color-text);
}

/* --- Mobile Bottom Nav --- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100vw;
    max-width: none;
    min-height: 70px;
    background: #fff;
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    z-index: 1011;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    border-radius: 0;
    margin: 0;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.15;
    min-width: 0;
    min-height: 54px;
    padding: 2px 0;
    white-space: nowrap;
}

.mobile-bottom-nav .nav-item .material-symbols-outlined {
    font-size: 1.35rem;
    line-height: 1;
}

.mobile-bottom-nav .nav-item.nav-item-call {
    color: var(--color-accent-red);
}

/* --- Responsive Layout Tweaks --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        margin-top: calc(-1 * var(--header-height-mobile));
        padding: calc(var(--header-height-mobile) + 36px) 0 18px;
        text-align: center;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.94)),
            url('img/hero_new.png');
        background-size: cover;
        background-position: center;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        min-height: auto;
        display: block;
    }
    .hero-slide {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        padding: 24px 0 28px;
    }

    .hero-text {
        width: 100%;
        max-width: 760px;
        min-height: auto;
        align-items: center;
    }

    .hero-text-main {
        align-items: center;
    }

    .hero-text h1 {
        max-width: 700px;
        font-size: clamp(1.95rem, 4.8vw, 2.45rem);
    }

    .hero-text h1 span {
        white-space: normal;
    }

    .hero-subtitle {
        max-width: 620px;
        margin-bottom: 28px;
    }

    .hero-cta-row {
        justify-content: center;
        margin-bottom: 28px;
    }

    .hero-usp {
        margin-top: 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px 20px;
        width: 100%;
        max-width: var(--tablet-hero-usp-width);
        margin-left: auto;
        margin-right: auto;
    }

    .hero-img {
        display: none !important;
    }

    .hero-offers {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hero-offers-section {
        padding: 70px 0 70px;
    }

    .hero-offer-card {
        padding: 24px 18px;
        min-height: 0;
        border-radius: 24px;
        align-items: center !important;
        text-align: center !important;
    }

    .offer-card-icon {
        font-size: 1.9rem;
        margin: 0 auto 16px;
    }

    .hero-offer-card h3 {
        font-size: 1.08rem;
        margin-bottom: 8px;
        line-height: 1.08;
    }

    .hero-offer-card p {
        font-size: 0.88rem;
        line-height: 1.4;
        max-width: 220px;
    }

    .catalog-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-visual,
    .about-info {
        order: initial;
    }

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

    .about-info h2 {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
    }

    .about-intro {
        max-width: none;
        margin-bottom: 24px;
    }

    .about-features-grid {
        gap: 14px;
    }

    .af-card {
        padding: 16px 16px 14px;
        border-radius: 18px;
    }

    .image-main {
        border-radius: 28px;
    }

    .image-main img {
        min-height: 520px;
    }

    .experience-badge {
        width: 132px;
        height: 132px;
        right: 18px;
        bottom: 18px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .portfolio-card-body {
        padding: 22px 24px 24px;
    }

    .portfolio-filters {
        margin-bottom: 32px;
    }

    .final-cta {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-bottom-nav {
        display: grid;
    }

    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 640px) {
    .hero {
        margin-top: calc(-1 * var(--header-height-mobile));
        padding: calc(var(--header-height-mobile) + 24px) 0 14px;
        text-align: center;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.96)),
            url('img/hero_new.png');
        background-size: cover;
        background-position: center;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        min-height: auto;
        display: block;
    }

    .hero-slide {
        padding: 18px 0 22px;
    }

    .hero-trust-item {
        gap: 8px;
        padding: 8px 14px;
        font-size: 0.72rem;
    }

    .hero-text h1 {
        font-size: clamp(1.7rem, 8vw, 2.1rem);
        max-width: none;
        margin-bottom: 18px;
    }

    .hero-text h1 span {
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: none;
        margin-bottom: 22px;
    }

    .hero-cta-row {
        flex-direction: column;
        width: 100%;
        gap: 14px;
        margin-bottom: 22px;
    }

    .hero-main-cta {
        width: 100%;
    }

    .hero-cta-note {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        column-gap: 8px;
        max-width: 320px;
        text-align: left;
    }

    .hero-usp {
        gap: 12px 16px;
    }

    .usp-item {
        font-size: 0.88rem;
    }

    /* Benefits on Mobile */
    .hero-offers {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-offers-section {
        padding: 70px 0 70px;
    }

    .hero-offer-card {
        padding: 22px 18px;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
        gap: 0;
        border-radius: 22px;
    }

    .offer-card-icon {
        font-size: 1.8rem;
        margin: 0 auto 14px;
        flex: 0 0 auto;
    }

    .hero-offer-copy {
        width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-offer-card h3 {
        font-size: 1.05rem;
        margin-bottom: 8px;
        font-weight: 800;
        line-height: 1.08;
    }

    .hero-offer-card p {
        font-size: 0.88rem;
        color: #6b7280;
        line-height: 1.38;
        max-width: 90%;
        margin: 0 auto;
    }

    .offer-icon {
        display: none;
    }

    /* Catalog on Mobile */
    .catalog-hub-section {
        padding: 60px 0;
    }

    .catalog-links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .catalog-link-card {
        padding: 0;
        min-height: 156px;
    }

    .catalog-link-card::before {
        width: calc(58% + 2px);
    }

    .catalog-link-content {
        width: 58%;
        padding: 18px 20px;
    }

    .catalog-link-text {
        width: 100%;
    }

    .catalog-link-sub {
        max-width: none;
    }

    .catalog-link-note {
        max-width: none;
        margin-top: 10px;
    }

    .catalog-link-arrow {
        right: 14px;
    }

    .catalog-link-title {
        font-size: 1.25rem;
    }

    .catalog-link-micon {
        font-size: 32px;
    }

    .portfolio-section {
        padding: 56px 0;
    }

    .portfolio-head {
        margin-bottom: 20px;
    }

    .portfolio-head h2 {
        font-size: clamp(1.4rem, 7.4vw, 1.85rem);
        line-height: 1.08;
        max-width: 320px;
        margin: 0 auto;
    }

    .portfolio-filters {
        justify-content: flex-start;
        gap: 10px;
        margin-bottom: 24px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

        .portfolio-section {
        padding: 56px 0;
    }

    .portfolio-head {
        margin-bottom: 20px;
        padding: 0 20px;
    }

    .portfolio-head h2 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .portfolio-head p {
        font-size: 1.1rem;
        max-width: none;
        margin: 10px auto 0;
    }

    .portfolio-filters {
        justify-content: flex-start;
        gap: 8px;
        padding: 6px;
        margin-bottom: 28px;
        width: calc(100% - 56px);
        margin-left: 16px;
        margin-right: 0;
        border-radius: 24px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        scroll-behavior: smooth;
    }

    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }

    .portfolio-tab {
        flex: 0 0 auto;
        padding: 0 16px;
        font-size: 0.88rem;
        min-height: 40px;
    }

    .portfolio-tab .tab-icon {
        font-size: 1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .portfolio-card {
        border-radius: 24px;
    }

    .portfolio-card:hover {
        transform: translateY(-4px);
    }

    .portfolio-card-body {
        gap: 12px;
        padding: 18px 18px 20px;
    }

    .portfolio-card-type {
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .portfolio-card h3 {
        font-size: 1.1rem;
        line-height: 1.12;
    }

    .portfolio-card .portfolio-desc {
        font-size: 0.88rem;
        line-height: 1.48;
    }

    .portfolio-card .portfolio-materials {
        padding: 0;
        font-size: 0.85rem;
        line-height: 1.48;
    }

    .portfolio-card-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 14px;
    }

    .portfolio-card-meta .meta-time {
        justify-content: flex-start;
    }

    .portfolio-card-meta a {
        min-height: 40px;
        padding: 0 16px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .portfolio-actions {
        margin-top: 32px;
        padding: 0 16px;
    }

    .portfolio-more {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    /* About Section on Mobile */
    .about-section {
        padding: 56px 0;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: left;
    }

    .about-info {
        max-width: none;
        margin: 0;
    }

    .premium-tag {
        font-size: 0.72rem;
        margin-bottom: 12px;
    }

    .about-info h2 {
        font-size: clamp(1.55rem, 8vw, 1.95rem);
        margin-bottom: 14px;
        letter-spacing: -0.03em;
    }

    .about-intro {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 20px;
        max-width: none;
    }

    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 18px;
    }

    .af-card {
        padding: 16px;
        border-radius: 18px;
    }

    .af-card-head {
        gap: 10px;
        margin-bottom: 6px;
    }

    .af-card .material-symbols-outlined {
        font-size: 1.3rem;
    }

    .af-card h4 {
        font-size: 0.98rem;
    }

    .af-card p {
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .image-main {
        border-radius: 24px;
    }

    .image-main img {
        min-height: 340px;
    }

    .quote-box {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--color-accent-red);
        padding-top: 16px;
        margin-bottom: 32px;
    }

    .quote-box p {
        font-size: 1.1rem;
    }

    .about-metrics {
        justify-content: center;
        gap: 24px;
        flex-wrap: wrap;
    }

    .metric-sep {
        display: none;
    }

    .experience-badge {
        position: absolute;
        right: 14px;
        bottom: 14px;
        margin: 0;
        width: 108px;
        height: 108px;
        padding: 12px;
    }

    .experience-badge strong {
        font-size: 2rem;
    }

    .experience-badge span {
        font-size: 0.62rem;
        padding: 0 10px;
    }

    .about-footer-note {
        align-items: flex-start;
        gap: 10px;
        padding-top: 14px;
        font-size: 0.84rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .final-cta h2 {
        font-size: 2rem;
    }
}

/* Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.reveal.js-enabled {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Desktop Header Alignment Fix --- */
@media (min-width: 1025px) {
    header .container {
        max-width: var(--container-width);
        padding: 0 40px;
        /* Matching global container padding */
    }

    header nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 60px;
        /* Unified gap between logic blocks */
        width: 100%;
    }

    .logo-wrapper {
        flex: 0 0 auto;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        gap: 32px;
        flex: 1;
        /* Allows middle to breathe and stay centered */
    }

    .header-right {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 60px;
        /* Same gap as between Logo/Menu/Header-right */
    }

    .contact-group {
        text-align: right;
    }

        .header-banner-installment {
        margin-left: 0;
    }
}

/* Footer Mobile Styles */
@media (max-width: 1024px) {
    .footer-cta {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: minmax(220px, 1.1fr) repeat(3, minmax(0, 1fr));
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1;
        max-width: 100%;
        text-align: left;
    }

    .footer-social {
        justify-content: flex-start;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 420px;
        margin: 0 auto;
        text-align: center;
    }

    .footer-logo {
        display: inline-block;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .footer-top {
        padding: 40px 0;
    }

    .footer-cta-content h3 {
        font-size: 1.4rem;
    }

    .footer-cta-actions {
        width: 100%;
    }

    .footer-cta-phone,
    .footer-cta-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .footer-main {
        padding: 50px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-brand {
        text-align: center;
        margin: 0 auto;
    }

    .footer-logo {
        display: inline-block;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: repeat(2, max-content);
        justify-content: center;
        column-gap: 40px;
        row-gap: 36px;
    }

    .footer-nav-col {
        min-width: 0;
    }

    .footer-nav-col:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(100%, 260px);
    }

    .footer-nav-col:nth-child(3) h4 {
        text-align: left;
    }

    .footer-nav-col:nth-child(3) .footer-contacts {
        width: 100%;
    }

    .footer-nav-col h4 {
        margin-bottom: 18px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}
