:root {
    --p911-blue: #122b4e;
    --p911-blue-dark: #061832;
    --p911-blue-ink: #07162f;
    --p911-blue-soft: #eef4fb;
    --p911-gold: #d59a24;
    --p911-gold-light: #f1c76a;
    --p911-gold-dark: #a96f0e;
    --p911-whatsapp: #25d366;
    --p911-white: #ffffff;
    --p911-light: #f8fafc;
    --p911-muted: #64748b;
    --p911-border: #e2e8f0;
    --p911-shadow: 0 24px 70px rgba(6, 24, 50, 0.12);
    --p911-shadow-soft: 0 16px 40px rgba(6, 24, 50, 0.09);
    --p911-radius-sm: 16px;
    --p911-radius: 26px;
    --p911-radius-lg: 34px;
    --p911-container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--p911-blue-ink);
    background: var(--p911-white);
    line-height: 1.55;
}

body::selection {
    color: var(--p911-white);
    background: var(--p911-gold);
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.container {
    width: min(var(--p911-container), calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 24, 50, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(6, 24, 50, 0.18);
    backdrop-filter: blur(16px);
}

.header__inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 150px;
}

.brand__logo {
    width: 186px;
    height: 58px;
    object-fit: contain;
    padding: 4px 10px;
    border-radius: 18px;
    background: var(--p911-white);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--p911-white);
}

.main-nav__link {
    position: relative;
    font-size: 0.94rem;
    font-weight: 700;
    opacity: 0.86;
    transition: opacity 180ms ease, color 180ms ease;
}

.main-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    height: 3px;
    border-radius: 99px;
    background: var(--p911-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.main-nav__link:hover,
.main-nav__link.is-active {
    opacity: 1;
    color: var(--p911-white);
}

.main-nav__link:hover::after,
.main-nav__link.is-active::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: var(--p911-white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    white-space: nowrap;
}

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

.btn--small {
    min-height: 44px;
    padding-inline: 18px;
}

.btn--navy {
    color: var(--p911-white);
    background: linear-gradient(135deg, var(--p911-blue-dark), var(--p911-blue));
    box-shadow: 0 14px 30px rgba(6, 24, 50, 0.24);
}

.btn--gold {
    color: var(--p911-white);
    background: linear-gradient(135deg, var(--p911-gold), var(--p911-gold-dark));
    box-shadow: 0 14px 30px rgba(213, 154, 36, 0.28);
}

.btn__icon {
    width: 21px;
    height: 21px;
    display: inline-flex;
}

.btn__icon .svg-icon {
    width: 100%;
    height: 100%;
}

.svg-icon {
    width: 42px;
    height: 42px;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 52px;
    background:
        radial-gradient(circle at 0 10%, rgba(213, 154, 36, 0.16), transparent 26%),
        linear-gradient(115deg, var(--p911-white) 0%, var(--p911-white) 52%, #eaf2fb 52%, #f7fbff 100%);
}

.hero__noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.55;
    background-image: radial-gradient(var(--p911-gold) 1.1px, transparent 1.1px);
    background-size: 14px 14px;
    mask-image: radial-gradient(circle at 4% 18%, #000 0 12%, transparent 23%), radial-gradient(circle at 96% 76%, #000 0 10%, transparent 22%);
}

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

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--p911-gold-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 99px;
    background: var(--p911-gold);
}

.hero h1 {
    max-width: 620px;
    margin: 0;
    color: var(--p911-blue-dark);
    font-size: clamp(2.6rem, 6vw, 5.35rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero h1 span {
    display: block;
    color: var(--p911-gold);
}

.hero__lead {
    max-width: 540px;
    margin: 24px 0 0;
    color: #23324c;
    font-size: 1.08rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero__media {
    position: relative;
    min-height: 430px;
    border-radius: var(--p911-radius-lg);
    overflow: hidden;
    box-shadow: var(--p911-shadow);
    transform: skewX(-7deg);
    isolation: isolate;
}

.hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--p911-radius-lg);
    pointer-events: none;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(6, 24, 50, 0.28), transparent 44%, rgba(6, 24, 50, 0.08));
    pointer-events: none;
}

.hero__media img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    transform: skewX(7deg) scale(1.13);
}

.hero__badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 4;
    display: grid;
    gap: 2px;
    padding: 16px 18px;
    color: var(--p911-white);
    border-radius: 18px;
    background: rgba(6, 24, 50, 0.86);
    box-shadow: 0 16px 34px rgba(6, 24, 50, 0.28);
    transform: skewX(7deg);
    backdrop-filter: blur(10px);
}

.hero__badge span {
    color: var(--p911-gold-light);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero__badge strong {
    font-size: 1rem;
}

.search-card {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1.1fr 1.1fr 0.95fr 0.95fr auto;
    gap: 16px;
    align-items: end;
    margin-top: 46px;
    padding: 26px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: var(--p911-radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--p911-shadow);
    backdrop-filter: blur(18px);
}

.field {
    min-width: 0;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: var(--p911-blue-dark);
    font-size: 0.82rem;
    font-weight: 900;
}

.field input,
.field select {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    color: var(--p911-blue-dark);
    border: 1px solid var(--p911-border);
    border-radius: 12px;
    outline: none;
    background: var(--p911-white);
    transition: border 180ms ease, box-shadow 180ms ease;
}

.field input:focus,
.field select:focus {
    border-color: rgba(213, 154, 36, 0.7);
    box-shadow: 0 0 0 4px rgba(213, 154, 36, 0.14);
}

.input-unit {
    display: grid;
    grid-template-columns: 1fr 48px;
}

.input-unit input {
    border-radius: 12px 0 0 12px;
}

.input-unit span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--p911-blue-dark);
    font-weight: 900;
    border: 1px solid var(--p911-border);
    border-left: 0;
    border-radius: 0 12px 12px 0;
    background: #fbfdff;
}

.search-card__button {
    min-height: 50px;
}

.section {
    padding: 82px 0;
}

.section--light {
    background: linear-gradient(180deg, var(--p911-light), #ffffff);
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading .section-kicker {
    justify-content: center;
}

.section-heading .section-kicker::after {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 99px;
    background: var(--p911-gold);
}

.section-heading .section-kicker::before {
    display: none;
}

.section-heading h2 {
    margin: 0;
    color: var(--p911-blue-dark);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.cards-grid {
    display: grid;
    gap: 18px;
}

.cards-grid--six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cards-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.icon-card,
.service-card {
    border: 1px solid var(--p911-border);
    border-radius: 22px;
    background: var(--p911-white);
    box-shadow: var(--p911-shadow-soft);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.icon-card:hover,
.service-card:hover,
.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--p911-shadow);
    border-color: rgba(213, 154, 36, 0.38);
}

.icon-card {
    min-height: 208px;
    padding: 26px 18px;
    text-align: center;
}

.icon-card__icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--p911-gold-dark);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(213, 154, 36, 0.12), rgba(213, 154, 36, 0.03));
}

.icon-card__icon .svg-icon {
    width: 46px;
    height: 46px;
}

.icon-card h3,
.service-card h3,
.benefit-item h3 {
    margin: 0;
    color: var(--p911-blue-dark);
    font-size: 1.04rem;
    line-height: 1.16;
}

.icon-card p,
.service-card p {
    margin: 10px 0 0;
    color: var(--p911-muted);
    font-size: 0.92rem;
}

.service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    min-height: 170px;
    padding: 26px;
}

.service-card__icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--p911-gold-light);
    border-radius: 50%;
    background: var(--p911-blue-dark);
}

.service-card__icon .svg-icon {
    width: 34px;
    height: 34px;
}

.owner-section {
    padding: 18px 0 82px;
    background: var(--p911-white);
}

.owner-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    align-items: stretch;
    overflow: hidden;
    min-height: 330px;
    color: var(--p911-white);
    border-radius: var(--p911-radius-lg);
    background: linear-gradient(135deg, var(--p911-blue-dark), var(--p911-blue));
    box-shadow: var(--p911-shadow);
}

.owner-card__content {
    position: relative;
    z-index: 2;
    padding: clamp(34px, 5vw, 58px);
}

.owner-card__content h2 {
    max-width: 540px;
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.owner-card__content p {
    max-width: 520px;
    margin: 18px 0 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.owner-card__visual {
    position: relative;
    min-height: 320px;
    background:
        linear-gradient(90deg, rgba(6, 24, 50, 0.26), rgba(6, 24, 50, 0.08)),
        url('../img/hero-propiedades.jpg') center / cover;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.owner-card__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0 50%, rgba(213, 154, 36, 0.22));
}

.owner-card__sign {
    position: absolute;
    left: 16%;
    top: 50%;
    transform: translateY(-50%) rotate(-2deg);
    display: grid;
    gap: 8px;
    width: min(360px, 72%);
    padding: 28px;
    color: var(--p911-white);
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    background: rgba(6, 24, 50, 0.74);
    box-shadow: 0 28px 56px rgba(6, 24, 50, 0.36);
    backdrop-filter: blur(7px);
}

.owner-card__sign span {
    color: var(--p911-gold-light);
    font-size: clamp(1.7rem, 3.4vw, 3.2rem);
    font-weight: 950;
    line-height: 0.9;
    text-transform: uppercase;
}

.owner-card__sign strong {
    font-size: clamp(1.1rem, 1.9vw, 1.7rem);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border: 1px solid var(--p911-border);
    border-radius: var(--p911-radius);
    background: var(--p911-white);
    box-shadow: var(--p911-shadow-soft);
    overflow: hidden;
}

.benefit-item {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 12px;
    min-height: 190px;
    padding: 30px 18px;
    text-align: center;
    border-right: 1px solid var(--p911-border);
    transition: transform 180ms ease, background 180ms ease;
}

.benefit-item:last-child {
    border-right: 0;
}

.benefit-item__icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--p911-blue-dark);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(213, 154, 36, 0.22), rgba(213, 154, 36, 0.05));
}

.benefit-item__icon .svg-icon {
    width: 38px;
    height: 38px;
}

.benefit-item h3 {
    max-width: 150px;
    font-size: 0.98rem;
}

.cta-section {
    padding: 74px 0 92px;
    background: var(--p911-white);
}

.cta-banner {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
    padding: clamp(28px, 4vw, 42px);
    color: var(--p911-white);
    border-radius: var(--p911-radius-lg);
    background:
        radial-gradient(circle at 96% 18%, rgba(213, 154, 36, 0.28), transparent 22%),
        linear-gradient(135deg, var(--p911-blue-dark), var(--p911-blue));
    box-shadow: var(--p911-shadow);
}

.cta-banner::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 280px;
    height: 280px;
    border: 3px solid rgba(213, 154, 36, 0.32);
    border-radius: 50%;
}

.cta-banner__icon {
    width: 98px;
    height: 98px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--p911-white);
    border-radius: 30px;
    background: var(--p911-whatsapp);
    box-shadow: 0 22px 44px rgba(37, 211, 102, 0.28);
}

.cta-banner__icon .svg-icon {
    width: 58px;
    height: 58px;
}

.cta-banner h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.cta-banner p {
    max-width: 520px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.cta-banner__actions {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: end;
    gap: 12px;
}

.cta-banner__actions strong {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.24rem;
    letter-spacing: 0.04em;
}

.site-footer {
    color: rgba(255, 255, 255, 0.84);
    background: var(--p911-blue-dark);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.7fr 0.9fr 0.95fr;
    gap: 34px;
    padding: 54px 0 42px;
}

.footer__logo {
    width: 188px;
    height: 72px;
    object-fit: contain;
    padding: 6px 10px;
    border-radius: 18px;
    background: var(--p911-white);
}

.footer__brand p {
    max-width: 280px;
    margin: 18px 0 20px;
}

.socials {
    display: flex;
    gap: 10px;
}

.socials a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--p911-white);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 900;
}

.footer__column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer__column h3 {
    margin: 0 0 6px;
    color: var(--p911-white);
    font-size: 1rem;
}

.footer__column a,
.footer__column span,
.footer__contact-link {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
}

.footer__column a:hover,
.footer__contact-link:hover {
    color: var(--p911-gold-light);
}

.footer__contact-link {
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.footer__bottom {
    padding: 18px 0;
    color: rgba(255, 255, 255, 0.66);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================
   PROPIEDADES PUBLICADAS
============================================================ */

.properties-section {
    background:
        radial-gradient(circle at top left, rgba(213, 154, 36, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-heading p {
    max-width: 720px;
    margin: 12px auto 0;
    color: var(--p911-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.property-card {
    overflow: hidden;
    border: 1px solid var(--p911-border);
    border-radius: var(--p911-radius);
    background: var(--p911-white);
    box-shadow: 0 18px 45px rgba(6, 24, 50, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.property-card:hover {
    transform: translateY(-6px);
    border-color: rgba(213, 154, 36, 0.38);
    box-shadow: 0 24px 70px rgba(6, 24, 50, 0.14);
}

.property-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--p911-blue-soft);
}

.property-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.property-card:hover .property-card__image img {
    transform: scale(1.05);
}

.property-card__badges {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.property-card__badges span,
.property-card__badges strong {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    backdrop-filter: blur(10px);
}

.property-card__badges span {
    color: var(--p911-white);
    background: rgba(6, 24, 50, 0.86);
}

.property-card__badges strong {
    color: var(--p911-blue-dark);
    background: rgba(213, 154, 36, 0.95);
}

.property-card__body {
    padding: 22px;
}

.property-card__meta {
    margin-bottom: 8px;
    color: var(--p911-gold-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.property-card h3 {
    margin: 0;
    color: var(--p911-blue-dark);
    font-size: 1.2rem;
    line-height: 1.25;
}

.property-card__location {
    margin: 10px 0 0;
    color: var(--p911-muted);
    font-weight: 700;
    line-height: 1.45;
}

.property-card__description {
    min-height: 66px;
    margin: 14px 0 0;
    color: var(--p911-muted);
    line-height: 1.6;
}

.property-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.property-card__features span {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid var(--p911-border);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--p911-blue);
    font-size: 0.82rem;
    font-weight: 800;
}

.property-card__footer {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--p911-border);
}

.property-card__footer strong {
    color: var(--p911-blue-dark);
    font-size: 1rem;
    line-height: 1.35;
}

.properties-empty {
    max-width: 780px;
    margin: 36px auto 0;
    padding: 42px;
    border: 1px solid rgba(213, 154, 36, 0.26);
    border-radius: var(--p911-radius);
    background: var(--p911-white);
    box-shadow: var(--p911-shadow);
    text-align: center;
}

.properties-empty__icon {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 22px;
    background: var(--p911-blue);
    color: var(--p911-gold);
}

.properties-empty__icon .svg-icon {
    width: 38px;
    height: 38px;
}

.properties-empty h3 {
    margin: 0;
    color: var(--p911-blue-dark);
    font-size: 1.55rem;
}

.properties-empty p {
    max-width: 560px;
    margin: 12px auto 24px;
    color: var(--p911-muted);
    line-height: 1.7;
}

@media (max-width: 1120px) {
    .search-card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .search-card__button {
        grid-column: 1 / -1;
    }

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

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

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

    .benefit-item:nth-child(3n) {
        border-right: 0;
    }

    .benefit-item:nth-child(n + 4) {
        border-top: 1px solid var(--p911-border);
    }

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

@media (max-width: 960px) {
    .header__inner {
        min-height: 76px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        color: var(--p911-blue-dark);
        border: 1px solid var(--p911-border);
        border-radius: 22px;
        background: var(--p911-white);
        box-shadow: var(--p911-shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav__link {
        padding: 14px 12px;
        border-radius: 14px;
    }

    .main-nav__link:hover,
    .main-nav__link.is-active {
        color: var(--p911-blue-dark);
        background: var(--p911-blue-soft);
    }

    .main-nav__link::after {
        display: none;
    }

    .main-nav .btn {
        width: 100%;
        margin-top: 8px;
    }

    .hero {
        padding-top: 48px;
        background: linear-gradient(180deg, var(--p911-white), var(--p911-blue-soft));
    }

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

    .hero__media {
        min-height: 320px;
        transform: none;
    }

    .hero__media img {
        min-height: 320px;
        transform: none;
    }

    .hero__badge {
        transform: none;
    }

    .owner-card {
        grid-template-columns: 1fr;
    }

    .owner-card__visual {
        clip-path: none;
    }

    .cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .cta-banner__actions {
        justify-items: center;
    }

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

@media (max-width: 680px) {
    .container {
        width: min(100% - 24px, var(--p911-container));
    }

    .brand__logo {
        width: 160px;
        height: 52px;
    }

    .hero h1 {
        font-size: clamp(2.42rem, 13vw, 4rem);
    }

    .hero__actions,
    .hero__actions .btn {
        width: 100%;
    }

    .search-card {
        grid-template-columns: 1fr;
        margin-top: 28px;
        padding: 20px;
    }

    .cards-grid--six,
    .cards-grid--four,
    .benefits-grid,
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .benefit-item,
    .benefit-item:nth-child(n) {
        border-right: 0;
        border-top: 1px solid var(--p911-border);
    }

    .benefit-item:first-child {
        border-top: 0;
    }

    .section,
    .cta-section {
        padding: 58px 0;
    }

    .owner-section {
        padding-bottom: 58px;
    }

    .owner-card__content {
        padding: 30px 22px;
    }

    .owner-card__sign {
        left: 50%;
        width: calc(100% - 44px);
        transform: translate(-50%, -50%) rotate(-2deg);
    }

    .cta-banner__icon {
        width: 82px;
        height: 82px;
    }

    .cta-banner .btn {
        width: 100%;
    }

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

    .property-card__image {
        height: 210px;
    }

    .property-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .property-card__footer .btn {
        width: 100%;
    }

    .properties-empty {
        padding: 30px 22px;
    }
}