/* ==============================================================================
   HOME PAGE STYLES
   ============================================================================== */

/* ==============================================================================
       HERO SECTION - Premium Design
       ============================================================================== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: #0F172A;
    overflow: hidden;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url("/static/img/homepage-hero.383cef1149d9.png");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.7) 0%,
            rgba(15, 23, 42, 0.55) 40%,
            rgba(15, 23, 42, 0.45) 100%);
}

/* Floating decorative elements */
.hero-decorations {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.2) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.decoration-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.decoration-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.decoration-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 120px 0 80px;
    text-align: center;
}

/* Hero Title */
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    display: block;
    color: #FFFFFF;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #FFFFFF;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-subtitle strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* Airbnb Rating Badge */
.hero-rating-badge {
    display: inline-flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
    gap: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 90, 95, 0.15);
}

.airbnb-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.airbnb-logo img {
    height: 50px;
    width: auto;
}

.rating-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

.rating-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.rating-score {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    margin-left: 8px;
}

.rating-label {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0F172A;
    color: white;
    font-weight: 600;
    font-size: 1.0625rem;
    padding: 18px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    background: #1E293B;
    color: white;
}

.btn-hero-primary svg {
    transition: transform var(--transition-fast);
}

.btn-hero-primary:hover svg {
    transform: translateX(4px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: white;
    color: #0F172A;
    font-weight: 600;
    font-size: 1.0625rem;
    padding: 18px 32px;
    border-radius: 12px;
    border: 2px solid white;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-hero-secondary:hover {
    background: #f1f5f9;
    border-color: #f1f5f9;
    transform: translateY(-3px);
    color: #0F172A;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Responsive */
@media (max-width: 1200px) {
    .hero .container {
        padding: 0 24px;
    }
}

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

    .hero-content {
        padding: 100px 0 36px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 14px;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .hero-rating-badge {
        padding: 8px 14px;
        margin-bottom: 20px;
        gap: 10px;
        border-radius: 10px;
    }

    .airbnb-logo img {
        height: 32px;
    }

    .rating-divider {
        height: 28px;
    }

    .rating-score {
        font-size: 1rem;
        margin-left: 4px;
    }

    .rating-stars svg {
        width: 12px;
        height: 12px;
    }

    .rating-label {
        font-size: 0.7rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 0;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .hero-decorations {
        display: none;
    }
}

/* ==============================================================================
       SECTION HEADERS
       ============================================================================== */
.section-header {
    margin-bottom: 48px;
    text-align: center;
    display: block;
}

.section-header h2 {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    display: block;
    width: 100%;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
    display: block;
}

/* Features Section - Bento Grid */
.features-section {
    padding: 32px 0 160px 0;
    background-color: #F8FAFC;
}

.features-header {
    margin-bottom: 40px;
    text-align: center;
}

.features-header-content {
    margin-bottom: 24px;
}

.features-header h2 {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.header-accent {
    color: #7dd3fc;
}

.header-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
}

/* Inline Trust Badges - Clean Modern Style */
.trust-badges-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-check {
    color: #16a34a;
    flex-shrink: 0;
}

.trust-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.trust-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.trust-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

@media (max-width: 768px) {
    .features-header {
        margin-bottom: 28px;
    }

    .features-header h2 {
        font-size: 2.25rem;
    }

    .header-subtitle {
        font-size: 1.05rem;
    }

    .trust-badges-inline {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        background: #fff;
        border-radius: 16px;
        padding: 16px 8px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
        justify-content: space-evenly;
    }

    .trust-badge-item {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        flex: 1;
    }

    .trust-check {
        width: 28px;
        height: 28px;
        background: #f0fdf4;
        border-radius: 50%;
        padding: 4px;
    }

    .trust-text {
        align-items: center;
        text-align: center;
    }

    .trust-title {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .trust-desc {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .trust-divider {
        width: 1px;
        height: 48px;
        background: #e2e8f0;
        display: block;
        flex-shrink: 0;
    }
}

.features-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 20px;
}

.feature-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.feature-image {
    position: absolute;
    inset: 0;
}

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

.feature-card:hover .feature-image img {
    transform: scale(1.08);
}

.feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.feature-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}

.feature-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

/* Bento Grid Layout */
.feature-large {
    grid-column: span 2;
    grid-row: span 2;
}

.feature-medium {
    grid-column: span 2;
    grid-row: span 1;
}

.feature-small {
    grid-column: span 1;
    grid-row: span 1;
}

.feature-full {
    grid-column: span 4;
    grid-row: span 1;
    min-height: 300px;
}

/* Responsive Bento */
@media (max-width: 1024px) {
    .features-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .feature-large {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 300px;
    }

    .feature-medium {
        grid-column: span 1;
        min-height: 250px;
    }

    .feature-small {
        min-height: 200px;
    }

    .feature-full {
        grid-column: span 2;
        min-height: 200px;
    }

}

@media (max-width: 640px) {
    .features-section h2 {
        font-size: 2rem;
    }

    .features-bento {
        grid-template-columns: 1fr;
    }

    .feature-large,
    .feature-medium,
    .feature-small,
    .feature-full {
        grid-column: span 1;
        min-height: 220px;
    }
}

/* Properties Section */
.properties-preview {
    padding: 64px 0 96px 0;
    background-color: var(--bg-secondary);
}

/* Featured Property Card */
.property-card-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    margin-bottom: 40px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
}

.property-card-featured:hover {
    box-shadow: var(--shadow-card-hover);
}

.property-card-featured .property-carousel {
    height: 400px;
}

.property-card-featured .property-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.property-card-featured .property-tagline {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.property-card-featured .property-meta {
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.property-card-featured .property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.property-card-featured .feature-tag {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
}

.property-card-featured .property-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.1;
}

/* Properties Grid (2x3) */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
}

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

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

/* Property Estate Badge */
.property-estate-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
    color: #1a1a2e;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.property-card {
    position: relative;
}

/* Property Carousel */
.property-carousel {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all var(--transition-fast);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
    color: var(--text-primary);
}

.carousel-prev {
    left: 12px;
}

.carousel-next {
    right: 12px;
}

.property-card:hover .carousel-btn,
.property-card-featured:hover .carousel-btn {
    opacity: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    background: white;
    width: 18px;
    border-radius: 3px;
}

.property-content {
    padding: 16px;
    text-align: center;
}

.property-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.property-tagline {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.property-meta span {
    display: inline-flex;
    align-items: center;
}

.property-meta span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    margin-right: 8px;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 0;
}

.feature-tag {
    background-color: #F1F5F9;
    border: 1px solid #E2E8F0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    transition: all var(--transition-fast);
}

.feature-tag:hover {
    background-color: #E2E8F0;
    border-color: #CBD5E1;
}

.btn-property {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: var(--text-primary);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-property:hover {
    background: var(--brand-primary);
    transform: translateY(-2px);
    color: white;
}

.property-card-featured .btn-property {
    width: auto;
    padding: 14px 28px;
}

/* Reviews Section */
.reviews-section {
    padding: 60px 0;
    margin-top: 0;
    background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%);
    overflow: visible;
}

.reviews-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.reviews-left {
    color: white;
}

.reviews-left h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.reviews-left .header-accent {
    color: #FF5A5F;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #FF5A5F;
    background-clip: unset;
}

.reviews-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 0;
}

.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition-fast);
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.reviews-badge:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.reviews-badge .airbnb-logo {
    height: 20px;
    width: auto;
}

.reviews-badge-text {
    font-weight: 600;
    font-size: 0.875rem;
    color: #FF5A5F;
}

.reviews-right {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
    min-width: 0;
}

.reviews-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: white;
    flex-shrink: 0;
}

.reviews-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.reviews-nav svg {
    color: white;
}

.reviews-carousel {
    flex: 1;
    overflow: hidden;
    min-width: 0;
    padding: 4px 0;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 0 2px;
}

.review-card {
    flex: 0 0 calc(50% - 10px);
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    position: relative;
    box-sizing: border-box;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
}

.review-stars {
    color: #1e293b;
    font-size: 1.4rem;
    letter-spacing: 4px;
    margin-left: auto;
}

.review-text {
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    font-style: normal;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF5A5F 0%, #FF385C 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.review-meta {
    flex: 1;
    min-width: 0;
}

.review-name {
    display: block;
    font-weight: 700;
    color: #0F172A;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.reviews-dots-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    margin-top: 32px;
}

.reviews-dots {
    grid-column: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.reviews-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.reviews-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 1024px) {
    .reviews-layout {
        grid-template-columns: 260px 1fr;
        gap: 32px;
    }

    .reviews-dots-wrapper {
        grid-template-columns: 260px 1fr;
        gap: 32px;
    }

    .reviews-left h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
    }

    .reviews-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .reviews-dots-wrapper {
        grid-template-columns: 1fr;
    }

    .reviews-dots {
        grid-column: 1;
    }

    .reviews-left {
        text-align: center;
    }

    .reviews-left h2 {
        font-size: 1.75rem;
    }

    .reviews-badge {
        margin: 0 auto 20px auto;
    }

    .review-card {
        flex: 0 0 calc(100% - 0px);
        padding: 24px;
    }

    .reviews-nav {
        display: none;
    }

    .review-text {
        font-size: 0.9375rem;
        -webkit-line-clamp: 7;
    }

    .review-avatar {
        width: 40px;
        height: 40px;
    }
}

/* CTA Section */
.cta-section-fullwidth {
    padding: 80px 0 96px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.cta-image {
    position: relative;
    min-height: 460px;
}

.cta-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 48px;
}

.cta-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.cta-highlight {
    color: #ffffff;
}

.cta-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 24px;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.cta-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0f172a;
    padding: 14px 28px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}

.btn-cta-primary:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.12);
    color: #0f172a;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    padding: 14px 28px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}

/* ==============================================================================
   DATE SEARCH CTA & MODAL
   ============================================================================== */

/* Date search link */
.date-search-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 0.35rem;
    padding: 0.5rem 1.15rem;
    background: var(--bg-secondary, #F8FAFC);
    border: 1px solid var(--border-light, #E2E8F0);
    border-radius: 50px;
    color: var(--text-secondary, #475569);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.date-search-link:hover {
    background: var(--brand-primary, #0F172A);
    border-color: var(--brand-primary, #0F172A);
    color: #fff;
}

.date-search-link span {
    font-weight: 600;
}

/* Modal overlay */
.date-search-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    overscroll-behavior: contain;
}

.date-search-modal.active {
    pointer-events: auto;
    opacity: 1;
}

.date-search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.date-search-modal-container {
    position: relative;
    width: 90%;
    max-width: 680px;
    max-height: 90vh;
    background: #fff;
    border-radius: var(--radius-lg, 1rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s ease;
}

.date-search-modal.active .date-search-modal-container {
    transform: translateY(0) scale(1);
}

.date-search-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border-light, #E2E8F0);
}

.date-search-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary, #0F172A);
}

.date-search-modal-subtitle {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted, #64748B);
}

.date-search-modal-close {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--text-muted, #64748B);
    border-radius: 8px;
    transition: all 0.15s ease;
    margin-top: -2px;
}

.date-search-modal-close:hover {
    background: var(--bg-secondary, #F8FAFC);
    color: var(--text-primary, #0F172A);
}

.date-search-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

/* Form fields */
.date-search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.date-search-fields {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.75rem;
    align-items: end;
}

.date-search-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted, #64748B);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.date-search-field input[type="date"] {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1.5px solid var(--border-light, #E2E8F0);
    border-radius: var(--radius-md, 0.5rem);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-primary, #0F172A);
    background: #fff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.date-search-field input[type="date"]:focus {
    outline: none;
    border-color: var(--brand-primary, #0F172A);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.btn-check-availability {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.65rem 1.3rem;
    background: var(--brand-primary, #0F172A);
    color: #fff;
    border: none;
    border-radius: var(--radius-md, 0.5rem);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-check-availability:hover {
    background: var(--brand-primary-hover, #1E293B);
}

.btn-check-availability:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loading */
.date-search-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    color: var(--text-muted, #64748B);
    font-size: 0.9rem;
}

.date-search-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-light, #E2E8F0);
    border-top-color: var(--brand-primary, #0F172A);
    border-radius: 50%;
    animation: date-search-spin 0.7s linear infinite;
}

@keyframes date-search-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error */
.date-search-error {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-md, 0.5rem);
    color: var(--color-error, #EF4444);
    font-size: 0.9rem;
}

.date-search-error p {
    margin: 0;
}

/* Results */
.date-search-results {
    margin-top: 1.5rem;
}

.date-search-results-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light, #E2E8F0);
}

.date-search-results-header h4 {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary, #0F172A);
}

.date-search-results-header p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted, #64748B);
}

/* Results grid */
.date-search-results-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.date-search-property-card {
    display: flex;
    gap: 1rem;
    padding: 0.85rem;
    border: 1.5px solid var(--border-light, #E2E8F0);
    border-radius: var(--radius-md, 0.5rem);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.date-search-property-card:hover {
    border-color: var(--brand-primary, #0F172A);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.date-search-property-card.unavailable {
    opacity: 0.55;
    pointer-events: none;
}

.date-search-property-image {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
}

.date-search-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.date-search-property-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-available {
    background: #DCFCE7;
    color: #166534;
}

.badge-unavailable {
    background: #FEE2E2;
    color: #991B1B;
}

.date-search-property-info {
    flex: 1;
    min-width: 0;
}

.date-search-property-info h4 {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary, #0F172A);
}

.date-search-property-tagline {
    margin: 0 0 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted, #64748B);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.date-search-property-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--text-secondary, #475569);
    margin-bottom: 0.35rem;
}

.date-search-property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.date-search-feature-tag {
    display: inline-block;
    padding: 1px 7px;
    background: var(--bg-secondary, #F8FAFC);
    border: 1px solid var(--border-light, #E2E8F0);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary, #475569);
}

@media (max-width: 640px) {
    .date-search-modal-container {
        width: 95%;
        max-height: 95vh;
    }

    .date-search-fields {
        grid-template-columns: 1fr;
    }

    .btn-check-availability {
        width: 100%;
    }

    .date-search-property-card {
        flex-direction: column;
    }

    .date-search-property-image {
        width: 100%;
        height: 140px;
    }

    .date-search-property-tagline {
        white-space: normal;
    }
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    color: #ffffff;
}

@media (max-width: 768px) {
    .cta-section-fullwidth {
        padding: 48px 0 56px;
    }

    .cta-card {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .cta-image {
        min-height: 220px;
    }

    .cta-content {
        padding: 32px 28px 36px;
        text-align: center;
        align-items: center;
    }

    .cta-content h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .cta-subtitle {
        font-size: 0.9rem;
        margin-bottom: 22px;
    }

    .cta-features {
        gap: 12px;
        margin-bottom: 28px;
        padding: 20px 0;
        align-items: center;
    }

    .cta-feature-item {
        font-size: 0.88rem;
        gap: 12px;
        justify-content: center;
    }

    .cta-check {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
        border-radius: 6px;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 13px 22px;
        font-size: 0.85rem;
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

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

    .property-card-featured .property-carousel {
        height: 300px;
    }

    .property-card-featured .property-content {
        padding: 32px;
    }

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

    .cta-content {
        text-align: center;
        align-items: center;
    }

    .cta-features {
        align-items: center;
    }

    .cta-feature-item {
        justify-content: center;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 80px 0;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .properties-preview {
        padding: 40px 0 60px 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .property-carousel {
        height: 130px;
    }

    .carousel-btn {
        opacity: 1;
        width: 32px;
        height: 32px;
    }

    /* Featured property card mobile */
    .property-card-featured {
        margin-bottom: 24px;
        border-radius: 16px;
    }

    .property-card-featured .property-carousel {
        height: 240px;
    }

    .property-card-featured .property-content {
        padding: 20px;
        gap: 0;
    }

    .property-card-featured .property-content h3 {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }

    .property-card-featured .property-tagline {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .property-card-featured .property-meta {
        gap: 10px;
        margin-bottom: 12px;
        font-size: 0.85rem;
    }

    .property-card-featured .property-features {
        gap: 8px;
        margin-bottom: 16px;
    }

    .property-card-featured .feature-tag {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .property-card-featured .btn-property {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Grid property cards mobile */
    .property-card {
        border-radius: 12px;
    }

    .property-content {
        padding: 10px 10px 14px;
    }

    .property-content h3 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }

    .property-tagline {
        font-size: 0.7rem;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .property-meta {
        gap: 4px 8px;
        margin-bottom: 0;
        font-size: 0.7rem;
    }

    .property-meta span::before {
        width: 3px;
        height: 3px;
        margin-right: 4px;
    }

    .properties-grid .property-features {
        display: none;
    }

    .properties-grid .carousel-btn {
        display: none;
    }
}