/* ============================================================================
   OTROS SERVICIOS — REDISEÑO INTERNO
   ----------------------------------------------------------------------------
   Reglas:
   - No usar rem.
   - No usar clamp().
   - Todo en px.
   - Contenido dinámico desde páginas y servicios.
   ============================================================================ */


/* ============================================================================
   01. BANNER INTERNO
   ============================================================================ */

.gar-other-hero {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gar-primary-deep);
    font-family: var(--gar-font-body);
}

.gar-other-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.34;
    transform: scale(1.06);
}

.gar-other-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(0, 50, 71, 0.96) 0%,
            rgba(0, 90, 127, 0.86) 52%,
            rgba(0, 50, 71, 0.82) 100%
        );
}

.gar-other-hero__decor {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.gar-other-hero__shape {
    position: absolute;
    display: block;
    border: 1px solid rgba(216, 184, 109, 0.18);
    background: rgba(216, 184, 109, 0.08);
}

.gar-other-hero__shape--one {
    top: 52px;
    right: 8%;
    width: 118px;
    height: 118px;
    border-radius: 30px;
    transform: rotate(18deg);
}

.gar-other-hero__shape--two {
    left: 9%;
    bottom: -52px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
}

.gar-other-hero .container {
    position: relative;
    z-index: 5;
}

.gar-other-hero__content {
    max-width: 900px;
    margin: 0 auto;
    padding: 74px 0;
    text-align: center;
}

.gar-other-hero__content h1 {
    margin: 0;
    color: var(--gar-secondary);
    font-family: var(--gar-font-hero);
    font-size: 58px;
    font-weight: 800;
    line-height: 64px;
}

.gar-other-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.80);
    font-family: var(--gar-font-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

.gar-other-hero__breadcrumb a {
    color: var(--gar-white);
    text-decoration: none;
    transition: color var(--gar-transition-fast);
}

.gar-other-hero__breadcrumb a:hover {
    color: var(--gar-secondary-light);
    text-decoration: none;
}

.gar-other-hero__breadcrumb span {
    color: var(--gar-secondary-light);
}

.gar-other-hero__breadcrumb strong {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 600;
}


/* ============================================================================
   02. SECCIÓN GENERAL
   ============================================================================ */

.gar-other {
    position: relative;
    overflow: hidden;
    padding: var(--gar-section-padding);
    background:
        radial-gradient(circle at 8% 18%, rgba(216, 184, 109, 0.10), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(0, 90, 127, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, var(--gar-cream) 46%, #ffffff 100%);
    color: var(--gar-text);
    font-family: var(--gar-font-body);
}

.gar-other .container {
    position: relative;
    z-index: 3;
    max-width: 1220px;
}

.gar-other__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.gar-other__pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(0, 90, 127, 0.08) 1px, transparent 1px),
        radial-gradient(circle, rgba(216, 184, 109, 0.08) 1px, transparent 1px);
    background-size: 24px 24px, 24px 24px;
    background-position: 0 0, 12px 12px;
    opacity: 0.20;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 82%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 82%, transparent);
}

.gar-other__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
    opacity: 0.44;
}

.gar-other__glow--one {
    top: -220px;
    right: -170px;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(216, 184, 109, 0.20), transparent 70%);
}

.gar-other__glow--two {
    left: -210px;
    bottom: -250px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(0, 90, 127, 0.14), transparent 70%);
}

.gar-other__shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.gar-other__shape--one {
    top: 12%;
    right: 4%;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(216, 184, 109, 0.18);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.38);
    box-shadow: 0 24px 70px rgba(0, 90, 127, 0.08);
    transform: rotate(16deg);
}

.gar-other__shape--two {
    left: 5%;
    bottom: 12%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(216, 184, 109, 0.10);
    border-radius: 50%;
    background: rgba(216, 184, 109, 0.08);
}


/* ============================================================================
   03. HEADER
   ============================================================================ */

.gar-other__header {
    max-width: 980px;
    margin: 0 auto 64px;
    text-align: center;
}

.gar-other__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 8px 17px;
    border: 1px solid rgba(0, 90, 127, 0.08);
    border-radius: var(--gar-radius-pill);
    background: rgba(0, 90, 127, 0.07);
    color: var(--gar-primary);
    font-family: var(--gar-font-display);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(0, 90, 127, 0.05);
}

.gar-other__eyebrow i {
    color: var(--gar-secondary-dark);
    font-size: 16px;
    line-height: 1;
}

.gar-other__title {
    margin: 0;
    color: var(--gar-primary-deep);
    font-family: var(--gar-font-hero);
    font-size: 50px;
    font-weight: 800;
    line-height: 55px;
}

.gar-other__intro {
    max-width: 960px;
    margin: 24px auto 0;
    color: var(--gar-text-soft);
    font-family: var(--gar-font-body);
    font-size: 16px;
    line-height: 29px;
}

.gar-other__intro::after {
    content: "";
    display: table;
    clear: both;
}

.gar-other__intro *:first-child {
    margin-top: 0;
}

.gar-other__intro *:last-child {
    margin-bottom: 0;
}

.gar-other__intro p {
    margin: 0 0 16px;
    color: var(--gar-text-soft);
    font-size: 16px;
    line-height: 29px;
}

.gar-other__intro strong,
.gar-other__intro b {
    color: var(--gar-primary-deep);
    font-family: var(--gar-font-display);
    font-weight: 900;
}

.gar-other__intro a {
    color: var(--gar-primary);
    font-family: var(--gar-font-display);
    font-weight: 900;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 90, 127, 0.24);
}

.gar-other__intro a:hover {
    color: var(--gar-secondary-dark);
    border-color: var(--gar-secondary-dark);
    text-decoration: none;
}

.gar-other__intro h1,
.gar-other__intro h2,
.gar-other__intro h3,
.gar-other__intro h4,
.gar-other__intro h5,
.gar-other__intro h6 {
    margin: 28px 0 14px;
    color: var(--gar-primary-deep);
    font-family: var(--gar-font-hero);
    font-weight: 800;
    line-height: 1.22;
}

.gar-other__intro ul,
.gar-other__intro ol {
    display: grid;
    gap: 12px;
    margin: 22px auto 24px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.gar-other__intro li {
    position: relative;
    padding: 15px 18px 15px 62px;
    border: 1px solid rgba(0, 90, 127, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 26px rgba(0, 90, 127, 0.05);
}

.gar-other__intro ul li::before {
    content: "\F26E";
    position: absolute;
    top: 15px;
    left: 16px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gar-primary), var(--gar-primary-deep));
    color: var(--gar-secondary-light);
    font-family: "bootstrap-icons";
    font-size: 15px;
}

.gar-other__intro ol {
    counter-reset: garOtherIntroCounter;
}

.gar-other__intro ol li {
    counter-increment: garOtherIntroCounter;
}

.gar-other__intro ol li::before {
    content: counter(garOtherIntroCounter, decimal-leading-zero);
    position: absolute;
    top: 15px;
    left: 16px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gar-secondary), var(--gar-secondary-dark));
    color: var(--gar-primary-deep);
    font-family: var(--gar-font-hero);
    font-size: 12px;
    font-weight: 900;
}


/* ============================================================================
   04. GRID
   ============================================================================ */

.gar-other__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}


/* ============================================================================
   05. CARD SERVICIO
   ============================================================================ */

.gar-other-card {
    position: relative;
    min-height: 100%;
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(0, 90, 127, 0.10);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 240, 0.90));
    box-shadow:
        0 18px 44px rgba(0, 90, 127, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
    transition:
        transform var(--gar-transition-smooth),
        box-shadow var(--gar-transition-smooth),
        border-color var(--gar-transition-smooth),
        background var(--gar-transition-smooth);
}

.gar-other-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    z-index: 5;
    width: 118px;
    height: 5px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--gar-secondary), transparent);
    transition:
        width var(--gar-transition-smooth),
        background var(--gar-transition-smooth);
}

.gar-other-card:hover {
    border-color: rgba(216, 184, 109, 0.48);
    background: var(--gar-white);
    box-shadow: 0 34px 78px rgba(0, 90, 127, 0.15);
    transform: translateY(-8px);
}

.gar-other-card:hover::before {
    width: calc(100% - 56px);
    background: linear-gradient(90deg, var(--gar-secondary), var(--gar-primary-light));
}

.gar-other-card__media {
    position: relative;
    min-height: 280px;
    display: block;
    overflow: hidden;
    background: var(--gar-primary);
    text-decoration: none;
}

.gar-other-card__media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
    transition:
        transform 800ms ease,
        filter 800ms ease;
}

.gar-other-card:hover .gar-other-card__media img {
    filter: saturate(1.08);
    transform: scale(1.075);
}

.gar-other-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 90, 127, 0.03) 0%,
            rgba(0, 90, 127, 0.13) 44%,
            rgba(0, 50, 71, 0.70) 100%
        );
    pointer-events: none;
}

.gar-other-card__body {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px 32px;
    overflow: hidden;
}

.gar-other-card__body::after {
    content: "";
    position: absolute;
    right: -54px;
    bottom: -66px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(0, 90, 127, 0.04);
    pointer-events: none;
    transition:
        background var(--gar-transition-smooth),
        transform var(--gar-transition-smooth);
}

.gar-other-card:hover .gar-other-card__body::after {
    background: rgba(216, 184, 109, 0.12);
    transform: scale(1.08);
}

.gar-other-card__kicker,
.gar-other-card__body h3,
.gar-other-card__body p,
.gar-other-card__link {
    position: relative;
    z-index: 2;
}

.gar-other-card__kicker {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 8px 13px;
    border: 1px solid rgba(0, 90, 127, 0.08);
    border-radius: var(--gar-radius-pill);
    background: rgba(0, 90, 127, 0.06);
    color: var(--gar-primary);
    font-family: var(--gar-font-display);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gar-other-card__kicker i {
    color: var(--gar-secondary-dark);
    font-size: 14px;
    line-height: 1;
}

.gar-other-card__body h3 {
    margin: 0;
    color: var(--gar-primary-deep);
    font-family: var(--gar-font-hero);
    font-size: 27px;
    font-weight: 800;
    line-height: 32px;
}

.gar-other-card__body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color var(--gar-transition-fast);
}

.gar-other-card__body h3 a:hover {
    color: var(--gar-secondary-dark);
    text-decoration: none;
}

.gar-other-card__body p {
    margin: 17px 0 0;
    color: var(--gar-text-soft);
    font-family: var(--gar-font-body);
    font-size: 15px;
    line-height: 25px;
}

.gar-other-card__link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 26px;
    color: var(--gar-primary);
    font-family: var(--gar-font-display);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition:
        color var(--gar-transition-fast),
        transform var(--gar-transition-fast);
}

.gar-other-card__link i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 90, 127, 0.08);
    color: var(--gar-primary);
    font-size: 15px;
    line-height: 1;
    transition:
        background var(--gar-transition-fast),
        color var(--gar-transition-fast),
        transform var(--gar-transition-fast);
}

.gar-other-card__link:hover {
    color: var(--gar-secondary-dark);
    text-decoration: none;
    transform: translateX(3px);
}

.gar-other-card__link:hover i {
    background: var(--gar-primary);
    color: var(--gar-secondary);
    transform: translateX(3px);
}

.gar-other-card--featured .gar-other-card__kicker {
    background: rgba(216, 184, 109, 0.14);
    color: var(--gar-secondary-dark);
}


/* ============================================================================
   06. RESPONSIVE
   ============================================================================ */

@media (max-width: 1199px) {
    .gar-other__title {
        font-size: 46px;
        line-height: 51px;
    }

    .gar-other-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .gar-other-card__media,
    .gar-other-card__media img {
        min-height: 275px;
    }

    .gar-other-card__body {
        padding: 30px 26px;
    }

    .gar-other-card__body h3 {
        font-size: 24px;
        line-height: 30px;
    }
}

@media (max-width: 991px) {
    .gar-other-hero {
        min-height: 300px;
    }

    .gar-other-hero__content {
        padding: 62px 0;
    }

    .gar-other-hero__content h1 {
        font-size: 48px;
        line-height: 55px;
    }

    .gar-other {
        padding: var(--gar-section-padding-tablet);
    }

    .gar-other__header {
        margin-bottom: 50px;
    }

    .gar-other__title {
        font-size: 42px;
        line-height: 47px;
    }

    .gar-other__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gar-other-card {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .gar-other-card__media,
    .gar-other-card__media img {
        min-height: 260px;
    }
}

@media (max-width: 767px) {
    .gar-other-hero {
        min-height: 270px;
    }

    .gar-other-hero__content {
        padding: 54px 0;
        text-align: left;
    }

    .gar-other-hero__content h1 {
        font-size: 40px;
        line-height: 46px;
    }

    .gar-other-hero__breadcrumb {
        justify-content: flex-start;
        font-size: 14px;
    }

    .gar-other {
        padding: var(--gar-section-padding-mobile);
    }

    .gar-other__header {
        margin-bottom: 42px;
        text-align: left;
    }

    .gar-other__eyebrow {
        justify-content: flex-start;
        padding: 7px 14px;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .gar-other__title {
        font-size: 38px;
        line-height: 43px;
    }

    .gar-other__intro,
    .gar-other__intro p {
        font-size: 15px;
        line-height: 26px;
    }

    .gar-other-card {
        grid-template-columns: 1fr;
        border-radius: 28px;
    }

    .gar-other-card__media,
    .gar-other-card__media img {
        min-height: 235px;
    }

    .gar-other-card__body {
        padding: 26px 22px 30px;
    }

    .gar-other-card__body h3 {
        font-size: 23px;
        line-height: 29px;
    }

    .gar-other-card__body p {
        font-size: 14px;
        line-height: 24px;
    }
}

@media (max-width: 575px) {
    .gar-other-hero__content h1 {
        font-size: 35px;
        line-height: 41px;
    }

    .gar-other {
        padding: var(--gar-section-padding-small);
    }

    .gar-other__shape {
        display: none;
    }

    .gar-other__header {
        margin-bottom: 38px;
    }

    .gar-other__eyebrow {
        font-size: 10px;
        line-height: 14px;
    }

    .gar-other__title {
        font-size: 34px;
        line-height: 40px;
    }

    .gar-other-card {
        border-radius: 24px;
    }

    .gar-other-card::before {
        left: 22px;
        width: 100px;
    }

    .gar-other-card:hover::before {
        width: calc(100% - 44px);
    }

    .gar-other-card__media,
    .gar-other-card__media img {
        min-height: 210px;
    }

    .gar-other-card__body {
        padding: 24px 18px 28px;
    }

    .gar-other-card__kicker {
        padding: 8px 12px;
        font-size: 10px;
    }

    .gar-other-card__body h3 {
        font-size: 21px;
        line-height: 27px;
    }

    .gar-other-card__link {
        padding-top: 24px;
    }

    .gar-other__intro ul li,
    .gar-other__intro ol li {
        padding: 14px 14px 14px 56px;
        border-radius: 16px;
        font-size: 14px;
        line-height: 23px;
    }

    .gar-other__intro ul li::before,
    .gar-other__intro ol li::before {
        left: 13px;
        width: 29px;
        height: 29px;
        font-size: 12px;
    }
}

/* FIN OTROS SERVICIOS — REDISEÑO INTERNO */