:root {
    --page-bg: #050708;
    --panel: rgba(255, 255, 255, 0.055);
    --panel-border: rgba(255, 255, 255, 0.16);
    --text: #f7f7f7;
    --muted: #b6bdc4;
    --red: #ed1c24;
    --red-dark: #a91016;
    --line: rgba(255, 255, 255, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: radial-gradient(circle at 80% 10%, rgba(237, 28, 36, 0.16), transparent 24rem), var(--page-bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    background: rgba(4, 6, 7, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 86px;
    padding-block: 0;
}

.navbar-brand img {
    width: 184px;
    max-width: 48vw;
    height: auto;
}

.navbar-nav {
    gap: 0.4rem;
}

.nav-link {
    position: relative;
    color: #fff !important;
    font-size: 0.79rem;
    font-weight: 800;
    line-height: 1.25;
    padding-inline: 0.85rem !important;
    text-align: center;
    text-transform: uppercase;
}

.nav-link::after {
    position: absolute;
    right: 0.85rem;
    bottom: -1.55rem;
    left: 0.85rem;
    height: 3px;
    background: var(--red);
    content: "";
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    opacity: 1;
}

.hero {
    position: relative;
    min-height: 720px;
    padding-top: 86px;
    overflow: hidden;
    background: var(--page-bg);
}

.hero::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(100%, 1920px);
    height: 100%;
    background:
        linear-gradient(90deg, rgba(5, 7, 8, 0.98) 0%, rgba(5, 7, 8, 0.78) 34%, rgba(5, 7, 8, 0.26) 62%, rgba(5, 7, 8, 0.82) 100%),
        url("../IMG/hero-car.webp") center right / cover no-repeat;
    content: "";
    transform: translateX(-50%);
}

.hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 14rem;
    background: linear-gradient(180deg, transparent, var(--page-bg));
    content: "";
}

.hero-content {
    position: relative;
    z-index: 1;
}

.section-kicker {
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero h1,
.section-head h2,
.service-card h2 {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 650px;
    font-size: clamp(3.1rem, 6vw, 5.7rem);
    line-height: 0.96;
    margin-bottom: 1.5rem;
}

.hero h1 span,
.service-card h2 span {
    color: var(--red);
    display: block;
}

.hero-lead {
    max-width: 460px;
    color: #e7eaee;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.btn {
    --bs-btn-border-radius: 0;
    align-items: center;
    display: inline-flex;
    gap: 0.55rem;
    font-size: 0.82rem;
    font-weight: 900;
    min-height: 48px;
    padding-inline: 1.45rem;
    text-transform: uppercase;
}

.btn-primary {
    --bs-btn-bg: var(--red);
    --bs-btn-border-color: var(--red);
    --bs-btn-hover-bg: var(--red-dark);
    --bs-btn-hover-border-color: var(--red-dark);
}

.btn-outline-primary {
    --bs-btn-color: #fff;
    --bs-btn-border-color: var(--red);
    --bs-btn-hover-bg: var(--red);
    --bs-btn-hover-border-color: var(--red);
    --bs-btn-hover-color: #fff;
}

.trust-strip {
    position: relative;
    z-index: 2;
    margin-top: -7rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.feature-item {
    min-height: 180px;
    padding: 1.8rem 1.2rem;
    text-align: center;
}

.feature-item + .feature-item {
    border-left: 1px solid var(--line);
}

.feature-item i {
    color: var(--red);
    display: block;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h2,
.site-footer h2 {
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
}

.feature-item p,
.service-card p,
.car-body p,
.site-footer p,
.site-footer address,
.site-footer a,
.site-footer span {
    color: var(--muted);
}

.feature-item p {
    font-size: 0.86rem;
    line-height: 1.45;
    margin: 0;
}

.section-pad {
    padding-block: 2.8rem;
}

.service-card {
    min-height: 290px;
    align-items: flex-start;
    background:
        linear-gradient(90deg, rgba(5, 7, 8, 0.95), rgba(5, 7, 8, 0.64) 48%, rgba(5, 7, 8, 0.2)),
        var(--bg) center right / cover no-repeat;
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.6rem;
}

.service-card h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    max-width: 300px;
}

.service-card p {
    line-height: 1.55;
    max-width: 340px;
}

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

.section-head h2 {
    border-bottom: 3px solid var(--red);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0;
    padding-bottom: 0.45rem;
}

.car-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    height: 100%;
    overflow: hidden;
}

.car-media {
    aspect-ratio: 1.32 / 1;
    position: relative;
}

.car-media img,
.sold-card img {
    display: block;
    filter: saturate(0.86);
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.year {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--red);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.35rem 0.55rem;
}

.favorite {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.2);
    border: 0;
    color: #fff;
    font-size: 1.35rem;
}

.car-body {
    padding: 1rem;
}

.car-body h3 {
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.car-body p {
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
}

.car-meta {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.car-meta strong {
    color: var(--red);
    font-size: 1.15rem;
    white-space: nowrap;
}

.car-meta span {
    color: #d9dde1;
    font-size: 0.86rem;
    text-align: right;
}

.sold-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.sold-card {
    aspect-ratio: 1.85 / 1;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.sold-card::after {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    content: "";
}

.sold-card span {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    border: 3px solid var(--red);
    color: var(--red);
    font-size: 1.1rem;
    font-weight: 900;
    padding: 0.35rem 0.75rem;
    text-transform: uppercase;
    transform: translate(-50%, -50%) rotate(-11deg);
}

.contact-page {
    padding-top: 86px;
}

.rental-page {
    padding-top: 86px;
}

.contact-hero {
    background:
        linear-gradient(90deg, rgba(5, 7, 8, 0.96), rgba(5, 7, 8, 0.78)),
        url("../IMG/hero-car.webp") center right / cover no-repeat;
    border-bottom: 1px solid var(--line);
    padding-block: 7rem 4rem;
}

.contact-hero h1 {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.contact-hero p:not(.section-kicker) {
    color: var(--muted);
    font-size: 1.15rem;
    max-width: 620px;
}

.rental-hero h1 span {
    color: var(--red);
    display: block;
}

.rental-hero {
    background:
        linear-gradient(90deg, rgba(5, 7, 8, 0.98), rgba(5, 7, 8, 0.78) 42%, rgba(5, 7, 8, 0.45)),
        url("../IMG/rental-fleet-prime.webp") center right / cover no-repeat;
}

.rental-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.rental-info-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    margin-bottom: 2rem;
    padding: 1.6rem;
    overflow: hidden;
}

.rental-info-panel::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--red);
    content: "";
}

.rental-info-copy {
    max-width: 760px;
}

.rental-info-panel h2 {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.rental-info-panel h3,
.rental-equipment h3 {
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
}

.rental-info-panel p,
.rental-description,
.rental-equipment p,
.rental-notes article p {
    color: var(--muted);
}

.insurance-note {
    align-items: flex-start;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 0.75rem;
    margin: 1.25rem 0 0;
    padding-top: 1rem;
}

.insurance-note i {
    color: var(--red);
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

.rental-price-box {
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.25rem;
}

.price-box-head {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.price-box-head i {
    align-items: center;
    border: 1px solid var(--red);
    color: var(--red);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.price-box-head h3 {
    margin: 0;
}

.rental-price-list {
    display: grid;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rental-price-list li {
    align-items: flex-start;
    color: var(--muted);
    display: flex;
    gap: 0.55rem;
    line-height: 1.45;
}

.rental-price-list li i {
    color: var(--red);
    margin-top: 0.15rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--panel-border);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 900;
    min-height: 46px;
    padding: 0.75rem 1.45rem;
    text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn:focus,
.filter-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

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

.rental-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.rental-card[hidden] {
    display: none;
}

.rental-card.is-coming-soon {
    opacity: 0.58;
}

.rental-card.is-coming-soon .rental-media img {
    filter: grayscale(1) brightness(0.72);
}

.rental-card.is-coming-soon .btn {
    pointer-events: none;
}

.rental-media {
    aspect-ratio: 1.55 / 1;
    position: relative;
}

.rental-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.rental-media span {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: var(--red);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 900;
    padding: 0.35rem 0.6rem;
    text-transform: uppercase;
}

.rental-media em {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #d8dde3;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 900;
    padding: 0.35rem 0.6rem;
    text-transform: uppercase;
}

.rental-body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
    padding: 1.1rem;
}

.rental-subtitle {
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.rental-body h2 {
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0;
}

.rental-description {
    line-height: 1.5;
    margin: 0;
}

.rental-body ul {
    display: grid;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rental-body li {
    color: var(--muted);
    display: flex;
    gap: 0.55rem;
}

.rental-body li i {
    color: var(--red);
}

.rental-equipment {
    border-top: 1px solid var(--line);
    padding-top: 0.85rem;
}

.rental-equipment p {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.rental-bottom {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
}

.rental-bottom strong {
    color: #fff;
    font-size: 1rem;
}

.rental-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.rental-notes article {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    border-radius: 6px;
    display: flex;
    gap: 0.75rem;
    margin: 0;
    min-height: 78px;
    padding: 1rem;
}

.rental-notes article p {
    line-height: 1.45;
    margin: 0;
}

.rental-notes article i {
    color: var(--red);
    margin-top: 0.1rem;
}

.contact-panel,
.contact-form-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    height: 100%;
    padding: 1.6rem;
}

.contact-panel {
    display: flex;
    flex-direction: column;
}

.contact-panel h2,
.contact-form-card h2 {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.contact-form-card h2 i {
    color: var(--red);
}

.contact-form-card p {
    color: var(--muted);
    margin-bottom: 1.4rem;
}

.company-details {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.contact-details {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.contact-details a,
.contact-details span {
    align-items: flex-start;
    color: var(--muted);
    display: flex;
    gap: 0.75rem;
    line-height: 1.45;
}

.contact-details i {
    color: var(--red);
    margin-top: 0.1rem;
}

.company-details dt {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.company-details dd {
    color: var(--muted);
    margin: 0 0 0.5rem;
}

.location-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 1.25rem;
}

.location-grid address {
    color: var(--muted);
    display: grid;
    gap: 0.6rem;
    margin: 0;
}

.location-grid address strong {
    color: #fff;
}

.location-grid address a {
    align-items: center;
    display: inline-flex;
    gap: 0.6rem;
}

.location-grid address i {
    color: var(--red);
}

.map-box {
    border: 1px solid var(--line);
    border-radius: 6px;
    min-height: 260px;
    overflow: hidden;
}

.map-box iframe {
    border: 0;
    display: block;
    height: 100%;
    min-height: 260px;
    width: 100%;
}

.map-section {
    border-top: 1px solid var(--line);
}

.map-heading {
    margin-inline: auto;
    max-width: 1320px;
    padding: 2.4rem 0.75rem 1rem;
}

.map-heading h2 {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.map-box-wide {
    border-inline: 0;
    border-radius: 0;
    min-height: 430px;
}

.map-box-wide iframe {
    filter: grayscale(1) contrast(1.05) brightness(0.82);
    min-height: 430px;
}

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

.contact-form-card label {
    color: #f1f3f5;
    display: grid;
    font-size: 0.95rem;
    font-weight: 800;
    gap: 0.45rem;
}

.contact-form-card input,
.contact-form-card textarea {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    color: #d2d8df;
    font: inherit;
    min-height: 50px;
    padding: 0.85rem 1rem;
    width: 100%;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: #7f8791;
}

.contact-form-card textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--red);
    box-shadow: 0 0 0 0.2rem rgba(237, 28, 36, 0.16);
    color: #fff;
    outline: 0;
}

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

.form-grid .full {
    grid-column: 1 / -1;
}

.field-note {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.check-row {
    align-items: flex-start;
    display: flex !important;
    flex-direction: row;
    gap: 0.75rem !important;
}

.check-row input {
    flex: 0 0 auto;
    height: 22px;
    margin-top: 0.1rem;
    min-height: 0;
    padding: 0;
    width: 22px;
}

.check-row span {
    color: var(--muted);
    font-weight: 500;
}

.spam-field {
    left: -9999px;
    position: absolute;
    top: auto;
}

.form-alert {
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
}

.form-alert p {
    margin: 0;
}

.form-alert p + p {
    margin-top: 0.35rem;
}

.form-alert-success {
    background: rgba(37, 128, 76, 0.18);
    border-color: rgba(55, 196, 118, 0.45);
    color: #d8ffe8;
}

.form-alert-error {
    background: rgba(237, 28, 36, 0.14);
    border-color: rgba(237, 28, 36, 0.55);
    color: #ffd9db;
}

.sell-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.sell-toggle .btn {
    min-width: min(100%, 360px);
    justify-content: center;
}

#sprzedaj-pojazd-panel .contact-form-card {
    max-width: 980px;
    margin-inline: auto;
}

.rental-modal .modal-content {
    background: #0b0f11;
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    color: #fff;
}

.rental-modal .modal-header,
.rental-modal .modal-footer {
    border-color: var(--line);
}

.rental-modal .modal-title {
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
}

.rental-modal form {
    margin: 0;
}

.rental-modal .modal-body {
    display: grid;
    gap: 1rem;
}

.rental-modal label {
    color: #f1f3f5;
    display: grid;
    font-size: 0.95rem;
    font-weight: 800;
    gap: 0.45rem;
}

.rental-modal input {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    color: #d2d8df;
    font: inherit;
    min-height: 50px;
    padding: 0.85rem 1rem;
    width: 100%;
}

.rental-modal input:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--red);
    box-shadow: 0 0 0 0.2rem rgba(237, 28, 36, 0.16);
    color: #fff;
    outline: 0;
}

.selected-vehicle {
    border: 1px solid var(--line);
    color: var(--muted);
    margin: 0;
    padding: 0.85rem 1rem;
}

.selected-vehicle strong {
    color: #fff;
}

.modal-date-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding-top: 2rem;
}

.site-footer .container {
    position: relative;
}

.site-footer .row {
    padding-right: 4.5rem;
}

.footer-scroll-top {
    position: absolute;
    top: 0;
    right: 0.75rem;
    align-items: center;
    border: 1px solid var(--red);
    color: var(--red);
    display: inline-flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.footer-scroll-top:hover,
.footer-scroll-top:focus {
    background: var(--red);
    color: #fff;
}

.footer-logo {
    width: 170px;
    max-width: 100%;
    margin-bottom: 1rem;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li + li {
    margin-top: 0.45rem;
}

.site-footer address {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.site-footer address a,
.site-footer address span {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
}

.site-footer i {
    color: var(--red);
}

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

.hours strong {
    color: #fff;
    font-weight: 500;
}

.bank {
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    margin-top: 1rem;
    padding-top: 1rem;
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.6rem;
    padding-block: 1rem;
}

.powered-by {
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}

.powered-by a {
    color: #fff;
    font-weight: 800;
}

.powered-by a:hover,
.powered-by a:focus {
    color: var(--red);
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        border-top: 1px solid var(--line);
        padding-block: 1rem;
    }

    .nav-link {
        padding-block: 0.75rem !important;
        text-align: left;
    }

    .nav-link::after {
        display: none;
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-item + .feature-item {
        border-left: 0;
    }

    .feature-item {
        border-top: 1px solid var(--line);
    }

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

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

    .rental-info-panel,
    .rental-notes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 680px;
    }

    .hero::before {
        background-position: 62% center;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .trust-strip {
        margin-top: -4rem;
    }

    .feature-grid,
    .sold-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        min-height: auto;
        padding: 1.35rem 1rem;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-card {
        min-height: 360px;
    }

    .contact-hero {
        padding-block: 5rem 3rem;
    }

    .rental-filter {
        justify-content: flex-start;
    }

    .filter-btn {
        flex: 1 1 auto;
    }

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

    .rental-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-panel,
    .contact-form-card {
        padding: 1.2rem;
    }

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

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .site-footer .row {
        padding-right: 0;
    }

    .powered-by {
        margin-left: 0;
        text-align: left;
        white-space: normal;
    }
}
