/* ==========================================
   CUSTOM STYLES - SOS CARTUCHOS THEME
   Design System Implementation
   ========================================== */

:root {
    /* Colors - Primary */
    --color-primary: #0047ab;
    --color-primary-dark: #00327d;
    --color-primary-light: #dae2ff;
    --color-on-primary: #ffffff;

    /* Colors - Secondary */
    --color-secondary: #fc7d00;
    --color-on-secondary: #ffffff;

    /* Colors - Surface */
    --color-surface: #f8f9ff;
    --color-surface-container: #e5eeff;
    --color-surface-container-low: #eff4ff;
    --color-surface-container-lowest: #ffffff;
    --color-on-surface: #0b1c30;
    --color-on-surface-variant: #434653;

    /* Colors - Outline */
    --color-outline: #737784;
    --color-outline-variant: #c3c6d5;

    /* Colors - Status */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 40px;
    --spacing-gutter: 24px;

    /* Border Radius */
    --radius-sm: 0.125rem;
    --radius-md: 0.25rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-family: 'Manrope', sans-serif;
}

/* ==========================================
   HEADER STYLES
   ========================================== */

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-outline-variant);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: var(--spacing-xl);
}

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-branding a,
.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.site-branding .custom-logo {
    display: block;
    max-height: 50px;
    width: auto;
}

.site-branding .site-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

/* Navigation */
.site-navigation {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    color: var(--color-on-surface-variant);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
}

.nav-menu a:hover {
    color: var(--color-primary);
    background-color: var(--color-surface-container-low);
    border-radius: 4px;
}

.nav-menu .current-menu-item > a {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid var(--color-outline-variant);
    border-radius: 4px;
    min-width: 200px;
    list-style: none;
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

.nav-menu li:hover .sub-menu {
    display: flex;
    flex-direction: column;
}

.nav-menu .sub-menu li a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-outline-variant);
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    gap: 8px;
    background-color: var(--color-surface-container);
    padding: 8px 16px;
    border-radius: 24px;
    align-items: center;
}

.search-field {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 14px;
    min-width: 200px;
}

.search-field:focus {
    outline: none;
}

.search-submit {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    font-size: 18px;
    padding: 0;
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

.site-content {
    flex: 1;
    padding: var(--spacing-xl) 0;
}

.main-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-gutter);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-surface-container-low) 0%, var(--color-surface-container) 100%);
    border-bottom: 1px solid var(--color-outline-variant);
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--color-primary);
}

.hero-text p {
    font-size: 18px;
    color: var(--color-on-surface-variant);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-on-secondary);
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 10px 30px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-primary-light);
}

/* Quick Quote Form */
.quick-quote-form {
    background-color: var(--color-surface-container-lowest);
    border: 1px solid var(--color-outline-variant);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.quick-quote-form h3 {
    font-size: 24px;
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-outline-variant);
    padding-bottom: var(--spacing-sm);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-on-surface-variant);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-outline-variant);
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.1);
}

/* ==========================================
   ADVANTAGES SECTION
   ========================================== */

.advantages-section {
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-outline-variant);
    padding: var(--spacing-lg) 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.advantage-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.advantage-icon {
    background-color: var(--color-surface-container-low);
    color: var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--color-on-surface);
}

.advantage-text p {
    font-size: 14px;
    color: var(--color-on-surface-variant);
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */

.products-section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-outline-variant);
    padding-bottom: var(--spacing-sm);
}

.section-header h2 {
    font-size: 32px;
    color: var(--color-on-surface);
}

.view-all-link {
    color: var(--color-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    gap: 8px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-gutter);
}

.product-card {
    background-color: var(--color-surface-container-lowest);
    border: 1px solid var(--color-outline-variant);
    border-radius: 12px;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.product-image {
    aspect-ratio: 1;
    background-color: var(--color-surface);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.product-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-on-surface);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-description {
    font-size: 14px;
    color: var(--color-on-surface-variant);
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-outline-variant);
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.product-action {
    background-color: var(--color-surface-container-low);
    color: var(--color-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-action:hover {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
}

.products-carousel .product-action,
.products-carousel .product-footer {
    display: none;
}

/* ==========================================
   BRANDS SECTION
   ========================================== */

.brands-section {
    background-color: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.brands-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-on-surface-variant);
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 60px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.brands-section:hover .brands-grid {
    opacity: 1;
    filter: grayscale(0);
}

.brand-logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--color-on-surface);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about-section {
    background-color: var(--color-surface-container-low);
    padding: var(--spacing-xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-gutter);
}

.about-text {
    background-color: var(--color-surface-container-lowest);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 1px solid var(--color-outline-variant);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.about-text p {
    color: var(--color-on-surface-variant);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.about-checklist {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--color-on-surface);
    font-weight: 500;
}

.about-checklist .icon {
    color: var(--color-secondary);
    font-size: 20px;
}

.about-image {
    background-color: var(--color-surface-container-lowest);
    border-radius: 12px;
    border: 1px solid var(--color-outline-variant);
    overflow: hidden;
    min-height: 400px;
}

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

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact-section {
    background-color: #ffffff;
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--color-outline-variant);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-gutter);
}

.contact-info h2 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.contact-info p {
    color: var(--color-on-surface-variant);
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.contact-icon {
    background-color: var(--color-surface-container-low);
    color: var(--color-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-data h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-on-surface-variant);
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-data p {
    margin: 0;
    color: var(--color-on-surface);
}

.contact-form {
    background-color: var(--color-surface-container-low);
    border: 1px solid var(--color-outline-variant);
    padding: var(--spacing-lg);
    border-radius: 12px;
}

/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
    background-color: #f5f5f5;
    border-top: 1px solid var(--color-outline-variant);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-gutter);
    margin-bottom: var(--spacing-xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.footer-column p {
    font-size: 14px;
    color: var(--color-on-surface-variant);
    line-height: 1.6;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: var(--spacing-sm);
}

.footer-menu a {
    color: var(--color-on-surface-variant);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--color-primary);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    margin: 0;
}

.footer-contact a {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid var(--color-outline-variant);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--color-on-surface-variant);
    margin: 0;
}

/* ==========================================
   POSTS LISTING
   ========================================== */

.posts-list {
    display: grid;
    gap: var(--spacing-gutter);
}

.post-item {
    background-color: #ffffff;
    border: 1px solid var(--color-outline-variant);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-item:hover {
    box-shadow: var(--shadow-md);
}

.post-thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--color-surface);
}

.post-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.entry-header {
    padding: var(--spacing-md);
}

.entry-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.entry-title a {
    color: var(--color-on-surface);
}

.entry-title a:hover {
    color: var(--color-primary);
}

.entry-meta {
    font-size: 12px;
    color: var(--color-on-surface-variant);
    display: flex;
    gap: var(--spacing-lg);
}

.entry-summary {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--color-on-surface-variant);
    line-height: 1.6;
}

.entry-footer {
    padding: var(--spacing-md);
    border-top: 1px solid var(--color-outline-variant);
}

.read-more-link {
    color: var(--color-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: var(--color-primary-dark);
}

/* ==========================================
   SIDEBAR
   ========================================== */

.sidebar {
    width: 300px;
}

.widget {
    background-color: #ffffff;
    border: 1px solid var(--color-outline-variant);
    border-radius: 8px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-gutter);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-on-surface);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-primary);
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 8px;
}

.widget a {
    color: var(--color-on-surface-variant);
    transition: color 0.3s ease;
}

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

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .hero-content,
    .contact-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .main-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 100%;
    }

    .header-container {
        height: 60px;
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        height: auto;
        padding: var(--spacing-md) 0;
    }

    .site-navigation {
        display: none;
    }

    .nav-menu {
        gap: var(--spacing-sm);
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--spacing-md);
    }

    .brands-grid {
        gap: 24px;
    }

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

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

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

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

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 20px;
    }

    .hero-section {
        padding: 40px 0;
    }

    .site-content {
        padding: var(--spacing-lg) 0;
    }

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

    .header-search {
        width: 100%;
        order: 3;
    }

    .search-form {
        width: 100%;
    }

    .search-field {
        min-width: auto;
        flex: 1;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.py-xl {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.error {
    color: var(--color-error);
}

.success {
    color: var(--color-success);
}

.warning {
    color: var(--color-warning);
}

/* Product carousel and editable product fields */
.products-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-button {
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border: 1px solid #c8d2e3;
    border-radius: 4px;
    background: #fff;
    color: #0047ab;
    box-shadow: none;
    transform: none;
}

.carousel-button:hover {
    background: #0047ab;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 71, 171, .18);
    transform: translateY(-1px);
}

.products-carousel {
    overflow: hidden;
}

.products-carousel .products-track {
    display: flex;
    grid-template-columns: none;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.products-carousel .products-track::-webkit-scrollbar {
    display: none;
}

.products-carousel .product-card {
    flex: 0 0 calc((100% - 72px) / 4);
    scroll-snap-align: start;
}

.product-brand {
    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eaf1ff;
    color: #0047ab;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.products-carousel .product-footer {
    justify-content: flex-end;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .products-carousel .product-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    .products-header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .products-carousel .product-card {
        flex-basis: 82%;
    }
}

/* ==========================================
   SOS CARTUCHOS HOMEPAGE
   ========================================== */

body {
    background: #f4f7ff;
}

.site-header {
    position: sticky;
    box-shadow: none;
    border-bottom: 1px solid #e7ebf4;
}

.header-container {
    min-height: 75px;
    padding-top: 5px;
    padding-bottom: 5px;
    gap: 30px;
}

.site-branding .site-title {
    font-size: 20px;
    font-weight: 800;
    color: #0052cc;
    letter-spacing: 0;
}

.site-branding .custom-logo {
    max-height: 65px;
}

.site-navigation {
    display: flex;
    justify-content: center;
}

.nav-menu {
    gap: 42px;
}

.nav-menu a {
    padding: 6px 0;
    font-size: 11px;
    color: #3d506c;
    border-radius: 0;
}

.nav-menu a:hover {
    background: transparent;
}

.header-search .search-form {
    width: 220px;
    height: 36px;
    padding: 0 0 0 12px;
    background: #fff;
    border: 1px solid #d8e0ed;
    border-radius: 3px;
    justify-content: space-between;
}

.header-search .search-field {
    position: static;
    width: 100%;
    min-width: 0;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    font-size: 12px;
}

.header-search .search-field:focus {
    border: 0;
    box-shadow: none;
}

.search-submit,
.search-submit:hover {
    width: 36px;
    height: 34px;
    padding: 0;
    color: #0052cc;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.site-content {
    padding: 0;
}

.sos-home-hero {
    padding: 64px 0 58px;
    background: #eaf1ff;
    border-bottom: 0;
}

.hero-content {
    grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
    gap: 54px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    margin-bottom: 28px;
    border-radius: 999px;
    background: #fff7ed;
    color: #a94f00;
    font-size: 10px;
    font-weight: 800;
    border: 1px solid #ffd3a4;
}

.hero-badge .material-symbols-outlined {
    font-size: 13px;
}

.hero-text h1 {
    max-width: 710px;
    margin-bottom: 22px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.05;
    color: #003f95;
    letter-spacing: 0;
}

.hero-text p {
    max-width: 650px;
    margin-bottom: 28px;
    font-size: 16px;
    color: #526274;
}

.btn-primary,
.btn-secondary,
.quote-submit,
.contact-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0;
}

.btn-primary {
    background: #ff7a00;
    color: #fff;
}

.btn-secondary {
    border: 1px solid #0047ab;
    background: transparent;
    color: #0047ab;
}

.quick-quote-form {
    padding: 24px;
    border-radius: 4px;
    border-color: #b9c5d8;
    box-shadow: none;
}

.quick-quote-form h3 {
    padding: 0;
    margin-bottom: 18px;
    border: 0;
    font-size: 21px;
    color: #213247;
}

.quick-quote-form p {
    margin-bottom: 18px;
    color: #5e6b7e;
    font-size: 12px;
}

.quote-success {
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(16, 185, 129, .35);
    border-radius: 3px;
    background: rgba(16, 185, 129, .08);
    color: #047857;
    font-size: 12px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    margin-bottom: 5px;
    color: #4d5d73;
    font-size: 10px;
    letter-spacing: 0;
    text-transform: none;
}

.form-group input,
.form-group textarea {
    min-height: 36px;
    padding: 9px 12px;
    border-radius: 2px;
    font-size: 12px;
}

.quote-fields,
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quote-submit,
.contact-form button {
    width: 100%;
    gap: 8px;
    background: #003f95;
}

.quote-submit .material-symbols-outlined {
    font-size: 15px;
}

.advantages-section {
    padding: 24px 0;
    border: 0;
}

.advantages-grid {
    grid-template-columns: repeat(4, 1fr);
}

.advantage-item {
    gap: 12px;
    align-items: center;
    position: relative;
    padding: 10px 12px;
    border-radius: 8px;
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.advantage-icon {
    width: 42px;
    height: 42px;
    border-radius: 7px;
    background: #eaf1ff;
    box-shadow: inset 0 0 0 1px rgba(0, 71, 171, .04);
    transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.advantage-icon .material-symbols-outlined {
    font-size: 22px;
    transition: transform .25s ease;
}

.advantage-item:hover {
    background: #f8fbff;
    box-shadow: 0 10px 24px rgba(0, 47, 115, .08);
    transform: translateY(-3px);
}

.advantage-item:hover .advantage-icon {
    background: #0047ab;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 71, 171, .22);
    transform: translateY(-1px) scale(1.08);
}

.advantage-item:hover .advantage-icon .material-symbols-outlined {
    transform: scale(1.08) rotate(-4deg);
}

.advantage-item:hover .advantage-text h4 {
    color: #0047ab;
}

.advantage-text h4 {
    margin: 0 0 2px;
    font-size: 13px;
}

.advantage-text p {
    font-size: 10px;
}

.products-section {
    padding: 34px 0 38px;
}

.section-header {
    margin-bottom: 24px;
    border: 0;
    padding: 0;
}

.section-header h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: 0;
}

.view-all-link {
    font-size: 11px;
    gap: 3px;
}

.products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    padding: 12px;
    border-radius: 4px;
    border-color: #c8d2e3;
    box-shadow: none;
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-image {
    margin-bottom: 16px;
    border-radius: 2px;
    border: 1px solid #d8deea;
}

.product-art {
    position: relative;
    min-height: 210px;
    overflow: hidden;
}

.product-photo {
    min-height: 210px;
    background: #fff;
}

.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}

.product-visual {
    position: absolute;
    inset: 20%;
}

.gradient-printer {
    background: radial-gradient(circle at 50% 42%, #fff 0 16%, #d5dce7 34%, #5c6571 60%, #151a1f 100%);
}

.gradient-printer .product-visual {
    inset: auto 18% 22% 18%;
    height: 16%;
    border-radius: 5px;
    background: linear-gradient(#3a4049, #11161d);
    box-shadow: 0 -14px 22px rgba(255,255,255,.45);
}

.gradient-machine {
    background: radial-gradient(circle at 50% 28%, #8bc5cc 0 3%, #133d40 42%, #071b20 100%);
}

.gradient-machine .product-visual {
    inset: auto 17% 23% 17%;
    height: 28%;
    border-radius: 4px 4px 12px 12px;
    background: linear-gradient(160deg, #2b7681, #111a20 52%, #0a0f14);
}

.gradient-lens {
    background: radial-gradient(circle, #a5e58b 0 2%, #326c37 20%, #0a220e 47%, #030804 100%);
}

.gradient-lens .product-visual {
    inset: 18%;
    border-radius: 50%;
    border: 12px solid rgba(90, 161, 78, .28);
    box-shadow: inset 0 0 42px rgba(0,0,0,.85), 0 0 30px rgba(152, 255, 128, .35);
}

.gradient-toner {
    background: #f7f9ff;
}

.gradient-toner .product-visual {
    inset: auto 11% 38% 11%;
    height: 18%;
    border-radius: 999px;
    background: linear-gradient(#242a2f, #090b0d);
    box-shadow: inset 0 -10px 0 #21a7c7, 0 8px 16px rgba(0,0,0,.18);
}

.product-title {
    min-height: 42px;
    margin-bottom: 9px;
    font-size: 14px;
}

.product-description {
    min-height: 38px;
    margin-bottom: 18px;
    font-size: 10px;
    line-height: 1.45;
}

.product-footer {
    border: 0;
    padding: 0;
}

.product-price {
    font-size: 15px;
}

.product-action {
    width: 30px;
    height: 30px;
    border-radius: 2px;
}

.product-action .material-symbols-outlined {
    font-size: 18px;
}

.brands-section {
    border: 0;
    padding: 28px 0;
    background: #f4f7ff;
}

.brands-title {
    font-size: 10px;
    letter-spacing: .08em;
}

.brands-grid {
    gap: 80px;
}

.brand-logo {
    font-size: 23px;
    color: #4d5563;
}

.about-section {
    padding: 42px 0;
    background: #eaf1ff;
}

.about-grid {
    grid-template-columns: 1.03fr .97fr;
    gap: 28px;
}

.about-text {
    padding: 42px;
    border-radius: 4px;
}

.about-text h2 {
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: 0;
}

.about-text p {
    font-size: 13px;
}

.about-checklist li {
    gap: 8px;
    font-size: 13px;
}

.about-checklist .icon {
    color: #ff7a00;
    font-size: 17px;
}

.about-button {
    align-self: flex-start;
    background: #003f95;
}

.about-image {
    min-height: 450px;
    border-radius: 4px;
    border: 0;
    position: relative;
    transform: translateZ(0);
    transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255,255,255,.18), rgba(255,255,255,0) 42%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.about-image:hover {
    box-shadow: 0 18px 36px rgba(0, 47, 115, .18);
    filter: saturate(1.04) contrast(1.02);
    transform: translateY(-4px);
}

.about-image:hover::after {
    opacity: 1;
}

.about-image img,
.about-image .office-illustration {
    transition: transform .45s ease;
}

.about-image:hover img,
.about-image:hover .office-illustration {
    transform: scale(1.025);
}

.office-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.34)), linear-gradient(120deg, #d8e0db, #8c9a93);
    overflow: hidden;
}

.office-illustration .blind {
    position: absolute;
    inset: 0 0 45%;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,.75) 0 7px, rgba(70,80,82,.14) 8px 10px);
}

.office-illustration .desk {
    position: absolute;
    left: 14%;
    right: 8%;
    bottom: 19%;
    height: 16px;
    background: #f3f0ea;
    box-shadow: 0 36px 0 #27313a;
}

.office-illustration .person {
    position: absolute;
    bottom: 22%;
    width: 54px;
    height: 128px;
    border-radius: 30px 30px 8px 8px;
    background: linear-gradient(#2b3038 0 45%, #ebe4db 46%);
}

.office-illustration .person-one {
    left: 23%;
}

.office-illustration .person-two {
    right: 21%;
}

.office-illustration .monitor {
    position: absolute;
    left: 48%;
    bottom: 28%;
    width: 82px;
    height: 58px;
    border-radius: 3px;
    background: #d7eef5;
    border: 8px solid #26323b;
}

.faq-section {
    padding: 45px 0;
    background: #fff;
    border-top: 1px solid #d8deea;
    border-bottom: 1px solid #d8deea;
}

.faq-header {
    max-width: 760px;
    margin-bottom: 24px;
}

.faq-header h2 {
    margin: 0 0 8px;
    color: #0047ab;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: 0;
}

.faq-header p {
    margin: 0;
    color: #536174;
    font-size: 14px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid #d8deea;
    border-radius: 4px;
    background: #f8fbff;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.faq-item[open],
.faq-item:hover {
    border-color: #b9c7df;
    box-shadow: 0 12px 28px rgba(0, 47, 115, .08);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    color: #0b1c30;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    color: #0047ab;
    transition: transform .25s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px;
}

.faq-answer p {
    margin: 0 0 12px;
    color: #536174;
    font-size: 13px;
    line-height: 1.7;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.contact-section {
    padding: 45px 0;
}

.buy-sell-section {
    padding: 45px 0;
    background: #f4f7ff;
}

.buy-sell-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: 36px;
    align-items: stretch;
}

.buy-sell-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    border: 1px solid #d8deea;
    border-radius: 4px;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.buy-sell-text:hover {
    border-color: #b9c7df;
    box-shadow: 0 16px 32px rgba(0, 47, 115, .1);
    transform: translateY(-2px);
}

.buy-sell-text h2 {
    margin: 0 0 18px;
    color: #0047ab;
    font-size: 28px;
    letter-spacing: 0;
}

.buy-sell-text p {
    margin: 0 0 14px;
    color: #536174;
    font-size: 14px;
    line-height: 1.65;
}

.buy-sell-note {
    margin: 4px 0 20px;
    padding: 14px 16px;
    border-left: 4px solid #0047ab;
    background: #eaf1ff;
}

.buy-sell-note p {
    margin: 0 0 6px;
    color: #0b1c30;
    font-weight: 800;
}

.buy-sell-note p:last-child {
    margin-bottom: 0;
}

.buy-sell-button {
    align-self: flex-start;
}

.buy-sell-image {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border: 1px solid #d8deea;
    border-radius: 4px;
    background: #fff;
}

.buy-sell-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.buy-sell-image:hover img,
.buy-sell-image:hover .buy-sell-illustration {
    transform: scale(1.025);
}

.buy-sell-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 390px;
    background: radial-gradient(circle at 70% 30%, rgba(0, 71, 171, .18), transparent 32%), linear-gradient(135deg, #f8fbff, #dbe7ff);
    transition: transform .45s ease;
}

.buy-sell-card,
.buy-sell-toner,
.buy-sell-badge {
    position: absolute;
    display: block;
}

.buy-sell-card {
    width: 150px;
    height: 98px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #c8d2e3;
    box-shadow: 0 18px 30px rgba(0, 47, 115, .12);
}

.buy-sell-card::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 20px;
    height: 12px;
    border-radius: 999px;
    background: #0047ab;
}

.buy-sell-card.card-one {
    left: 16%;
    top: 18%;
    transform: rotate(-8deg);
}

.buy-sell-card.card-two {
    right: 14%;
    bottom: 18%;
    transform: rotate(7deg);
}

.buy-sell-toner {
    left: 28%;
    right: 22%;
    top: 44%;
    height: 54px;
    border-radius: 999px;
    background: linear-gradient(#242a2f, #090b0d);
    box-shadow: inset 0 -10px 0 #21a7c7, 0 18px 26px rgba(0, 47, 115, .18);
}

.buy-sell-badge {
    right: 20%;
    top: 20%;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0047ab;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 16px 28px rgba(0, 71, 171, .24);
}

.contact-services-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 34px;
    padding: 4px 0 28px;
    border-bottom: 1px solid rgba(0, 71, 171, .08);
}

.contact-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.contact-service-icon {
    width: 42px;
    height: 42px;
    border-radius: 7px;
    background: #eaf1ff;
    color: #0047ab;
    box-shadow: inset 0 0 0 1px rgba(0, 71, 171, .04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.contact-service-icon .material-symbols-outlined {
    font-size: 22px;
    transition: transform .25s ease;
}

.contact-service-text h3 {
    margin: 0 0 2px;
    font-size: 15px;
    line-height: 1.15;
    color: #0b1c30;
    font-weight: 800;
    letter-spacing: 0;
}

.contact-service-text p {
    margin: 0;
    font-size: 11px;
    line-height: 1.25;
    color: #536174;
}

.contact-service-item:hover {
    background: #f8fbff;
    box-shadow: 0 10px 24px rgba(0, 47, 115, .08);
    transform: translateY(-3px);
}

.contact-service-item:hover .contact-service-icon {
    background: #0047ab;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 71, 171, .22);
    transform: translateY(-1px) scale(1.08);
}

.contact-service-item:hover .contact-service-icon .material-symbols-outlined {
    transform: scale(1.08) rotate(-4deg);
}

.contact-service-item:hover .contact-service-text h3 {
    color: #0047ab;
}

.contact-info h2 {
    font-size: 28px;
    letter-spacing: 0;
}

.contact-info p,
.contact-data p {
    font-size: 13px;
}

.contact-address {
    margin: 0 0 22px;
    color: #45566d;
}

.contact-address h4 {
    margin: 0 0 6px;
    color: #0b1c30;
    font-size: 14px;
    font-weight: 800;
}

.contact-address p {
    margin: 0 0 4px;
    color: #536174;
    font-size: 13px;
    line-height: 1.55;
}

.contact-form {
    padding: 18px;
    border-radius: 4px;
    background: #eaf1ff;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}

.contact-form:hover,
.contact-form:focus-within {
    background: #eef5ff;
    border-color: #9fb3d5;
    box-shadow: 0 18px 36px rgba(0, 47, 115, .14);
    transform: translateY(-3px);
}

.contact-form input,
.contact-form textarea {
    transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: #fff;
    border-color: #0047ab;
    box-shadow: 0 0 0 3px rgba(0, 71, 171, .11);
}

.contact-success {
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(16, 185, 129, .35);
    border-radius: 3px;
    background: rgba(16, 185, 129, .08);
    color: #047857;
    font-size: 12px;
    font-weight: 700;
}

.contact-form textarea {
    resize: vertical;
}

.site-footer {
    padding: 42px 0;
    background: #f8fbff;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr .95fr;
    gap: 54px;
    margin-bottom: 0;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .custom-logo {
    max-height: 84px;
    width: auto;
}

.footer-logo .site-title {
    color: #0047ab;
    font-size: 24px;
    font-weight: 800;
}

.footer-title {
    font-size: 14px;
}

.footer-heading {
    margin-bottom: 16px;
    color: #ff7a00;
    font-size: 10px;
    text-transform: uppercase;
}

.footer-column p,
.footer-menu a {
    font-size: 11px;
}

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

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #d8e0ed;
    border-radius: 50%;
    color: #0047ab;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.footer-social-link svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-social-link[aria-disabled="true"] {
    cursor: default;
}

.footer-social-instagram svg,
.footer-social-facebook svg,
.footer-social-tiktok svg,
.footer-social-email svg {
    display: block;
}

.footer-social-link:hover {
    color: #0047ab;
    border-color: #a9badd;
    box-shadow: 0 8px 18px rgba(0, 47, 115, .12);
    transform: translateY(-2px);
    text-decoration: none;
}

.payment-icons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    color: #66758c;
}

.footer-nav-title {
    color: #30343b;
    font-size: 18px;
    text-transform: none;
}

.footer-primary-nav .footer-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-primary-nav .footer-menu li {
    margin: 0;
}

.footer-primary-nav .footer-menu a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #536174;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color .22s ease, transform .22s ease;
}

.footer-primary-nav .footer-menu a::before {
    content: "chevron_right";
    color: #0047ab;
    font-family: "Material Symbols Outlined";
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
}

.footer-primary-nav .footer-menu a:hover {
    color: #0047ab;
    transform: translateX(3px);
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px 16px;
    border: 1px solid #d8e0ed;
    border-radius: 4px;
    color: #10a66a;
    font-size: 12px;
}

.footer-credit {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid #d8e0ed;
    color: #64748b;
    font-size: 12px;
}

.footer-credit p {
    margin: 0;
}

.footer-credit a {
    color: #0047ab;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .hero-content,
    .about-grid,
    .buy-sell-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-services-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: auto;
        min-height: 54px;
    }

    .site-navigation {
        display: flex;
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .nav-menu {
        flex-wrap: nowrap;
        min-width: max-content;
    }

    .header-search {
        width: auto;
        order: 2;
    }

    .sos-home-hero {
        padding: 38px 0;
    }

    .hero-content {
        gap: 28px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .quote-fields,
    .contact-form-row,
    .products-grid,
    .advantages-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-credit {
        flex-direction: column;
    }

    .contact-services-bar {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 28px;
        padding-bottom: 24px;
    }

    .brands-grid {
        gap: 24px;
    }

    .about-text {
        padding: 26px;
    }

    .buy-sell-text {
        padding: 26px;
    }

    .buy-sell-image,
    .buy-sell-illustration {
        min-height: 320px;
    }
}
