/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/

.hero-runtime{
    position:relative;
    min-height:100vh;
    overflow:hidden;
    display:flex;
    align-items:center;
    color:#fff;
    background:#000;
}

.hero-carousel{
    position:absolute;
    inset:0;
    z-index:1;
    height:100%;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item{
    height:100%;
}

.hero-slide-image{
    width:100%;
    height:100vh;
    object-fit:cover;
}

.hero-overlay{
    position:absolute;
    inset:0;
    z-index:2;
    background:linear-gradient(to right,rgba(0,0,0,.75) 0%,rgba(0,0,0,.35) 50%,rgba(0,0,0,.55) 100%);
}

.hero-content-wrap{
    position:relative;
    z-index:3;
}

.hero-content{
    max-width:700px;
}

.hero-content h1{
    font-size:clamp(3rem,8vw,6.5rem);
    line-height:.95;
    margin-bottom:30px;
    color:#fff;
    font-weight:800;
    letter-spacing:-.04em;
}

.hero-content p{
    font-size:1.2rem;
    line-height:1.8;
    color:#fff;
}

.hero-content a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 24px;
    border-radius:999px;
    background:#fff;
    color:#111;
    text-decoration:none;
    font-weight:700;
    margin-right:10px;
    margin-top:15px;
}

.hero-scroll-down{
    position:absolute;
    bottom:50px;
    left:50%;
    transform:translateX(-50%);
    z-index:20;
}

.hero-scroll-down button{
    width:56px;
    height:56px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);
    color:#fff;
    font-size:28px;
    cursor:pointer;
    transition:.2s;
}

.hero-scroll-down button:hover{
    transform:translateY(4px);
}

/*
|--------------------------------------------------------------------------
| SERVICES
|--------------------------------------------------------------------------
*/

.runtime-section-services{
    background:#f5f5f5;
}

.services-runtime{
    padding:120px 0;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
    gap:60px 50px;
}

.service-card{
    position:relative;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
    transition:transform .3s ease,box-shadow .3s ease;
    border-radius:28px;
    background:#fff;
    height:100%;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 35px 80px rgba(0,0,0,.12);
}

.service-card-image{
    position:relative;
    aspect-ratio:16/10;
    overflow:hidden;
    border-radius:28px 28px 0 0;
}

.service-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .6s ease;
}

.service-card:hover .service-card-image img{
    transform:scale(1.03);
}

.service-card-inner{
    padding:30px 35px 35px;
}

.service-card h3{
    font-size:2.2rem;
    line-height:.95;
    margin-bottom:22px;
    color:#111;
    font-weight:800;
    letter-spacing:-.04em;
}

.service-card p{
    margin:0;
    color:#555;
    line-height:1.9;
    font-size:1.05rem;
}

/*
|--------------------------------------------------------------------------
| CTA
|--------------------------------------------------------------------------
*/

.cta-runtime{
    height:100%;
}

.cta-runtime-inner{
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:center;
    height:100%;
    padding:70px;
    border-radius:40px;
    background:linear-gradient(135deg,#111 0%,#1b1b1b 100%);
    overflow:hidden;
}

.cta-runtime-inner h2{
    font-size:clamp(2.5rem,5vw,4.5rem);
    line-height:.95;
    font-weight:800;
    letter-spacing:-.05em;
    margin-bottom:30px;
    color:#fff;
}

.cta-runtime-inner p{
    font-size:1.15rem;
    line-height:1.9;
    color:rgba(255,255,255,.78);
    margin-bottom:40px;
}

.cta-runtime-inner .btn,
.cta-runtime-inner a.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto;
    padding:18px 34px;
    border:none;
    border-radius:999px;
    background:#fff;
    color:#111;
    font-weight:700;
    text-decoration:none;
    transition:transform .25s ease,background .25s ease;
}

.cta-runtime-inner .btn:hover,
.cta-runtime-inner a.btn:hover{
    transform:translateY(-3px);
    background:#f2f2f2;
}

/*
|--------------------------------------------------------------------------
| FAQ
|--------------------------------------------------------------------------
*/

.faq-runtime{
    padding:70px 0;
}

.faq-runtime-inner{
    max-width:850px;
    margin:0 auto;
}

.faq-item{
    border-bottom:1px solid rgba(0,0,0,.08);
}

.faq-item:first-child{
    border-top:1px solid rgba(0,0,0,.08);
}

.faq-question{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    background:none;
    border:none;
    padding:22px 0;
    cursor:pointer;
    text-align:left;
    font-size:clamp(1rem,1.5vw,1.45rem);
    line-height:1.1;
    font-weight:800;
    letter-spacing:-.03em;
    color:#111;
}

.faq-question::after{
    content:"+";
    flex-shrink:0;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#111;
    color:#fff;
    font-size:1.2rem;
    font-weight:300;
    line-height:1;
}

.faq-item.active .faq-question::after{
    content:"−";
}

.faq-answer{
    display:grid;
    grid-template-rows:0fr;
    transition:grid-template-rows .3s ease;
}

.faq-answer > div{
    overflow:hidden;
}

.faq-item.active .faq-answer{
    grid-template-rows:1fr;
}

.faq-answer p{
    padding:0 0 20px;
    margin:0;
    color:#555;
    line-height:1.75;
    font-size:.95rem;
}

/*
|--------------------------------------------------------------------------
| GALLERY
|--------------------------------------------------------------------------
*/

.gallery-runtime{
    padding:80px 0;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:16px;
}

.gallery-item{
    overflow:hidden;
    border-radius:14px;
    background:#fff;
}

.gallery-item a{
    display:block;
}

.gallery-item img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    display:block;
    transition:transform .3s ease;
}

.gallery-item:hover img{
    transform:scale(1.05);
}

.gallery-hidden{
    display:none;
}

.gallery-actions{
    margin-top:30px;
    text-align:center;
}

.gallery-load-more{
    border:0;
    padding:14px 24px;
    border-radius:999px;
    background:#111;
    color:#fff;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

.gallery-load-more:hover{
    transform:translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| LIGHTBOX
|--------------------------------------------------------------------------
*/

.gallery-lightbox{
    position:fixed;
    inset:0;
    z-index:9999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:40px;
    background:rgba(0,0,0,.96);
}

.gallery-lightbox.active{
    display:flex;
}

.gallery-lightbox-image{
    max-width:90vw;
    max-height:90vh;
    object-fit:contain;
    border-radius:12px;
}

.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next{
    position:absolute;
    display:flex;
    align-items:center;
    justify-content:center;
    width:64px;
    height:64px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(12px);
    color:#fff;
    cursor:pointer;
    transition:.2s;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover{
    background:rgba(255,255,255,.25);
}

.gallery-lightbox-close{
    top:25px;
    right:25px;
    font-size:34px;
    line-height:1;
}

.gallery-lightbox-prev{
    left:30px;
    top:50%;
    transform:translateY(-50%);
    font-size:46px;
    line-height:1;
}

.gallery-lightbox-next{
    right:30px;
    top:50%;
    transform:translateY(-50%);
    font-size:46px;
    line-height:1;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media(max-width:1200px){
    .gallery-grid{
        grid-template-columns:repeat(4,1fr);
    }
}

@media(max-width:992px){
    .gallery-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:768px){
    .hero-runtime{
        min-height:700px;
    }

    .hero-slide-image{
        height:700px;
    }

    .hero-content h1{
        font-size:3rem;
    }

    .services-runtime{
        padding:70px 0;
    }

    .services-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .service-card-inner{
        padding:25px;
    }

    .service-card h3{
        font-size:1.8rem;
    }

    .cta-box{
        padding:60px 35px;
    }

    .cta-box h2{
        font-size:3rem;
    }

    .cta-runtime-inner{
        padding:45px 35px;
        border-radius:30px;
    }

    .cta-runtime-inner h2{
        font-size:2.8rem;
    }

    .faq-runtime{
        padding:50px 0;
    }

    .faq-question{
        padding:18px 0;
        font-size:1rem;
    }

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery-lightbox{
        padding:20px;
    }

    .gallery-lightbox-close,
    .gallery-lightbox-prev,
    .gallery-lightbox-next{
        width:52px;
        height:52px;
    }

    .gallery-lightbox-close{
        top:15px;
        right:15px;
        font-size:28px;
    }

    .gallery-lightbox-prev{
        left:10px;
        font-size:36px;
    }

    .gallery-lightbox-next{
        right:10px;
        font-size:36px;
    }
}


/*
|--------------------------------------------------------------------------
| REVIEWS
|--------------------------------------------------------------------------
*/

.reviews-runtime {
    padding: 70px 0;
}

.reviews-runtime-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.reviews-runtime-header {
    margin-bottom: 24px;
}

.reviews-runtime-header h2 {
    margin: 0 0 8px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
}

.reviews-runtime-header p {
    margin: 0;
    color: #666;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.reviews-summary-stars {
    color: #ffb400;
    font-size: 16px;
    letter-spacing: 2px;
}

.reviews-summary-score {
    font-size: 18px;
    font-weight: 700;
}

.reviews-summary-meta {
    font-size: 14px;
    color: #777;
}

.reviews-runtime-grid {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.review-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    padding: 18px;
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.review-stars {
    flex-shrink: 0;
    color: #ffb400;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
}

.review-person strong {
    display: block;
    font-size: 15px;
    line-height: 1.2;
}

.review-person span {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #777;
    line-height: 1.2;
}

.review-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
}

.review-content {
    color: #444;
    line-height: 1.6;
}

.review-hidden {
    display: none;
}

.reviews-more {
    margin-top: 16px;
}

.review-open-button,
.review-form button[type="submit"],
.reviews-more-button {
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    background: #111;
    color: #fff;
    cursor: pointer;
    transition: .2s ease;
}

.review-open-button:hover,
.review-form button[type="submit"]:hover,
.reviews-more-button:hover {
    transform: translateY(-2px);
}

.review-open-button,
.review-form button[type="submit"] {
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    background: #111;
    color: #fff;
    cursor: pointer;
}

.review-open-button {
    margin-top: 24px;
}

.reviews-empty {
    padding: 24px;
    border: 1px dashed #ddd;
    border-radius: 14px;
    color: #777;
}

/*
|--------------------------------------------------------------------------
| MODAL
|--------------------------------------------------------------------------
*/

.review-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.55);
    padding: 20px;
}

.review-modal.is-active {
    display: flex;
}

.review-modal-inner {
    position: relative;
    width: min(600px, 100%);
    background: #fff;
    border-radius: 20px;
    padding: 30px;
}

.review-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-form input,
.review-form textarea,
.review-form select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 13px 14px;
    font: inherit;
}

.review-form textarea {
    min-height: 140px;
    resize: vertical;
}

.review-form-message {
    min-height: 22px;
    font-size: 14px;
}

/*
|--------------------------------------------------------------------------
| STARS
|--------------------------------------------------------------------------
*/

.review-rating {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 10px 0 20px;
}

.rating-star {
    appearance: none;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 54px;
    line-height: 1;
    color: #d9d9d9;
    cursor: pointer;
}

.rating-star.active,
.rating-star:hover {
    color: #ffb400;
}

@media (max-width: 768px) {

    .reviews-runtime {
        padding: 50px 0;
    }

    .review-header {
        gap: 10px;
    }

    .review-card {
        padding: 16px;
    }

}

/*
|--------------------------------------------------------------------------
| Contact
|--------------------------------------------------------------------------
*/


.contact-form-runtime {
    padding: 70px 0;
}

.contact-form-runtime-inner {
    width: min(900px, calc(100% - 32px));
    margin: 0 auto;
}

.contact-form-success {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #e9f8ef;
    color: #146c2e;
}

.contact-form-errors {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #fdecec;
    color: #a11;
}

.contact-form-error {
    margin-top: 6px;
    font-size: 13px;
    color: #a11;
}

.contact-form-submit {
    border: 0;
    border-radius: 999px;
    padding: 13px 26px;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.contact-form-submit:hover {
    background: #000;
}