/* Home page sections: where we operate (cities grid), newsletter, footer. */

/* =========================================================
   WHERE WE OPERATE — popular cities grid
   ========================================================= */
.home-cities {
    position: relative;
    z-index: 2;
    padding: 48px 0 52px;
    background-color: #0c0e14;
    background-image: radial-gradient(680px 460px at 12% 18%, rgba(117, 17, 61, .14), transparent 55%), radial-gradient(620px 420px at 88% 82%, rgba(117, 17, 61, .1), transparent 55%);
}

.home-cities__head {
    max-width: 640px;
    margin-bottom: 28px;
}

.home-cities__title {
    margin: 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.home-cities__intro {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .6);
    font-size: 16px;
    line-height: 1.6;
}

.home-cities__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-city {
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    font-weight: 600;
    transition: border-color .2s ease, background .2s ease;
}

.home-city:hover {
    border-color: rgba(117, 17, 61, .6);
    background: rgba(117, 17, 61, .12);
}

.home-city__link {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 34px;
    padding: 7px 10px;
    color: #fff;
    text-decoration: none;
    font-size: 12.5px;
    line-height: 1.25;
}

.home-city__link:hover,
.home-city__link:focus-visible {
    color: #fff;
}

.home-city__link .ti {
    flex: 0 0 auto;
    font-size: 15px;
    color: #e05292;
}

.home-city__arrow {
    margin-left: auto;
    font-size: 14px !important;
    color: rgba(255, 255, 255, .55) !important;
    opacity: 0;
    transition: opacity .2s ease, color .2s ease;
}

.home-city:hover .home-city__arrow {
    opacity: 1;
    color: #ef6aa8 !important;
}

.home-cities__note {
    margin: 18px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .6);
}

/* =========================================================
   BUILT ON TRUST — pattern stats band
   ========================================================= */
.home-pattern {
    position: relative;
    padding: 52px 0;
    background-color: #000;
    background-image:
        radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.6px),
        linear-gradient(135deg, rgba(117, 17, 61, .35), transparent 52%);
    background-size: 26px 26px, cover;
    color: #fff;
    overflow: hidden;
}

.home-pattern::after {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 82, 146, .22), transparent 65%);
    content: "";
    pointer-events: none;
}

.home-pattern__inner {
    position: relative;
    z-index: 1;
}

.home-pattern__head {
    max-width: 640px;
    margin-bottom: 28px;
}

.home-pattern__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #fff;
}

.home-pattern__intro {
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .66);
}

.home-pattern__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.home-pattern__stat {
    padding: 22px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    text-align: center;
}

.home-pattern__number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    font-style: italic;
    letter-spacing: -1px;
    line-height: 1;
    background: linear-gradient(180deg, #e05292 0%, var(--primary) 55%, #8a1447 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.home-pattern__label {
    display: block;
    margin-top: 12px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

/* =========================================================
   FAQS
   ========================================================= */
.home-faqs {
    padding: 48px 0 56px;
    background-color: #fff;
}

.home-faqs__inner {
    max-width: 820px;
    margin-inline: auto;
}

.home-faqs__head {
    max-width: 640px;
    margin-bottom: 28px;
}

.home-faqs__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--dark);
}

.home-faqs__intro {
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
}

.home-faqs__list {
    display: grid;
    gap: 12px;
}

.home-faq {
    border: 1px solid #eef0f4;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color .2s ease;
}

.home-faq[open] {
    border-color: rgba(117, 17, 61, .3);
}

.home-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    list-style: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.home-faq summary::-webkit-details-marker {
    display: none;
}

.home-faq summary .ti {
    flex: 0 0 auto;
    color: var(--primary);
    transition: transform .25s ease;
}

.home-faq[open] summary .ti {
    transform: rotate(180deg);
}

.home-faq p {
    margin: 0;
    padding: 0 18px 14px;
    font-size: 15px;
    line-height: 1.65;
    color: #4b5563;
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.home-newsletter {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
    padding: 55px 0;
    background: url("../images/home/newsletter-bg.jpg") no-repeat bottom right;
}

.home-newsletter__inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 5px 0 0;
    text-align: center;
}

.home-newsletter__eyebrow {
    margin: 0 0 10px;
    color: #d9eb3d;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.home-newsletter__title {
    margin: 0 0 23px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
}

.home-newsletter__form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 640px;
    margin: 0 auto;
}

.home-newsletter__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 60px;
    padding: 0 20px;
    color: #a7a7a7;
    border: 1px solid #e9e7e7;
    border-right: 0;
    border-radius: 0;
    outline: none;
    background: #fff;
    font-family: var(--font-body);
    font-size: 14px;
}

.home-newsletter__button {
    flex: 0 0 auto;
    height: 60px;
    padding: 0 28px;
    color: #fff;
    border: 0;
    border-radius: 0;
    background: #75113d;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.2px;
    cursor: pointer;
}

.home-newsletter__button:hover {
    background: #57102f;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    position: relative;
    z-index: 2;
    color: #fff;
    background-color: #000;
    background-image: url("../images/morocco-private-driver-hero.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, .92);
}

.site-footer__container {
    position: relative;
    z-index: 1;
    max-width: var(--app-width);
    margin: 0 auto;
    padding: 0 24px;
}

.site-footer__top {
    padding: 60px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-footer__top .site-footer__container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 36px;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 16px;
}

.site-footer__logo-mark {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 44px;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1;
    background: linear-gradient(180deg, #e05292 0%, var(--primary) 52%, #57102f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .38));
}

.site-footer__desc {
    margin: 0 0 20px;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
}

.site-footer__social {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__social a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    text-decoration: none;
    transition: opacity .2s ease;
}

.site-footer__social a:hover {
    opacity: .8;
}

.site-footer__social .ti-brand-facebook { background: #3C5B9B; }
.site-footer__social .ti-brand-x        { background: #1DA1F2; }
.site-footer__social .ti-brand-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.site-footer__social .ti-brand-youtube   { background: #FF0000; }

.site-footer__col h5 {
    margin: 0 0 18px;
    padding: 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.2px;
}

.site-footer__col ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__col a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer__col a:hover {
    color: var(--primary);
}

.site-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.site-footer__contact i {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary);
    font-size: 16px;
}

.site-footer__bottom {
    padding: 20px 0;
}

.site-footer__bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer__copy {
    margin: 0;
    color: #fff;
    font-size: 13px;
}

.site-footer__payments {
    display: flex;
    gap: 6px;
    align-items: center;
}

.site-footer__payments img {
    height: 26px;
    width: auto;
    padding: 3px 5px;
}

.site-footer__credit {
    margin: 0;
    color: #c8c8c8;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.site-footer__credit a {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 1px;
    transition: color .2s ease;
}

.site-footer__credit a:hover {
    color: var(--primary);
}

.site-footer__top-link {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 100;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #ef6aa8 0%, #8a1447 55%, #6a0f36 100%);
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 14px rgba(117, 17, 61, .45);
    transition: transform .2s ease, box-shadow .2s ease;
}

.site-footer__top-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(117, 17, 61, .55);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
    .site-footer__top .site-footer__container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }
    .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .site-footer__top { padding: 44px 0 36px; }
    .site-footer__top .site-footer__container {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__desc { max-width: 100%; }
}

@media (max-width: 900px) {
    .home-cities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-pattern__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .home-cities { padding: 36px 0 40px; }
    .home-cities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-pattern { padding: 40px 0; }
    .home-pattern__stats { grid-template-columns: 1fr; }
    .home-faqs { padding: 36px 0 44px; }

    .home-newsletter { padding: 40px 0; }
    .home-newsletter__title { font-size: clamp(22px, 5vw, 28px); }
    .home-newsletter__form { flex-direction: column; max-width: 420px; }
    .home-newsletter__input {
        height: 52px;
        border: 1px solid #e9e7e7;
        border-right: 1px solid #e9e7e7;
        text-align: center;
    }
    .home-newsletter__button { height: 52px; }

    .site-footer__top .site-footer__container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .site-footer__top { padding: 36px 0 28px; }
    .site-footer__bottom-row {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .site-footer__top-link { bottom: 18px; right: 18px; width: 36px; height: 36px; font-size: 18px; }
}
