/* ==========================================================================
   Golden Drive — Home page
   Markup: resources/views/website/index.blade.php
   Uses the search bar (smart-search.css) and car cards (search-results.css).
   ========================================================================== */

.gd-home {
    --gd-gold: #be944e;
    --gd-gold-dark: #a37b39;
    --gd-gold-light: #d9b878;
    --gd-gold-soft: #f7f0e4;
    --gd-gold-softer: #fbf7f0;
    --gd-ink: #201f1d;
    --gd-ink-2: #4a4740;
    --gd-muted: #8a857b;
    --gd-line: #ece6db;
    --gd-night: #14130f;
}

/* ---------- Section scaffolding ---------- */

.gd-sec {
    padding: 72px 0;
}

.gd-sec--tint {
    background: #f8f6f1;
}

.gd-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.gd-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gd-gold-dark);
}

.gd-head h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--gd-ink);
}

.gd-head p {
    max-width: 560px;
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--gd-muted);
}

.gd-link-arrow {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--gd-line);
    border-radius: 12px;
    background: #fff;
    color: var(--gd-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.gd-link-arrow:hover {
    border-color: var(--gd-gold);
    color: var(--gd-gold-dark);
    box-shadow: 0 10px 20px -14px rgba(61, 41, 7, 0.5);
}

[dir="rtl"] .gd-link-arrow i,
[dir="rtl"] .gd-btn i.feather-arrow-right {
    transform: scaleX(-1);
}

/* ---------- Buttons ---------- */

.gd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 15.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gd-btn:hover {
    transform: translateY(-1px);
}

.gd-btn--gold {
    background: linear-gradient(135deg, #cfa862 0%, var(--gd-gold) 45%, var(--gd-gold-dark) 100%);
    color: #fff;
    box-shadow: 0 14px 28px -14px rgba(163, 123, 57, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.gd-btn--gold:hover {
    color: #fff;
    filter: brightness(1.05);
}

.gd-btn--glass {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.gd-btn--glass:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.gd-btn--whatsapp i {
    font-size: 18px;
    color: #25d366;
}

/* ---------- Hero ---------- */

.gd-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 104px;
    background:
        radial-gradient(900px 480px at 85% 30%, rgba(190, 148, 78, 0.28), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(190, 148, 78, 0.12), transparent 60%),
        linear-gradient(160deg, #1d1b17 0%, var(--gd-night) 55%, #0f0e0b 100%);
    color: #fff;
}

/* fine dotted texture */
.gd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to bottom, #000 40%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
    pointer-events: none;
}

.gd-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
}

.gd-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 14px 7px 8px;
    border: 1px solid rgba(217, 184, 120, 0.35);
    border-radius: 999px;
    background: rgba(190, 148, 78, 0.12);
    color: #f1dfbb;
    font-size: 13.5px;
    font-weight: 600;
}

[dir="rtl"] .gd-hero__pill {
    padding: 7px 8px 7px 14px;
}

.gd-hero__pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gd-gold);
    color: #fff;
    font-size: 12px;
}

.gd-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
}

.gd-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #e9c98a, var(--gd-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gd-hero__lead {
    max-width: 520px;
    margin: 0 0 22px;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.gd-hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.gd-hero__points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.gd-hero__points i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(46, 168, 102, 0.18);
    color: #5fd497;
    font-size: 12px;
}

.gd-hero__proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.gd-proof {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.gd-proof:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.gd-proof__g {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: #4285f4;
    font-size: 15px;
}

.gd-proof b {
    font-size: 16px;
    font-weight: 800;
}

.gd-proof .gd-stars {
    color: #fbbc04;
    font-size: 11px;
    letter-spacing: 1px;
}

.gd-proof small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Car visual */
.gd-hero__media {
    position: relative;
    min-height: 360px;
}

.gd-hero__media::before {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 12%;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, 0.65), transparent);
    filter: blur(6px);
}

.gd-hero__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 92%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(217, 184, 120, 0.25);
    background: radial-gradient(closest-side, rgba(190, 148, 78, 0.25), transparent 72%);
    transform: translate(-50%, -50%);
}

.gd-hero__media .banner-car-slider {
    position: relative;
    z-index: 1;
}

.gd-hero__media .banner-img-item img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.45));
}

.gd-hero__media .owl-dots {
    display: none;
}

.gd-hero__tag {
    position: absolute;
    z-index: 2;
    top: 8%;
    inset-inline-end: 4%;
    padding: 12px 16px;
    border-radius: 16px;
    background: #fff;
    color: var(--gd-ink);
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.7);
    animation: gd-float 5s ease-in-out infinite;
}

.gd-hero__tag small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gd-muted);
}

.gd-hero__tag b {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.gd-hero__tag span {
    font-size: 13px;
    color: var(--gd-muted);
}

@keyframes gd-float {
    50% { transform: translateY(-8px); }
}

/* ---------- Search area under the hero ---------- */

.gd-hero-search {
    position: relative;
    z-index: 5;
}

.gd-hero-search .gd-search--hero {
    margin-top: -64px;
}

.gd-picks {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.gd-picks::-webkit-scrollbar {
    display: none;
}

.gd-picks__label {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--gd-muted);
}

.gd-pick {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px 0 6px;
    border: 1px solid var(--gd-line);
    border-radius: 999px;
    background: #fff;
    color: var(--gd-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

[dir="rtl"] .gd-pick {
    padding: 0 6px 0 14px;
}

.gd-pick:hover {
    border-color: var(--gd-gold);
    color: var(--gd-ink);
    box-shadow: 0 10px 20px -14px rgba(61, 41, 7, 0.55);
    transform: translateY(-1px);
}

.gd-pick__img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 32px;
    border-radius: 999px;
    background: var(--gd-gold-soft);
    overflow: hidden;
}

.gd-pick__img img {
    max-width: 42px;
    max-height: 26px;
    object-fit: contain;
}

.gd-pick small {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gd-gold-dark);
}

/* Benefits strip */
.gd-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.gd-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--gd-line);
    border-radius: 16px;
    background: #fff;
}

.gd-benefits__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--gd-gold-soft);
    color: var(--gd-gold-dark);
    font-size: 19px;
}

.gd-benefits b {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--gd-ink);
    line-height: 1.25;
}

.gd-benefits small {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--gd-muted);
    line-height: 1.35;
}

/* ---------- Browse by type ---------- */

.gd-types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    gap: 14px;
}

.gd-type {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px 16px 14px;
    border: 1px solid var(--gd-line);
    border-radius: 18px;
    background: #fff;
    color: var(--gd-ink);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gd-type::after {
    content: '';
    position: absolute;
    inset: auto -30% -60% -30%;
    height: 80%;
    background: radial-gradient(closest-side, rgba(190, 148, 78, 0.18), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gd-type:hover {
    transform: translateY(-3px);
    border-color: rgba(190, 148, 78, 0.6);
    box-shadow: 0 22px 40px -24px rgba(61, 41, 7, 0.55);
    color: var(--gd-ink);
}

.gd-type:hover::after {
    opacity: 1;
}

.gd-type__img {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 84px;
    margin-bottom: 10px;
}

.gd-type__img img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.gd-type:hover .gd-type__img img {
    transform: scale(1.07) translateX(4px);
}

.gd-type__img i {
    font-size: 34px;
    color: var(--gd-gold);
}

.gd-type__name {
    position: relative;
    z-index: 1;
    font-size: 16px;
    font-weight: 800;
}

.gd-type__meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
    font-size: 13px;
    color: var(--gd-muted);
}

.gd-type__meta b {
    color: var(--gd-gold-dark);
    font-weight: 800;
}

.gd-type__go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gd-gold-soft);
    color: var(--gd-gold-dark);
    font-size: 13px;
    transition: background 0.2s ease, color 0.2s ease;
}

.gd-type:hover .gd-type__go {
    background: var(--gd-ink);
    color: #fff;
}

[dir="rtl"] .gd-type__go i {
    transform: scaleX(-1);
}

/* ---------- Brand tabs ---------- */

.gd-tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.gd-tabs::-webkit-scrollbar {
    display: none;
}

.gd-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 16px 0 8px;
    border: 1px solid var(--gd-line);
    border-radius: 999px;
    background: #fff;
    color: var(--gd-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.18s ease;
}

[dir="rtl"] .gd-tabs a {
    padding: 0 8px 0 16px;
}

.gd-tabs a:hover {
    border-color: var(--gd-gold);
}

.gd-tabs a.active {
    border-color: var(--gd-ink);
    background: var(--gd-ink);
    color: #fff;
}

.gd-tabs__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gd-gold-softer);
    overflow: hidden;
}

.gd-tabs a.active .gd-tabs__logo {
    background: #fff;
}

.gd-tabs__logo img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.gd-tabs__count {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.6;
}

.gd-tab-foot {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

/* ---------- How it works ---------- */

.gd-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    counter-reset: step;
}

.gd-step {
    position: relative;
    padding: 26px 24px 24px;
    border: 1px solid var(--gd-line);
    border-radius: 20px;
    background: #fff;
}

.gd-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--gd-ink);
    color: #fff;
    font-size: 20px;
}

.gd-step:nth-child(2) .gd-step__num {
    background: var(--gd-gold);
}

.gd-step:nth-child(3) .gd-step__num {
    background: #2ea866;
}

.gd-step h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--gd-ink);
}

.gd-step p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--gd-muted);
}

.gd-step__idx {
    position: absolute;
    top: 18px;
    inset-inline-end: 22px;
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    color: var(--gd-gold-soft);
}

.gd-steps__cta {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* ---------- Deals row ---------- */

.gd-scroller {
    display: flex;
    gap: 18px;
    margin: 0 -12px;
    padding: 4px 12px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.gd-scroller > .gd-car-col {
    flex: 0 0 340px;
    max-width: 340px;
    scroll-snap-align: start;
}

/* ---------- Why us ---------- */

.gd-why {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gd-why__item {
    padding: 28px 24px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--gd-line);
}

.gd-why__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #cfa862, var(--gd-gold-dark));
    color: #fff;
    font-size: 23px;
    box-shadow: 0 14px 24px -14px rgba(163, 123, 57, 0.9);
}

.gd-why__item h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--gd-ink);
}

.gd-why__item p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--gd-muted);
}

/* ---------- Reviews heading badge ---------- */

.gd-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.gd-rating-badge .gd-stars {
    color: #fbbc04;
    letter-spacing: 1px;
}

/* ---------- FAQ ---------- */

.gd-faq {
    max-width: 860px;
    margin: 0 auto;
}

.gd-faq details {
    margin-bottom: 10px;
    border: 1px solid var(--gd-line);
    border-radius: 16px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gd-faq details[open] {
    border-color: rgba(190, 148, 78, 0.5);
    box-shadow: 0 16px 30px -24px rgba(61, 41, 7, 0.6);
}

.gd-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 700;
    color: var(--gd-ink);
    cursor: pointer;
    list-style: none;
}

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

.gd-faq summary::after {
    content: '+';
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gd-gold-soft);
    color: var(--gd-gold-dark);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gd-faq details[open] summary::after {
    content: '–';
    background: var(--gd-ink);
    color: #fff;
}

.gd-faq summary:focus-visible {
    outline: 2px solid var(--gd-gold);
    outline-offset: -2px;
    border-radius: 16px;
}

.gd-faq__a {
    padding: 0 20px 20px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--gd-ink-2);
}

/* ---------- Final CTA band ---------- */

.gd-cta {
    position: relative;
    overflow: hidden;
    padding: 48px;
    border-radius: 28px;
    background:
        radial-gradient(500px 300px at 100% 0%, rgba(190, 148, 78, 0.35), transparent 60%),
        linear-gradient(140deg, #23201b, var(--gd-night));
    color: #fff;
}

.gd-cta__grid {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.gd-cta h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: #fff;
}

.gd-cta p {
    max-width: 520px;
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.gd-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- Mobile sticky booking bar ---------- */

.gd-sticky-cta {
    position: fixed;
    z-index: 1030;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 16px;
    border-radius: 18px;
    background: rgba(20, 19, 15, 0.94);
    color: #fff;
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(140%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

[dir="rtl"] .gd-sticky-cta {
    padding: 10px 16px 10px 10px;
}

.gd-sticky-cta.is-visible {
    transform: none;
}

.gd-sticky-cta small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.gd-sticky-cta b {
    font-size: 16px;
    font-weight: 800;
}

.gd-sticky-cta .gd-btn {
    height: 46px;
    padding: 0 18px;
    font-size: 14.5px;
}

/* Lift the floating WhatsApp / back-to-top buttons above the bar while it shows */
body.gd-has-sticky-cta .whatsapp-float,
body.gd-has-sticky-cta .back-to-top-icon,
body.gd-has-sticky-cta .progress-wrap {
    transition: bottom 0.3s ease, transform 0.3s ease;
    transform: translateY(-78px);
}

@media (prefers-reduced-motion: reduce) {
    .gd-hero__tag,
    .gd-home * {
        animation: none !important;
        transition: none !important;
    }
}

/* ---------- Tablet ---------- */

@media (max-width: 1199.98px) {
    .gd-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .gd-sec {
        padding: 48px 0;
    }

    .gd-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .gd-head--center {
        align-items: center;
    }

    .gd-head p {
        font-size: 15px;
    }

    .gd-hero {
        padding: 28px 0 80px;
    }

    .gd-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .gd-hero h1 {
        font-size: clamp(32px, 8vw, 44px);
    }

    .gd-hero__lead {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .gd-hero__points {
        gap: 8px 14px;
        margin-bottom: 18px;
    }

    .gd-hero__points li {
        font-size: 13.5px;
    }

    .gd-hero__media {
        min-height: 0;
        margin: 0 auto;
        width: min(460px, 100%);
    }

    .gd-hero__media .banner-img-item img {
        max-height: 220px;
    }

    .gd-hero__tag {
        top: 2%;
        padding: 8px 12px;
    }

    .gd-hero__tag b {
        font-size: 18px;
    }

    .gd-hero-search .gd-search--hero {
        margin-top: -56px;
    }

    .gd-steps,
    .gd-why {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .gd-step,
    .gd-why__item {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 16px;
        align-items: start;
        padding: 18px;
    }

    .gd-step__num,
    .gd-why__icon {
        grid-row: span 2;
        width: 44px;
        height: 44px;
        margin: 0;
        font-size: 18px;
    }

    .gd-step h3,
    .gd-why__item h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .gd-step p,
    .gd-why__item p {
        font-size: 14px;
    }

    .gd-step__idx {
        display: none;
    }

    .gd-scroller > .gd-car-col {
        flex-basis: 260px;
        max-width: 260px;
    }

    .gd-cta {
        padding: 32px 22px;
        border-radius: 22px;
    }

    .gd-cta__grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .gd-cta__actions,
    .gd-cta__actions .gd-btn {
        width: 100%;
    }

    .gd-sticky-cta {
        display: flex;
    }
}

@media (max-width: 575.98px) {
    .gd-benefits {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin-top: 20px;
    }

    .gd-benefits li {
        padding: 12px 14px;
    }

    .gd-types {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gd-type {
        padding: 12px;
        border-radius: 16px;
    }

    .gd-type__img {
        height: 62px;
    }

    .gd-type__img img {
        max-height: 58px;
    }

    .gd-type__name {
        font-size: 15px;
    }

    .gd-type__meta {
        font-size: 12px;
    }

    .gd-type__go {
        display: none;
    }

    .gd-faq summary {
        padding: 16px;
        font-size: 15px;
    }

    .gd-faq__a {
        padding: 0 16px 16px;
        font-size: 14.5px;
    }
}

/* ---------- Phones: compact hero so the search form shows without scrolling ---------- */

@media (max-width: 575.98px) {
    .gd-hero {
        padding: 14px 0 52px;
    }

    .gd-hero__grid {
        gap: 0;
    }

    .gd-hero__pill {
        margin-bottom: 10px;
        padding: 4px 10px 4px 4px;
        font-size: 11.5px;
    }

    [dir="rtl"] .gd-hero__pill {
        padding: 4px 4px 4px 10px;
    }

    .gd-hero__pill span {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .gd-hero h1 {
        margin-bottom: 6px;
        font-size: 26px;
        line-height: 1.12;
    }

    .gd-hero__lead {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        margin-bottom: 10px;
        font-size: 13.5px;
        line-height: 1.45;
    }

    .gd-hero__points {
        gap: 4px 12px;
        margin-bottom: 0;
    }

    .gd-hero__points li {
        gap: 6px;
        font-size: 12px;
    }

    .gd-hero__points i {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }

    /* the Google rating still appears in the reviews section */
    .gd-hero__proof {
        display: none;
    }

    .gd-hero__media {
        width: min(300px, 82%);
        margin-top: 4px;
    }

    .gd-hero__media::before {
        bottom: 6%;
        height: 22px;
    }

    .gd-hero__media .banner-img-item img {
        max-height: 128px;
    }

    .gd-hero__ring {
        width: 70%;
    }

    .gd-hero__tag {
        top: 0;
        inset-inline-end: -8%;
        padding: 5px 9px;
        border-radius: 12px;
    }

    .gd-hero__tag small {
        font-size: 10.5px;
    }

    .gd-hero__tag b {
        font-size: 14px;
    }

    .gd-hero__tag span {
        font-size: 11px;
    }

    .gd-hero-search .gd-search--hero {
        margin-top: -40px;
    }
}

/* Short phones (e.g. iPhone SE): drop the lead line and shrink the car so "Search cars" stays on screen */
@media (max-width: 575.98px) and (max-height: 720px) {
    .gd-hero__lead {
        display: none;
    }

    .gd-hero h1 {
        margin-bottom: 8px;
        font-size: 24px;
    }

    .gd-hero__media .banner-img-item img {
        max-height: 92px;
    }

    .gd-hero__tag {
        top: -4px;
    }
}
