:root {
    --vy-primary: #0ab39c;
    --vy-primary-dark: #089a86;
    --vy-dark: #0f172a;
    --vy-muted: #64748b;
    --vy-light: #f8fafc;
    --vy-border: #e2e8f0;
    --vy-gradient: linear-gradient(135deg, #0ab39c 0%, #405189 100%);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--vy-dark);
    background: #fff;
    scroll-behavior: smooth;
}

.vy-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--vy-border);
    transition: box-shadow 0.2s;
}

.vy-navbar.scrolled {
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.vy-brand {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--vy-dark);
    text-decoration: none;
}

.vy-brand span { color: var(--vy-primary); }

.vy-brand--image {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.vy-brand-logo {
    height: 78px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
}

.vy-brand-logo--footer {
    height: 72px;
    max-width: 220px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 10px;
}

@media (max-width: 576px) {
    .vy-brand-logo {
        height: 58px;
        max-width: 200px;
    }
}

.vy-nav-link {
    color: var(--vy-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem !important;
    transition: color 0.2s;
}

.vy-nav-link:hover { color: var(--vy-primary); }

.btn-vy-primary {
    background: var(--vy-primary);
    border-color: var(--vy-primary);
    color: #fff;
    font-weight: 600;
    padding: 0.55rem 1.35rem;
    border-radius: 10px;
}

.btn-vy-primary:hover {
    background: var(--vy-primary-dark);
    border-color: var(--vy-primary-dark);
    color: #fff;
}

.btn-vy-outline {
    border: 2px solid var(--vy-primary);
    color: var(--vy-primary);
    font-weight: 600;
    border-radius: 10px;
    padding: 0.5rem 1.25rem;
}

.btn-vy-outline:hover {
    background: var(--vy-primary);
    color: #fff;
}

/* Hero */
.vy-hero {
    padding: 5rem 0 4rem;
    background: radial-gradient(ellipse at 20% 50%, rgba(10, 179, 156, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(64, 81, 137, 0.1) 0%, transparent 45%),
                var(--vy-light);
    overflow: hidden;
}

.vy-hero--slider {
    position: relative;
    padding: 5.5rem 0 5rem;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    background: #0f172a;
}

.vy-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.vy-hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    transform: scale(1.03);
}

.vy-hero-bg-slide.is-active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.2s ease-in-out, transform 8s ease-out;
}

.vy-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(15, 23, 42, 0.72) 45%,
        rgba(15, 23, 42, 0.45) 100%
    );
}

.vy-hero-inner {
    position: relative;
    z-index: 2;
}

.vy-hero--slider .vy-hero-badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}

.vy-hero--slider h1 {
    color: #fff;
}

.vy-hero--slider h1 .highlight {
    background: linear-gradient(135deg, #5eead4 0%, #0ab39c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vy-hero--slider .vy-hero-lead {
    color: rgba(255, 255, 255, 0.85);
}

.vy-hero--slider .vy-hero-stats {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.vy-hero--slider .vy-stat strong {
    color: #fff;
}

.vy-hero--slider .vy-stat span {
    color: rgba(255, 255, 255, 0.75);
}

.vy-hero--slider .btn-vy-outline {
    border-color: rgba(255, 255, 255, 0.85);
    color: #fff;
    background: transparent;
}

.vy-hero--slider .btn-vy-outline:hover {
    background: #fff;
    color: var(--vy-dark);
    border-color: #fff;
}

.vy-hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}

/* Only hero background uses bottom dots — hide any stray carousel/swiper controls in hero */
.vy-hero .carousel-indicators,
.vy-hero .carousel-control-prev,
.vy-hero .carousel-control-next,
.vy-hero .swiper-pagination {
    display: none !important;
}

.vy-hero-featured-card .carousel-indicators,
.vy-hero-featured-card .carousel-control-prev,
.vy-hero-featured-card .carousel-control-next {
    display: none !important;
}

#featured-listings .vy-featured-pagination {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100%;
}

.vy-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.vy-hero-dot.is-active {
    background: var(--vy-primary);
    transform: scale(1.15);
}

.vy-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--vy-border);
    border-radius: 50px;
    padding: 0.35rem 1rem 0.35rem 0.5rem;
    font-size: 0.85rem;
    color: var(--vy-muted);
    margin-bottom: 1.25rem;
}

.vy-hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--vy-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.vy-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.vy-hero h1 .highlight {
    background: var(--vy-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vy-hero-lead {
    font-size: 1.1rem;
    color: var(--vy-muted);
    max-width: 520px;
    line-height: 1.7;
}

.vy-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--vy-border);
}

.vy-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--vy-dark);
}

.vy-stat span {
    font-size: 0.85rem;
    color: var(--vy-muted);
}

.vy-hero-visual {
    position: relative;
}

.vy-dashboard-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    border: 1px solid var(--vy-border);
    padding: 1.25rem;
    transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
}

.vy-dashboard-card .bar {
    height: 8px;
    border-radius: 4px;
    background: var(--vy-gradient);
    margin-bottom: 0.75rem;
}

.vy-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.vy-mini-tile {
    background: var(--vy-light);
    border-radius: 10px;
    padding: 0.85rem;
    font-size: 0.75rem;
}

.vy-mini-tile i {
    color: var(--vy-primary);
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    display: block;
}

/* Sections */
.vy-section {
    padding: 5rem 0;
}

.vy-section-alt {
    background: var(--vy-light);
}

.vy-section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.vy-section-sub {
    color: var(--vy-muted);
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.vy-feature-card {
    background: #fff;
    border: 1px solid var(--vy-border);
    border-radius: 14px;
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vy-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10, 179, 156, 0.12);
    border-color: rgba(10, 179, 156, 0.3);
}

.vy-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(10, 179, 156, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--vy-primary);
    margin-bottom: 1rem;
}

.vy-feature-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.vy-feature-card p {
    color: var(--vy-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Steps */
.vy-step {
    text-align: center;
    position: relative;
}

.vy-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--vy-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.vy-step h5 { font-weight: 700; }

.vy-step p {
    color: var(--vy-muted);
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto;
}

/* Pricing */
.vy-price-card {
    background: #fff;
    border: 1px solid var(--vy-border);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.vy-price-card.featured {
    border-color: var(--vy-primary);
    box-shadow: 0 16px 40px rgba(10, 179, 156, 0.15);
    position: relative;
}

.vy-price-card .badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--vy-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vy-price-card h4 { font-weight: 800; }

.vy-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--vy-dark);
}

.vy-price-amount small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--vy-muted);
}

.vy-price-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.vy-price-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--vy-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.vy-price-features li i {
    color: var(--vy-primary);
    margin-top: 0.15rem;
}

/* Contact */
.vy-contact-wrap {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--vy-border);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.vy-contact-info {
    background: var(--vy-gradient);
    color: #fff;
    padding: 2.5rem;
    height: 100%;
}

.vy-contact-info h3 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.vy-contact-info p {
    opacity: 0.9;
    line-height: 1.7;
}

.vy-contact-info .info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    font-size: 0.95rem;
}

.vy-contact-form {
    padding: 2.5rem;
}

.vy-contact-form .form-control,
.vy-contact-form .form-select {
    border-radius: 10px;
    border-color: var(--vy-border);
    padding: 0.65rem 1rem;
}

.vy-contact-form .form-control:focus {
    border-color: var(--vy-primary);
    box-shadow: 0 0 0 3px rgba(10, 179, 156, 0.15);
}

/* Footer */
.vy-footer {
    background: var(--vy-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 3.5rem 0 1.5rem;
}

.vy-footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.vy-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 0.2rem 0;
    transition: color 0.2s;
}

.vy-footer a:hover { color: var(--vy-primary); }

.vy-footer a.vy-footer-brand {
    display: inline-block;
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.01em;
    padding: 0;
    margin-bottom: 0.75rem;
}

.vy-footer a.vy-footer-brand:hover {
    color: var(--vy-primary);
}

.vy-footer-address {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.vy-footer-address i {
    color: var(--vy-primary);
}

.vy-contact-phones-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.75rem;
}

.vy-contact-phones-label--mobile {
    color: var(--vy-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.vy-contact-phone-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.vy-contact-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.vy-contact-phone-link:hover {
    color: var(--vy-primary);
}

.vy-contact-phone-link i {
    color: var(--vy-primary);
    font-size: 1.05rem;
}

.vy-contact-phone-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.vy-contact-phone-wa:hover {
    background: #25d366;
    color: #fff;
}

/* Footer links use display:block; override for contact row icons */
.vy-footer .vy-contact-phone-link {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.vy-footer .vy-contact-phone-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.vy-footer .vy-contact-phone-wa i {
    font-size: 1.15rem;
    line-height: 1;
}

.vy-footer .vy-contact-phone-wa:hover {
    color: #fff;
}

.vy-mobile-contact {
    border-top: 1px solid var(--vy-border);
    margin-top: 0.5rem;
    padding-top: 1rem;
    margin-bottom: 0.75rem;
}

.vy-contact-phone-row--mobile {
    margin-bottom: 0.5rem;
}

.vy-contact-phone-row--mobile .vy-contact-phone-link {
    color: var(--vy-dark);
    flex: 1;
}

.vy-contact-phone-row--mobile .vy-contact-phone-link:hover {
    color: var(--vy-primary);
}

.vy-footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
}

.vy-footer-contact i {
    color: var(--vy-primary);
    font-size: 1.05rem;
}

.vy-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    text-align: center;
}

/* Property listing */
.vy-property-card {
    background: #fff;
    border: 1px solid var(--vy-border);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.vy-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
    border-color: rgba(10, 179, 156, 0.35);
}

.vy-property-thumb {
    height: 190px;
    background: linear-gradient(135deg, rgba(10,179,156,0.14), rgba(64,81,137,0.12));
    position: relative;
    overflow: hidden;
}

.vy-property-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vy-property-thumb .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    border-radius: 999px;
    z-index: 2;
}

.vy-property-meta {
    color: var(--vy-muted);
    font-size: 0.9rem;
}

.vy-property-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--vy-dark);
}

.vy-blog-card {
    background: #fff;
    border: 1px solid var(--vy-border);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.vy-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
    border-color: rgba(10, 179, 156, 0.35);
}

.vy-blog-thumb {
    height: 190px;
    background: linear-gradient(135deg, rgba(10,179,156,0.14), rgba(64,81,137,0.12));
    overflow: hidden;
}

.vy-blog-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vy-blog-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vy-primary);
    font-size: 2rem;
}

.vy-blog-detail-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--vy-border);
}

.vy-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vy-section-header p {
    margin: 0;
    color: var(--vy-muted);
    max-width: 560px;
}

.vy-about-stat {
    background: #fff;
    border: 1px solid var(--vy-border);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vy-about-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 179, 156, 0.12);
}

.vy-about-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--vy-primary);
    margin-bottom: 0.35rem;
}

.vy-about-stat span {
    font-size: 0.9rem;
    color: var(--vy-muted);
}

.vy-featured-slider-wrap {
    position: relative;
    padding: 0 3rem;
}

.vy-featured-slider .swiper-slide {
    height: auto;
}

.vy-featured-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--vy-border);
    background: #fff;
    color: var(--vy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.vy-featured-nav:hover {
    border-color: var(--vy-primary);
    color: var(--vy-primary);
    box-shadow: 0 8px 20px rgba(10, 179, 156, 0.15);
}

.vy-featured-prev {
    left: 0;
}

.vy-featured-next {
    right: 0;
}

.vy-featured-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--vy-border);
    opacity: 1;
}

.vy-featured-pagination .swiper-pagination-bullet-active {
    background: var(--vy-primary);
    width: 24px;
    border-radius: 999px;
}

@media (max-width: 767px) {
    .vy-featured-slider-wrap {
        padding: 0;
    }

    .vy-featured-nav {
        display: none;
    }
}

@media (max-width: 991px) {
    .vy-hero { padding-top: 3rem; }
    .vy-hero--slider { min-height: auto; padding: 3.5rem 0 4rem; }
    .vy-hero-visual { margin-top: 2.5rem; }
    .vy-dashboard-card { transform: none; }
}
