:root {
    --blue: #0056b3;
    --blue-dark: #003f86;
    --blue-deep: #0b1a30;
    --blue-soft: #eef6ff;
    --yellow: #F7C94E;
    --yellow-dark: #C49B00;
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(226, 232, 240, 0.72);
    --surface: #ffffff;
    --bg: #f8fafc;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 18px 44px rgba(15, 23, 42, 0.08);
    --shadow-lift: 0 26px 70px rgba(11, 26, 48, 0.14);
    --radius-xl: 20px;
    --radius-card: 16px;
    --radius-button: 12px;
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #fff;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.motion-ready .site-header {
    transform: translateY(-8px);
    opacity: 0;
}

body.motion-ready.is-loaded .site-header {
    transform: translateY(0);
    opacity: 1;
}

body.header-scrolled .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 48px rgba(11, 26, 48, 0.1);
}

body:has(.hero):not(.header-scrolled) .site-header {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}

body:has(.hero):not(.header-scrolled) .brand,
body:has(.hero):not(.header-scrolled) .site-header nav {
    color: #fff;
}

body:has(.hero):not(.header-scrolled) .site-header nav a:not(.nav-login):hover,
body:has(.hero):not(.header-scrolled) .site-header nav a.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

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

button,
input,
select {
    font: inherit;
}

button,
a,
summary {
    transition:
        color 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.42s var(--ease-premium),
        transform 0.42s var(--ease-premium),
        opacity 0.32s ease;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px clamp(20px, 6vw, 96px);
    background: rgba(248, 250, 252, 0.86);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(11, 26, 48, 0.04);
    transition:
        padding 0.32s var(--ease-premium),
        background-color 0.32s ease,
        box-shadow 0.42s var(--ease-premium),
        transform 0.56s var(--ease-snap),
        opacity 0.42s ease;
}

body:has(.hero) .site-header {
    position: fixed;
    left: 0;
    right: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blue-deep);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-deep);
    font-size: 14px;
    font-weight: 750;
}

.site-header nav a:not(.nav-login) {
    padding: 10px 13px;
    border-radius: var(--radius-button);
}

.site-header nav a:not(.nav-login):hover {
    background: var(--blue-soft);
    color: #fff;
}

.site-header nav a.is-active {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 12px 26px rgba(0, 86, 179, 0.18);
}

.nav-login,
.button.primary,
.property-search button {
    background: var(--yellow);
    color: var(--blue-deep);
    border: 0;
    box-shadow: 0 10px 24px rgba(241, 184, 19, 0.18);
}

.nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: var(--radius-button);
}

.nav-login:hover,
.button.primary:hover,
.property-search button:hover,
.owner-access a:hover,
.owner-lead button:hover,
.tenant-pay a:hover,
.lead-form button:hover {
    background: #F7C94E;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(241, 184, 19, 0.24);
}

.hero {
    position: sticky;
    top: 0;
    z-index: 1;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
    justify-items: start;
    height: 100vh;
    padding: 0 clamp(40px, 7vw, 104px);
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.8) 100%),
        url("assets/hero_nicza2.png") center 48% / cover no-repeat,
        var(--blue);
    background-position:
        center,
        center calc(48% + var(--hero-shift, 0px)),
        center;
}

.section,
.tenant-pay,
.cta,
.owners {
    position: relative;
    z-index: 2;
    background-color: rgba(6, 27, 58, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 86px 0;
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -410px;
    left: 50%;
    width: min(1780px, 142vw);
    height: 940px;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    background:
        radial-gradient(ellipse at 50% 78%, rgba(241, 184, 19, 0.13), transparent 20%),
        radial-gradient(ellipse at 16% 64%, rgba(0, 86, 179, 0.78), transparent 34%),
        radial-gradient(ellipse at 86% 64%, rgba(0, 86, 179, 0.74), transparent 34%),
        linear-gradient(180deg, rgba(30, 58, 138, 0.8) 0%, rgba(30, 58, 138, 0.7) 28%, rgba(30, 58, 138, 0.8) 100%);
    box-shadow:
        0 56px 130px rgba(0, 31, 70, 0.44),
        0 0 120px rgba(0, 86, 179, 0.22);
    opacity: 0.98;
    pointer-events: none;
    transform: translateX(-50%) scale(var(--hero-scale, 1));
    filter: blur(var(--hero-blur, 0px));
    transition: transform 0.1s linear, filter 0.1s linear;
}


.hero-copy {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: start;
    max-width: 850px;
    margin: 0;
    text-align: left;
    padding-top: 40px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero .eyebrow {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 8px 24px rgba(5, 18, 44, 0.32);
}

.hero h1 {
    max-width: 940px;
    margin: 0;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(32px, 4.5vw, 64px);
    line-height: 1.0;
    letter-spacing: -0.025em;
    text-shadow: 0 18px 46px rgba(5, 18, 44, 0.34);
    mix-blend-mode: difference;
    color: #fff;
}

.hero p {
    max-width: 720px;
    margin: 22px 0 0;
    color: #fff;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.5;
    mix-blend-mode: difference;
}

.hero .eyebrow {
    font-family: Georgia, "Times New Roman", Times, serif;
    letter-spacing: 0.06em;
}

.hero-actions,
.card-actions,
.cta div {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions {
    justify-content: flex-start;
    margin-top: 20px;
}

.button,
.property-search button,
.card-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border-radius: var(--radius-button);
    font-weight: 850;
    line-height: 1.1;
    position: relative;
    overflow: hidden;
    transition:
        background-color 0.22s ease,
        color 0.22s ease,
        box-shadow 0.42s var(--ease-premium),
        transform 0.42s var(--ease-premium);
}

button.button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

body.share-opened {
    overflow: hidden;
}

.button::after,
.property-search button::after,
.card-actions a::after,
.tenant-pay a::after,
.owner-access a::after,
.owner-lead button::after,
.lead-form button::after {
    content: "";
    position: absolute;
    inset: -120% auto auto -40%;
    width: 44%;
    height: 320%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: rotate(18deg) translateX(-180%);
    transition: transform 0.68s var(--ease-premium);
    pointer-events: none;
}

.button:hover::after,
.property-search button:hover::after,
.card-actions a:hover::after,
.tenant-pay a:hover::after,
.owner-access a:hover::after,
.owner-lead button:hover::after,
.lead-form button:hover::after {
    transform: rotate(18deg) translateX(430%);
}

.button.secondary {
    background: #fff;
    color: var(--blue-deep);
    border: 0;
    box-shadow: var(--shadow);
}

.button.secondary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 18px 44px rgba(11, 26, 48, 0.13);
}

.hero-panel {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    width: min(980px, 100%);
    margin-top: 8px;
}

.hero-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(5, 18, 44, 0.78), rgba(5, 18, 44, 0.56));
    box-shadow: 0 34px 90px rgba(0, 17, 45, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    transform: perspective(1200px) rotateX(3deg);
    transform-origin: top center;
}

.hero-services article {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-card);
    background: linear-gradient(145deg, rgba(7, 22, 50, 0.9), rgba(7, 22, 50, 0.7));
    color: #fff;
    box-shadow: 0 24px 70px rgba(0, 31, 70, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    transition:
        border-color 0.3s ease,
        box-shadow 0.52s var(--ease-premium),
        transform 0.52s var(--ease-premium),
        background-color 0.32s ease;
}

.hero-services article:hover,
.property-card:hover,
.trust-grid article:hover,
.service-grid article:hover,
.faq details:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.hero-services article:hover {
    border-color: rgba(255, 255, 255, 0.34);
    background: linear-gradient(145deg, rgba(10, 28, 60, 0.95), rgba(10, 28, 60, 0.76));
    box-shadow: 0 28px 74px rgba(0, 31, 70, 0.24);
}

.service-grid article:hover {
    box-shadow: 0 24px 58px rgba(241, 184, 19, 0.18), var(--shadow-hover);
}

.hero-services span {
    display: inline-flex;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 950;
}

.hero-services strong {
    display: block;
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
}

.hero-services p {
    margin: 9px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
}

.section {
    width: 100%;
    margin: 0;
    scroll-margin-top: 110px;
}

.section > * {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.section.section-focus,
.cta.section-focus {
    animation: none;
}

@keyframes section-focus-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(241, 184, 19, 0);
    }

    28% {
        box-shadow: 0 0 0 6px rgba(241, 184, 19, 0.2), 0 22px 58px rgba(0, 86, 179, 0.1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(241, 184, 19, 0);
    }
}

.section-title {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: flex-end;
    margin-bottom: 30px;
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.section h2 {
    color: #ffffff !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
}

.section-title p:not(.eyebrow),
.cta p {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
}

.text-link {
    color: #fff;
    font-weight: 850;
}

.text-link:hover {
    color: var(--blue-dark);
    transform: translateY(-1px);
}

.property-search {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 12px;
    padding: 14px;
    margin-bottom: 32px;
    border-radius: 16px;
    background: #fff;
    border: 0;
    box-shadow: var(--shadow);
}

.property-search button {
    grid-column: span 1;
    cursor: pointer;
}

.property-search input,
.property-search select {
    width: 100%;
    min-height: 50px;
    padding: 10px 16px;
    border: 0;
    border-radius: var(--radius-button);
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: all 0.3s ease;
}

.property-search select,
.owner-lead select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 42px;
}

.property-search input:focus,
.property-search select:focus,
.owner-lead select:focus,
.owner-lead input:focus,
.lead-form input:focus {
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.08);
}

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

.property-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
    background-color: #fff;
    border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: var(--shadow);
    transition:
        border-color 0.42s ease,
        box-shadow 0.52s var(--ease-premium),
        transform 0.52s var(--ease-premium);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.property-card:hover {
    border-color: rgba(247, 201, 78, 0.42);
    box-shadow: 0 26px 70px rgba(0, 86, 179, 0.12), 0 18px 44px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
}

.property-card:hover {
    border-color: rgba(247, 201, 78, 0.42);
    box-shadow: 0 26px 70px rgba(0, 86, 179, 0.12), 0 18px 44px rgba(15, 23, 42, 0.08);
}

.property-image {
    position: relative;
    display: flex;
    justify-content: space-between;
    aspect-ratio: 4 / 3;
    padding: 0;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-premium), filter 0.5s ease;
}

.property-image.has-photo img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.property-image.has-photo::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.4));
    pointer-events: none;
}

.property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.property-code-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.property-body {
    padding: 13px 16px 10px;
    display: flex;
    flex-direction: column;
}

.property-title {
    order: 1;
    font-size: 14px;
    font-weight: 800;
    color: var(--blue-deep);
    margin: 0 0 8px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-price {
    order: 2;
    font-size: 22px;
    font-weight: 900;
    color: var(--text);
    margin: 0 0 8px;
    padding-bottom: 8px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    border-bottom: 1px solid rgba(30, 58, 138, 0.14);
}

.property-location {
    order: 3;
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 8px;
    line-height: 1.32;
}

.property-facts {
    order: 4;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.45);
}

.property-fact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 650;
}

.property-fact svg {
    width: 18px;
    height: 18px;
    fill: none;
    color: #5e7494;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.card-actions a {
    flex: 1;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    border-radius: var(--radius-button);
}

.owners {
    width: 100%;
    margin: 0;
    border-radius: 0;
}

.owners > * {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.owner-access {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 26px;
    align-items: center;
    margin-bottom: 26px;
    padding: 30px;
    border: 0;
    border-radius: var(--radius-card);
    background: var(--bg);
    box-shadow: var(--shadow);
}

    color: var(--blue);
    font-size: 28px;
}

.owner-access p {
    margin: 0;
    color: var(--muted);
}

.owner-access a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 24px;
    border: 0;
    border-radius: var(--radius-button);
    background: var(--yellow);
    color: var(--blue-deep);
    font-weight: 850;
    white-space: nowrap;
}

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

.service-grid article {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: var(--radius-card);
    background-color: #fff;
    border: 0;
    box-shadow: var(--shadow);
    transition:
        box-shadow 0.52s var(--ease-premium),
        transform 0.52s var(--ease-premium);
}

.hero-services article::before,
.property-card::before,
.service-grid article::before,
.trust-grid article::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -80%;
    left: -60%;
    width: 34%;
    height: 260%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.76), transparent);
    filter: blur(0.2px);
    opacity: 0;
    pointer-events: none;
    transform: rotate(18deg) translateX(-160%);
    transition:
        opacity 0.28s ease,
        transform 0.68s var(--ease-premium);
}

.service-grid article::before,
.property-card::before,
.trust-grid article::before {
    background: linear-gradient(90deg, transparent, rgba(247, 201, 78, 0.55), rgba(255, 255, 255, 0.82), transparent);
}

.hero-services article:hover::before,
.property-card:hover::before,
.service-grid article:hover::before,
.trust-grid article:hover::before {
    opacity: 1;
    transform: rotate(18deg) translateX(620%);
}

    color: var(--blue);
}

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

.service-grid p {
    color: var(--muted);
}

.owner-lead {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: center;
    margin-top: 26px;
    padding: 30px;
    border-radius: var(--radius-card);
    background-color: #fff;
    color: var(--text);
    box-shadow: var(--shadow);
}

.owner-lead h3 {
    margin: 0;
    font-size: 30px;
    line-height: 1.18;
}

.owner-lead p:not(.eyebrow) {
    color: var(--muted);
}

.owner-lead form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.owner-lead select,
.owner-lead input {
    min-height: 52px;
    padding: 12px 16px;
    border: 0;
    border-radius: var(--radius-button);
    background: var(--bg);
    color: var(--text);
    outline: none;
}

.owner-lead button {
    min-height: 52px;
    border: 0;
    border-radius: var(--radius-button);
    background: var(--yellow);
    color: var(--blue-deep);
    font-weight: 850;
    cursor: pointer;
}

.tenant-pay {
    display: block;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
}

.tenant-pay-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    padding: 30px;
    border-radius: var(--radius-card);
    background-color: #fff;
    color: var(--text);
    box-shadow: var(--shadow);
}

.tenant-pay > * {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.tenant-pay h2 {
    color: var(--blue);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.14;
}

.tenant-pay p:not(.eyebrow) {
    color: var(--muted);
}

.tenant-pay a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 24px;
    border: 0;
    border-radius: var(--radius-button);
    background: var(--yellow);
    color: var(--blue-deep);
    font-weight: 850;
    white-space: nowrap;
}

body:has(.property-detail-hero) {
    background:
        linear-gradient(180deg, rgba(30, 58, 138, 0.96) 0, rgba(30, 58, 138, 0.9) 118px, #eef3f9 118px, #ffffff 240px);
}

body:has(.property-detail-hero):not(.header-scrolled) .site-header {
    background: rgba(8, 24, 52, 0.78) !important;
    border-bottom-color: transparent;
    box-shadow: 0 16px 48px rgba(11, 26, 48, 0.18);
}

body:has(.property-detail-hero) .brand,
body:has(.property-detail-hero) .site-header nav {
    color: #fff;
}

body:has(.property-detail-hero) .site-header nav a:not(.nav-login) {
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

body:has(.property-detail-hero) .site-header nav a:not(.nav-login):hover,
body:has(.property-detail-hero) .site-header nav a.is-active {
    color: #f1b813;
}

.property-detail-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 26px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px 14px;
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--blue);
    font-weight: 850;
    box-shadow: 0 12px 28px rgba(11, 26, 48, 0.08);
}

.back-link:hover {
    color: var(--blue-dark);
    transform: translateY(-1px);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: stretch;
}

.detail-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
    padding: 12px;
    border-radius: var(--radius-xl);
    color: #fff;
    background:
        linear-gradient(145deg, #e8eff7, #d7e1ee);
    box-shadow: 0 24px 56px rgba(11, 26, 48, 0.12);
    overflow: hidden;
}

.detail-gallery img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.detail-gallery .gallery-photo-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    filter: blur(28px) saturate(1);
    opacity: 0.7;
}

.detail-gallery .gallery-photo-main {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-card) + 4px);
    box-shadow: 0 18px 38px rgba(11, 26, 48, 0.1);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
}

.detail-gallery-open {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.detail-gallery::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(15, 23, 42, 0.08) 68%, rgba(15, 23, 42, 0.16));
    pointer-events: none;
}

.detail-gallery span {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: var(--radius-button);
    background: var(--yellow);
    color: var(--blue-deep);
    font-weight: 850;
}

.detail-gallery strong {
    position: relative;
    z-index: 2;
    font-size: clamp(58px, 8vw, 100px);
    font-weight: 950;
}

.gallery-count {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    padding: 9px 14px;
    border-radius: var(--radius-button);
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-deep);
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(11, 26, 48, 0.08);
}

.gallery-header {
    align-items: center;
    margin-bottom: 18px;
}

.gallery-header .eyebrow {
    display: none;
}

.gallery-header h2 {
    margin: 0;
}

.gallery-hint {
    margin: 0;
    color: rgba(15, 23, 42, 0.72) !important;
    font-size: 14px;
    text-align: right;
}

.gallery-marquee {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.gallery-marquee::before,
.gallery-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 10px;
    z-index: 2;
    width: clamp(26px, 5vw, 72px);
    pointer-events: none;
}

.gallery-marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(247, 250, 253, 0.96), rgba(247, 250, 253, 0));
}

.gallery-marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(247, 250, 253, 0.96), rgba(247, 250, 253, 0));
}

.gallery-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 4px 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-grid::-webkit-scrollbar {
    display: none;
}

.property-gallery.section {
    background: linear-gradient(180deg, #edf3f9 0%, #f7fafd 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.property-gallery .section-title .eyebrow,
.property-gallery .section-title h2 {
    color: var(--blue-deep) !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
}

.property-gallery .section-title p,
.property-gallery .section-title small,
.property-gallery .gallery-hint {
    color: var(--blue-deep) !important;
}

.gallery-scroll-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    color: var(--blue-deep);
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(11, 26, 48, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(-50%);
    cursor: pointer;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease;
}

.gallery-scroll-arrow:hover {
    transform: translateY(-50%) scale(1.03);
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(241, 184, 19, 0.42);
    box-shadow: 0 14px 28px rgba(11, 26, 48, 0.12);
}

.gallery-scroll-arrow.prev {
    left: 2px;
}

.gallery-scroll-arrow.next {
    right: 2px;
}

.gallery-grid button {
    position: relative;
    flex: 0 0 clamp(170px, 22vw, 250px);
    aspect-ratio: 4 / 5;
    display: block;
    width: clamp(170px, 22vw, 250px);
    padding: 0;
    border: 1px solid rgba(30, 58, 138, 0.08);
    overflow: hidden;
    border-radius: calc(var(--radius-card) + 2px);
    background: linear-gradient(145deg, #edf3f9, #dce7f3);
    box-shadow: 0 16px 36px rgba(11, 26, 48, 0.08);
    cursor: zoom-in;
    scroll-snap-align: start;
    transition:
        box-shadow 0.52s var(--ease-premium),
        transform 0.52s var(--ease-premium),
        border-color 0.32s ease;
}

.gallery-grid button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 36%, rgba(15, 23, 42, 0.64) 100%);
    opacity: 0.88;
    transition: opacity 0.32s ease;
}

.gallery-grid button:hover {
    transform: translateY(-4px) scale(0.98);
    border-color: rgba(241, 184, 19, 0.5);
    box-shadow: 0 22px 44px rgba(11, 26, 48, 0.14);
}

.gallery-grid button:hover::after {
    opacity: 1;
}

.gallery-card-copy {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: var(--blue-deep);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(11, 26, 48, 0.2);
}

.gallery-card-copy small {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-grid button:focus-visible,
.detail-gallery-open:focus-visible {
    outline: 4px solid rgba(255, 191, 0, 0.9);
    outline-offset: 4px;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 76px;
    align-items: center;
    gap: 12px;
    padding: 28px;
    background: rgba(3, 10, 24, 0.88);
    backdrop-filter: blur(12px);
}

.gallery-lightbox figure {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, calc(100vw - 210px), 1180px);
    height: calc(100dvh - 112px);
    margin: 0 auto;
}

.gallery-lightbox img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100dvh - 142px);
    border-radius: var(--radius-card);
    object-fit: contain;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox figcaption {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 14px;
    border-radius: var(--radius-button);
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-deep);
    font-weight: 900;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition:
        transform 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-arrow:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 191, 0, 0.82);
    background: rgba(255, 191, 0, 0.22);
}

.gallery-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
}

.gallery-lightbox-arrow {
    width: 58px;
    height: 76px;
    border-radius: var(--radius-card);
    font-size: 58px;
    line-height: 1;
}

.gallery-lightbox-arrow.prev {
    justify-self: end;
}

.gallery-lightbox-arrow.next {
    justify-self: start;
}

body.gallery-opened {
    overflow: hidden;
}

.detail-copy .eyebrow,
.property-detail-hero .detail-copy > .eyebrow,
body:has(.property-detail-hero) .detail-copy > .eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 86, 179, 0.08) !important;
    color: var(--blue-deep) !important;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: none !important;
    opacity: 1 !important;
}

.detail-copy {
    align-self: stretch;
    padding: 24px 26px;
    border: 1px solid rgba(30, 58, 138, 0.08);
    border-radius: calc(var(--radius-card) + 4px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.96));
    box-shadow: 0 22px 48px rgba(11, 26, 48, 0.08);
}

.detail-copy h1 {
    margin: 0;
    color: var(--blue-deep);
    font-size: clamp(30px, 4.3vw, 48px);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.detail-copy p:not(.eyebrow) {
    color: var(--muted);
}

.detail-copy > p:not(.eyebrow):not(.detail-code) {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.45;
}

.detail-code {
    margin: 14px 0 0;
    color: #6a7c95 !important;
    font-size: 14px;
    font-weight: 700;
}

.detail-price {
    margin: 18px 0 14px;
    color: var(--blue);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.detail-facts {
    margin: 4px 0 0;
}

.detail-facts-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.facts.large span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 86, 179, 0.06);
    color: var(--blue-deep);
    font-size: 14px;
    font-weight: 800;
}

.detail-parking {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(30, 58, 138, 0.08);
    color: var(--muted);
    font-size: 15px;
    line-height: 1.4;
}

.detail-parking strong {
    color: var(--blue-deep);
}

.property-detail-hero .hero-actions {
    margin-top: 18px;
    gap: 12px;
}

.property-detail-hero .hero-actions .button {
    min-height: 46px;
    padding: 10px 20px;
    font-size: 15px;
}

.schedule-trigger {
    background: linear-gradient(180deg, #f4f7fb, #e8eef6) !important;
    color: #253858 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 10px 28px rgba(76, 99, 130, 0.14) !important;
}

.schedule-trigger:hover {
    background: linear-gradient(180deg, #edf3fa, #dfe8f3) !important;
    color: #162744 !important;
}

.share-trigger {
    min-width: 120px;
    gap: 10px;
    background: linear-gradient(180deg, #f2fbf6, #dbf2e3) !important;
    color: #1f6a4d !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 10px 28px rgba(95, 168, 128, 0.16) !important;
}

.share-trigger:hover {
    background: linear-gradient(180deg, #e8f8ee, #d2eddc) !important;
    color: #17543d !important;
}

.share-trigger-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    overflow: visible;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.share-trigger span {
    display: inline-flex;
    align-items: center;
}

.share-modal[hidden] {
    display: none;
}

.share-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 18px;
}

.share-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 20%, rgba(0, 86, 179, 0.22), transparent 30%),
        rgba(11, 26, 48, 0.54);
    backdrop-filter: blur(8px);
}

.share-panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    display: grid;
    gap: 14px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 80px rgba(11, 26, 48, 0.28);
}

.share-panel h2 {
    margin: -4px 0 0;
    color: var(--blue-deep);
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.05;
}

.share-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.share-panel label {
    display: grid;
    gap: 8px;
    color: #607089;
    font-weight: 850;
}

.share-panel input {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(0, 86, 179, 0.18);
    border-radius: 16px;
    background: #f8fbff;
    color: var(--blue-deep);
    font: inherit;
    font-weight: 750;
}

.share-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 86, 179, 0.08);
    color: var(--blue-deep);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-actions .button {
    min-height: 46px;
    padding-inline: 18px;
}

.share-panel small {
    min-height: 18px;
    color: var(--blue);
    font-weight: 800;
}

.detail-sections {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.detail-sections article,
.lead-form {
    position: relative;
    border: 1px solid rgba(30, 58, 138, 0.08);
    border-radius: calc(var(--radius-card) + 2px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
    box-shadow: 0 18px 44px rgba(11, 26, 48, 0.08);
}

.detail-sections article {
    padding: 30px;
}

.detail-sections article h2,
.lead-form h2 {
    margin: 0 0 18px;
    color: var(--blue-deep) !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.08;
}

.lead-form .eyebrow,
.detail-sections article .eyebrow {
    color: var(--blue) !important;
}

.detail-sections p,
.detail-sections li,
.lead-form p {
    color: var(--text);
    line-height: 1.7;
}

.detail-sections dl {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 14px 18px;
    margin: 0;
}

.detail-sections dt {
    color: #607089;
    font-weight: 850;
    letter-spacing: -0.01em;
}

.detail-sections dd {
    margin: 0;
    color: var(--blue-deep);
    font-weight: 700;
}

.detail-sections ul {
    margin: 18px 0 0;
    padding-left: 28px;
}

.detail-sections li + li {
    margin-top: 8px;
}

.map-placeholder {
    display: grid;
    gap: 14px;
    text-align: center;
    border-radius: var(--radius-card);
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(241, 184, 19, 0.22), rgba(0, 86, 179, 0.12)),
        var(--blue-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.map-placeholder:not(.has-map-frame) {
    min-height: 220px;
    place-content: center;
    padding: 28px;
}

.map-embed {
    width: 100%;
    min-height: 230px;
    border: 0;
    border-radius: calc(var(--radius-card) - 8px);
    background: #dbe8f6;
    box-shadow: inset 0 0 0 1px rgba(0, 86, 179, 0.1);
}

.map-copy {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 2px 8px 10px;
}

.map-placeholder strong,
.map-placeholder span,
.map-placeholder small {
    color: var(--blue-deep);
}

.map-placeholder strong {
    font-size: clamp(28px, 4vw, 34px);
    line-height: 1.08;
}

.map-placeholder span {
    font-size: 17px;
    opacity: 0.8;
}

.map-placeholder small {
    font-size: 14px;
    opacity: 0.74;
}

.map-placeholder.has-map-link {
    background:
        radial-gradient(circle at 18% 20%, rgba(241, 184, 19, 0.28), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(232, 241, 255, 0.96));
    border-color: rgba(0, 86, 179, 0.16);
}

.map-button {
    justify-self: center;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff !important;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(0, 86, 179, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.map-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 86, 179, 0.28);
}

.lead-form {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: center;
    padding: 34px;
}

.lead-form > div {
    display: grid;
    gap: 12px;
}

.lead-form h2 {
    margin-bottom: 6px;
}

.lead-form form {
    display: grid;
    gap: 12px;
    padding: 22px;
    border-radius: var(--radius-card);
    background: linear-gradient(180deg, rgba(240, 245, 251, 0.96), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(30, 58, 138, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.lead-form input {
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: var(--radius-button);
    background: #fff;
    color: var(--blue-deep);
    outline: none;
    box-shadow: 0 10px 22px rgba(11, 26, 48, 0.04);
}

.lead-form input::placeholder {
    color: #70819b;
}

.lead-form button {
    min-height: 52px;
    border: 0;
    border-radius: var(--radius-button);
    background: var(--yellow);
    color: var(--blue-deep);
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(241, 184, 19, 0.2);
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    min-height: 56px;
    padding: 13px 22px;
    border-radius: var(--radius-button);
    background: #15bd63;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(21, 189, 99, 0.32);
    transition:
        box-shadow 0.42s var(--ease-premium),
        transform 0.42s var(--ease-premium),
        opacity 0.3s ease;
}

.hero ~ .whatsapp-float,
body:has(.hero) .whatsapp-float {
    bottom: 18px;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(21, 189, 99, 0.38);
}

.payment-exit {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    background:
        radial-gradient(circle at top right, rgba(241, 184, 19, 0.18), transparent 34%),
        linear-gradient(135deg, #062b66 0%, #0f5fb8 58%, #f8fafc 58%);
}

.payment-exit-card {
    width: min(100%, 620px);
    background: #ffffff;
    border-radius: 20px;
    padding: 42px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.payment-exit-card h1 {
    margin: 8px 0 14px;
    color: #0f172a;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.05;
}

.payment-exit-card p {
    color: #64748b;
}

.payment-exit-card strong {
    display: inline-flex;
    margin: 12px 0 24px;
    padding: 10px 14px;
    color: #0369a1;
    background: #e0f2fe;
    border-radius: 12px;
}

.payment-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    margin-top: 0;
    padding: 44px clamp(22px, 7vw, 100px);
    background: linear-gradient(135deg, var(--blue-deep), var(--blue));
    color: #fff;
}

.site-footer img {
    display: block;
    width: min(220px, 70vw);
    height: auto;
    max-height: 78px;
    object-fit: contain;
    margin: 0 0 14px;
    border-radius: 0;
}

.site-footer strong {
    font-size: 24px;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.76);
}

.footer-address {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    line-height: 1.55;
}

.site-footer nav {
    display: grid;
    gap: 10px;
}

.site-footer a:hover {
    color: var(--yellow);
}

.footer-note {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 13px;
}

.cta {
    width: 100%;
    margin: 0;
    border-radius: 0;
    color: var(--text);
    padding: 86px clamp(20px, 6vw, 96px);
}

.cta div {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta h2 {
    color: #ffffff !important;
}

.cta p {
    color: #ffffff !important;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 750;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 36px;
    border-radius: var(--radius-card);
    background-color: #fff;
    border: 0;
    text-align: center;
    box-shadow: var(--shadow);
}

.summary-card {
    border: 0;
    border-radius: var(--radius-card);
    background-color: #fff;
    box-shadow: var(--shadow);
}

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

.trust-grid article {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: var(--radius-card);
    background-color: #fff;
    border: 0;
    box-shadow: var(--shadow);
    transition:
        box-shadow 0.52s var(--ease-premium),
        transform 0.52s var(--ease-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: var(--yellow);
}

.trust-icon svg {
    width: 48px;
    height: 48px;
}


.trust-grid span {
    display: inline-flex;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 950;
}

.trust-grid h3 {
    margin: 0 0 10px;
    font-size: 22px;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-grid p {
    margin: 0;
    color: var(--muted);
}

.process {
    position: relative;
    z-index: 2;
}

.process-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 36px;
    align-items: start;
    border-radius: 0;
}

.section.process h2 {
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(36px, 4.5vw, 52px) !important;
    line-height: 1.1;
}

.process ol {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.process li {
    counter-increment: steps;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 16px;
    padding: 20px;
    border-radius: var(--radius-card);
    background: var(--bg);
}

    color: var(--blue);
    font-weight: 950;
}

.process strong,
.process span {
    grid-column: 2;
}

.process .step-content span {
    color: var(--muted);
}

.faq-container {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 32px;
    align-items: start;
}

    color: var(--blue);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
}

.faq-grid {
    display: grid;
    gap: 12px;
}

.faq details {
    padding: 22px;
    border-radius: var(--radius-card);
    background-color: #fff;
    border: 0;
    box-shadow: var(--shadow);
    transition:
        box-shadow 0.52s var(--ease-premium),
        transform 0.52s var(--ease-premium),
        background-color 0.25s ease;
}

    color: var(--blue);
    font-weight: 850;
}

.faq summary:hover {
    color: #fff;
}

.faq p {
    color: var(--muted);
}

.reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity 0.74s ease,
        transform 0.74s var(--ease-snap);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal-lift {
    transform: translate3d(0, 36px, 0) scale(0.98);
}

.reveal-lift.in-view {
    transform: translate3d(0, 0, 0) scale(1);
}

.hero .hero-copy,
.hero .hero-panel,
.property-detail-hero .back-link,
.property-detail-hero .detail-gallery,
.property-detail-hero .detail-copy,
.payment-exit-card {
    animation: nicza-rise 0.82s var(--ease-snap) both;
}

.hero .hero-panel,
.property-detail-hero .detail-copy {
    animation-delay: 160ms;
}

@keyframes nicza-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 32px, 0) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    body.motion-ready .site-header,
    .reveal,
    .reveal-lift {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header nav {
        flex-wrap: wrap;
    }

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

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

@media (max-width: 920px) {
    .section-title {
        align-items: stretch;
        flex-direction: column;
    }

    .hero,
    .owner-access,
    .tenant-pay,
    .detail-layout,
    .detail-sections,
    .lead-form,
    .process,
    .faq,
    .owner-lead,
    .owner-lead form,
    .site-footer,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 72px 22px 88px;
    }

    .hero::before {
        top: -300px;
        width: 170vw;
        height: 680px;
    }

    .hero-panel {
        justify-content: flex-start;
    }

    .hero-services {
        grid-template-columns: 1fr;
        width: 100%;
        margin-right: 0;
        padding: 10px;
        transform: none;
    }

    .hero-services article {
        transform: none;
    }

    .owners,
    .process,
    .cta {
        padding: 34px 22px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .site-header {
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
        align-items: stretch;
        gap: 12px;
        padding: 12px 12px 10px;
        overflow-x: clip;
    }

    .brand {
        min-width: 0;
        font-size: 18px;
        line-height: 1.1;
    }

    .brand img {
        width: 42px;
        height: 42px;
        flex: 0 0 auto;
    }

    .brand span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-header nav {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        gap: 6px;
        padding: 2px 2px 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
    }

    .site-header nav::-webkit-scrollbar {
        display: none;
    }

    .site-header nav a {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 8px 11px;
        white-space: nowrap;
        font-size: 13px;
    }

    .nav-login {
        width: auto;
        min-height: 38px;
    }

    .hero {
        gap: 20px;
        min-height: 100svh;
        height: auto;
        padding: 136px 18px 56px;
        align-items: start;
        background-position:
            center,
            97% calc(82% + var(--hero-shift, 0px)),
            center;
        background-size:
            auto,
            auto 30%,
            auto;
    }

    .section {
        scroll-margin-top: 140px;
    }

    .hero-copy {
        max-width: 100%;
        min-width: 0;
        padding-top: 0;
    }

    .hero h1 {
        max-width: calc(100% - 104px);
        font-size: 34px;
        line-height: 1.04;
        overflow-wrap: break-word;
    }

    .hero .eyebrow {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .hero p {
        max-width: calc(100% - 112px);
        margin-top: 14px;
        font-size: 16px;
        line-height: 1.4;
    }

    .hero-actions {
        max-width: calc(100% - 116px);
        margin-top: 18px;
    }

    .hero-services article {
        padding: 20px;
    }

    .hero-services article p {
        font-size: 15px;
    }

    .section {
        width: min(100% - 24px, 1180px);
        padding: 46px 0;
    }

    .section-title h2 {
        font-size: clamp(31px, 9vw, 42px);
    }

    .section-title p:not(.eyebrow) {
        font-size: 16px;
    }

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

    .property-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-radius: 16px;
    }

    .property-search input,
    .property-search select,
    .property-search button {
        min-height: 42px;
        padding: 8px 11px;
        font-size: 13px;
    }

    .property-search select {
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 34px;
    }

    .property-search input[name="q"],
    .property-search button {
        grid-column: 1 / -1;
    }

    #propiedades .section-title > .button.primary {
        display: none;
    }

    .property-image {
        min-height: 150px;
        padding: 16px;
    }

    .property-image strong {
        font-size: 28px;
    }

    .property-body {
        padding: 14px 16px 11px;
    }

    .property-title,
    .property-body h3 {
        font-size: 15px;
        line-height: 1.18;
    }

    .address {
        min-height: auto;
    }

    .facts {
        gap: 7px;
        margin: 14px 0;
    }

    .facts span {
        padding: 7px 10px;
        font-size: 13px;
    }

    .detail-copy .eyebrow {
        display: inline-flex;
        width: fit-content;
        margin-bottom: 14px;
        padding: 8px 12px;
        color: var(--blue-deep) !important;
        font-size: 11px;
        text-shadow: none !important;
        opacity: 1 !important;
    }

    .detail-copy {
        padding: 22px;
    }

    .detail-copy h1 {
        line-height: 1.02;
        font-size: 28px;
    }

    .detail-price {
        font-size: 30px;
    }

    .detail-gallery {
        padding: 12px;
        min-height: 300px;
    }

    .back-link {
        margin-bottom: 12px;
        padding: 9px 12px;
        font-size: 14px;
    }

    .gallery-hint {
        width: 100%;
        text-align: left;
        font-size: 13px;
    }

    .gallery-grid {
        gap: 12px;
        padding: 6px 2px 4px;
    }

    .gallery-marquee {
        padding: 0 38px;
    }

    .gallery-grid button {
        flex-basis: 148px;
        width: 148px;
        aspect-ratio: 4 / 4.8;
    }

    .gallery-scroll-arrow {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .gallery-card-copy {
        right: 10px;
        bottom: 10px;
        padding: 7px 10px;
    }

    .detail-parking {
        font-size: 15px;
    }

    .owners,
    .tenant-pay,
    .property-detail-hero,
    .cta {
        width: min(100% - 24px, 1180px);
    }

    .owners,
    .owner-access,
    .owner-lead,
    .tenant-pay,
    .detail-copy,
    .detail-gallery,
    .detail-sections article,
    .lead-form,
    .process,
    .cta {
        padding: 24px;
    }

    .detail-sections article h2,
    .lead-form h2 {
        font-size: clamp(26px, 7vw, 34px);
    }

    .owners .section-title {
        margin-bottom: 14px;
    }

    .owners .section-title h2 {
        font-size: clamp(24px, 6.6vw, 30px);
        line-height: 1.06;
        letter-spacing: -0.03em;
        margin-bottom: 0;
    }

    .owner-access {
        margin-bottom: 18px;
        padding: 20px 18px;
        gap: 14px;
    }

    .owner-access h3 {
        font-size: 22px;
        line-height: 1.08;
    }

    .owner-access p {
        line-height: 1.4;
    }

    .lead-form form {
        padding: 18px;
    }

    .map-placeholder {
        min-height: 180px;
    }

    .map-placeholder.has-map-frame {
        padding: 10px;
    }

    .map-embed {
        min-height: 190px;
    }

    .map-copy {
        padding-bottom: 8px;
    }

    .map-button {
        width: 100%;
    }

    .share-panel {
        padding: 24px 18px 18px;
        border-radius: 22px;
    }

    .share-actions {
        flex-direction: column;
    }

    .share-actions .button {
        width: 100%;
    }

    .process-container,
    .faq-container {
        grid-template-columns: 1fr;
        gap: 22px;
        width: 100%;
    }

    .process ol,
    .process li {
        width: 100%;
        max-width: 100%;
    }

    .process li {
        padding: 18px;
    }

    body:has(.property-detail-hero) .detail-copy .eyebrow {
        display: inline-flex;
        width: fit-content;
        color: var(--blue-deep) !important;
        background: rgba(0, 86, 179, 0.08) !important;
        text-shadow: none !important;
        opacity: 1 !important;
    }

    .card-actions,
    .hero-actions,
    .cta div {
        flex-direction: column;
    }

    .tenant-pay {
        gap: 18px;
    }

    .tenant-pay-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px;
    }

    .tenant-pay h2 {
        font-size: 29px;
    }

    .gallery-lightbox {
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        gap: 6px;
        padding: 18px 10px 54px;
    }

    .gallery-lightbox figure {
        width: min(100%, calc(100vw - 116px));
        height: calc(100dvh - 96px);
    }

    .gallery-lightbox img {
        max-height: calc(100dvh - 126px);
    }

    .gallery-lightbox-arrow {
        width: 44px;
        height: 62px;
        font-size: 46px;
    }

    .gallery-lightbox-close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
    }

    .button,
    .property-search button,
    .card-actions a,
    .tenant-pay a,
    .owner-access a,
    .owner-lead button,
    .lead-form button {
        width: 100%;
    }

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

    .payment-exit {
        padding: 18px;
        background: linear-gradient(160deg, #062b66 0%, #0f5fb8 52%, #f8fafc 52%);
    }

    .payment-exit-card {
        padding: 26px;
        border-radius: 18px;
    }

    .payment-actions {
        flex-direction: column;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        min-height: 48px;
        padding: 11px 16px;
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .brand {
        font-size: 16px;
    }

    .site-header {
        padding: 10px 10px 8px;
    }

    .site-header nav a {
        padding-inline: 9px;
        font-size: 11px;
    }

    .hero h1 {
        max-width: calc(100% - 92px);
        font-size: clamp(30px, 9.6vw, 38px);
    }

    .hero p,
    .hero-actions {
        max-width: calc(100% - 96px);
    }

    .hero {
        padding: 132px 16px 50px;
        background-position:
            center,
            100% calc(84% + var(--hero-shift, 0px)),
            center;
        background-size:
            auto,
            auto 30%,
            auto;
    }

    .property-search {
        gap: 7px;
        padding: 9px;
    }

    .property-search input,
    .property-search select,
    .property-search button {
        min-height: 40px;
        font-size: 12px;
    }

    .owners,
    .owner-access,
    .owner-lead,
    .tenant-pay,
    .detail-copy,
    .detail-gallery,
    .detail-sections article,
    .lead-form,
    .process,
    .cta {
        padding: 20px;
    }

    .whatsapp-float {
        left: 14px;
        justify-content: center;
    }
}
