/* ========================================
   AvalosCPA Design System - Frontend CSS
   ======================================== */

/* CSS Custom Properties */
:root {
    --avaloscpa-navy: #082746;
    --avaloscpa-navy-dark: #10243a;
    --avaloscpa-gold: #c99a32;
    --avaloscpa-light: #f8f9fb;
    --avaloscpa-white: #ffffff;
    --avaloscpa-gray: #4b5563;
    --avaloscpa-border: #e5e7eb;
    --avaloscpa-shadow: 0px 4px 10px rgba(8, 39, 70, 0.05);
    --avaloscpa-shadow-hover: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Typography */
.avaloscpa-font-heading {
    font-family: 'EB Garamond', serif;
}

.avaloscpa-font-body {
    font-family: 'Inter', sans-serif;
}

/* ========================================
   PRE HEADER
   ======================================== */
.avaloscpa-pre-header {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 80px;
}

.avaloscpa-pre-header__container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.avaloscpa-pre-header__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avaloscpa-pre-header__icon {
    width: 12.667px;
    height: 11.333px;
    flex-shrink: 0;
}

.avaloscpa-pre-header__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.avaloscpa-pre-header__text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    white-space: nowrap;
}

/* ========================================
   HERO SECTION
   ======================================== */
.avaloscpa-hero {
    position: relative;
    min-height: 819px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.avaloscpa-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 39, 70, 0.85);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.avaloscpa-hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 39, 70, 0.9) 0%, rgba(8, 39, 70, 0) 100%);
    pointer-events: none;
}

.avaloscpa-hero__container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    padding: 0 80px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: center;
}

.avaloscpa-hero__content {
    grid-column: span 8;
}

.avaloscpa-hero__badge {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    color: var(--avaloscpa-navy);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.avaloscpa-hero__headline {
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    font-size: 56px;
    line-height: 64px;
    letter-spacing: -1.12px;
    color: var(--avaloscpa-white);
    margin: 0 0 24px;
}

.avaloscpa-hero__description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 672px;
    margin: 0 0 40px;
}

.avaloscpa-hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.avaloscpa-hero__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.avaloscpa-hero__cta--primary {
    background: var(--avaloscpa-gold);
    color: var(--avaloscpa-white);
}

.avaloscpa-hero__cta--primary:hover {
    background: #b88a2a;
    transform: translateY(-1px);
    box-shadow: var(--avaloscpa-shadow-hover);
}

.avaloscpa-hero__cta--secondary {
    border: 1px solid var(--avaloscpa-white);
    color: var(--avaloscpa-white);
    padding: 15px 33px;
}

.avaloscpa-hero__cta--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.avaloscpa-services {
    padding: 128px 0;
    background: var(--avaloscpa-light);
}

.avaloscpa-services__header {
    max-width: 1200px;
    margin: 0 auto 64px;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.avaloscpa-services__badge {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    color: var(--avaloscpa-navy);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.avaloscpa-services__title {
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    color: var(--avaloscpa-navy-dark);
    margin: 0;
    max-width: 672px;
}

.avaloscpa-services__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--avaloscpa-navy);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: var(--avaloscpa-navy);
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.2s ease;
}

.avaloscpa-services__link:hover {
    gap: 8px;
}

.avaloscpa-services__link svg {
    width: 10px;
    height: 7.5px;
    flex-shrink: 0;
}

.avaloscpa-services__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Service Card */
.avaloscpa-service-card {
    background: var(--avaloscpa-white);
    border: 1px solid var(--avaloscpa-border);
    border-radius: 2px;
    padding: 41px;
    box-shadow: var(--avaloscpa-shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.avaloscpa-service-card:hover {
    box-shadow: var(--avaloscpa-shadow-hover);
    transform: translateY(-2px);
}

.avaloscpa-service-card__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 2px;
    background: var(--avaloscpa-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avaloscpa-service-card__icon {
    max-width: 24px;
    max-height: 24px;
}

.avaloscpa-service-card__title {
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: var(--avaloscpa-navy-dark);
    margin: 8px 0 0;
    padding-top: 8px;
}

.avaloscpa-service-card__description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--avaloscpa-gray);
    margin: 0;
}

.avaloscpa-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-top: 7.5px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--avaloscpa-navy);
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.2s ease;
}

.avaloscpa-service-card__link:hover {
    gap: 8px;
}

.avaloscpa-service-card__arrow {
    width: 10px;
    height: 7.5px;
    flex-shrink: 0;
}

/* ========================================
   STATISTICS SECTION
   ======================================== */
.avaloscpa-statistics {
    background: var(--avaloscpa-navy);
    border-top: 1px solid rgba(8, 39, 70, 0.2);
    border-bottom: 1px solid rgba(8, 39, 70, 0.2);
    padding: 97px 0;
}

.avaloscpa-statistics__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 120px;
    display: flex;
    justify-content: center;
    gap: 48px;
}

.avaloscpa-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
    padding-bottom: 4.5px;
    position: relative;
}

.avaloscpa-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 80%;
    background: rgba(255, 255, 255, 0.1);
}

.avaloscpa-stat__number {
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    font-size: 56px;
    line-height: 64px;
    letter-spacing: -1.12px;
    color: var(--avaloscpa-gold);
    margin: 0 0 11.5px;
}

.avaloscpa-stat__label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    margin: 0;
}

/* ========================================
   TRUST BLOCK
   ======================================== */
.avaloscpa-trust-block {
    margin-top: -40px;
    z-index: 10;
    position: relative;
}

.avaloscpa-trust-block__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 80px 81px;
    background: var(--avaloscpa-white);
    border: 1px solid var(--avaloscpa-border);
    border-radius: 2px;
    box-shadow: var(--avaloscpa-shadow);
    display: flex;
    gap: 24px;
}

.avaloscpa-trust-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    position: relative;
}

.avaloscpa-trust-card__icon {
    width: 31.5px;
    height: 28.5px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.avaloscpa-trust-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.avaloscpa-trust-card__title {
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: var(--avaloscpa-navy-dark);
    margin: 0 0 8px;
    padding: 0 33px;
}

.avaloscpa-trust-card__description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--avaloscpa-gray);
    margin: 0;
    padding: 0 20px;
}

.avaloscpa-trust-card__divider {
    position: absolute;
    right: -12px;
    top: 24px;
    bottom: 44px;
    width: 1px;
    background: var(--avaloscpa-border);
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.avaloscpa-process {
    padding: 128px 0;
    background: var(--avaloscpa-white);
}

.avaloscpa-process__header {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 80px;
    text-align: center;
}

.avaloscpa-process__badge {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    color: var(--avaloscpa-navy);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.avaloscpa-process__title {
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    color: var(--avaloscpa-navy-dark);
    margin: 0;
}

.avaloscpa-process__steps {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
}

.avaloscpa-process__steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--avaloscpa-border);
    transform: translateY(-50%);
    z-index: 0;
}

.avaloscpa-process__steps-inner {
    display: flex;
    gap: 32px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.avaloscpa-process-step {
    flex: 1;
    max-width: 182px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avaloscpa-process-step__line {
    width: 16px;
    height: 40px;
    margin-bottom: 24px;
    position: relative;
}

.avaloscpa-process-step__line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: var(--avaloscpa-border);
}

.avaloscpa-process-step__circle-wrapper {
    margin-bottom: 12px;
}

.avaloscpa-process-step__circle {
    width: 16px;
    height: 16px;
    border: 2px solid var(--avaloscpa-border);
    border-radius: 12px;
    background: var(--avaloscpa-white);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.avaloscpa-process-step__circle.active {
    border-color: var(--avaloscpa-gold);
}

.avaloscpa-process-step__title {
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: var(--avaloscpa-navy-dark);
    text-align: center;
    margin: 0 0 12px;
    white-space: nowrap;
}

.avaloscpa-process-step__title.active {
    font-weight: 600;
    color: var(--avaloscpa-navy);
}

.avaloscpa-process-step__description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--avaloscpa-gray);
    text-align: center;
    margin: 0;
    padding: 0 15px;
    white-space: nowrap;
}

/* ========================================
   CTA SECTION
   ======================================== */
.avaloscpa-cta {
    position: relative;
    min-height: 600px;
    padding: 128px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.avaloscpa-cta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 39, 70, 0.9);
    pointer-events: none;
}

.avaloscpa-cta__content {
    position: relative;
    z-index: 1;
    max-width: 768px;
    padding: 0 80px;
    text-align: center;
}

.avaloscpa-cta__headline {
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    color: var(--avaloscpa-white);
    margin: 0 0 32px;
}

.avaloscpa-cta__description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 48px;
}

.avaloscpa-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--avaloscpa-white);
    text-decoration: none;
    background: var(--avaloscpa-gold);
    box-shadow: var(--avaloscpa-shadow-hover);
    transition: all 0.2s ease;
}

.avaloscpa-cta__button:hover {
    background: #b88a2a;
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .avaloscpa-pre-header,
    .avaloscpa-hero__container,
    .avaloscpa-services__header,
    .avaloscpa-services__grid,
    .avaloscpa-trust-block__grid,
    .avaloscpa-process__header,
    .avaloscpa-process__steps,
    .avaloscpa-cta__content {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .avaloscpa-statistics__grid {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 992px) {
    .avaloscpa-hero__content {
        grid-column: span 12;
    }
    
    .avaloscpa-services__grid {
        grid-template-columns: 1fr;
    }
    
    .avaloscpa-statistics__grid {
        flex-wrap: wrap;
        gap: 32px;
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .avaloscpa-stat:not(:last-child)::after {
        display: none;
    }
    
    .avaloscpa-stat {
        flex: 1 1 calc(50% - 16px);
        padding-bottom: 32px;
    }
    
    .avaloscpa-trust-block__grid {
        flex-direction: column;
        gap: 32px;
    }
    
    .avaloscpa-trust-card__divider {
        display: none;
    }
    
    .avaloscpa-process__steps-inner {
        flex-wrap: wrap;
        gap: 48px 32px;
    }
    
    .avaloscpa-process-step {
        flex: 1 1 calc(50% - 16px);
        max-width: none;
    }
    
    .avaloscpa-process__steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .avaloscpa-pre-header {
        padding: 0 20px;
        justify-content: center;
    }
    
    .avaloscpa-hero {
        min-height: 500px;
    }
    
    .avaloscpa-hero__headline {
        font-size: 36px;
        line-height: 44px;
    }
    
    .avaloscpa-hero__description {
        font-size: 16px;
        line-height: 26px;
    }
    
    .avaloscpa-hero__ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .avaloscpa-hero__cta {
        width: 100%;
    }
    
    .avaloscpa-services__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .avaloscpa-stat {
        flex: 1 1 100%;
    }
    
    .avaloscpa-process__steps-inner {
        flex-direction: column;
        align-items: center;
    }
    
    .avaloscpa-process-step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        width: 100%;
        max-width: 100%;
    }
    
    .avaloscpa-process-step__line {
        display: none;
    }
    
    .avaloscpa-process-step__circle-wrapper {
        margin: 0 16px 0 0;
        flex-shrink: 0;
    }
    
    .avaloscpa-process-step__title,
    .avaloscpa-process-step__description {
        text-align: left;
        white-space: normal;
    }
    
    .avaloscpa-process-step__description {
        padding: 0;
    }
}

/* ========================================
   ELEMENTOR EDITOR COMPATIBILITY
   ======================================== */
.elementor-editor-active .avaloscpa-hero,
.elementor-editor-active .avaloscpa-services,
.elementor-editor-active .avaloscpa-statistics,
.elementor-editor-active .avaloscpa-trust-block,
.elementor-editor-active .avaloscpa-process,
.elementor-editor-active .avaloscpa-cta {
    min-height: 300px;
}

/* Legacy compatibility */
.avaloscpa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border-radius: 2px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.avaloscpa-btn-primary {
    background: var(--avaloscpa-gold);
    color: var(--avaloscpa-white);
    border-color: var(--avaloscpa-gold);
}

.avaloscpa-btn-primary:hover {
    background: #b88a2a;
    transform: translateY(-1px);
    box-shadow: var(--avaloscpa-shadow-hover);
}

.avaloscpa-btn-secondary {
    background: transparent;
    color: var(--avaloscpa-white);
    border-color: var(--avaloscpa-white);
}

.avaloscpa-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}
/* ===== Servicios (Figma 1:1954) — chip icono ===== */
.avalos-servicio-chip{width:48px;height:48px;background-color:#ECEEF0;display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.avalos-servicio-chip svg{width:21px;height:auto;display:block;}
.avalos-service-cta .elementor-button{padding:0 !important;line-height:15px;}
.avalos-service-cta .elementor-button-wrapper{line-height:0;}

/* ===== Single Servicio (Figma 1:2096) ===== */
.avalos-single-breadcrumb{font-family:Inter,sans-serif;font-size:13px;font-weight:400;letter-spacing:.2px;}
.avalos-single-breadcrumb a{color:#AEC8EF;text-decoration:none;}
.avalos-single-breadcrumb .avalos-bc-current{color:#FFFFFF;font-weight:600;}
.avalos-single-breadcrumb .avalos-bc-sep{color:#AEC8EF;margin:0 8px;}
.avalos-incluye-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:56px;row-gap:28px;padding-bottom:0;}
.avalos-incluye-item{display:flex;align-items:flex-start;gap:17px;}
.avalos-incluye-icon{flex:0 0 auto;width:20px;height:20px;margin-top:1px;}
.avalos-incluye-icon svg{width:20px;height:20px;display:block;}
.avalos-incluye-titulo{font-family:Inter,sans-serif;font-size:16px;font-weight:600;color:#001227;margin:0 0 8px;line-height:20px;}
.avalos-incluye-texto{font-family:Inter,sans-serif;font-size:16px;font-weight:400;color:#4B5563;line-height:20px;margin:0;}
.avalos-benef-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px 24px;}
.avalos-benef-row{display:contents;}
.avalos-benef-row--b{display:contents;}
.avalos-benef-row--a .avalos-benef-card{width:auto;min-width:0;}
.avalos-benef-row--b .avalos-benef-card{width:auto;min-width:0;}
.avalos-benef-row--b .avalos-benef-card--navy{width:auto;min-width:0;}
.avalos-benef-card{background:#FFFFFF;padding:34px 36px 28px 36px;box-sizing:border-box;}
.avalos-benef-card--navy{background:#082746;}
.avalos-benef-icon{display:block;width:26px;height:24px;color:#C99A32;margin-bottom:18px;}
.avalos-benef-icon svg{width:100%;height:100%;display:block;}
.avalos-benef-titulo{font-family:"EB Garamond",serif;font-size:26px;font-weight:500;color:#001227;margin:0 0 8px;line-height:34px;}
.avalos-benef-texto{font-family:Inter,sans-serif;font-size:16px;font-weight:400;color:#4B5563;line-height:21px;margin:0;}
.avalos-benef-card--navy .avalos-benef-titulo{color:#FFFFFF;}
.avalos-benef-card--navy .avalos-benef-texto{color:#AEC8EF;}
.avalos-intro-foto{position:relative;}
.avalos-intro-foto .avalos-intro-gold{position:absolute;top:-16px;left:-12px;width:523px;height:415px;background:#E0B85C;}
.avalos-intro-foto img{position:relative;width:522px;height:421px;object-fit:cover;display:block;filter:drop-shadow(0 18px 22px rgba(0,0,0,.55));}
@media (max-width:767px){
  .avalos-incluye-grid{grid-template-columns:1fr;}
  .avalos-benef-grid{grid-template-columns:1fr;}
}
.avalos-benef-card--navy .avalos-benef-titulo{color:#FFFFFF !important;}
.avalos-benef-card--navy .avalos-benef-texto{color:#AEC8EF !important;}
@media (max-width:767px){
  .avalos-intro-foto img{width:100% !important;height:auto !important;}
  .avalos-intro-foto .avalos-intro-gold{display:none;}
  .avalos-intro-foto{padding:0 !important;}
}

/* =============================================================
 * NOTICIAS — SINGLE (Figma node 1:1134)
 * ============================================================= */
.avalos-breadcrumb{font-family:Inter,sans-serif;font-size:13px;font-weight:400;color:#6B7280;line-height:1.5;display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.avalos-breadcrumb a{color:#6B7280;text-decoration:none;}
.avalos-breadcrumb a:hover{color:#C99A32;}
.avalos-breadcrumb-sep{color:#9CA3AF;}
.avalos-breadcrumb-current{color:#001227;font-weight:600;}
.avalos-noticia-content-text{font-family:Inter,sans-serif;font-size:16px;font-weight:400;color:#4B5563;line-height:26px;}
.avalos-noticia-content-text p{margin:0 0 18px;}
.avalos-noticia-content-text h2{font-family:'EB Garamond',serif;font-size:34px;font-weight:500;color:#001227;line-height:44px;margin:32px 0 16px;}
.avalos-noticia-content-text h3{font-family:'EB Garamond',serif;font-size:26px;font-weight:500;color:#001227;line-height:34px;margin:28px 0 14px;}
.avalos-noticia-content-text ul,.avalos-noticia-content-text ol{margin:0 0 18px;padding-left:22px;}
.avalos-noticia-content-text li{margin-bottom:6px;}
.avalos-noticia-content-text blockquote{border-left:3px solid #C99A32;margin:24px 0;padding:8px 0 8px 22px;font-family:'EB Garamond',serif;font-size:20px;font-style:italic;color:#001227;}
.avalos-noticia-content-text img{max-width:100%;height:auto;}
.avalos-noticia-img-secundaria{width:100%;height:343px;object-fit:cover;display:block;border-radius:4px;}
.avalos-noticias-rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
@media (max-width:1024px){.avalos-noticias-rel-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:767px){.avalos-noticias-rel-grid{grid-template-columns:1fr;}.avalos-noticia-img-secundaria{height:auto;}}
.avalos-nts-gold{color:#C99A32;font-style:italic;}
/* ===== Single: colores críticos (blindados contra migraciones Elementor) ===== */
.avalos-service-single{background:#000000 !important;}
.avalos-benef-card--navy{background:#082746 !important;}
.avalos-benef-card--navy .avalos-benef-titulo{color:#FFFFFF !important;}
.avalos-benef-card--navy .avalos-benef-texto{color:#AEC8EF !important;}
.avalos-service-hero{background:#082746 !important;}
.avalos-service-cta-final{background:#001227 !important;}
.avalos-service-incluye{background:#FFFFFF !important;}

/* ============================================================
   Grid de servicios en Inicio (flexbox) — CPT servicios dinámico
   Mismo diseño que las tarjetas estáticas: 2 columnas, gap 24px
   ============================================================ */
.avaloscpa-serv-grid{display:flex;flex-wrap:wrap;gap:24px;width:100%;}
.avaloscpa-serv-card{flex:0 0 calc(50% - 12px);display:flex;flex-direction:column;align-items:flex-start;gap:16px;background-color:#ffffff;border:1px solid #e5e7eb;border-radius:2px;box-shadow:0 4px 10px rgba(8,39,70,0.05);padding:41px;box-sizing:border-box;}
.avaloscpa-serv-card__chip{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background-color:#f8f9fb;border-radius:2px;flex:0 0 auto;}
.avaloscpa-serv-card__chip svg{width:24px;height:auto;display:block;}
.avaloscpa-serv-card__title{margin:8px 0 0;font-family:"EB Garamond",serif;font-size:24px;line-height:32px;font-weight:500;color:#10243a;}
.avaloscpa-serv-card__excerpt{margin:0;font-family:"Inter",sans-serif;font-size:16px;line-height:24px;font-weight:400;color:#4b5563;}
.avaloscpa-serv-card__link{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-family:"Inter",sans-serif;font-size:14px;line-height:20px;font-weight:500;color:#082746;text-decoration:none;}
.avaloscpa-serv-card__link:hover{text-decoration:underline;}
@media (max-width:767px){
  .avaloscpa-serv-card{flex-basis:100%;}
}

/* ==========================================================================
   NOTICIAS — Responsive overrides
   Fixes fixed-width widgets (640px, 900px) and fixed-height images that
   overflow on tablet/mobile. !important required: Elementor renders inline
   styles via _element_custom_width / height settings.
   Targets: Archive (328), Loop Item (329), Single (330), Main Page (324).
   ========================================================================== */

/* ---------- TABLET (max-width: 1024px) ---------- */
@media (max-width:1024px){
  /* Archive subtitle: 640px → fluid */
  .elementor-324 .avalos-noticias-subtitle,
  .elementor-328 .avalos-noticias-subtitle{width:100%!important;max-width:100%!important;}
  /* Archive intro section padding */
  .elementor-324 .avalos-noticias-intro,
  .elementor-328 .avalos-noticias-intro{padding:80px 40px 60px!important;}
  /* Archive title scale */
  .elementor-324 .avalos-noticias-title,
  .elementor-328 .avalos-noticias-title{font-size:42px!important;line-height:54px!important;}
  /* Archive grid padding */
  .elementor-324 .avalos-noticias-grid,
  .elementor-328 .avalos-noticias-grid{padding:16px 40px 60px!important;}
  /* CTA subtitle: 640px → fluid */
  .elementor-324 .avalos-noticias-cta-subtitle,
  .elementor-328 .avalos-noticias-cta-subtitle,
  .elementor-330 .avalos-noticias-cta-subtitle{width:100%!important;max-width:100%!important;}
  /* CTA container padding (archive + single) */
  .elementor-324 .avalos-noticias-cta,
  .elementor-328 .avalos-noticias-cta,
  .elementor-330 .avalos-noticias-cta-single{padding:80px 40px!important;}
  /* CTA title (archive) scale */
  .elementor-324 .avalos-noticias-cta-title,
  .elementor-328 .avalos-noticias-cta-title{font-size:42px!important;line-height:56px!important;}
  /* Loop item image */
  .elementor-329 .avalos-news-image{height:200px!important;}
  .elementor-329 .avalos-news-body{padding:24px 24px 28px!important;}
  /* Single hero title: 900px → fluid */
  .elementor-330 .avalos-noticia-hero-title{width:100%!important;max-width:100%!important;font-size:42px!important;line-height:54px!important;}
  /* Single hero padding + stack */
  .elementor-330 .avalos-noticia-hero{padding:80px 40px 40px!important;flex-direction:column!important;gap:40px!important;}
  /* Single hero text/image columns full width */
  .elementor-330 .avalos-noticia-hero-text,
  .elementor-330 .avalos-noticia-hero-image{width:100%!important;}
  /* Single featured image: 480px → tablet height */
  .elementor-330 .avalos-noticia-image{height:360px!important;}
  /* Single hero image (rebuild): 362px → tablet height */
  .elementor-330 .avalos-noticia-hero-img{height:300px!important;}
  /* Single body row: stack */
  .elementor-330 .avalos-noticia-body-row{flex-direction:column!important;gap:40px!important;}
  .elementor-330 .avalos-noticia-body-image,
  .elementor-330 .avalos-noticia-content{width:100%!important;}
  /* Single CTA title (rebuild): 900px → fluid */
  .elementor-330 .avalos-noticias-cta-title-single{width:100%!important;max-width:100%!important;font-size:42px!important;line-height:56px!important;}
}

/* ---------- MOBILE (max-width: 767px) ---------- */
@media (max-width:767px){
  /* — ARCHIVE (324 / 328) — */
  .elementor-324 .avalos-noticias-subtitle,
  .elementor-328 .avalos-noticias-subtitle{width:100%!important;max-width:100%!important;}
  .elementor-324 .avalos-noticias-intro,
  .elementor-328 .avalos-noticias-intro{padding:60px 20px 40px!important;}
  .elementor-324 .avalos-noticias-title,
  .elementor-328 .avalos-noticias-title{font-size:34px!important;line-height:44px!important;}
  .elementor-324 .avalos-noticias-grid,
  .elementor-328 .avalos-noticias-grid{padding:16px 20px 60px!important;}
  .elementor-324 .avalos-noticias-cta-subtitle,
  .elementor-328 .avalos-noticias-cta-subtitle{width:100%!important;max-width:100%!important;}
  .elementor-324 .avalos-noticias-cta,
  .elementor-328 .avalos-noticias-cta{padding:60px 20px!important;}
  .elementor-324 .avalos-noticias-cta-title,
  .elementor-328 .avalos-noticias-cta-title{font-size:28px!important;line-height:38px!important;}
  /* — LOOP ITEM (329) — */
  .elementor-329 .avalos-news-image{height:180px!important;}
  .elementor-329 .avalos-news-body{padding:20px 20px 24px!important;}
  .elementor-329 .avalos-news-title{font-size:22px!important;line-height:30px!important;}
  /* — SINGLE (330) — */
  .elementor-330 .avalos-noticia-hero{padding:60px 20px 30px!important;flex-direction:column!important;gap:24px!important;}
  .elementor-330 .avalos-noticia-hero-title{width:100%!important;max-width:100%!important;font-size:30px!important;line-height:40px!important;}
  .elementor-330 .avalos-noticia-hero-category{font-size:12px!important;}
  .elementor-330 .avalos-noticia-hero-text,
  .elementor-330 .avalos-noticia-hero-image{width:100%!important;}
  .elementor-330 .avalos-noticia-image{height:220px!important;}
  .elementor-330 .avalos-noticia-hero-img{height:200px!important;}
  .elementor-330 .avalos-noticia-breadcrumb-bar{padding:14px 20px!important;}
  .elementor-330 .avalos-noticia-body-row{flex-direction:column!important;gap:32px!important;padding:40px 20px 20px!important;}
  .elementor-330 .avalos-noticia-body-image,
  .elementor-330 .avalos-noticia-content{width:100%!important;}
  .elementor-330 .avalos-noticia-content{padding:40px 20px 60px!important;}
  .elementor-330 .avalos-noticias-cta-single{padding:60px 20px!important;}
  .elementor-330 .avalos-noticias-cta-subtitle{width:100%!important;max-width:100%!important;}
  .elementor-330 .avalos-noticias-cta-title-single{width:100%!important;max-width:100%!important;font-size:28px!important;line-height:38px!important;}
}
