/* ===== HERO ===== */
.hero {
    position: relative;
    height: 870px;
    padding: 0 3rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    padding: 0.5rem;
    z-index: 0;
}

.hero-bg-inner {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.hero-bg-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-mobile-img { display: none; }
.hero-video { display: block; }

.hero-bg-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 24, 41, 0.85) 0%, rgba(12, 24, 41, 0.5) 40%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto 4rem;
    width: 100%;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: #fff;
    opacity: 0.9;
}

.hero-sub {
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 550px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.hero-buttons .btn-primary:hover {
    background: var(--surface-container-high);
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

.hero-buttons .btn-outline {
    background: rgba(255,255,255,0.15);
    border: 2px solid #fff;
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-buttons .btn-outline:hover {
    background: rgba(255,255,255,0.3);
}

/* ===== INTRO ===== */
.intro-section {
    padding: 6rem 3rem;
    background: var(--surface);
}

.intro-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-image img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.intro-text > p {
    color: var(--on-surface-variant);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    max-width: 600px;
}

.intro-text > p:first-of-type {
    color: var(--on-surface);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===== WHY CHOOSE ME ===== */
.why-section {
    padding: 6rem 3rem;
    background: var(--surface-container-low);
}

.why-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 3rem;
    text-align: left;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--surface-container-lowest);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.why-icon {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.why-item p {
    color: var(--on-surface);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== THE DIFFERENCE ===== */
.difference-section {
    padding: 6rem 3rem;
    background: var(--surface);
}

.difference-inner {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.difference-inner h2 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.difference-inner > p {
    color: var(--on-surface-variant);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===== FEATURED PROPERTIES ===== */
.properties-section {
    padding: 6rem 3rem;
    background: var(--surface);
}

.properties-section .section-header {
    max-width: 1440px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.properties-section .section-header a {
    color: var(--brand);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.properties-section .section-header a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.properties-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    overflow: hidden;
}

.property-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    min-width: 0;
}

.property-image {
    aspect-ratio: 16/10;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--surface-container-low);
    position: relative;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-for-sale {
    background: var(--primary-container);
    color: var(--on-primary-container);
}

.badge-under-offer {
    background: var(--secondary-container);
    color: var(--on-secondary-container);
}

.badge-sold {
    background: var(--surface-container-high);
    color: var(--on-surface);
}

.property-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.property-card .property-price {
    color: var(--on-surface-variant);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.property-meta {
    display: flex;
    gap: 1rem;
    color: var(--on-surface-variant);
    font-size: 0.85rem;
}

.property-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}



/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 6rem 3rem;
    background: var(--surface);
}

.testimonials-section .section-header {
    max-width: 1440px;
    margin: 0 auto 3rem;
    text-align: center;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--surface-container-low);
    padding: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-stars {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    color: var(--on-surface);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--surface-container-highest);
}

.testimonial-author strong {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    display: block;
}

.testimonial-author small {
    color: var(--on-surface-variant);
    font-size: 0.8rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 6rem 3rem;
    background: var(--surface);
}

.cta-box {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--primary);
    border-radius: 1rem;
    padding: 5rem;
    text-align: center;
    color: var(--on-primary);
}

.cta-box h2 {
    font-size: 2.5rem;
    color: var(--on-primary);
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-white {
    background: var(--surface-container-lowest);
    color: var(--primary);
    padding: 0.85rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}

.cta-buttons .btn-white:hover { transform: translateY(-1px); }



/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero { height: 700px; padding: 0 1.5rem 2rem; margin-top: 70px; }
    .hero h1 { font-size: 2.75rem; }
    .intro-grid { grid-template-columns: 1fr; text-align: center; }
    .intro-image { display: flex; justify-content: center; }
    .intro-text > p { max-width: 100%; }
    .properties-section, .testimonials-section, .cta-section, .intro-section, .why-section, .difference-section { padding: 4rem 1.5rem; }
}

@media (max-width: 768px) {
    .hero { height: 600px; margin-top: 0; }
    .hero h1 { font-size: 2.25rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; }
    .properties-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .intro-image img { width: 180px; height: 180px; }
    .cta-box { padding: 3rem 2rem; }
    .cta-box h2 { font-size: 2rem; }
    .hero-mobile-img { display: block; }
    .hero-video { display: none; }
}
