h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

:root {
    --brand-yellow: #ffd200;
    --brand-black: #101010;
    --brand-gray-50: #f6f7f8;
    --brand-gray-200: #e4e7eb;
    --brand-gray-600: #4f5b67;
    --max-content: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--brand-black);
    background: #fff;
}

.home-page {
    min-height: 100vh;
}

.home-page section[id],
.home-page footer[id] {
    scroll-margin-top: 6rem;
}

.home-container {
    width: min(var(--max-content), calc(100% - 2rem));
    margin-inline: auto;
}

.home-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--brand-gray-200);
}

.header-inner {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    height: 3.8rem;
    width: auto;
}

.brand-title,
.section h2,
.hero-title,
.admin-teaser h2 {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.03em;
    line-height: 1;
}

.brand-subtitle {
    margin: 0;
    font-size: 0.72rem;
    color: var(--brand-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--brand-gray-600);
    font-weight: 600;
    font-size: 0.94rem;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
}

.desktop-nav a:hover {
    color: var(--brand-black);
}

.desktop-nav a.active-nav {
    color: var(--brand-black);
    border-bottom-color: var(--brand-yellow);
}

.header-actions {
    margin-left: auto;
}

.contact-link-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.contact-link-whatsapp-icon {
    color: #25d366;
    flex: 0 0 auto;
}

.mobile-menu-btn {
    display: none;
    border: 1px solid var(--brand-gray-200);
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.55rem 0.8rem;
    font-weight: 700;
}

.mobile-menu {
    display: grid;
    gap: 0.5rem;
    border-top: 1px solid var(--brand-gray-200);
    padding: 0.75rem 1rem 1rem;
}

.mobile-menu a {
    padding: 0.5rem 0;
    color: var(--brand-black);
    text-decoration: none;
    border-radius: 0.45rem;
}

.mobile-menu a.active-nav {
    font-weight: 700;
    background: #fff7cf;
    padding: 0.5rem 0.55rem;
}

.menu-admin {
    margin-top: 0.4rem;
}

.hero-section {
    position: relative;
    padding: 4.5rem 0 3rem;
    overflow: hidden;
    border-bottom: 1px solid #f1f1f1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, #ffe88a 0%, rgba(255, 232, 138, 0.18) 25%, transparent 50%),
        linear-gradient(140deg, #f8fafc 0%, #ffffff 60%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-copy-column {
    display: flex;
    flex-direction: column;
}

.hero-badge {
    display: inline-block;
    border: 1px solid #f0d972;
    background: #fffef7;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    margin-bottom: 1rem;
}

.hero-title span {
    color: #d9aa00;
}

.hero-copy {
    color: var(--brand-gray-600);
    max-width: 52ch;
    margin-top: 0;
    margin-bottom: 1.4rem;
    line-height: 1.7;
}

.hero-cta-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.hero-whatsapp-link {
    margin-top: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #128c7e;
    font-weight: 700;
    text-decoration: none;
}

.hero-whatsapp-link:hover {
    text-decoration: underline;
}

.search-card {
    background: #fff;
    border: 1px solid #f0e2a0;
    border-radius: 1rem;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
    padding: 1.2rem;
}

.search-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.6rem;
}

.search-card form {
    display: grid;
    gap: 0.9rem;
}

.search-card label {
    font-size: 0.84rem;
    display: grid;
    gap: 0.35rem;
    color: var(--brand-gray-600);
    font-weight: 600;
}

.search-card select,
.search-card input {
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    padding: 0.65rem;
    font: inherit;
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.hero-carousel {
    overflow: hidden;
}

.hero-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 300ms ease;
}

.hero-slide {
    width: 100%;
    flex: 0 0 100%;
}

.hero-car-slide {
    box-sizing: border-box;
    border: 1px solid #f0e2a0;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.hero-car-media {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 13rem;
    background: #000;
}

.hero-car-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-car-tag {
    position: absolute;
    top: 0.65rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-yellow);
    color: var(--brand-black);
    font-size: 0.74rem;
    font-weight: 800;
    border-radius: 0.4rem;
    padding: 0.2rem 0.45rem;
}

.hero-car-content {
    padding: 1rem;
}

.hero-car-content h3 {
    margin: 0.2rem 0 0.55rem;
    font-size: 1.3rem;
}

.hero-car-meta {
    margin: 0;
    color: var(--brand-gray-600);
    font-size: 0.84rem;
}

.hero-car-content p {
    margin: 0;
}

.hero-car-desc {
    margin: 0;
}

.hero-car-price {
    margin-top: 0.6rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-black);
}

.hero-car-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.hero-car-row .btn {
    min-width: 11rem;
    min-height: 2.9rem;
    font-size: 1rem;
}

.hero-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.hero-dot {
    width: 0.55rem;
    height: 0.55rem;
    border: none;
    border-radius: 999px;
    background: #c5ccd3;
    padding: 0;
    cursor: pointer;
}

.hero-dot.active {
    width: 1.5rem;
    background: var(--brand-yellow);
}

.section {
    padding: 4rem 0;
}

.section-alt,
.trust-section {
    background: var(--brand-gray-50);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 0.6rem;
}

.section p {
    color: var(--brand-gray-600);
    line-height: 1.65;
}

.trust-section {
    border-top: 1px solid #efe29a;
    border-bottom: 1px solid #efe29a;
    padding: 1.6rem 0;
}

.trust-title {
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    margin: 0 0 1rem;
}

.trust-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 4vw, 2.5rem);
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.8rem;
}

.trust-copy {
    margin: 1rem auto 0;
    max-width: 66ch;
    text-align: center;
    color: var(--brand-gray-600);
}

.inventory-overview-section {
    border-top: 1px solid #efe29a;
    border-bottom: 1px solid #efe29a;
}

.inventory-overview-points {
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.inventory-overview-points li {
    position: relative;
    padding: 0.85rem 0.9rem 0.85rem 1.75rem;
    font-weight: 600;
    color: #334155;
    border: 1px solid #dde4ed;
    border-radius: 0.75rem;
    background: #fff;
}

.inventory-overview-points li::before {
    content: "";
    position: absolute;
    left: 0.9rem;
    top: 1.2rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--brand-yellow);
}

.inventory-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inventory-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.carousel-btn {
    border: 1px solid #d2d8df;
    background: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.carousel-btn:hover {
    border-color: #aab5c1;
}

.inventory-dots {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
}

.inventory-dot {
    width: 0.5rem;
    height: 0.5rem;
    border: none;
    border-radius: 999px;
    background: #c5ccd3;
    cursor: pointer;
    padding: 0;
}

.inventory-dot.active {
    width: 1.3rem;
    background: var(--brand-yellow);
}

.filter {
    appearance: none;
    border: 1px solid #d2d8df;
    background: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-weight: 600;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.filter.active {
    background: var(--brand-yellow);
    border-color: transparent;
}

.inventory-carousel {
    --inventory-visible-cards: 4;
    overflow: hidden;
}

.inventory-carousel-track {
    display: flex;
    transform: translateX(calc(-1 * var(--inventory-index) * (100% / var(--inventory-visible-cards))));
    transition: transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.inventory-carousel-track.no-transition {
    transition: none;
}

.inventory-slide {
    flex: 0 0 calc(100% / var(--inventory-visible-cards));
    min-width: 0;
    box-sizing: border-box;
    padding-right: 1rem;
}

.vehicle-card {
    border: 1px solid #dde2e7;
    border-radius: 0.9rem;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: inset 0 -1px 0 #dde2e7;
}

.vehicle-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 12rem;
}

.vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-tag {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    font-size: 0.74rem;
    font-weight: 700;
    background: var(--brand-yellow);
    border-radius: 0.35rem;
    padding: 0.2rem 0.5rem;
}

.vehicle-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vehicle-content h3 {
    margin: 0.2rem 0 0.5rem;
    font-size: 1.1rem;
}

.vehicle-meta {
    margin: 0;
    font-size: 0.82rem;
}

.vehicle-details {
    display: flex;
    justify-content: space-between;
    margin: 0.8rem 0;
    font-size: 0.84rem;
    color: var(--brand-gray-600);
}

.vehicle-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eaedf1;
    padding-top: 0.8rem;
    min-height: 2.35rem;
}

.vehicle-price-row-empty strong {
    visibility: hidden;
}

.vehicle-card-cta {
    border-top: 1px solid #eaedf1;
    padding-top: 0.8rem;
    margin-top: auto;
}

.text-btn {
    border: none;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.service-image-wrap {
    position: relative;
    width: 80%;
    margin-left: 40px;
}

.service-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    min-height: 0;
    object-fit: contain;
}

.service-float-card {
    position: absolute;
    right: -0.8rem;
    bottom: -1rem;
    width: min(18rem, 85%);
    background: #fff;
    border: 1px solid #e8d99d;
    border-radius: 0.9rem;
    padding: 0.8rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.service-float-card strong {
    display: block;
    font-size: 1.5rem;
}

.service-float-card span {
    font-weight: 600;
}

.service-list {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

.service-list h3 {
    margin: 0 0 0.2rem;
}

.service-list p {
    margin: 0;
}

.warranty-section {
    border-top: 1px solid #f0e3a6;
    border-bottom: 1px solid #f0e3a6;
    background: #fffef8;
}

.warranty-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.warranty-grid article {
    border: 1px solid #e7dcc0;
    border-radius: 0.9rem;
    padding: 1rem;
    background: #fff;
}

.warranty-grid h3 {
    margin-top: 0;
}

.admin-teaser {
    border-radius: 1.1rem;
    background: linear-gradient(120deg, #111, #2a2a2a);
    color: #fff;
    border: 1px solid #5e511f;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.2rem;
    align-items: center;
}

.admin-chip {
    display: inline-block;
    margin: 0 0 0.8rem;
    padding: 0.25rem 0.6rem;
    background: rgba(255, 210, 0, 0.2);
    border: 1px solid rgba(255, 210, 0, 0.4);
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-mockup {
    background: #fff;
    border-radius: 0.7rem;
    border: 2px solid #f2dc84;
    padding: 0.8rem;
}

.admin-mockup .bar {
    height: 1.75rem;
    background: #f0f1f2;
    border-radius: 0.4rem;
}

.admin-mockup .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    margin-top: 0.5rem;
}

.admin-mockup .cards span {
    height: 3rem;
    border-radius: 0.35rem;
    background: #ffe9a1;
}

.admin-mockup .line {
    height: 0.7rem;
    border-radius: 999px;
    background: #eceef1;
    margin-top: 0.45rem;
}

.admin-mockup .line.short {
    width: 70%;
}

.contact-section {
    border-top: 1px solid #efe29a;
    border-bottom: 1px solid #efe29a;
    background: linear-gradient(155deg, #f9fbff 0%, #ffffff 58%, #fff9df 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.25rem;
    align-items: start;
}

.contact-kicker {
    margin: 0 0 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #52627a;
    font-size: 0.77rem;
    font-weight: 700;
}

.contact-copy {
    max-width: 56ch;
}

.contact-points {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.contact-points li {
    position: relative;
    padding-left: 1.1rem;
    color: #334155;
    font-weight: 500;
}

.contact-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--brand-yellow);
    box-shadow: 0 0 0 2px rgba(255, 210, 0, 0.22);
}

.contact-map {
    margin-top: 1rem;
    border: 1px solid #e1d7af;
    border-radius: 0.9rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 17rem;
    border: 0;
}

.contact-map-static {
    height: 24rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.contact-map-static-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.contact-map-static img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-map-pin {
    position: absolute;
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
    background: #111827;
    color: #fff;
    border: 2px solid var(--brand-yellow);
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.contact-map-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 0.7rem;
    border-top: 1px solid #e5e7eb;
    background: #fffef9;
}

.map-section {
    padding: 5px 0;
    border-bottom: 1px solid #efe29a;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.contact-map-standalone {
    margin-top: 0.25rem;
    margin-inline: auto;
    max-width: 60rem;
}

.contact-map-standalone iframe {
    height: 24rem;
}

.map-contact-details {
    padding: 0.9rem 1rem 0.2rem;
    background: #fffef9;
    border-bottom: 1px solid #e5e7eb;
}

.map-contact-details p {
    margin: 0 0 0.45rem;
    font-weight: 600;
    color: #1f2937;
}

.map-contact-details p:last-child {
    margin-bottom: 0.1rem;
}

.contact-card {
    border: 1px solid #e8ddb1;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
    padding: 1rem;
}

.contact-form {
    display: grid;
    gap: 0.75rem;
}

.contact-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #ced7e2;
    border-radius: 0.72rem;
    padding: 0.72rem 0.8rem;
    font: inherit;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d9af00;
    box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.2);
}

.contact-validation {
    margin: 0;
    padding: 0.6rem 0.7rem;
    border-radius: 0.65rem;
    background: #fff7d6;
    border: 1px solid #f2dd87;
    font-size: 0.86rem;
    line-height: 1.3;
}

.contact-validation ul {
    margin: 0;
    padding-left: 0.95rem;
}

.contact-validation li {
    margin: 0.1rem 0;
}

.contact-success,
.contact-error {
    margin: 0 0 0.7rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.65rem;
    font-weight: 600;
}

.contact-success {
    border: 1px solid #86efac;
    background: #f0fdf4;
    color: #166534;
}

.contact-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.home-footer {
    background: linear-gradient(180deg, #f7f8fa 0%, #eef2f6 100%);
    color: #111827;
    border-top: 3px solid var(--brand-yellow);
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 1.4rem;
    padding-bottom: 1.5rem;
}

.footer-logo {
    height: 3.2rem;
    width: auto;
    margin-bottom: 0.8rem;
}

.home-footer h3 {
    margin-top: 0;
    margin-bottom: 0.65rem;
}

.home-footer a,
.home-footer p {
    color: #374151;
    text-decoration: none;
    display: block;
    margin: 0.3rem 0;
}

.home-footer a:hover {
    color: #111827;
}

.footer-bottom {
    border-top: 1px solid #d4dbe4;
    padding: 1rem 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom > div {
    display: flex;
    gap: 1rem;
}

.btn {
    border-radius: 0.55rem;
    padding: 0.62rem 1rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
}

.btn:disabled,
.btn[disabled] {
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
    box-shadow: none;
}

.btn-primary {
    background: var(--brand-yellow);
    color: var(--brand-black);
}

.btn-dark {
    background: var(--brand-black);
    color: var(--brand-yellow);
}

.btn-outline {
    border-color: #222;
    color: #222;
    background: #fff;
}

.btn.full {
    width: 100%;
}

.center-row {
    margin-top: 1.5rem;
    text-align: center;
}

.admin-shell {
    padding-top: 2rem;
}

.admin-editor-page {
    padding-bottom: 7rem;
}

.admin-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.editor-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.73rem;
    color: #8b95a3;
}

.editor-subtitle {
    margin: 0.35rem 0 0;
    color: #4f5b67;
}

.admin-editor-flow {
    display: grid;
    gap: 1rem;
}

.admin-validation-summary {
    margin: 0;
    padding: 0.7rem 0.9rem;
    border-radius: 0.65rem;
    background: #fff7d1;
    border: 1px solid #f3df89;
}

.editor-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.2rem;
    align-items: start;
}

.editor-form-column {
    min-width: 0;
}

.editor-section {
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid #e7ebf0;
    margin-bottom: 0.55rem;
}

.editor-section h3 {
    margin: 0;
    font-size: 1.05rem;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.05em;
    position: relative;
    padding-left: 0.8rem;
}

.editor-section h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.12rem;
    bottom: 0.12rem;
    width: 3px;
    border-radius: 4px;
    background: var(--brand-yellow);
}

.editor-section p {
    margin: 0.22rem 0 0.8rem;
    color: #657181;
    font-size: 0.9rem;
}

.editor-section-highlight {
    background: linear-gradient(180deg, rgba(255, 245, 190, 0.16), transparent);
    padding: 0.8rem;
    border-radius: 0.8rem;
}

.editor-inline-grid {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.editor-inline-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editor-inline-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editor-form-column label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.editor-form-column input,
.editor-form-column select,
.editor-form-column textarea {
    border: 1px solid #cad2dc;
    border-radius: 0.6rem;
    padding: 0.65rem 0.72rem;
    font: inherit;
    width: 100%;
    box-sizing: border-box;
}

.editor-form-column input:focus,
.editor-form-column select:focus,
.editor-form-column textarea:focus {
    outline: none;
    border-color: #d8b20b;
    box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.22);
}

.editor-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.editor-chip-toggle {
    position: relative;
}

.editor-chip-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.editor-chip-toggle span {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d3d9e1;
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.editor-chip-toggle input:checked + span {
    background: #fff6d0;
    border-color: #e4bf17;
    color: #111827;
}

.editor-images-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 0.7rem;
    margin-bottom: 0.65rem;
}

.editor-image-list {
    display: grid;
    gap: 0.65rem;
}

.image-selection-error {
    margin: 0 0 0.6rem;
    color: #b91c1c;
    font-size: 0.86rem;
    font-weight: 600;
}

.editor-image-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: end;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #e3e8ee;
}

.editor-image-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.editor-image-thumb-wrap {
    display: flex;
    align-items: end;
}

.editor-image-thumb {
    width: 84px;
    height: 64px;
    border-radius: 0.55rem;
    border: 1px solid #d5dbe3;
    object-fit: cover;
    background: #fff;
}

.editor-image-thumb-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    color: #778396;
    background: #f6f8fb;
}

.editor-image-row-actions {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.editor-image-row input[readonly] {
    background: #f8fafc;
    color: #475569;
    border-color: #d6dde6;
    cursor: default;
}

.file-picker-action {
    position: relative;
    overflow: hidden;
}

.file-picker-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.editor-preview-column {
    min-width: 0;
}

.editor-preview-sticky {
    position: sticky;
    top: 6.1rem;
}

.editor-preview-title {
    font-size: 0.78rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #8a95a3;
    margin: 0 0 0.45rem;
}

.editor-command-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    border-top: 1px solid #dce2ea;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.editor-dirty-status {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.editor-dirty-status.is-dirty {
    color: #b45309;
}

.rich-editor {
    border: 1px solid #cbd5e1;
    border-radius: 0.65rem;
    background: #fff;
    overflow: hidden;
}

.rich-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.55rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.rich-editor-toolbar .btn {
    min-height: 2.1rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.88rem;
}

.rich-editor-surface {
    min-height: 9rem;
    padding: 0.75rem;
    outline: none;
    line-height: 1.55;
}

.editor-command-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: end;
}

.admin-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.admin-metric-card {
    border: 1px solid #e0e5eb;
    background: #fff;
    border-radius: 0.75rem;
    padding: 0.9rem;
}

.admin-metric-card h3 {
    margin: 0 0 0.35rem;
    font-size: 0.9rem;
}

.admin-metric-card strong {
    font-size: 1.3rem;
}

.admin-table-title {
    margin: 1.25rem 0 0.8rem;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid #e8ecf1;
    text-align: left;
    padding: 0.65rem;
    vertical-align: top;
}

.admin-table th {
    background: #fafbfc;
}

.admin-sort-btn {
    border: none;
    background: transparent;
    font: inherit;
    font-weight: 700;
    color: inherit;
    padding: 0;
    cursor: pointer;
}

.admin-sort-btn:hover {
    color: #111827;
}

.admin-links {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.link-btn {
    border: none;
    background: transparent;
    color: #1f4f99;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.admin-filter-row {
    margin-bottom: 1rem;
}

.status-filter-label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.status-filter-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.status-filter-icon {
    position: absolute;
    left: 0.65rem;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    pointer-events: none;
}

.status-filter-select {
    min-width: 15rem;
    appearance: none;
    border: 1px solid #cad2dc;
    border-radius: 999px;
    padding: 0.5rem 2rem 0.5rem 2rem;
    font: inherit;
    font-weight: 600;
    background: #fff;
}

.status-filter-select:focus {
    outline: none;
    border-color: #d7ae00;
    box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.22);
}

.status-filter-caret {
    position: absolute;
    right: 0.7rem;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    pointer-events: none;
}

.admin-icon-actions {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.admin-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 100;
}

.admin-modal {
    width: min(31rem, 100%);
    border-radius: 0.95rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.28);
    padding: 1rem;
}

.admin-modal h3 {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.04em;
    font-size: 2rem;
}

.admin-modal p {
    margin: 0.6rem 0 0;
    color: #334155;
}

.admin-modal-note {
    font-size: 0.9rem;
    color: #64748b;
}

.admin-modal-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.55rem;
    justify-content: end;
}

.icon-action {
    width: 2.15rem;
    height: 2.15rem;
    border: 1px solid #d0d7e1;
    border-radius: 0.5rem;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.icon-action:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.icon-action-danger {
    color: #b91c1c;
}

.icon-action-danger:hover {
    border-color: #ef4444;
    background: #fef2f2;
}

.admin-form {
    display: grid;
    gap: 0.9rem;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    border: 1px solid #cfd7e1;
    border-radius: 0.5rem;
    padding: 0.65rem;
    font: inherit;
    width: 100%;
    box-sizing: border-box;
}

.admin-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.admin-toggles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.admin-toggles label {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    font-weight: 500;
}

.mini-badge {
    display: inline-block;
    border-radius: 999px;
    background: #fff3bf;
    border: 1px solid #f1db72;
    font-size: 0.72rem;
    padding: 0.1rem 0.45rem;
    margin-right: 0.2rem;
}

.public-cars-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.cars-top-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.car-detail-shell {
    padding-top: 2rem;
}

.car-detail-header {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 0.9rem;
    border: 1px solid #efe1a0;
    background: linear-gradient(135deg, #fffef7 0%, #ffffff 55%, #fff6cf 100%);
}

.car-header-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    flex-wrap: wrap;
}

.car-back-btn {
    min-width: 8.5rem;
}

.car-detail-header h1 {
    margin: 0.4rem 0 0.3rem;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.03em;
    font-size: clamp(2rem, 4.4vw, 3rem);
}

.car-detail-header p {
    margin: 0;
    color: #4b5563;
}

.car-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.1rem;
    align-items: start;
}

.car-main-image-wrap {
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid #e2e7ed;
    background: #fff;
    aspect-ratio: 1 / 1;
}

.car-main-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.car-thumbs {
    margin-top: 0.7rem;
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
}

.thumb-btn {
    border: 1px solid #d8dde5;
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.2rem;
    cursor: pointer;
}

.thumb-btn.active {
    border-color: #d7ae00;
    box-shadow: 0 0 0 2px rgba(255, 210, 0, 0.25);
}

.thumb-btn img {
    width: 5rem;
    height: 4rem;
    object-fit: cover;
    display: block;
    border-radius: 0.35rem;
}

.car-summary-card {
    border: 1px solid #ecdca0;
    border-radius: 0.85rem;
    padding: 1rem;
    background: linear-gradient(170deg, #ffffff 0%, #fffdf2 100%);
    box-shadow: 0 12px 22px rgba(16, 24, 40, 0.08);
    height: 625px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.car-badges {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.car-status {
    margin: 0 0 0.4rem;
}

.car-price {
    margin: 0 0 0.9rem;
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
}

.car-price-muted {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-gray-600);
}

.car-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.car-specs-grid > div {
    border: 1px solid #e5e9ef;
    border-radius: 0.55rem;
    padding: 0.55rem 0.65rem;
    background: #fff;
}

.car-specs-grid strong {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 0.15rem;
}

.car-specs-grid span {
    font-weight: 600;
    color: #111827;
}

.car-cta {
    min-height: 2.8rem;
    padding-inline: 0.8rem;
    margin-top: auto;
}

.car-detail-description {
    margin-top: 1.4rem;
}

.car-section-card {
    border: 1px solid #e2e7ed;
    border-radius: 0.85rem;
    background: #fff;
    padding: 1rem;
}

.admin-access-shell {
    position: relative;
    min-height: calc(100vh - 5rem);
    overflow: hidden;
    padding: 3rem 0;
    background: linear-gradient(150deg, #f9fafc 0%, #eef2f7 45%, #f8f5e6 100%);
}

.admin-access-shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(2px);
}

.admin-access-shape-1 {
    width: 26rem;
    height: 26rem;
    right: -6rem;
    top: -7rem;
    background: radial-gradient(circle at center, rgba(255, 210, 0, 0.34) 0%, rgba(255, 210, 0, 0) 68%);
}

.admin-access-shape-2 {
    width: 28rem;
    height: 28rem;
    left: -8rem;
    bottom: -10rem;
    background: radial-gradient(circle at center, rgba(13, 23, 39, 0.22) 0%, rgba(13, 23, 39, 0) 70%);
}

.admin-access-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr minmax(320px, 420px);
    gap: 2rem;
    align-items: center;
}

.admin-access-brand-panel h1 {
    margin: 0.55rem 0 0.7rem;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2.4rem, 4.8vw, 4rem);
    letter-spacing: 0.04em;
    line-height: 0.98;
}

.admin-access-logo {
    width: 7rem;
    height: auto;
}

.admin-access-kicker {
    margin: 1rem 0 0;
    color: #445166;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.74rem;
    font-weight: 700;
}

.admin-access-copy {
    max-width: 56ch;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.admin-access-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-access-pills span {
    border: 1px solid #d7e0ec;
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.72rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
}

.admin-access-card {
    border: 1px solid #e6dec2;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 1.1rem;
    padding: 1.4rem;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(4px);
    width: 50%;
    min-width: 320px;
    margin-inline: auto;
}

.admin-access-card h2 {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.2rem;
    letter-spacing: 0.05em;
}

.admin-access-card > p {
    margin: 0.4rem 0 1rem;
    color: #5a6575;
}

.admin-access-form {
    display: grid;
    gap: 0.68rem;
}

.admin-access-form label {
    font-weight: 700;
    color: #273244;
}

.admin-password-field {
    display: flex;
    align-items: center;
    border: 1px solid #d7dee8;
    border-radius: 0.85rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 2px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.admin-password-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.82rem 0.92rem;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: #0f172a;
    min-width: 0;
}

.admin-password-input::placeholder {
    color: #93a0b2;
}

.admin-password-input:hover {
    background: rgba(255, 255, 255, 0.5);
}

.admin-password-input:focus {
    outline: none;
    background: #fff;
}

.admin-password-field:hover {
    border-color: #c5cfdb;
}

.admin-password-field:focus-within {
    border-color: #d8b000;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 210, 0, 0.22), 0 8px 20px rgba(17, 24, 39, 0.08);
}

.password-toggle-btn {
    border: none;
    border-left: 1px solid #dbe2eb;
    background: #f8fafc;
    color: #111827;
    font-weight: 700;
    line-height: 1;
    padding: 0.92rem 1rem;
    cursor: pointer;
    white-space: nowrap;
}

.password-toggle-btn:hover {
    background: #eef2f7;
}

.admin-access-submit {
    width: 100%;
    margin-top: 0.35rem;
}

.admin-access-error {
    margin: 0 0 0.8rem;
    border: 1px solid #f7c8c8;
    background: #fff3f3;
    color: #b91c1c;
    border-radius: 0.72rem;
    padding: 0.58rem 0.72rem;
    font-size: 0.9rem;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .inventory-carousel {
        --inventory-visible-cards: 2;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-cars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .car-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-access-grid {
        grid-template-columns: 1fr;
    }

    .admin-access-card {
        width: 100%;
        min-width: 0;
    }

    .inventory-overview-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .desktop-nav,
    .header-actions {
        display: none;
    }

    .header-whatsapp-link {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-block;
    }

    .hero-grid,
    .services-grid,
    .admin-teaser,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .search-card {
        margin-top: 0.5rem;
    }

    .hero-carousel {
        margin-top: 0.5rem;
    }

    .service-float-card {
        position: static;
        margin-top: 0.6rem;
        width: auto;
    }

    .warranty-grid {
        grid-template-columns: 1fr;
    }

    .editor-main-grid {
        grid-template-columns: 1fr;
    }

    .editor-preview-sticky {
        position: static;
    }
}

@media (max-width: 620px) {
    .section-head {
        flex-direction: column;
        align-items: start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .inventory-carousel {
        --inventory-visible-cards: 1;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 2.8rem;
    }

    .hero-car-row {
        flex-direction: column;
        align-items: start;
        gap: 0.6rem;
    }

    .contact-map-actions {
        grid-template-columns: 1fr;
    }

    .inventory-controls {
        flex-direction: column;
    }

    .admin-form-grid,
    .admin-toggles,
    .admin-metrics-grid,
    .public-cars-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .car-main-image {
        height: 18rem;
    }

    .car-specs-grid {
        grid-template-columns: 1fr;
    }

    .car-back-btn {
        min-width: 0;
        width: 100%;
    }

    .cars-top-actions .btn {
        width: 100%;
    }

    .admin-editor-header,
    .editor-images-header {
        flex-direction: column;
    }

    .editor-image-row {
        grid-template-columns: 1fr;
    }

    .editor-image-thumb-wrap {
        justify-content: start;
    }

    .editor-inline-grid-2,
    .editor-inline-grid-3 {
        grid-template-columns: 1fr;
    }

    .editor-command-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .editor-command-actions {
        justify-content: stretch;
    }

    .editor-command-actions .btn {
        width: 100%;
    }

    .admin-access-shell {
        padding: 2rem 0 2.4rem;
    }

    .admin-access-brand-panel h1 {
        font-size: clamp(2rem, 8vw, 2.7rem);
    }

    .admin-password-field {
        display: flex;
    }
}
