/* ==========================================================
   PR INFOTECH SOLUTIONS — DESKTOP RENTAL PAGE CSS
   Used only by: rental/desktop-rental.html
   Loaded after rental.css so these rules override only this page.
========================================================== */

.desktop-rental-page .rental-hero-grid{
    grid-template-columns:minmax(0, 1fr) minmax(540px, 1.08fr);
    gap:55px;
}

.desktop-rental-page .rental-hero-content h1{
    max-width:720px;
}

.desktop-rental-page .rental-hero-image{
    width:100%;
    max-width:760px;
    justify-self:end;
}
/* Fix hero trust text visibility */

.desktop-rental-page .hero-trust-line {
    margin-top: 34px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    background: #ffffff;
    border: 1px solid #dfe7f3;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 35, 65, 0.08);
}

.desktop-rental-page .hero-trust-line span {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.desktop-rental-page .hero-trust-line strong {
    color: #172033;
    font-size: 16px;
    font-weight: 700;
}

.desktop-rental-page .hero-trust-line small {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 600px) {
    .desktop-rental-page .hero-trust-line {
        grid-template-columns: 1fr;
        padding: 18px;
    }
}

.desktop-rental-page .rental-hero-image img{
    width:100%;
    height:auto;
    aspect-ratio:16 / 9;
    object-fit:cover;
    object-position:center;
    display:block;
    border-radius:24px;
}

.desktop-rental-page .rental-image-badge{
    left:-30px;
    bottom:30px;
}

.desktop-rental-page .rental-hero-buttons .btn-whatsapp{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:14px 24px;
    border-radius:10px;
    background:#25D366;
    color:#fff;
    font-weight:700;
    text-decoration:none;
    transition:transform .25s ease, background .25s ease, box-shadow .25s ease;
    box-shadow:0 10px 24px rgba(37, 211, 102, .22);
}

.desktop-rental-page .rental-hero-buttons .btn-whatsapp:hover{
    background:#1eaf55;
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 14px 30px rgba(37, 211, 102, .3);
}

.desktop-rental-page .rental-hero-buttons .btn-whatsapp i{
    font-size:19px;
}

@media(max-width:1150px){
    .desktop-rental-page .rental-hero-grid{
        grid-template-columns:1fr 1fr;
        gap:42px;
    }

    .desktop-rental-page .rental-hero-content h1{
        font-size:43px;
    }
}

@media(max-width:1050px){
    .desktop-rental-page .rental-hero-grid{
        grid-template-columns:1fr;
    }

    .desktop-rental-page .rental-hero-image{
        max-width:820px;
        justify-self:start;
    }
}

@media(max-width:750px){
    .desktop-rental-page .rental-hero-image img{
        height:auto;
        aspect-ratio:4 / 3;
        object-fit:cover;
    }

    .desktop-rental-page .rental-image-badge{
        left:14px;
        bottom:14px;
    }
}

@media(max-width:520px){
    .desktop-rental-page .rental-hero-content h1{
        font-size:34px;
    }

    .desktop-rental-page .rental-hero-buttons{
        display:grid;
        grid-template-columns:1fr;
    }

    .desktop-rental-page .rental-hero-buttons a{
        width:100%;
        text-align:center;
    }

    .desktop-rental-page .rental-image-badge{
        position:static;
        margin-top:14px;
        width:100%;
    }
}

/* ==========================================================
   DESKTOP RENTAL PAGE — FINAL MATCH WITH LAPTOP PAGE
========================================================== */

/* Top header alignment */
.desktop-rental-page .top-header .top-header-wrapper{
    width:min(1180px, calc(100% - 72px)) !important;
    min-height:48px;
    margin:0 auto !important;
    padding:0 !important;
    display:grid !important;
    grid-template-columns:1fr auto 1fr;
    align-items:center !important;
    gap:28px !important;
}
.desktop-rental-page .top-contact{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#fff;
    white-space:nowrap;
}
.desktop-rental-page .top-phone{justify-self:start;}
.desktop-rental-page .top-email{justify-self:center;}
.desktop-rental-page .top-hours{justify-self:end;}
.desktop-rental-page .top-contact i{margin:0 !important;color:#74a8ff;}

/* Services dropdown */
.desktop-rental-page .nav-menu .has-dropdown{position:relative;}
.desktop-rental-page .nav-menu .dropdown-toggle{
    display:flex;align-items:center;gap:7px;padding:28px 0;border:0;background:transparent;
    color:#13213d;font:inherit;font-size:15px;font-weight:600;cursor:pointer;
}
.desktop-rental-page .nav-menu .dropdown-toggle i{font-size:11px;transition:transform .25s ease;}
.desktop-rental-page .nav-menu .dropdown-menu{
    position:absolute;top:calc(100% - 8px);left:50%;z-index:1500;min-width:245px;
    margin:0;padding:10px;list-style:none;background:#fff;border:1px solid #e3e9f2;
    border-radius:14px;box-shadow:0 18px 45px rgba(15,35,60,.16);
    opacity:0;visibility:hidden;transform:translate(-50%,12px);
    transition:opacity .22s ease,visibility .22s ease,transform .22s ease;
}
.desktop-rental-page .nav-menu .dropdown-menu li{width:100%;}
.desktop-rental-page .nav-menu .dropdown-menu a{
    display:block;padding:11px 13px;border-radius:9px;color:#1f2937;
    font-size:14px;font-weight:600;white-space:nowrap;
}
.desktop-rental-page .nav-menu .dropdown-menu a:hover,
.desktop-rental-page .nav-menu .dropdown-menu a.active{color:#0057d9;background:#eef5ff;}
.desktop-rental-page .nav-menu .has-dropdown:hover .dropdown-menu,
.desktop-rental-page .nav-menu .has-dropdown:focus-within .dropdown-menu,
.desktop-rental-page .nav-menu .has-dropdown.open .dropdown-menu{
    opacity:1;visibility:visible;transform:translate(-50%,0);
}
.desktop-rental-page .nav-menu .has-dropdown:hover .dropdown-toggle i,
.desktop-rental-page .nav-menu .has-dropdown:focus-within .dropdown-toggle i,
.desktop-rental-page .nav-menu .has-dropdown.open .dropdown-toggle i{transform:rotate(180deg);}

/* New visible hero image */
.desktop-rental-page .hero{
    position:relative;
    padding:68px 0 62px !important;
    background:
        linear-gradient(90deg,
            rgba(0,69,178,.94) 0%,
            rgba(0,69,178,.88) 38%,
            rgba(7,31,69,.54) 67%,
            rgba(7,31,69,.28) 100%),
        url("../images/hero/desktop-rental-hero.webp") center/cover no-repeat !important;
}
.desktop-rental-page .hero-content{max-width:780px;position:relative;z-index:2;}
.desktop-rental-page .hero h1{max-width:780px;font-size:clamp(42px,4.8vw,62px);}
.desktop-rental-page .hero p{max-width:700px;}

/* Compact section spacing */
.desktop-rental-page main > section:not(.hero):not(.cta-section){
    padding-top:52px !important;
    padding-bottom:52px !important;
    margin:0 !important;
    min-height:0 !important;
}
.desktop-rental-page .section-heading{
    margin:0 auto 26px !important;
    padding:0 !important;
}
.desktop-rental-page .section-heading .section-label{margin-bottom:8px !important;}
.desktop-rental-page .section-heading h2{margin-bottom:9px !important;}
.desktop-rental-page .section-heading p{margin:0 !important;}
.desktop-rental-page .intro-grid,
.desktop-rental-page .why-grid{gap:46px !important;}
.desktop-rental-page .config-grid,
.desktop-rental-page .use-grid,
.desktop-rental-page .benefit-panel,
.desktop-rental-page .process-grid{gap:18px !important;}
.desktop-rental-page .config-card{padding:24px !important;}
.desktop-rental-page .use-card,
.desktop-rental-page .benefit-card{padding:22px 20px !important;}
.desktop-rental-page .process-card{padding:25px 21px !important;}
.desktop-rental-page .feature-list{margin-top:22px !important;gap:11px !important;}
.desktop-rental-page .intro-image img{min-height:410px !important;}

/* FAQ fix */
.desktop-rental-page .faq-item{overflow:hidden;}
.desktop-rental-page .faq-question{
    position:relative;padding-top:17px !important;padding-bottom:17px !important;
    transition:background .25s ease,color .25s ease;
}
.desktop-rental-page .faq-question:hover,
.desktop-rental-page .faq-question:focus{background:#f4f8ff;outline:none;}
.desktop-rental-page .faq-question i{flex:0 0 auto;color:#0057d9;font-size:18px;}
.desktop-rental-page .faq-answer{
    display:block !important;max-height:0;overflow:hidden;padding:0 22px;
    opacity:0;visibility:hidden;
    transition:max-height .35s ease,opacity .25s ease,padding .35s ease,visibility .25s ease;
}
.desktop-rental-page .faq-item.active .faq-answer{
    max-height:260px;padding:0 22px 20px;opacity:1;visibility:visible;
}
.desktop-rental-page .faq-item.active{
    border-color:#c9dcf8;box-shadow:0 12px 28px rgba(0,87,217,.08);
}
.desktop-rental-page .faq-item.active .faq-question{color:#0057d9;background:#f7faff;}
.desktop-rental-page .faq-section{padding-top:48px !important;padding-bottom:48px !important;}
.desktop-rental-page .faq-list{gap:11px !important;}

/* CTA and footer */
.desktop-rental-page .cta-section{
    padding-top:58px !important;padding-bottom:58px !important;margin-top:0 !important;
}
.desktop-rental-page .cta-box h2{margin-bottom:12px !important;}
.desktop-rental-page .cta-box p{margin-bottom:26px !important;}
.desktop-rental-page .footer{margin-top:0 !important;}
.desktop-rental-page .footer-logo{
    width:220px;height:auto;max-height:88px;padding:10px 14px;background:#fff;
    border-radius:12px;filter:none !important;object-fit:contain;
}

/* Responsive */
@media(max-width:900px){
    .desktop-rental-page .top-header .top-header-wrapper{
        width:min(100% - 40px,1180px) !important;
        grid-template-columns:1fr 1fr;row-gap:8px !important;
    }
    .desktop-rental-page .top-phone{justify-self:start;}
    .desktop-rental-page .top-email{justify-self:end;}
    .desktop-rental-page .top-hours{grid-column:1 / -1;justify-self:center;}
    .desktop-rental-page main > section:not(.hero):not(.cta-section){
        padding-top:44px !important;padding-bottom:44px !important;
    }
    .desktop-rental-page .hero{
        padding-top:58px !important;padding-bottom:54px !important;
        background:
            linear-gradient(90deg,rgba(0,69,178,.94),rgba(7,31,69,.62)),
            url("../images/hero/desktop-rental-hero.webp") center/cover no-repeat !important;
    }
    .desktop-rental-page .intro-grid,
    .desktop-rental-page .why-grid{gap:34px !important;}
    .desktop-rental-page .intro-image img{min-height:360px !important;}
}
@media(max-width:700px){
    .desktop-rental-page .top-header{display:none;}
    .desktop-rental-page main > section:not(.hero):not(.cta-section){
        padding-top:36px !important;padding-bottom:36px !important;
    }
    .desktop-rental-page .hero{
        padding-top:50px !important;padding-bottom:46px !important;
        background:
            linear-gradient(rgba(0,69,178,.90),rgba(7,31,69,.82)),
            url("../images/hero/desktop-rental-hero.webp") 62% center/cover no-repeat !important;
    }
    .desktop-rental-page .section-heading{margin-bottom:20px !important;}
    .desktop-rental-page .config-grid,
    .desktop-rental-page .use-grid,
    .desktop-rental-page .benefit-panel,
    .desktop-rental-page .process-grid{gap:14px !important;}
    .desktop-rental-page .config-card,
    .desktop-rental-page .use-card,
    .desktop-rental-page .benefit-card,
    .desktop-rental-page .process-card{padding:20px !important;}
    .desktop-rental-page .intro-image img{min-height:300px !important;}
    .desktop-rental-page .faq-section{padding-top:34px !important;padding-bottom:34px !important;}
    .desktop-rental-page .cta-section{padding-top:44px !important;padding-bottom:44px !important;}
}
