﻿/* CAP Software: OPIMOS, Apps Android, Servicios y galerías.
   No modifica las reglas de la portada. */
.pp-page {
    color: #182b45;
    overflow: clip;
}

    .pp-page .pp-eyebrow {
        display: block;
        margin-bottom: 18px;
        font-size: 11px;
        font-weight: 850;
        letter-spacing: .17em;
        color: #1a71bb;
    }

    .pp-page .pp-eyebrow-light {
        color: #72e5d8;
    }

    .pp-page h1, .pp-page h2, .pp-page h3, .pp-page p {
        margin-top: 0;
    }

    .pp-page h1 {
        font-size: clamp(48px,5.8vw,78px);
        line-height: 1.045;
        letter-spacing: -.065em;
        font-weight: 800;
    }

    .pp-page h2 {
        font-size: clamp(34px,3.45vw,50px);
        line-height: 1.12;
        letter-spacing: -.053em;
        font-weight: 800;
    }

        .pp-page h2 em {
            color: #276bd9;
            font-style: normal;
        }

    .pp-page p {
        line-height: 1.85;
    }

.pp-hero {
    position: relative;
    min-height: 580px;
    padding: 25px 0 76px;
    isolation: isolate;
}

.pp-hero-dark, .pp-hero-services {
    background: radial-gradient(circle at 77% 18%,rgba(36,119,199,.33),transparent 38%),linear-gradient(110deg,#081a33,#0d2a4b 78%,#0d3158);
    color: #fff;
}

.pp-hero-apps {
    background: linear-gradient(115deg,#f7fbff,#edf6ff);
    color: #102749;
}

.pp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
    color: inherit;
    opacity: .75;
}

    .pp-breadcrumb a:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.pp-hero-layout {
    display: grid;
    grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
    align-items: center;
    gap: 60px;
    min-height: 510px;
}

.pp-hero-copy {
    position: relative;
    z-index: 2;
    padding-top: 26px;
}

.pp-hero h1 {
    margin-bottom: 22px;
}

    .pp-hero h1 span:not(.pp-accent-dot) {
        color: #28aebd;
    }

.pp-hero-dark h1 {
    font-size: clamp(65px,7vw,93px);
}

.pp-hero-dark .pp-accent-dot {
    color: #48d7cf;
}

.pp-heading-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

    .pp-heading-line h1 {
        margin-bottom: 20px;
    }

.pp-status {
    color: #7de8d9;
    background: rgba(43,211,190,.12);
    border: 1px solid rgba(83,215,210,.32);
    border-radius: 999px;
    padding: 7px 11px;
    margin-top: -8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.pp-lead {
    font-size: clamp(19px,2vw,25px);
    max-width: 650px;
    font-weight: 640;
    letter-spacing: -.025em;
    line-height: 1.45 !important;
}

.pp-hero-description {
    max-width: 580px;
    color: #bbd0e2;
    font-size: 15px;
}

.pp-hero-apps .pp-hero-description {
    color: #637b96;
}

.pp-action-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.pp-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 12px 21px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
    transition: transform .2s ease,box-shadow .2s ease;
}

    .pp-btn:hover {
        transform: translateY(-2px);
    }

.pp-btn-primary {
    color: #06263d;
    background: linear-gradient(100deg,#78eadf,#2bc8c2);
    box-shadow: 0 12px 28px rgba(21,164,174,.16);
}

.pp-btn-ghost {
    border: 1px solid rgba(229,245,255,.28);
    color: #fff;
    background: rgba(255,255,255,.045);
}

.pp-btn-outline {
    border: 1px solid #ccdeee;
    color: #0e2c4c;
}

.pp-disclaimer {
    margin: 20px 0 0 !important;
    font-size: 11px;
    color: #afc6d9;
    line-height: 1.7 !important;
}

.pp-visual {
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.pp-opimos-screen {
    width: min(100%,520px);
    background: #f7fbff;
    border: 1px solid #8ab3dc;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 35px 75px rgba(2,13,30,.33);
    transform: perspective(900px) rotateY(-5deg);
}

.pp-screen-top {
    height: 40px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 7px;
    background: #e4f0fa;
    color: #44698a;
    font-size: 9px;
    letter-spacing: .12em;
    font-weight: 800;
}

.pp-screen-dots {
    display: flex;
    gap: 5px;
}

    .pp-screen-dots i {
        display: block;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #80bcd9;
    }

        .pp-screen-dots i:first-child {
            background: #ffa995;
        }

        .pp-screen-dots i:nth-child(2) {
            background: #ffd681;
        }

.pp-route-panel {
    padding: 26px;
    color: #163e5f;
}

.pp-route-title {
    font-size: 10px;
    color: #3188c5;
    letter-spacing: .15em;
    font-weight: 900;
    margin-bottom: 13px
}

.pp-route-panel > strong {
    display: block;
    font-size: 22px;
    letter-spacing: -.045em;
    margin-bottom: 16px
}

.pp-route-map {
    position: relative;
    height: 200px;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid #d4e6ef;
    background: #eff8fc;
    border-radius: 12px;
}

.pp-route-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg,transparent 48%,rgba(50,139,185,.10) 49%,transparent 51%),linear-gradient(30deg,transparent 48%,rgba(50,139,185,.10) 49%,transparent 51%);
    background-size: 78px 78px
}

.pp-route-rail {
    position: absolute;
    width: 66%;
    height: 42%;
    border: 5px solid #40c9bd;
    border-left: 0;
    border-bottom: 0;
    left: 17%;
    top: 38%;
    border-radius: 80px 90px 0 0;
    transform: rotate(-8deg)
}

.pp-route-point {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #139fbd;
    box-shadow: 0 0 0 4px rgba(16,156,189,.16);
}

.pp-route-a {
    left: 17%;
    top: 68%
}

.pp-route-b {
    left: 47%;
    top: 27%
}

.pp-route-c {
    right: 16%;
    top: 42%;
    background: #2ed09f
}

.pp-route-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px
}

    .pp-route-stats > div {
        padding: 11px 8px;
        background: #eef5fc;
        border-radius: 9px
    }

    .pp-route-stats small, .pp-route-stats strong {
        display: block
    }

    .pp-route-stats small {
        font-size: 8px;
        letter-spacing: .07em;
        color: #7b9ab2
    }

    .pp-route-stats strong {
        font-size: 14px;
        margin-top: 3px
    }

.pp-floating-note {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: #214264;
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 13px 26px rgba(5,18,40,.2)
}

    .pp-floating-note span {
        font-size: 19px;
        color: #16aaa6
    }

.pp-note-a {
    right: -17px;
    top: 15px
}

.pp-note-b {
    left: -23px;
    bottom: 23px
}

.pp-illustrative {
    position: absolute;
    bottom: -24px;
    right: 4px;
    left: 4px;
    text-align: center;
    color: #bed6e8;
    font-size: 10px
}

.pp-hero-apps .pp-illustrative {
    color: #667e98;
}

.pp-slim-strip {
    background: #eff8fb;
    border-bottom: 1px solid #e2edf4;
}

    .pp-slim-strip .container {
        padding: 19px 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        color: #3e6383;
        font-size: 12px;
        font-weight: 700
    }

.pp-section {
    padding: 92px 0;
}

.pp-section-muted {
    background: #f3f8fd;
}

.pp-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 35px
}

    .pp-section-heading h2 {
        max-width: 610px;
        margin: 0
    }

    .pp-section-heading > p {
        font-size: 14px;
        color: #697f96;
        max-width: 330px;
        margin-bottom: 0
    }

.pp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 19px
}

.pp-feature-card {
    padding: 29px;
    min-height: 225px;
    border: 1px solid #e2ebf5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(14,42,74,.025);
    transition: transform .22s,border-color .22s
}

    .pp-feature-card:hover {
        transform: translateY(-4px);
        border-color: #b5d8e6
    }

.pp-feature-badge {
    width: 39px;
    height: 39px;
    background: #e9f6fa;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #1677aa;
    font-weight: 900;
    font-size: 13px
}

.pp-feature-card h3 {
    font-size: 20px;
    letter-spacing: -.04em;
    margin: 21px 0 10px
}

.pp-feature-card p {
    font-size: 13px;
    color: #637790;
    margin-bottom: 0
}

.pp-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center
}

.pp-body-copy {
    font-size: 14px;
    color: #647b94
}

.pp-timeline {
    display: grid;
    gap: 13px
}

    .pp-timeline > div {
        border: 1px solid #e1eaf2;
        border-radius: 14px;
        padding: 21px 23px;
        display: grid;
        grid-template-columns: 50px 1fr;
        column-gap: 12px;
        background: #fff
    }

    .pp-timeline span {
        grid-row: 1 / 3;
        color: #26aaa9;
        font-weight: 900;
        font-size: 18px
    }

    .pp-timeline strong {
        font-size: 15px;
        color: #1b3853
    }

    .pp-timeline small {
        color: #6f8298;
        font-size: 12px;
        margin-top: 5px
    }

.pp-cta {
    padding: 62px 0;
    background: linear-gradient(105deg,#081b35,#103257);
    color: #fff
}

.pp-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px
}

    .pp-cta-inner h2 {
        font-size: clamp(27px,3.3vw,41px);
        max-width: 620px;
        margin-bottom: 12px
    }

    .pp-cta-inner p {
        max-width: 570px;
        font-size: 14px;
        color: #c1d3e2;
        margin-bottom: 0
    }

.pp-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 17px;
    flex-shrink: 0
}

.pp-back {
    color: #bcd7ea;
    font-size: 12px;
    font-weight: 700
}

    .pp-back:hover {
        text-decoration: underline;
        text-underline-offset: 4px
    }
/* Auto gallery: IMG sources come from wwwroot directory listing in each controller */
.pp-gallery-heading {
    max-width: 800px;
    margin-bottom: 35px
}

    .pp-gallery-heading p {
        max-width: 690px;
        color: #72839a;
        font-size: 14px
    }

.pp-gallery-empty {
    border: 1px dashed #bdd4e7;
    min-height: 180px;
    background: rgba(255,255,255,.75);
    border-radius: 17px;
    padding: 35px 25px;
    text-align: center;
    color: #426580;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.pp-gallery-empty-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 13px;
    background: #e8f2fc;
    color: #2b7fb6;
    font-size: 24px;
    margin-bottom: 13px
}

.pp-gallery-empty strong {
    color: #1b3b5d;
    font-size: 19px
}

.pp-gallery-empty p {
    margin: 7px auto 0;
    max-width: 430px;
    font-size: 13px;
    color: #7b8ca0;
    line-height: 1.7
}

.pp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 17px
}

.pp-gallery-item {
    display: block;
    background: #fff;
    border: 1px solid #e0eaf2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(9,32,61,.055);
    transition: transform .2s,box-shadow .2s
}

    .pp-gallery-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(9,32,61,.12)
    }

.pp-gallery-photo {
    height: 205px;
    background: #eaf1f8;
    display: grid;
    place-items: center;
    padding: 11px
}

    .pp-gallery-photo img {
        height: 100%;
        width: 100%;
        object-fit: contain;
        object-position: center
    }

.pp-gallery-label {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 14px 17px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    color: #1c4771;
    overflow-wrap: anywhere
}

    .pp-gallery-label > span {
        font-size: 17px;
        color: #298eb1
    }
/* Apps */
.pp-hero-apps .pp-eyebrow {
    color: #277ac1
}

.pp-app-visual {
    min-height: 420px
}

.pp-phone {
    border: 9px solid #102d4b;
    width: 218px;
    height: 375px;
    border-radius: 37px;
    background: #f9fcff;
    box-shadow: 0 25px 62px rgba(19,71,103,.22);
    position: absolute;
    overflow: hidden
}

    .pp-phone > span {
        display: block;
        width: 67px;
        height: 17px;
        background: #102d4b;
        border-radius: 0 0 10px 10px;
        margin: auto
    }

.pp-phone-left {
    transform: rotate(-13deg) translateX(-110px) scale(.88);
    opacity: .8;
}

.pp-phone-main {
    transform: rotate(8deg) translateX(85px)
}

.pp-phone-app {
    padding: 26px 14px;
    color: #154266
}

    .pp-phone-app > i {
        display: block;
        height: 45px;
        width: 45px;
        background: #bdf3e9;
        border-radius: 13px;
        margin-bottom: 16px
    }

    .pp-phone-app b {
        font-size: 16px
    }

    .pp-phone-app > div {
        display: grid;
        gap: 10px;
        margin: 22px 0
    }

        .pp-phone-app > div i {
            display: block;
            height: 35px;
            background: #e4f0fd;
            border-radius: 7px
        }

            .pp-phone-app > div i:nth-child(2) {
                background: #dcf7f1
            }

    .pp-phone-app small {
        font-size: 11px;
        color: #8193a8
    }

.pp-jump-nav {
    position: sticky;
    top: 110px;
    background: #fff;
    border-bottom: 1px solid #e3eaf3;
    z-index: 15
}

    .pp-jump-nav .container {
        display: flex;
        gap: 26px;
        overflow-x: auto;
        align-items: center
    }

    .pp-jump-nav a {
        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
        padding: 20px 0;
        color: #45617f
    }

        .pp-jump-nav a:hover {
            color: #1178ae
        }

.pp-app-summary-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 15px
}

    .pp-app-summary-grid > a {
        display: flex;
        flex-direction: column;
        gap: 9px;
        border-radius: 15px;
        background: #f4f8fd;
        border: 1px solid #e1eaf3;
        padding: 23px 19px;
        transition: transform .2s
    }

        .pp-app-summary-grid > a:hover {
            transform: translateY(-3px)
        }

    .pp-app-summary-grid span {
        font-size: 12px;
        color: #239ea4;
        font-weight: 900
    }

    .pp-app-summary-grid strong {
        font-size: 18px;
        letter-spacing: -.03em
    }

    .pp-app-summary-grid small {
        font-size: 12px;
        line-height: 1.5;
        color: #71849a
    }

.pp-app-section {
    scroll-margin-top: 175px
}

.pp-app-section-head {
    display: grid;
    grid-template-columns: 1fr 305px;
    align-items: center;
    gap: 50px;
    margin-bottom: 36px
}

    .pp-app-section-head h2 {
        margin: 9px 0 18px
    }

    .pp-app-section-head p {
        max-width: 700px;
        font-size: 14px;
        color: #637990
    }

.pp-app-number {
    font-size: 11px;
    letter-spacing: .12em;
    color: #2787ba;
    font-weight: 900
}

.pp-checks {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 22px 0 0;
    padding: 0
}

    .pp-checks li {
        font-size: 12px;
        font-weight: 700;
        color: #315879
    }

        .pp-checks li:before {
            content: '✓';
            color: #15b9ac;
            padding-right: 8px
        }

.pp-app-aside {
    background: linear-gradient(135deg,#e2f7f7,#eff9fb);
    border: 1px solid #d2e9eb;
    border-radius: 17px;
    padding: 25px;
    color: #164665;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.pp-app-aside-violet {
    background: linear-gradient(135deg,#f0ebff,#f6f7fe);
    border-color: #e6e4f3
}

.pp-app-aside strong {
    font-size: 20px;
    letter-spacing: -.04em
}

.pp-app-aside span {
    font-size: 12px;
    line-height: 1.7;
    color: #58728b
}

.pp-app-aside a {
    font-size: 12px;
    color: #166ea5;
    font-weight: 900;
    margin-top: 8px
}

.pp-gallery-subtitle {
    font-size: 18px !important;
    margin-bottom: 17px;
    letter-spacing: -.03em
}
/* Services */
.pp-services-panel {
    width: min(100%,410px);
    padding: 34px;
    border: 1px solid rgba(149,209,240,.35);
    background: linear-gradient(135deg,rgba(243,250,255,.98),rgba(214,240,249,.94));
    color: #18405d;
    border-radius: 18px;
    box-shadow: 0 35px 65px rgba(1,13,30,.26);
    position: relative;
    z-index: 2
}

    .pp-services-panel > span {
        font-size: 10px;
        letter-spacing: .12em;
        font-weight: 900;
        color: #248caa
    }

    .pp-services-panel > strong {
        display: block;
        font-size: 26px;
        line-height: 1.15;
        letter-spacing: -.05em;
        margin: 18px 0 26px
    }

    .pp-services-panel > div {
        display: flex;
        align-items: center;
        gap: 14px;
        background: #fff;
        border-radius: 10px;
        border: 1px solid #d8eaf2;
        margin-top: 12px;
        padding: 14px;
        font-weight: 800;
        font-size: 13px
    }

    .pp-services-panel i {
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border-radius: 9px;
        background: #d9f5f2;
        font-size: 11px;
        font-style: normal;
        color: #168e96
    }

.pp-service-shape {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(115,199,232,.3);
    border-radius: 26px;
    width: 390px;
    height: 285px;
    transform: rotate(17deg)
}

.pp-service-shape-a {
    left: 15px;
    top: 65px
}

.pp-service-shape-b {
    right: 10px;
    bottom: 45px;
    transform: rotate(-13deg)
}

@media(max-width:1160px) {
    .pp-hero-layout {
        gap: 26px
    }

    .pp-feature-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .pp-jump-nav {
        top: 110px
    }

    .pp-app-summary-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
}

@media(max-width:980px) {
    .pp-jump-nav {
        top: 88px
    }

    .pp-hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 50px
    }

    .pp-hero {
        padding-bottom: 20px
    }

    .pp-visual {
        min-height: 390px;
        width: min(590px,100%);
        margin: auto
    }

    .pp-hero-copy {
        padding-top: 0
    }

    .pp-two-column {
        gap: 35px
    }

    .pp-cta-inner {
        align-items: start
    }

    .pp-app-section-head {
        grid-template-columns: 1fr 260px;
        gap: 28px
    }

    .pp-gallery-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
}

@media(max-width:740px) {
    .pp-jump-nav {
        top: 78px
    }

    .pp-hero-layout {
        padding: 25px 0 45px
    }

    .pp-section {
        padding: 67px 0
    }

    .pp-section-heading {
        display: block
    }

        .pp-section-heading > p {
            max-width: 650px;
            margin-top: 15px
        }

    .pp-feature-grid {
        grid-template-columns: 1fr
    }

    .pp-feature-card {
        min-height: 0
    }

    .pp-two-column {
        grid-template-columns: 1fr
    }

    .pp-cta-inner {
        flex-direction: column;
        gap: 26px
    }

    .pp-app-section-head {
        grid-template-columns: 1fr
    }

    .pp-app-summary-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .pp-gallery-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .pp-gallery-photo {
        height: 165px
    }

    .pp-slim-strip .container {
        justify-content: center
    }

    .pp-hero .pp-note-a {
        right: 0
    }

    .pp-hero .pp-note-b {
        left: 0
    }
}

@media(max-width:540px) {
    .pp-page h1 {
        font-size: 45px
    }

    .pp-hero-dark h1 {
        font-size: 61px
    }

    .pp-hero .pp-lead {
        font-size: 19px
    }

    .pp-visual {
        min-height: 300px
    }

    .pp-opimos-screen {
        transform: none
    }

    .pp-route-panel {
        padding: 14px
    }

        .pp-route-panel > strong {
            font-size: 18px
        }

    .pp-route-map {
        height: 120px
    }

    .pp-floating-note {
        font-size: 9px;
        padding: 6px
    }

        .pp-floating-note span {
            font-size: 13px
        }

    .pp-note-b {
        bottom: 7px
    }

    .pp-note-a {
        top: -10px
    }

    .pp-screen-top {
        font-size: 8px
    }

    .pp-app-visual {
        min-height: 335px
    }

    .pp-phone {
        transform: scale(.82) translateX(25px) !important
    }

    .pp-phone-left {
        transform: scale(.67) rotate(-13deg) translateX(-180px) !important
    }

    .pp-app-summary-grid {
        grid-template-columns: 1fr
    }

    .pp-gallery-grid {
        grid-template-columns: 1fr
    }

    .pp-gallery-photo {
        height: 230px
    }

    .pp-app-section {
        scroll-margin-top: 140px
    }

    .pp-cta-actions {
        width: 100%
    }

        .pp-cta-actions .pp-btn {
            width: 100%
        }

    .pp-btn {
        max-width: 100%;
        font-size: 12px
    }

    .pp-action-row {
        align-items: stretch
    }

        .pp-action-row .pp-btn {
            width: 100%
        }

    .pp-services-panel {
        padding: 19px
    }

    .pp-service-shape {
        width: 240px;
        height: 180px
    }
}

@media(prefers-reduced-motion:reduce) {
    .pp-btn, .pp-feature-card, .pp-gallery-item, .pp-app-summary-grid > a {
        transition: none
    }
}
