﻿/* Styles are loaded only by Sucursales, Rewards and Installation. */
.pei-page { color:#243271; background:#fff; }
.pei-page * { min-width:0; box-sizing:border-box; }
.pei-wrap { width:100%; max-width:1240px; margin:0 auto; padding-left:28px; padding-right:28px; }
.pei-hero {
    background: linear-gradient(120deg,#1b275e,#2c3f85);
    color: white;
    padding: 22px 0 28px;
    position: relative;
}
.pei-hero h1 { font-size:44px; font-weight:700; letter-spacing:-1px; line-height:1.15; margin:16px 0 18px; max-width:750px; }
.pei-hero p { max-width:660px; font-size:18px; line-height:1.7; color:#e1e7f7; margin-bottom:26px; }
.pei-breadcrumb {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #c9d3ed;
    font-size: 13px;
    margin-bottom: 16px;
}
.pei-breadcrumb a { color:white; }
.pei-eyebrow { display:block; font-size:11px; font-weight:700; letter-spacing:1.8px; color:#b95616; margin-bottom:10px; }
.pei-hero .pei-eyebrow {
    color: #ffc294;
    margin-bottom: 6px;
}
.pei-hero + .pei-section {
    padding-top: 36px;
}
.pei-section { padding-top:54px; padding-bottom:54px; scroll-margin-top:90px; }
.pei-section-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:28px; }
.pei-page h2 { font-size:30px; font-weight:700; line-height:1.2; margin:0; letter-spacing:-.5px; }
.pei-section-heading p { font-size:15px; line-height:1.6; color:#667388; max-width:300px; margin:0; }
.pei-button { display:inline-flex; justify-content:center; align-items:center; gap:14px; padding:12px 18px; background:#e87523; color:white; border:1px solid #e87523; border-radius:9px; font:700 15px 'PT Sans',Arial,sans-serif; cursor:pointer; text-decoration:none; transition:background .18s,box-shadow .18s; }
.pei-button:hover { color:white; text-decoration:none; background:#c75c16; box-shadow:0 5px 15px #24327119; }
.pei-button-light { background:white; color:#243271; border-color:white; }
.pei-button-light:hover { background:#fff1e6; color:#243271; }
.pei-button-outline { background:white; border-color:#dce2ed; color:#243271; }
.pei-button-outline:hover { background:#f2f5fa; color:#243271; }
.pei-button:disabled { opacity:.6; cursor:wait; }
.pei-text-link { display:inline-flex; gap:10px; align-items:center; color:#243271; font-size:15px; font-weight:700; }
.pei-count { display:inline-block; padding:8px 14px; background:#fff1e6; color:#a44c12; font-size:13px; font-weight:700; border-radius:24px; white-space:nowrap; }
.pei-branches { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.pei-branch { border:1px solid #e4e8f0; border-radius:16px; overflow:hidden; box-shadow:0 8px 26px #24327109; display:flex; flex-direction:column; }
.pei-branch-photo { height:200px; position:relative; background:#eef1f6; }
.pei-branch-photo > img { display:block; width:100%; height:100%; object-fit:cover; }
.pei-branch-photo > span { position:absolute; bottom:14px; left:16px; padding:7px 12px; background:#243271ed; color:white; border-radius:7px; font-size:13px; }
.pei-branch-photo i { margin-right:6px; color:#ffb67f; }
.pei-branch-body { padding:24px; display:flex; flex-direction:column; flex:1; }
.pei-branch h3 { font-size:24px; font-weight:700; margin:0 0 12px; }
.pei-address { color:#647084; font-size:15px; line-height:1.65; min-height:100px; margin:0 0 16px; }
.pei-map { display:block; width:100%; height:140px; border:0; object-fit:cover; border-radius:8px; }
.pei-map-link { display:block; margin-top:auto; }
.pei-rewards-strip { display:flex; justify-content:space-between; align-items:center; gap:24px; padding-top:30px; padding-bottom:30px; margin-bottom:54px; background:#fff6ef; border-radius:16px; }
.pei-note { color:#647084; font-size:14px; line-height:1.7; margin-top:24px; }
.pei-hero-grid { display:grid; grid-template-columns:1.25fr 1fr; gap:60px; align-items:center; }
.pei-rewards-hero-art { display:flex; align-items:center; justify-content:center; padding:30px; border-radius:24px; background:#ffffff0a; border:1px solid #ffffff20; }
.pei-rewards-hero-art img { display:block; width:100%; max-width:360px; height:auto; transform:rotate(-5deg); }
.pei-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.pei-steps article { position:relative; border:1px solid #e5e9f0; border-radius:15px; padding:28px; }
.pei-step-number { position:absolute; right:24px; top:22px; font-size:32px; font-weight:700; color:#e1e6ef; }
.pei-steps article > i { display:flex; align-items:center; justify-content:center; width:54px; height:54px; border-radius:14px; color:#c05b18; background:#fff2e8; font-size:23px; margin-bottom:24px; }
.pei-steps h3 { font-size:23px; font-weight:700; margin-bottom:14px; }
.pei-steps p { font-size:16px; line-height:1.7; color:#647084; margin:0; }
.pei-prizes-section { background:#f5f7fb; scroll-margin-top:80px; }
.pei-prizes { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.pei-prize { background:white; border:1px solid #e4e9f1; border-radius:14px; padding:18px; display:flex; flex-direction:column; }
.pei-prize img { display:block; width:100%; height:260px; object-fit:contain; }
.pei-prize h3 { text-align:center; font-size:16px; line-height:1.5; font-weight:700; border-top:1px solid #edf0f5; margin:18px 0 0; padding-top:16px; }
.pei-winners { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.pei-winners figure { margin:0; background:#eef1f5; padding:12px; border-radius:14px; border:1px solid #e4e9f1; }
.pei-winners img { width:100%; height:300px; object-fit:contain; display:block; border-radius:8px; }
.pei-terms { display:grid; grid-template-columns:1fr 1.6fr; gap:50px; padding-top:36px; padding-bottom:36px; background:#f7f8fb; border:1px solid #e6eaf1; border-radius:16px; }
.pei-terms p { color:#647084; margin-top:16px; }
.pei-terms ul { padding-left:20px; color:#536074; font-size:15px; line-height:1.8; margin:0; }
.pei-terms li + li { margin-top:8px; }
.pei-bottom-banner { margin-top:44px; margin-bottom:44px; }
.pei-bottom-banner img { display:block; width:100%; height:auto; border-radius:10px; }
.pei-installation { display:grid; grid-template-columns:1fr 1.15fr; gap:44px; align-items:start; }
.pei-installation-photo { display:block; width:100%; height:390px; object-fit:cover; object-position:center 25%; border-radius:16px; }
.pei-installation-notice { display:flex; gap:15px; padding:22px; background:#fff4e9; border:1px solid #f3dcc7; border-radius:12px; margin:24px 0; }
.pei-installation-notice > i { font-size:24px; color:#b75212; }
.pei-installation-notice h2 { font-size:20px; margin-bottom:12px; }
.pei-installation-notice p { font-size:15px; line-height:1.75; color:#65574d; margin:0; }
.pei-installation-form { background:#f7f9fc; border:1px solid #e2e8f0; border-radius:18px; padding:32px; box-shadow:0 10px 30px #24327108; }
.pei-installation-form > p { font-size:14px; color:#647084; margin:12px 0 24px; }
.pei-fields { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.pei-field-full { grid-column:1/-1; }
.pei-fields label { display:block; margin-bottom:7px; font-size:14px; font-weight:700; }
.pei-fields input,.pei-fields textarea { width:100%; max-width:none; border:1px solid #dce2ed; border-radius:8px; background:white; padding:11px 12px; color:#243271; font:16px 'PT Sans',Arial,sans-serif; }
.pei-fields input:focus,.pei-fields textarea:focus { outline:2px solid #e8752340; border-color:#e87523; }
.pei-fields textarea { resize:vertical; min-height:116px; }
.pei-fields small { display:block; font-size:12px; color:#647084; margin-top:6px; }
.pei-consent { display:flex; gap:10px; align-items:flex-start; margin:24px 0 16px; }
.pei-consent input { margin-top:4px; flex-shrink:0; }
.pei-consent label { font-size:12px; line-height:1.7; color:#647084; }
.pei-consent a { color:#243271; text-decoration:underline; }
.pei-installation-form .pei-form-status { margin:0 0 16px; }
.pei-form-status:empty { display:none; }
.pei-form-status[data-state=error] { color:#a02c2c; }
.pei-form-status[data-state=success] { color:#236c46; }
.pei-installation-form > .pei-button { width:100%; }
.pei-page :focus-visible { outline:3px solid #e87523; outline-offset:3px; }
@media(max-width:991px) { .pei-branches { grid-template-columns:repeat(2,minmax(0,1fr)); } .pei-prizes { grid-template-columns:repeat(3,minmax(0,1fr)); } .pei-installation { gap:24px; } .pei-hero-grid { gap:30px; } .pei-installation-form { padding:24px; } .pei-hero h1 { font-size:38px; } .pei-winners { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) { .pei-wrap { padding-left:20px; padding-right:20px; } .pei-hero { padding-bottom:36px; } .pei-hero h1 { font-size:33px; } .pei-hero p { font-size:16px; } .pei-section { padding-top:36px; padding-bottom:36px; } .pei-section-heading { align-items:flex-start; flex-direction:column; gap:16px; } .pei-page h2 { font-size:27px; } .pei-steps,.pei-installation,.pei-hero-grid,.pei-terms { grid-template-columns:1fr; } .pei-steps { gap:16px; } .pei-hero-grid { gap:28px; } .pei-rewards-hero-art { max-width:380px; margin:auto; padding:20px; } .pei-rewards-strip { flex-direction:column; align-items:flex-start; border-radius:0; } .pei-prizes { grid-template-columns:repeat(2,minmax(0,1fr)); } .pei-prize img { height:230px; } .pei-installation-photo { height:300px; } .pei-terms { gap:24px; border-radius:0; } .pei-installation-notice h2 { font-size:20px; } .pei-address { min-height:125px; } }
@media(max-width:520px) { .pei-branches,.pei-fields { grid-template-columns:1fr; } .pei-branch-photo { height:230px; } .pei-address { min-height:0; } .pei-map { height:160px; } .pei-prizes { gap:12px; } .pei-prize { padding:10px; } .pei-prize img { height:205px; } .pei-prize h3 { font-size:14px; } .pei-winners { gap:12px; } .pei-winners img { height:230px; } .pei-hero h1 { font-size:30px; } .pei-installation-form { padding:24px 18px; } .pei-installation-intro > .pei-text-link { font-size:14px; } }
@media(prefers-reduced-motion:reduce) { .pei-page * { transition:none!important; } }

/* Rewards: keep the official jersey artwork complete in the first screen. */
.pei-rewards-hero .pei-rewards-hero-art { max-width:300px; width:100%; margin:0 auto; padding:0; background:white; border:0; border-radius:16px; overflow:hidden; box-shadow:0 12px 30px #111c4330; }
.pei-rewards-hero .pei-rewards-hero-art img { width:100%; max-width:none; height:450px; object-fit:contain; transform:none; background:white; }
@media(max-width:767px) { .pei-rewards-hero .pei-hero-grid { gap:24px; } .pei-rewards-hero .pei-hero-grid > div:first-child { display:contents; } .pei-rewards-hero .pei-breadcrumb { order:-5; margin-bottom:0; } .pei-rewards-hero .pei-eyebrow { order:-4; margin-bottom:0; } .pei-rewards-hero h1 { order:-3; margin:0; } .pei-rewards-hero .pei-rewards-hero-art { order:-2; max-width:220px; } .pei-rewards-hero .pei-rewards-hero-art img { height:360px; } .pei-rewards-hero p { margin-bottom:0; } .pei-rewards-hero .pei-button { justify-self:start; } }

/* Page headings follow the white/orange contact heading treatment. */
.pei-hero { background:linear-gradient(118deg,#182450 0%,#243271 68%,#30448c 100%); }
.pei-hero h1 { font-weight:700; letter-spacing:-1.2px; line-height:1.16; color:white; }
    .pei-hero h1 > span {
        display: inline;
        color: #ffa561;
    }
.pei-hero .pei-eyebrow { display:flex; align-items:center; gap:10px; color:#ffd0ac; }
.pei-hero .pei-eyebrow::before { content:""; width:7px; height:7px; border-radius:50%; background:#ef8c42; box-shadow:0 0 0 5px #ef8c421a; flex-shrink:0; }
.pei-hero .pei-button { background:white; border-color:white; color:#243271; }
.pei-hero .pei-button:hover { background:#fff1e6; border-color:#fff1e6; color:#243271; }
.pei-page > .home-rewards { max-width:1240px; margin:0 auto 54px; padding:30px 24px; }
@media(max-width:767px) { .pei-page > .home-rewards { padding:26px 20px; } }

.pei-installation-intro .pei-installation-notice { margin:0 0 24px; padding:26px; border:1px solid #e3e9f2; border-left:4px solid #e87523; background:#f7f9fc; border-radius:14px; gap:16px; }
.pei-installation-notice > i { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:42px; height:42px; border-radius:12px; background:#fff0e3; color:#b75212; font-size:23px; }
.pei-installation-notice h2 { font-size:21px; line-height:1.4; margin-bottom:10px; }
.pei-installation-notice p { color:#647084; font-size:15px; line-height:1.75; }
.pei-installation-intro > .pei-text-link { margin-top:20px; }
@media (max-width: 767px) {
    .pei-hero {
        padding: 16px 0 22px;
    }

        .pei-hero h1 {
            font-size: 28px;
            margin: 4px 0 8px;
        }

        .pei-hero p {
            font-size: 15px;
        }

        .pei-hero + .pei-section {
            padding-top: 24px;
        }
}

.pei-hero {
    padding: 20px 0 18px;
}

    .pei-hero p {
        margin: 0;
    }

    .pei-hero h1 {
        margin: 4px 0 8px;
        max-width: none;
        white-space: nowrap; 
    }

@media (max-width: 767px) {
    .pei-hero {
        padding: 14px 0 16px;
    }

        .pei-hero h1 {
            white-space: normal; 
        }
}