
/* =====================================================
   ARMENIA NOS UNE — PÁGINA SERVICIOS
===================================================== */

.au-services-page {
    margin: 0;
    color: #193653;
    background: #f7f8fa;
    font-family: inherit;
}

.au-services-page *,
.au-services-page *::before,
.au-services-page *::after {
    box-sizing: border-box;
}

.au-services-header {
    position: relative;
    z-index: 20;
    background: #fff;
    box-shadow: 0 2px 14px rgba(25, 54, 83, .08);
}

.au-services-header-inner {
    width: min(1200px, calc(100% - 48px));
    min-height: 84px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.au-services-brand {
    color: #193653;
    font-size: 25px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.au-services-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}


.au-services-nav a {
    color: #193653;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s ease;
}


.au-services-nav a:hover {
    color: #bd7d36;
}

.au-services-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 10px;
    cursor: pointer;
}

.au-services-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: #193653;
    transition: transform .2s ease;
}

/* HERO */

.au-services-hero {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: center;
   
background:
    linear-gradient(90deg, rgba(16, 39, 64, .78), rgba(16, 39, 64, .15)),
    url('https://armenianosune.com/wp-content/uploads/2026/10/cabezera_servicios.jpg') center 25% / cover no-repeat;

    color: #fff;
}


.au-services-hero-content {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 100px 0 60px;
}


.au-services-eyebrow,
.au-services-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #bd7d36;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.au-services-hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.08;
}

.au-services-hero p {
    max-width: 620px;
    margin: 0 0 30px;
    color: #fff;
    font-size: 18px;
    line-height: 1.75;
}

.au-services-hero-button {
    display: inline-block;
    padding: 15px 24px;
    border-radius: 5px;
    background: #fff;
    color: #193653;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.au-services-hero-button:hover {
    transform: translateY(-2px);
    background: #f1e4d4;
    color: #193653;
}

/* INTRODUCCIÓN Y CATEGORÍAS */

.au-services-intro,
.au-services-categories {
    padding: 82px 24px;
}

.au-services-intro {
    background: #fff;
    text-align: center;
}

.au-services-section-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.au-services-section-inner h2 {
    margin: 0 0 20px;
    color: #193653;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
}

.au-services-section-inner > p {
    max-width: 760px;
    margin: 0 auto;
    color: #5e6b79;
    font-size: 17px;
    line-height: 1.8;
}

.au-services-categories {
    background: #f7f8fa;
    text-align: center;
}

.au-services-section-description {
    margin-bottom: 38px !important;
}

.au-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 42px;
    text-align: left;
}


.au-services-card {
    min-height: 220px;
    padding: 32px;
    border: 1px solid #e7ebef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(25, 54, 83, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}


.au-services-card.au-card-visible {
    animation: au-services-card-appear 1.2s ease both;
    border-top: 4px solid #bd7d36;
}


.au-services-card.au-card-visible:nth-child(1) { animation-delay: .05s; }
.au-services-card.au-card-visible:nth-child(2) { animation-delay: .12s; }
.au-services-card.au-card-visible:nth-child(3) { animation-delay: .19s; }
.au-services-card.au-card-visible:nth-child(4) { animation-delay: .26s; }
.au-services-card.au-card-visible:nth-child(5) { animation-delay: .33s; }
.au-services-card.au-card-visible:nth-child(6) { animation-delay: .40s; }
.au-services-card.au-card-visible:nth-child(7) { animation-delay: .47s; }
.au-services-card.au-card-visible:nth-child(8) { animation-delay: .54s; }
.au-services-card.au-card-visible:nth-child(9) { animation-delay: .61s; }

@keyframes au-services-card-appear {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.au-services-card-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.au-services-card-link:hover,
.au-services-card-link:focus {
    color: inherit;
    text-decoration: none;
}

.au-services-card-link:focus-visible {
    outline: 3px solid #bd7d36;
    outline-offset: 5px;
    border-radius: 6px;
}

.au-services-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(25, 54, 83, .10);
}

.au-services-card-number {
    display: inline-block;
    margin-bottom: 22px;
    color: #bd7d36;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.au-services-card h3 {
    margin: 0 0 12px;
    color: #193653;
    font-size: 22px;
    font-weight: 800;
}

.au-services-card p {
    margin: 0;
    color: #687583;
    font-size: 15px;
    line-height: 1.7;
}

/* FOOTER */

.au-services-footer {
    padding: 36px 24px 18px;
    background: #142d47;
    color: #fff;
}

.au-services-footer-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.au-services-footer-inner strong {
    font-size: 17px;
    letter-spacing: 1px;
}

.au-services-footer-inner span {
    color: #d5deea;
    font-size: 14px;
}

.au-services-footer-bottom {
    width: min(1120px, 100%);
    margin: 28px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    color: #d5deea;
    font-size: 13px;
}

/* TABLET Y MÓVIL */

@media (max-width: 900px) {
    .au-services-header-inner {
        min-height: 74px;
        gap: 16px;
    }

    .au-services-brand {
        font-size: 21px;
    }

    .au-services-menu-toggle {
        display: block;
        flex-shrink: 0;
    }

    .au-services-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 18px;
        background: #fff;
        box-shadow: 0 12px 18px rgba(25, 54, 83, .10);
    }

    .au-services-nav.is-open {
        display: flex;
    }

    .au-services-nav a {
        padding: 13px 0;
        border-top: 1px solid #edf0f3;
    }

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

@media (max-width: 600px) {
    .au-services-header-inner {
        width: calc(100% - 32px);
        min-height: 68px;
    }

    .au-services-brand {
        font-size: 19px;
        white-space: normal;
    }

    .au-services-hero {
        min-height: 390px;
        background-position: center;
    }

    .au-services-hero-content {
        width: calc(100% - 36px);
        padding: 58px 0;
    }

    .au-services-hero h1 {
        font-size: 38px;
    }

    .au-services-hero p {
        font-size: 16px;
        line-height: 1.65;
    }

    .au-services-intro,
    .au-services-categories {
        padding: 58px 18px;
    }

    .au-services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 30px;
    }

    .au-services-card {
        min-height: 0;
        padding: 26px;
    }

    .au-services-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .au-services-footer-bottom {
        line-height: 1.6;
    }
}



/* ==========================================
   AJUSTE DE CABECERA Y ENLACES DE USUARIO
   ========================================== */

/* Aprovechar mejor el ancho de la pantalla */
.au-services-header-inner {
    width: calc(100% - 40px);
    max-width: 1700px;
    gap: 20px;
}

/* Mantener el nombre del portal en una línea */
.au-services-brand {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Distribuir todos los enlaces horizontalmente */
.au-services-nav {
    flex: 1;
    min-width: 0;
    gap: 14px;
    flex-wrap: nowrap;
}

/* Evitar que las palabras de los enlaces se partan */
.au-services-nav a {
    flex-shrink: 0;
    white-space: nowrap;
    letter-spacing: 0.5px;
    font-size: 11px;
}

/* En pantallas medianas, compactar la cabecera */
@media (min-width: 901px) and (max-width: 1500px) {
    .au-services-header-inner {
        width: calc(100% - 24px);
        gap: 12px;
    }

    .au-services-brand {
        font-size: 21px;
    }

    .au-services-nav {
        gap: 9px;
    }

    .au-services-nav a {
        font-size: 10px;
        letter-spacing: 0;
    }
}

/* En pantallas donde no caben todos los enlaces,
   utilizar el menú desplegable existente */
@media (max-width: 1100px) {
    .au-services-header-inner {
        position: relative;
        flex-wrap: wrap;
        width: calc(100% - 32px);
    }

    .au-services-menu-toggle {
        display: block;
        flex-shrink: 0;
        margin-left: auto;
    }

    .au-services-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 30;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 20px 18px;
        background: #fff;
        box-shadow: 0 12px 18px rgba(25, 54, 83, .10);
    }

    .au-services-nav.is-open {
        display: flex;
    }

    .au-services-nav a {
        white-space: normal;
        padding: 12px 0;
        font-size: 12px;
        letter-spacing: 0.5px;
        border-top: 1px solid #edf0f3;
    }
}