/* ==========================================================
   PÁGINA SERVICIOS EDITORIALES — rediseño
   ========================================================== */

.srv-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ── Placeholders de imagen ── */
.srv-img-slot {
    background: linear-gradient(135deg, #e8f5f4 0%, #d0ece9 100%);
    border: 2px dashed rgba(255,115,0,0.35);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.srv-img-slot__label {
    font-family: var(--font-cuerpo);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(6,20,55,0.45);
    text-align: center;
    padding: 12px 16px;
    pointer-events: none;
    user-select: none;
}

/* ── Eyebrow labels ── */
.srv-hero__eyebrow,
.srv-intro__eyebrow,
.srv-section__eyebrow {
    font-family: var(--font-cuerpo);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #FF7300;
    margin: 0 0 12px;
    display: block;
}

/* ── Botón estándar ── */
.srv-btn {
    display: inline-block;
    background-color: #FF7300;
    color: #ffffff;
    font-family: var(--font-cuerpo);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 8px;
}

.srv-btn:hover {
    background-color: #d4521a;
    color: #ffffff;
}


/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */

.srv-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #061437;
}

.srv-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.srv-hero__img-slot {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    opacity: 0.5;
}

.srv-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(6,20,55,0.75) 0%, rgba(6,20,55,0.55) 100%);
}

.srv-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 24px 80px;
}

.srv-hero__title {
    font-family: var(--font-cuerpo);
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.1;
}

.srv-hero__sub {
    font-family: var(--font-cuerpo);
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255,255,255,0.80);
    margin: 0;
}

.srv-hero__wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.srv-hero__wave svg {
    display: block;
    width: 100%;
    height: 80px;
}


/* ══════════════════════════════════════════════
   INTRO — quiénes somos
   ══════════════════════════════════════════════ */

.srv-intro {
    background-color: #D8EEED;
    padding: 80px 0 90px;
}

.srv-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.srv-intro__title {
    font-family: var(--font-cuerpo);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #FF7300;
    margin: 0 0 24px;
    line-height: 1.15;
}

.srv-intro__text p {
    font-family: var(--font-cuerpo);
    font-size: 1rem;
    line-height: 1.85;
    color: #061437;
    margin: 0 0 16px;
}

.srv-intro__text p:last-of-type {
    margin-bottom: 28px;
}

.srv-intro__img-slot {
    min-height: 380px;
    border-radius: 20px;
}


/* ══════════════════════════════════════════════
   CARDS DE SERVICIOS
   ══════════════════════════════════════════════ */

.srv-cards {
    background: #ffffff;
    padding: 0 0 96px;
    position: relative;
}

.srv-wave-top {
    line-height: 0;
    margin-bottom: -2px;
}

.srv-wave-top svg {
    display: block;
    width: 100%;
    height: 60px;
}

.srv-cards__header {
    text-align: center;
    padding: 64px 0 56px;
}

.srv-cards__title {
    font-family: var(--font-cuerpo);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #061437;
    margin: 0 0 16px;
}

.srv-cards__sub {
    font-family: var(--font-cuerpo);
    font-size: 1.05rem;
    color: #4a5a70;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.srv-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Tarjeta individual */
.srv-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(6,20,55,0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.srv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(6,20,55,0.16);
}

.srv-card--featured {
    border: 2px solid #D8EEED;
}

.srv-card__img-slot {
    height: 200px;
    border-radius: 0;
    border: none;
    border-bottom: 2px dashed rgba(255,115,0,0.25);
}

.srv-card__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.srv-card__icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.srv-card__title {
    font-family: var(--font-cuerpo);
    font-size: 1.25rem;
    font-weight: 800;
    color: #061437;
    margin: 0 0 12px;
}

.srv-card__desc {
    font-family: var(--font-cuerpo);
    font-size: 0.95rem;
    line-height: 1.75;
    color: #4a5a70;
    margin: 0 0 20px;
}

.srv-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.srv-card__list li {
    font-family: var(--font-cuerpo);
    font-size: 0.9rem;
    color: #061437;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.srv-card__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FF7300;
    font-size: 1.1rem;
    line-height: 1.3;
}


/* ══════════════════════════════════════════════
   BANNER INTERMEDIO
   ══════════════════════════════════════════════ */

.srv-banner {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #061437;
}

.srv-banner__img-slot {
    position: absolute;
    inset: 0;
    border-radius: 0;
    border: none;
    opacity: 0.4;
}

.srv-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(6,20,55,0.80) 0%, rgba(6,20,55,0.50) 100%);
    z-index: 1;
}

.srv-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.srv-banner__title {
    font-family: var(--font-especial);
    font-weight: normal;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 16px;
}

.srv-banner__sub {
    font-family: var(--font-cuerpo);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.80);
    margin: 0;
}


/* ══════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════ */

.srv-cta {
    background: #FF7300;
    position: relative;
    padding: 0 0 80px;
}

.srv-cta__wave-top {
    line-height: 0;
}

.srv-cta__wave-top svg {
    display: block;
    width: 100%;
    height: 60px;
}

.srv-cta__inner {
    text-align: center;
    padding-top: 24px;
}

.srv-cta__title {
    font-family: var(--font-cuerpo);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px;
}

.srv-cta__sub {
    font-family: var(--font-cuerpo);
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    margin: 0 0 36px;
    line-height: 1.6;
}

.srv-cta__btn {
    display: inline-block;
    background: #ffffff;
    color: #FF7300;
    font-family: var(--font-cuerpo);
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 44px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.srv-cta__btn:hover {
    background: #061437;
    color: #ffffff;
}


/* ══════════════════════════════════════════════
   RESPONSIVE MOBILE
   ══════════════════════════════════════════════ */

@media (max-width: 768px) {
    .srv-container {
        padding: 0 24px;
    }

    /* Hero */
    .srv-hero {
        min-height: 340px;
    }

    .srv-hero__content {
        padding: 80px 24px 60px;
    }

    /* Intro */
    .srv-intro {
        padding: 56px 0 64px;
    }

    .srv-intro__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .srv-intro__img-slot {
        min-height: 240px;
        order: -1;
    }

    /* Cards */
    .srv-cards__header {
        padding: 48px 0 40px;
    }

    .srv-cards__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .srv-cards {
        padding-bottom: 64px;
    }

    /* Banner */
    .srv-banner {
        min-height: 260px;
    }

    .srv-banner__title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    /* CTA */
    .srv-cta {
        padding-bottom: 56px;
    }

    .srv-cta__title {
        font-size: 1.6rem;
    }
}
