@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&display=swap');

:root {
    font-family: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --color-primary: #14213d;
    --color-secondary: #4361ee;
    --color-accent: #f72585;
    --color-background: #f5f7fb;
    --color-text: #111827;
    --color-muted: #6b7280;
    --shadow-elevated: 0 24px 60px rgba(17, 24, 39, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: radial-gradient(140% 120% at 50% 0%, rgba(67, 97, 238, 0.12) 0%, rgba(245, 247, 251, 0.75) 32%, #f4f6fb 100%);
    color: var(--color-text);
}

::selection {
    background: rgba(247, 37, 133, 0.22);
    color: var(--color-primary);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.hero {
    position: relative;
    color: #fff;
    padding: 7rem 0 5rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(20, 33, 61, 0.94), rgba(67, 97, 238, 0.75)), url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 70% at 80% 10%, rgba(247, 37, 133, 0.25), transparent 70%);
    mix-blend-mode: screen;
}

.hero__content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.hero__logo {
    max-width: 200px;
    margin: 0 auto 1.5rem;
}

.hero__text {
    max-width: 640px;
}

.hero__contact {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero__text h1 {
    font-size: clamp(2.5rem, 6vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero__text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero__cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem auto 1rem;
    flex-wrap: wrap;
}

.hero__stats {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 0;
    margin: 1.5rem 0 0;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.8);
}

.hero__stats li {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    min-width: 160px;
}

.hero__stats strong {
    display: block;
    font-size: 1.4rem;
    color: #fff;
}

.section {
    padding: 4rem 0;
}

.section--alt {
    background: #fff;
    border-radius: 36px 36px 0 0;
    box-shadow: 0 -18px 40px rgba(17, 24, 39, 0.08);
}

.section h2 {
    color: var(--color-primary);
    margin-bottom: 2.2rem;
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    text-align: center;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(17, 24, 39, 0.18);
}

.property-card__image {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.property-card__slider {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.property-card__track {
    position: relative;
    height: 190px;
}

.property-card__slide {
    width: 100%;
    height: 190px;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card__slide.is-active {
    opacity: 1;
    position: relative;
}

.property-card__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: grid;
    place-items: center;
    color: var(--color-primary);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.property-card__nav:hover {
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.property-card__nav[data-slider-prev] { left: 12px; }
.property-card__nav[data-slider-next] { right: 12px; }

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.65);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 999;
    cursor: zoom-out;
}

.lightbox.is-visible {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
}

.lightbox__image {
    position: relative;
    max-width: min(960px, 94vw);
    max-height: 88vh;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 30px 120px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.property-card__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(20, 33, 61, 0.85);
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 8px 20px rgba(20, 33, 61, 0.3);
    z-index:999;
}

.property-card__badge--rent {
    background: rgba(67, 97, 238, 0.9);
}

.property-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.property-card__address {
    font-weight: 600;
    color: var(--color-secondary);
}

.property-card__price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.property-card__description {
    color: var(--color-muted);
    line-height: 1.6;
}

.empty-state {
    text-align: center;
    color: #6b6b6b;
}

.property-card__meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.property-card__link {
    font-weight: 600;
    color: var(--color-secondary);
    transition: color 0.2s ease;
}

.property-card__link:hover {
    color: var(--color-accent);
}

.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.contact__address {
    font-weight: 600;
    margin-top: 1rem;
}

.map iframe {
    border-radius: 12px;
}

.form {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form__group.is-disabled {
    opacity: 0.6;
}

.form__group.is-disabled select {
    cursor: not-allowed;
}

.form__hint {
    font-size: 0.9rem;
    color: #6b7280;
}

.form__group--split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.form__radio-group {
    display: flex;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #d5dce5;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.15);
}

.button {
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(29, 53, 87, 0.2);
}

.button--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    box-shadow: none;
}

.button--ghost:hover {
    border-color: #fff;
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.18);
}

.button--full {
    width: 100%;
}

.button--shine {
    position: relative;
    overflow: hidden;
}

.button--shine::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.button--shine:hover::after {
    opacity: 1;
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-weight: 600;
}

.alert--success {
    background: rgba(69, 123, 157, 0.15);
    color: var(--color-secondary);
}

.alert--error {
    background: rgba(230, 57, 70, 0.15);
    color: var(--color-accent);
}

.footer {
    background: #0b0c10;
    color: #fff;
    padding: 1.8rem 0;
    margin-top: 4rem;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__admin-link {
    color: var(--color-accent);
    font-weight: 600;
}

@media (max-width: 720px) {
    .hero {
        padding: 4.5rem 0 3.5rem;
    }

    .hero__content {
        padding: 0 1rem;
    }

    .hero__stats {
        gap: 0.75rem;
    }

    .form {
        padding: 1.5rem;
    }
}