/* CMS pages with their own layout - templates/front/pages/<url>.html.twig (e.g. /gps-voiture-marrakech). Built on the home page design (home.css, .hp-*). */

/* Hero: same band as the Solutions page, without slider nor store badges */
.cty-hero .hp-hero__title { font-size: clamp(28px, 3vw, 44px); }
.cty-hero__red { display: block; color: var(--hp-red); }
.cty-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 14px; color: var(--hp-muted); font-size: 14px; }
.cty-breadcrumb a { color: var(--hp-navy); font-weight: 600; }
.cty-breadcrumb a:hover { color: var(--hp-red); }

/* Why install a GPS: text + Lexus Track visual */
.cty-intro__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px; }
.cty-intro .hp-text { max-width: 580px; margin-bottom: 16px !important; }
.cty-intro .hp-text:last-child { margin-bottom: 0 !important; }
.cty-intro__visual img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; }

/* Features: 6 cards */
.cty-features__head { max-width: 720px; margin-bottom: 28px; }
.cty-features__head .hp-text { max-width: none; margin-bottom: 0 !important; }
.cty-features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cty-feature { padding: 26px 24px; border: 1px solid var(--hp-line); border-radius: 12px; background: #fff; transition: transform .2s, box-shadow .2s; }
.cty-feature:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(15, 33, 56, .1); }
.cty-feature__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--hp-red); color: #fff; font-size: 21px; box-shadow: 0 8px 18px rgba(227, 53, 59, .25); }
.cty-feature__title { margin: 0 0 6px; color: var(--hp-navy); font-family: inherit; font-size: 18px; font-weight: 800; line-height: 1.25; }
.cty-feature__text { color: var(--hp-text); font-size: 15px; line-height: 1.5; }

/* Who it is for: the home page market cards (.hp-market), three per row */
.cty-audience__head { max-width: 720px; margin-bottom: 26px; }
.cty-audience__head .hp-text { max-width: none; margin-bottom: 0 !important; }
.cty-audience__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Contact block */
.cty-cta { background: var(--hp-light); text-align: center; }
.cty-cta .hp-text { max-width: 560px; margin-right: auto; margin-left: auto; }
.cty-cta .hp-buttons { justify-content: center; }
.cty-cta .hp-btn--outline .fa-whatsapp { font-size: 19px; }
.cty-cta__phone { margin-top: 18px !important; font-size: 16px; font-weight: 600; }
.cty-cta__phone a { color: var(--hp-navy); }
.cty-cta__phone i { margin-right: 6px; color: var(--hp-red); }

@media (min-width: 992px) {
    .cty-hero .hp-container { min-height: clamp(420px, 30vw, 540px); }
}

@media (max-width: 991px) {
    .cty-intro__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .cty-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cty-audience__grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
}

@media (max-width: 767px) {
    .cty-hero .hp-container { padding-top: 24px; }
    .cty-hero .hp-btn, .cty-cta .hp-btn { width: 100%; }
    .cty-features__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
