:root {
    --bg-body: #FDFCFB;
    --bg-secondary: #F4F1ED;
    --text-main: #2D2A26;
    --text-muted: #10364D;
    --accent: #10364D;
    --accent-hover: #10364d83;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --radius-sm: 8px;
    --radius-md: 16px;
    --container-width: 1200px;
    --spacing-section: 100px;
}

.mobile-header-title{
    display: none;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn--primary {
    background-color: var(--text-main);
    color: var(--white);
}

.btn--primary:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.btn--outline {
    border: 1px solid var(--text-main);
    background: transparent;
}

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

.btn--full {
    width: 100%;
}

.btn-text {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-text:hover {
    color: var(--accent-hover);
}

.btn--whatsapp {
    background-color: #25D366;
    color: white;
}

.btn--instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
}

/* Header */
.header {
    background-color: rgba(253, 252, 251, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.top-bar {
    background-color: #1a1a1a;
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.top-bar__phone:hover {
    color: #fff;
}

.top-bar__socials {
    display: flex;
    gap: 15px;
}

.top-bar__link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    transition: 0.3s;
}

.top-bar__link:hover {
    color: #fff;
    transform: translateY(-1px);
}

.header__container {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo__accent {
    color: var(--accent);
}

.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

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

.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-btn-wrapper {
    position: relative;
    cursor: pointer;
    padding: 8px;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.phone-link {
    font-weight: 600;
}

.burger, .close-menu {
    display: none;
}

/* Hero Section */
.hero {
    padding-top: 140px; /* Header height + spacing */
    padding-bottom: 80px;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--bg-secondary);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 450px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero__trust {
    display: flex;
    gap: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.trust-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 600px;
    box-shadow: var(--shadow-md);
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about__wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about__subtitle {
    font-size: 1.2rem;
    margin: 30px 0 20px;
    color: var(--text-main);
}

.about__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.about__list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-main);
    font-weight: 500;
}

.about__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
}

.about__image {
    height: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.about__image img {
    width: 100%;
    height: 100%;
}

/* Catalog & Filter */
.section {
    padding: var(--spacing-section) 0;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid #eee;
    background: var(--white);
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s;
    color: var(--text-muted);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--text-main);
    color: var(--white);
    border-color: var(--text-main);
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-card__image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card__category {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-card__title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.product-card__price {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.product-card__footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Process */
.process {
    background-color: var(--bg-secondary);
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.step {
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -15px;
    width: 30px;
    height: 1px;
    background-color: #d1cfcd;
    display: block;
}

.step__number {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.step__title {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.step__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* CTA & Form */
.cta__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--white);
    padding: 60px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta__desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.messenger-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--radius-md);
}

.form__title {
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.form__input {
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form__input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--white);
}

.form__note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding-top: 80px;
}

.footer__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__title {
    margin-bottom: 24px;
    color: var(--white);
}

.footer__desc {
    color: rgba(255,255,255,0.6);
    margin-top: 20px;
    max-width: 300px;
}

.logo--light {
    color: var(--white);
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__list a {
    color: rgba(255,255,255,0.7);
}

.footer__list a:hover {
    color: var(--white);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* Modals */
.modal-overlay, .cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active, .cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 900px;
    margin: auto;
    border-radius: var(--radius-md);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image-wrapper {
    height: 100%;
    min-height: 400px;
}

.modal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal-category {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.modal-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.modal-footer {
    margin-top: auto;
}

/* Cart Sidebar */
.cart-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.cart-overlay.active .cart-sidebar {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.cart-header h3 {
    font-size: 1.5rem;
}

.close-cart {
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.cart-item-price {
    color: var(--accent);
    font-weight: 500;
}

.cart-item-remove {
    color: #ff4d4f;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 5px;
    display: inline-block;
}

.cart-footer {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cart-empty-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero__title {
        font-size: 2.8rem;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__buttons {
        display: flex;
        gap: 16px;
        margin-bottom: 60px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero__trust {
        display: flex;
        gap: 40px;
        border-top: 1px solid #eee;
        padding-top: 30px;
        justify-content: center;
    }
    
    .hero__image-wrapper {
        order: 1;
        height: 400px;
    }
    
    .process__steps {
        grid-template-columns: 1fr 1fr;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .cta__wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    
    .cta__title, .cta__desc {
        text-align: center;
    }
    
    .messenger-buttons {
        justify-content: center;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .footer__list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
        display: flex;
    }

    .about__wrapper {
        grid-template-columns: 1fr;
    }
    
    .about__image {
        order: -1;
        height: 300px;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image-wrapper {
        height: 300px;
        min-height: auto;
    }
    
    .modal-info {
        padding: 24px;
    }

    /* Mobile Centering Fixes */
    .footer__col .logo {
        justify-content: center;
    }

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

    .about__text {
        text-align: center;
    }

    .about__list li {
        padding-left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .about__list li::before {
        position: static;
        flex-shrink: 0;
    }

    .mobile-header-title {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-weight: 700;
        font-size: 1.5rem;
      
        color: var(--text-main);
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 102;
    }
    
    .burger span {
        width: 100%;
        height: 2px;
        background-color: var(--text-main);
        transition: 0.3s;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        padding: 80px 40px;
        transition: 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        z-index: 101;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav__link {
        font-size: 1.2rem;
    }

    .phone-link {
        display: none;
    }
    
    .close-menu {
        display: block;
        position: absolute;
        top: 25px;
        right: 25px;
        background: transparent;
        border: none;
        font-size: 2rem;
        cursor: pointer;
    }
    
    .hero__title {
        font-size: 2.2rem;
    }

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

    .filter-container {
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .filter-btn {
        flex-shrink: 0;
    }
}