/* ================================================
   NUESTROS SEGUROS — our-products.css
   Page-specific styles only. Inherits variables
   and base from style.css
   ================================================ */

/* ------------------------------------------------
   FILTER BAR
------------------------------------------------ */
.prods-filter-bar {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 89px; /* height of sticky header */
    z-index: 90;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.prods-filter-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.prods-filter-inner::-webkit-scrollbar {
    display: none;
}

.prods-filter-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--light-text);
    font-weight: 500;
    white-space: nowrap;
    padding: 18px 0;
    flex-shrink: 0;
}

.prods-filter-tabs {
    display: flex;
    gap: 0;
    flex-shrink: 0;
}

.prods-tab {
    background: none;
    border: none;
    padding: 20px 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--mid-text);
    cursor: pointer;
    position: relative;
    transition: color 0.25s ease;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.prods-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.prods-tab:hover {
    color: var(--deep-charcoal);
}

.prods-tab.active {
    color: var(--accent-red);
    font-weight: 500;
}

.prods-tab.active::after {
    width: 100%;
}

/* ------------------------------------------------
   CATEGORY SECTIONS
------------------------------------------------ */
.prods-category-section {
    padding: 90px 0;
    background: white;
}

.prods-category-section--alt {
    background: var(--off-white);
}

/* Category header row */
.prods-category-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 52px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-color);
}

.prods-cat-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.prods-cat-tag {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-red);
    font-weight: 500;
    margin-bottom: 8px;
}

.prods-cat-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--deep-charcoal);
    line-height: 1.2;
    margin-bottom: 10px;
}

.prods-cat-desc {
    color: var(--mid-text);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
    max-width: 600px;
}

/* ------------------------------------------------
   PRODUCTS GRID & CARDS
------------------------------------------------ */
.prods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.prods-card {
    background: white;
    padding: 36px 32px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid transparent;
}

.prods-category-section--alt .prods-card {
    background: white;
}

.prods-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent-red);
    transition: height 0.4s ease;
}

.prods-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.09);
    transform: translateY(-3px);
    border-color: var(--border-color);
    z-index: 1;
}

.prods-card:hover::before {
    height: 100%;
}

/* Card top row: icon + tag */
.prods-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.prods-card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-red-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.prods-card:hover .prods-card-icon {
    background: var(--accent-red);
    color: white;
}

.prods-card-tag {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-text);
    font-weight: 500;
    background: var(--off-white);
    padding: 4px 10px;
    border: 1px solid var(--border-color);
}

/* Card content */
.prods-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--deep-charcoal);
    margin-bottom: 12px;
    line-height: 1.3;
}

.prods-card-desc {
    color: var(--mid-text);
    font-size: 14px;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 22px;
}

/* Coverage list */
.prods-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.prods-card-list li {
    font-size: 13.5px;
    color: var(--mid-text);
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.prods-card-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--accent-red);
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.prods-card:hover .prods-card-list li::before {
    transform: scale(1.4);
}

/* CTA button */
.prods-card-btn {
    display: inline-block;
    background: var(--deep-charcoal);
    color: white;
    padding: 13px 24px;
    text-decoration: none;
    font-size: 12.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.prods-card-btn:hover {
    background: var(--accent-red);
}

/* ------------------------------------------------
   HIDDEN STATE (filter JS)
------------------------------------------------ */
.prods-category-section.prods-hidden {
    display: none;
}

/* ------------------------------------------------
   PROCESS SECTION
------------------------------------------------ */
.prods-process-section {
    padding: 100px 0;
    background: var(--deep-charcoal);
    position: relative;
    overflow: hidden;
}

.prods-process-section::before {
    content: '';
    position: absolute;
    right: -150px;
    top: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,26,26,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.prods-process-header {
    margin-bottom: 64px;
}

.prods-process-header .section-subtitle {
    color: var(--accent-red-light);
}

.prods-process-header .section-subtitle::before {
    background: var(--accent-red-light);
}

.prods-process-header .section-title {
    color: white;
    max-width: 560px;
}

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

.prods-process-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: rgba(139,26,26,0.4);
    z-index: 0;
}

.prods-process-step {
    padding: 0 32px 0 0;
    position: relative;
    z-index: 1;
}

.prods-step-num {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 700;
    color: white;
    background: var(--accent-red);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.prods-step-line {
    display: none; /* decorative line replaced by ::before on grid */
}

.prods-step-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    line-height: 1.3;
}

.prods-step-desc {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    line-height: 1.75;
    font-weight: 300;
}

/* ------------------------------------------------
   CTA BAND
------------------------------------------------ */
.prods-cta-section {
    padding: 90px 0;
    background: var(--accent-red);
}

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

.prods-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    line-height: 1.2;
}

.prods-cta-text p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
}

.prods-cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.prods-cta-btn {
    display: inline-block;
    padding: 15px 32px;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

.prods-cta-btn--primary {
    background: white;
    color: var(--accent-red);
}

.prods-cta-btn--primary:hover {
    background: var(--deep-charcoal);
    color: white;
}

.prods-cta-btn--outline {
    border: 1.5px solid rgba(255,255,255,0.5);
    color: white;
}

.prods-cta-btn--outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: white;
}

/* ------------------------------------------------
   RESPONSIVE
------------------------------------------------ */
@media (max-width: 1100px) {
    .prods-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .prods-process-grid::before {
        display: none;
    }
}

@media (max-width: 968px) {
    .prods-filter-bar {
        top: 77px;
    }

    .prods-category-header {
        flex-direction: column;
        gap: 16px;
    }

    .prods-cat-icon {
        width: 52px;
        height: 52px;
    }

    .prods-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .prods-category-section,
    .prods-process-section,
    .prods-cta-section {
        padding: 70px 0;
    }

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

    .prods-filter-label {
        display: none;
    }

    .prods-filter-inner {
        gap: 0;
        justify-content: flex-start;
    }

    .prods-tab {
        padding: 16px 16px;
        font-size: 13px;
    }

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

    .prods-cat-title {
        font-size: 26px;
    }

    .prods-cta-title {
        font-size: 26px;
    }

    .prods-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .prods-cta-btn {
        text-align: center;
    }

    .prods-filter-bar {
        top: 69px;
    }
}

@media (max-width: 480px) {
    .prods-card {
        padding: 28px 22px;
    }

    .prods-step-num {
        width: 46px;
        height: 46px;
    }
}
