/* ================================================
   ASEGURADORAS — aseguradoras.css
   Page-specific styles only. Inherits variables
   and base from style.css
   ================================================ */

/* ------------------------------------------------
   SHARED BODY TEXT & SECTION HEADER
------------------------------------------------ */
.aseg-body-text {
    color: var(--mid-text);
    font-size: 15.5px;
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 20px;
}

.aseg-section-head {
    max-width: 680px;
    margin-bottom: 64px;
}

.aseg-section-intro {
    color: var(--mid-text);
    font-size: 15.5px;
    line-height: 1.8;
    font-weight: 300;
    margin-top: 16px;
}

/* ------------------------------------------------
   INDEPENDENCE STATEMENT SECTION
------------------------------------------------ */
.aseg-independence-section {
    padding: 110px 0;
    background: white;
}

.aseg-independence-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.aseg-independence-text .section-title {
    margin-bottom: 28px;
}

.aseg-independence-pillars {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.aseg-pillar {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.25s;
}

.aseg-pillar:first-child {
    border-top: 1px solid var(--border-color);
}

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

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

.aseg-pillar-title {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--deep-charcoal);
    margin-bottom: 8px;
    line-height: 1.3;
}

.aseg-pillar-desc {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
}

/* ------------------------------------------------
   FEATURED INSURERS SECTION
------------------------------------------------ */
.aseg-main-section {
    padding: 110px 0;
    background: var(--off-white);
}

.aseg-featured-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    background: white;
    margin-bottom: 2px;
    transition: box-shadow 0.3s ease;
}

.aseg-featured-card:hover {
    box-shadow: 0 12px 48px rgba(0,0,0,0.08);
}

.aseg-featured-card--reverse {
    grid-template-columns: 1fr 300px;
}

.aseg-featured-card--reverse .aseg-featured-logo-wrap {
    order: 2;
}

.aseg-featured-card--reverse .aseg-featured-content {
    order: 1;
}

/* Logo panel */
.aseg-featured-logo-wrap {
    background: var(--off-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    position: relative;
    border-right: 1px solid var(--border-color);
    gap: 20px;
}

.aseg-featured-card--reverse .aseg-featured-logo-wrap {
    border-right: none;
    border-left: 1px solid var(--border-color);
}

.aseg-featured-logo {
    max-width: 180px;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.aseg-featured-card:hover .aseg-featured-logo {
    filter: grayscale(0%);
}

.aseg-featured-badge {
    background: var(--accent-red);
    color: white;
    font-size: 10.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 6px 14px;
    font-family: 'DM Sans', sans-serif;
}

/* Content panel */
.aseg-featured-content {
    padding: 48px 52px;
}

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

.aseg-featured-name {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Product tags */
.aseg-featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.aseg-featured-tags span {
    background: var(--off-white);
    border: 1px solid var(--border-color);
    color: var(--mid-text);
    font-size: 12px;
    padding: 5px 12px;
    font-weight: 400;
    transition: all 0.25s;
}

.aseg-featured-card:hover .aseg-featured-tags span {
    border-color: var(--accent-red-soft);
    color: var(--accent-red);
    background: var(--accent-red-soft);
}

/* ------------------------------------------------
   OTHER INSURERS GRID
------------------------------------------------ */
.aseg-others-section {
    padding: 110px 0;
    background: white;
}

.aseg-others-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.aseg-other-card {
    background: var(--off-white);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.aseg-other-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-red);
    transition: width 0.4s ease;
}

.aseg-other-card:hover {
    background: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.aseg-other-card:hover::after {
    width: 100%;
}

/* Logo area */
.aseg-other-logo-wrap {
    padding: 32px 28px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid var(--border-color);
    background: white;
    min-height: 100px;
}

.aseg-other-logo-wrap img {
    max-width: 130px;
    max-height: 44px;
    object-fit: contain;
    filter: grayscale(30%) opacity(0.75);
    transition: filter 0.3s;
}

.aseg-other-card:hover .aseg-other-logo-wrap img {
    filter: grayscale(0%) opacity(1);
}

/* Info area */
.aseg-other-info {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.aseg-other-name {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--deep-charcoal);
    margin-bottom: 10px;
    line-height: 1.3;
}

.aseg-other-desc {
    color: var(--light-text);
    font-size: 13.5px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 18px;
    flex: 1;
}

.aseg-other-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.aseg-other-tags span {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-red);
    border: 1px solid var(--accent-red-soft);
    background: var(--accent-red-soft);
    padding: 3px 9px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
}

/* ------------------------------------------------
   WHY SECTION (dark)
------------------------------------------------ */
.aseg-why-section {
    padding: 110px 0;
    background: var(--deep-charcoal);
    position: relative;
    overflow: hidden;
}

.aseg-why-section::before {
    content: '';
    position: absolute;
    left: -200px;
    top: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,26,26,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.aseg-why-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 90px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.aseg-why-text .section-subtitle {
    color: var(--accent-red-light);
}

.aseg-why-text .section-subtitle::before {
    background: var(--accent-red-light);
}

.aseg-why-text .section-title {
    color: white;
    margin-bottom: 24px;
}

.aseg-why-text .aseg-body-text {
    color: rgba(255,255,255,0.55);
    margin-bottom: 36px;
}

.aseg-why-btn {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 15px 32px;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.3s;
}

.aseg-why-btn:hover {
    background: var(--accent-red-light);
}

.aseg-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.aseg-why-item {
    background: rgba(255,255,255,0.04);
    padding: 32px 28px;
    border-left: 2px solid rgba(139,26,26,0.4);
    transition: border-color 0.3s, background 0.3s;
}

.aseg-why-item:hover {
    background: rgba(255,255,255,0.07);
    border-left-color: var(--accent-red-light);
}

.aseg-why-vs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.aseg-why-direct {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    background: rgba(255,255,255,0.06);
    padding: 3px 8px;
}

.aseg-why-sep {
    font-size: 10px;
    color: rgba(255,255,255,0.2);
    font-weight: 400;
}

.aseg-why-broker {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-red-light);
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    background: rgba(139,26,26,0.18);
    padding: 3px 8px;
}

.aseg-why-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.aseg-why-item p {
    color: rgba(255,255,255,0.45);
    font-size: 13.5px;
    line-height: 1.65;
    font-weight: 300;
    margin: 0;
}

.aseg-why-item p strong {
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

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

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

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

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

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

.aseg-cta-btn {
    display: inline-block;
    padding: 15px 34px;
    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;
}

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

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

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

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

/* ------------------------------------------------
   RESPONSIVE
------------------------------------------------ */
@media (max-width: 1100px) {
    .aseg-independence-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .aseg-featured-card,
    .aseg-featured-card--reverse {
        grid-template-columns: 240px 1fr;
    }

    .aseg-featured-card--reverse {
        grid-template-columns: 1fr 240px;
    }

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

    .aseg-why-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 968px) {
    .aseg-featured-card,
    .aseg-featured-card--reverse {
        grid-template-columns: 1fr;
    }

    .aseg-featured-card--reverse .aseg-featured-logo-wrap {
        order: 0;
    }

    .aseg-featured-card--reverse .aseg-featured-content {
        order: 0;
    }

    .aseg-featured-logo-wrap {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        border-left: none !important;
        padding: 36px 32px;
    }

    .aseg-why-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .aseg-independence-section,
    .aseg-main-section,
    .aseg-others-section,
    .aseg-why-section,
    .aseg-cta-section {
        padding: 70px 0;
    }

    .aseg-featured-content {
        padding: 32px 28px;
    }

    .aseg-others-grid {
        grid-template-columns: 1fr;
    }

    .aseg-featured-name {
        font-size: 22px;
    }

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

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

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

@media (max-width: 480px) {
    .aseg-pillar {
        flex-direction: column;
        gap: 14px;
    }

    .aseg-section-head {
        margin-bottom: 44px;
    }
}
