/* ============================================
   Casa Italia — Elegant Gold Theme
   Light background, dark text, gold accents
   ============================================ */

html {
    scroll-behavior: smooth;
}

:root {
    --gold:         #B8860B;
    --gold-light:   #D4A843;
    --gold-dark:    #8B6914;
    --gold-pale:    #F5ECD7;
    --gold-shimmer: #C5A55A;
    --bg-primary:   #FAFAF7;
    --bg-white:     #FFFFFF;
    --bg-cream:     #F7F5F0;
    --text-dark:    #2C2C2C;
    --text-body:    #4A4A4A;
    --text-muted:   #8A8A8A;
    --border-light: #E8E4DC;
    --shadow-soft:  0 2px 15px rgba(0, 0, 0, 0.06);
    --shadow-card:  0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition:   all 0.3s ease;
}

/* ---- Typography ---- */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    color: var(--text-body);
    background-color: var(--bg-primary);
    letter-spacing: 0.01em;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.font-serif {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

h1 { font-weight: 300; }
h2 { font-weight: 400; }

.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-gold-pale { background-color: var(--gold-pale) !important; }
.bg-cream { background-color: var(--bg-cream) !important; }
.border-gold { border-color: var(--gold-pale) !important; }

/* ---- Navbar ---- */

.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    padding: 0.8rem 0;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.navbar-transparent {
    background-color: transparent !important;
    backdrop-filter: none;
    border-bottom-color: transparent !important;
    box-shadow: none;
}

.navbar.navbar-transparent .brand-text {
    color: #fff !important;
    transition: color 0.3s ease;
}

.navbar.navbar-transparent .brand-logo i {
    color: #fff !important;
    transition: color 0.3s ease;
}

.navbar.navbar-transparent .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s ease;
}

.navbar.navbar-transparent .nav-link:hover,
.navbar.navbar-transparent .nav-link.active {
    color: var(--gold-light) !important;
}

.navbar.navbar-transparent .btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-shimmer));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Scrolling state - gradual transition */
.navbar.navbar-scrolling {
    background-color: rgba(255, 255, 255, var(--navbar-opacity, 0)) !important;
    backdrop-filter: blur(calc(10px * var(--navbar-opacity, 0)));
    border-bottom-color: rgba(232, 228, 220, var(--navbar-opacity, 0)) !important;
}

.navbar.navbar-scrolling .brand-text,
.navbar.navbar-scrolling .brand-logo i {
    color: rgb(
        calc(255 + (44 - 255) * var(--navbar-opacity, 0)),
        calc(255 + (44 - 255) * var(--navbar-opacity, 0)),
        calc(255 + (44 - 255) * var(--navbar-opacity, 0))
    ) !important;
}

.navbar.navbar-scrolling .nav-link {
    color: rgb(
        calc(255 + (74 - 255) * var(--navbar-opacity, 0)),
        calc(255 + (74 - 255) * var(--navbar-opacity, 0)),
        calc(255 + (74 - 255) * var(--navbar-opacity, 0))
    ) !important;
}
.navbar.sticky-top {
    z-index: 1100;
}

.brand-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

.brand-logo:hover .brand-text {
    color: var(--gold);
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-body) !important;
    letter-spacing: 0.03em;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

/* Compact nav links on medium/large screens where space is tight */
@media (min-width: 992px) and (max-width: 1300px) {
    .nav-link {
        font-size: 0.76rem !important;
        padding: 0.5rem 0.45rem !important;
        letter-spacing: 0.01em;
    }

    .brand-text {
        font-size: 1.15rem;
    }

    .navbar .btn-gold.btn-sm {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
    }
}

/* Mobile: collapsed menu needs a solid background when navbar is transparent/scrolling */
@media (max-width: 991.98px) {
    .navbar.navbar-transparent .navbar-collapse.show,
    .navbar.navbar-scrolling .navbar-collapse.show {
        background-color: rgba(10, 20, 40, 0.97);
        padding: 0.5rem 0.75rem 1rem;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
        margin-top: 0.25rem;
    }

    .navbar.navbar-transparent .navbar-collapse.show .nav-link,
    .navbar.navbar-scrolling .navbar-collapse.show .nav-link {
        color: rgba(255, 255, 255, 0.88) !important;
        padding: 0.6rem 0.5rem !important;
    }

    .navbar.navbar-transparent .navbar-collapse.show .nav-link:hover,
    .navbar.navbar-scrolling .navbar-collapse.show .nav-link:hover {
        color: var(--gold-light) !important;
    }

    .navbar.navbar-transparent .navbar-collapse.show .btn-gold,
    .navbar.navbar-scrolling .navbar-collapse.show .btn-gold {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

/* ---- Buttons ---- */

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #fff;
    border: none;
    font-weight: 400;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
    font-size: 0.88rem;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
    transform: translateY(-1px);
}

.btn-outline-gold {
    color: var(--gold);
    border: 1px solid var(--gold);
    background: transparent;
    font-weight: 400;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
    font-size: 0.88rem;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
}

/* ---- Hero Section ---- */

.hero-section {
    background: #0f3460;
    color: #fff;
    min-height: 100vh;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section > .container {
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(135deg,
            rgba(26, 26, 46, 0.75) 0%,
            rgba(22, 33, 62, 0.65) 45%,
            rgba(15, 52, 96, 0.60) 100%),
        url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1000');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/*.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="p" patternUnits="userSpaceOnUse" width="20" height="20"><path d="M0 10 L10 0 L20 10 L10 20Z" fill="none" stroke="rgba(197,165,90,0.10)" stroke-width="0.5"/></pattern></defs><rect fill="url(%23p)" width="100" height="100"/></svg>');
    opacity: 0.45;
}*/

.hero-section .container {
    z-index: 1;
}

.hero-search-card {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(245, 236, 215, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-section h1 {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.hero-section .text-gold {
    color: var(--gold-light) !important;
}

.hero-subtitle {
    font-weight: 300;
    font-size: 1.1rem;
    opacity: 0.85;
    letter-spacing: 0.02em;
}

/* ---- Cards ---- */

.card {
    border: 1px solid var(--border-light);
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    overflow: hidden;
    background: var(--bg-white);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.03);
}

.card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    z-index: 2;
}

.card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
}

.card-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-dark);
}

.card-features {
    display: flex;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.card-features i {
    color: var(--gold);
    margin-right: 3px;
}

/* ---- Property Detail ---- */

.property-gallery img {
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.property-gallery img:hover {
    opacity: 0.9;
}

.property-info-table th {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 0.6rem 0;
    width: 40%;
    border-color: var(--border-light);
}

.property-info-table td {
    font-weight: 400;
    color: var(--text-dark);
    padding: 0.6rem 0;
    border-color: var(--border-light);
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: 2px;
    font-size: 0.82rem;
    color: var(--text-body);
    margin: 3px;
}

.feature-badge i {
    color: var(--gold);
}

/* ---- Region Cards ---- */

.region-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.region-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.region-card h6 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.region-card .count {
    font-size: 0.78rem;
    color: var(--gold);
}

/* ---- Search / Filter Panel ---- */

.filter-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.filter-panel label {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.form-control,
.form-select {
    border: 1px solid var(--border-light);
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 300;
    padding: 0.6rem 0.8rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.15);
}

/* ---- Section Titles ---- */

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 2rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gold);
}

.section-title-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ---- Section titles on dark backgrounds ---- */

#gallery .section-title,
#gallery .section-title * {
    color: #fff !important;
}

#gallery .text-white-50,
#gallery p {
    color: rgba(255, 255, 255, 0.65) !important;
}

/* ---- Divider ---- */

.gold-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1rem auto;
}

/* ---- Footer ---- */

.footer-elegant {
    background: #1a1a2e;
    color: #ccc;
}

.footer-elegant h5,
.footer-elegant h6 {
    color: var(--gold-light) !important;
}

.footer-elegant a:hover {
    color: var(--gold-light) !important;
}

/* ---- Pagination ---- */

.page-link {
    color: var(--gold);
    border-color: var(--border-light);
    font-size: 0.88rem;
}

.page-link:hover {
    background: var(--gold-pale);
    border-color: var(--gold);
    color: var(--gold-dark);
}

.page-item.active .page-link {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

/* ---- Utilities ---- */

.text-elegant {
    font-family: 'Cormorant Garamond', serif;
}

.letter-spacing-wide {
    letter-spacing: 0.1em;
}

.opacity-hover {
    transition: var(--transition);
}

.opacity-hover:hover {
    opacity: 0.8;
}

/* ---- HTMX loading indicator ---- */

.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-block;
}

.htmx-request.htmx-indicator {
    display: inline-block;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold-pale);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    .hero-section { padding: 4.5rem 0 3rem; }
    .hero-section h1 { font-size: 2rem; }
    .card-img-top { height: 180px; }
    .section-title { font-size: 1.6rem; }
}

/* ---- Contact Form ---- */

.inquiry-type-selector {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.inquiry-type-selector .form-check {
    margin: 0;
}

.inquiry-type-selector .form-check-input {
    cursor: pointer;
}

.inquiry-type-selector .form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.inquiry-type-selector .form-check-label {
    cursor: pointer;
    font-weight: 400;
    color: var(--text-body);
    transition: color 0.2s ease;
}

.inquiry-type-selector .form-check-input:checked ~ .form-check-label {
    color: var(--gold-dark);
    font-weight: 500;
}

.contact-info-item {
    padding: 0.75rem 0;
}

.contact-info-item i {
    font-size: 1.2rem;
}

.contact-info-item a:hover {
    color: var(--gold) !important;
}

@media (max-width: 768px) {
    .inquiry-type-selector {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ---- Scrollbar ---- */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-pale);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ---- Dropdown ---- */

.dropdown-menu-elegant {
    border: 1px solid var(--border-light);
    border-radius: 4px;
    box-shadow: var(--shadow-card);
    padding: 0.5rem 0;
    z-index: 1200;
}

.dropdown-menu-elegant .dropdown-item {
    font-size: 0.88rem;
    padding: 0.5rem 1.2rem;
    transition: var(--transition);
}

.dropdown-menu-elegant .dropdown-item:hover {
    background: var(--gold-pale);
    color: var(--gold-dark);
}

#home {
    margin-top: -90px;
}

/* ---- Share Button ---- */

.share-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-button:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.5);
    transform: translateY(-2px) scale(1.05);
}

.share-button:active {
    transform: translateY(0) scale(0.98);
}

.share-button i {
    transition: transform 0.3s ease;
}

.share-button:hover i {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .share-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }
}

/* ---- Luxury Property Slider ---- */

.properties-slider-wrapper {
    padding: 2rem 0;
}

.propertiesSwiper {
    padding: 20px 60px 60px;
}

.luxury-property-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.luxury-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(184, 134, 11, 0.3);
}

.luxury-card-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.luxury-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.luxury-property-card:hover .luxury-card-image img {
    transform: scale(1.1);
}

.luxury-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--gold-pale) 100%);
}

.luxury-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
}

.luxury-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
    z-index: 2;
}

.luxury-card-views {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--gold-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.luxury-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.luxury-card-location {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.luxury-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.luxury-card-features {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.luxury-card-features i {
    color: var(--gold);
    margin-right: 4px;
}

.luxury-card-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold-dark);
    margin-top: auto;
}

.luxury-card-price small {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Swiper Navigation */
.luxury-nav-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.luxury-nav-btn:after {
    content: none;
}

.luxury-nav-btn:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.5);
}

.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--gold-pale);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--gold);
    width: 30px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .propertiesSwiper {
        padding: 20px 40px 50px;
    }

    .luxury-card-image {
        height: 240px;
    }

    .luxury-card-content {
        padding: 1.5rem;
    }

    .luxury-card-title {
        font-size: 1.3rem;
    }

    .luxury-card-price {
        font-size: 1.6rem;
    }

    .luxury-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .luxury-card-features {
        gap: 0.8rem;
        font-size: 0.75rem;
    }
}

/* ============================================
   Homepage SPA Sections — Luxury Experience
   ============================================ */

/* ---- Scroll Indicator ---- */

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(212, 168, 67, 0.7));
    animation: scrollPulse 2.6s ease-in-out infinite;
    transform-origin: top;
}

@keyframes scrollPulse {
    0%   { transform: scaleY(0); opacity: 0; }
    15%  { opacity: 1; }
    50%  { transform: scaleY(1); opacity: 1; }
    85%  { opacity: 0.5; }
    100% { transform: scaleY(1); opacity: 0; }
}

/* ---- Scroll Reveal ---- */

[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity  0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.10s; }
[data-reveal-delay="2"] { transition-delay: 0.22s; }
[data-reveal-delay="3"] { transition-delay: 0.36s; }
[data-reveal-delay="4"] { transition-delay: 0.50s; }
[data-reveal-delay="5"] { transition-delay: 0.65s; }

/* ---- Section Base ---- */

.spa-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.spa-container {
    width: 100%;
}

.spa-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem 2rem;
    width: 100%;
}

.spa-header {
    margin-bottom: 4.5rem;
}

.spa-header-centered {
    text-align: center;
}

.spa-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.70rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-shimmer);
    margin-bottom: 1.2rem;
}

.spa-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: 0.02em;
    margin: 0;
}

/* ---- Chi Siamo Section ---- */

.chi-siamo-section {
    background: #0c0c0e;
}

.chi-siamo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 72% 50%, rgba(184, 134, 11, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.chi-siamo-section .spa-title {
    color: #fff;
}

.chi-siamo-section .spa-title::after {
    display: none;
}

.chi-siamo-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.text-lead {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-weight: 300;
    line-height: 1.72;
    margin-bottom: 1.6rem;
}

.chi-siamo-section .text-lead {
    color: rgba(255, 255, 255, 0.88);
}

.text-body-spa {
    font-size: 0.94rem;
    font-weight: 300;
    line-height: 1.95;
    margin-bottom: 2.4rem;
    color: rgba(255, 255, 255, 0.5);
}

.spa-quote {
    border-left: 2px solid var(--gold);
    padding: 1.4rem 1.8rem;
    background: rgba(184, 134, 11, 0.06);
}

.spa-quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--gold-shimmer);
    line-height: 1.75;
    margin: 0;
}

.visual-frame {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(184, 134, 11, 0.18);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
}

.visual-frame::before,
.visual-frame::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: rgba(184, 134, 11, 0.5);
    border-style: solid;
}

.visual-frame::before {
    top: 14px; left: 14px;
    border-width: 1px 0 0 1px;
}

.visual-frame::after {
    bottom: 14px; right: 14px;
    border-width: 0 1px 1px 0;
}

.visual-diamond {
    font-size: 3.2rem;
    color: var(--gold-shimmer);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.visual-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #fff;
    margin-bottom: 1.5rem;
}

.visual-desc {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.9;
    font-weight: 300;
    margin: 0;
}

/* ---- Servizi Section ---- */

.servizi-section {
    background: var(--bg-cream);
    min-height: auto;
}

.servizi-section .spa-title {
    color: var(--text-dark);
}

.servizi-section .spa-title::after {
    display: none;
}

.servizi-section .spa-label {
    color: var(--gold);
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-light);
    margin-bottom: 3rem;
}

.servizio-card {
    background: var(--bg-white);
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.servizio-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.servizio-card:hover {
    background: var(--bg-primary);
}

.servizio-card:hover::after {
    width: 100%;
}

.servizio-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: var(--gold-light);
    opacity: 0.28;
    line-height: 1;
    margin-bottom: 1.4rem;
    transition: opacity 0.4s ease;
}

.servizio-card:hover .servizio-num {
    opacity: 0.55;
}

.servizio-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.servizio-card p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.85;
    font-weight: 300;
    margin: 0;
}

.servizi-note {
    text-align: center;
    padding-top: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ---- Filosofia Section ---- */

.filosofia-section {
    background: #080808;
    min-height: 80vh;
}

.filosofia-section .spa-title {
    color: #fff;
}

.filosofia-section .spa-title::after {
    display: none;
}

.filosofia-section .spa-label {
    color: var(--gold-shimmer);
}

.filosofia-body {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.filosofia-lead {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.filosofia-emphasis {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.95;
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.filosofia-statement {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.statement-rule {
    flex: 1;
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.5), transparent);
}

.statement-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--gold-shimmer);
    line-height: 1.75;
    flex-shrink: 0;
    max-width: 280px;
    margin: 0;
}

.statement-quote em {
    font-style: italic;
    color: var(--gold-light);
}

/* ---- Gallery SPA Section ---- */

.gallery-spa-section {
    background: #090909;
    padding: 5rem 0 4rem;
    overflow: hidden;
}

.gallery-spa-header {
    text-align: center;
    padding: 0 2rem 3rem;
}

.gallery-spa-header .spa-title {
    color: #fff;
}

.gallery-spa-header .spa-title::after {
    display: none;
}

.gallery-spa-wrap {
    position: relative;
}

.gallerySwiper {
    padding: 0 0 3.5rem;
}

.gallery-spa-slide {
    width: 480px !important;
    height: 340px;
    overflow: hidden;
}

.gallery-spa-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.5s ease;
    filter: brightness(0.8) saturate(0.9);
}

.gallery-spa-slide:hover img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1);
}

.swiper-slide-active .gallery-spa-slide img,
.swiper-slide-active.gallery-spa-slide img {
    filter: brightness(0.95) saturate(1);
}

.gallery-spa-btn {
    position: absolute;
    top: calc(50% - 1.75rem);
    width: 54px;
    height: 54px;
    background: rgba(12, 12, 14, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(184, 134, 11, 0.3);
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.gallery-spa-prev { left: 1.5rem; }
.gallery-spa-next { right: 1.5rem; }

.gallery-spa-btn:hover {
    background: rgba(184, 134, 11, 0.28);
    border-color: var(--gold);
    color: #fff;
    transform: scale(1.08);
}

.gallery-spa-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
}

.gallery-spa-pagination .swiper-pagination-bullet-active {
    background: var(--gold);
    width: 28px;
    border-radius: 4px;
}

/* ---- Active Section Nav State ---- */

.nav-link.nav-section-link.is-active-section {
    color: var(--gold) !important;
}

.nav-link.nav-section-link.is-active-section::after {
    width: 60%;
}

/* ---- Responsive ---- */

@media (max-width: 992px) {
    .chi-siamo-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .chi-siamo-visual {
        display: none;
    }

    .servizi-grid {
        grid-template-columns: 1fr;
    }

    .spa-title {
        font-size: 2.4rem;
    }

    .gallery-spa-slide {
        width: 320px !important;
        height: 240px;
    }
}

@media (max-width: 768px) {
    .spa-content {
        padding: 5rem 1.5rem;
    }

    .spa-title {
        font-size: 2rem;
    }

    .servizio-card {
        padding: 2.5rem 1.8rem;
    }

    .filosofia-statement {
        flex-direction: column;
        gap: 1.5rem;
    }

    .statement-rule {
        width: 100%;
    }

    .gallery-spa-slide {
        width: 260px !important;
        height: 200px;
    }
}

/* ============================================
   PAGE HERO BANNER (shared — Properties, Contattaci)
   ============================================ */

.page-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    background-color: #0c0c0e;
    background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=1400&auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.72) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0 3rem;
}

.page-hero-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.page-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.04em;
    margin-bottom: 0;
    line-height: 1.2;
}

.page-hero-subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    font-weight: 300;
    margin-top: 1.2rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   LUXURY FILTER PANEL
   ============================================ */

.lux-filter-wrap {
    background: var(--bg-cream);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 65px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.lux-filter-panel {
    padding: 0.5rem 0;
}

.lux-filter-toggle {
    display: none;
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dark);
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
}

.lux-filter-chevron {
    transition: transform 0.3s ease;
}

.lux-filter-toggle:not(.collapsed) .lux-filter-chevron {
    transform: rotate(180deg);
}

.lux-filter-form {
    padding: 1.2rem 0 1rem;
}

.lux-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem 1.2rem;
    margin-bottom: 1.2rem;
}

.lux-filter-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.lux-select,
.lux-input {
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: #fff;
    font-size: 0.88rem;
    color: var(--text-dark);
    padding: 0.55rem 0.8rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    height: auto;
}

.lux-select:focus,
.lux-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.12);
    outline: none;
}

.lux-filter-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    padding-top: 0.4rem;
    border-top: 1px solid var(--border-light);
}

/* ============================================
   RESULTS HEADER
   ============================================ */

.lux-results-header {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.lux-results-count {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 0.02em;
}

.lux-results-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
}

.lux-results-page {
    font-size: 0.82rem;
}

/* ============================================
   LUXURY LISTING CARDS
   ============================================ */

.lux-card-link {
    display: block;
}

.lux-listing-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lux-card-link:hover .lux-listing-card {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.lux-listing-img {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--bg-cream);
}

.lux-listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.lux-card-link:hover .lux-listing-img img {
    transform: scale(1.06);
}

.lux-listing-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    opacity: 0.4;
}

.lux-listing-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
}

.lux-listing-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 25px;
    z-index: 2;
}

.badge-vendita {
    background: var(--gold);
    color: #fff;
}

.badge-affitto {
    background: rgba(12,12,14,0.75);
    color: var(--gold-light);
    border: 1px solid var(--gold);
}

.lux-listing-price-overlay {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
}

.lux-price-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
}

.lux-price-unit {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
    margin-left: 3px;
}

.lux-listing-body {
    padding: 1.2rem 1.3rem 0.8rem;
    flex: 1;
}

.lux-listing-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.12rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.lux-listing-location {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.lux-listing-location i {
    color: var(--gold);
    margin-right: 4px;
}

.lux-listing-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.lux-listing-features span i {
    color: var(--gold);
    margin-right: 3px;
}

.lux-listing-footer {
    padding: 0.75rem 1.3rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.lux-listing-cta {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    transition: letter-spacing 0.3s ease;
}

.lux-card-link:hover .lux-listing-cta {
    letter-spacing: 0.18em;
}

/* ============================================
   LUXURY PAGINATION
   ============================================ */

.lux-pagination .page-link {
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    padding: 0.55rem 0.9rem;
    font-size: 0.88rem;
    transition: var(--transition);
    border-radius: 4px !important;
    margin: 0 2px;
}

.lux-pagination .page-link:hover {
    background: var(--gold-pale);
    border-color: var(--gold);
    color: var(--gold-dark);
}

.lux-pagination .page-item.active .page-link {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

/* ============================================
   PROPERTY DETAIL — HERO
   ============================================ */

.detail-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    background-color: #0c0c0e;
    background-image: var(--detail-hero-bg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.detail-hero-no-img {
    min-height: 320px;
    align-items: center;
    background: linear-gradient(135deg, #0c0c0e 0%, #1a1409 60%, #0c0c0e 100%);
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.25) 100%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding-bottom: 3rem;
    padding-top: 6rem;
}

.detail-breadcrumb .breadcrumb {
    margin-bottom: 1.2rem;
}

.detail-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s ease;
}

.detail-breadcrumb .breadcrumb-item a:hover {
    color: var(--gold-light);
}

.detail-breadcrumb .breadcrumb-item.active {
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
}

.detail-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.3);
}

.detail-hero-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 25px;
    margin-bottom: 0.9rem;
}

.detail-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.03em;
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.detail-hero-location {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
}

.detail-price-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--gold-light);
    letter-spacing: 0.02em;
}

.detail-price-unit {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    margin-left: 4px;
}

/* ============================================
   PROPERTY DETAIL — GALLERY
   ============================================ */

.detail-gallery-main {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-cream);
    margin-bottom: 0.75rem;
}

.detail-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.detail-gallery-main:hover img {
    transform: scale(1.03);
}

.detail-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 6px;
}

.detail-gallery-thumb {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.detail-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-gallery-thumb.active {
    border-color: var(--gold);
}

.detail-gallery-thumb:hover {
    transform: scale(1.04);
}

.detail-gallery-placeholder {
    border-radius: 8px;
    background: var(--bg-cream);
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   PROPERTY DETAIL — FEATURES GRID
   ============================================ */

.detail-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1rem;
}

.detail-feature-tile {
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.1rem 0.8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-feature-tile:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(184,134,11,0.1);
}

.detail-feature-tile i {
    color: var(--gold);
    font-size: 1.1rem;
}

.detail-feature-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1;
}

.detail-feature-label {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================
   PROPERTY DETAIL — SECTIONS
   ============================================ */

.detail-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.detail-section-title i {
    color: var(--gold);
}

.detail-section-divider {
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin-bottom: 1.2rem;
    width: 100%;
}

.detail-description {
    white-space: pre-line;
    line-height: 1.85;
    color: var(--text-body);
}

.detail-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.detail-amenity {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: 25px;
    padding: 0.45rem 1rem;
    font-size: 0.83rem;
    color: var(--text-dark);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.detail-amenity i {
    color: var(--gold);
}

.detail-amenity:hover {
    border-color: var(--gold);
    background: var(--gold-pale);
}

/* ============================================
   PROPERTY DETAIL — SIDEBAR
   ============================================ */

.detail-sidebar {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.detail-sidebar-views {
    background: var(--gold-pale);
    border-bottom: 1px solid var(--border-light);
    padding: 0.65rem 1.4rem;
    font-size: 0.78rem;
    color: var(--gold-dark);
    letter-spacing: 0.06em;
    text-align: center;
}

.detail-sidebar > .btn,
.detail-sidebar > form {
    margin: 1.2rem 1.4rem 0;
}

.detail-sidebar-contact {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin: 1.2rem 1.4rem 0;
    padding: 0;
    border-bottom: none;
    box-shadow: var(--shadow-card);
}

.detail-sidebar-contact .detail-sidebar-heading {
    background: var(--gold-pale);
    border-bottom: 1px solid var(--border-light);
    color: var(--gold-dark);
    padding: 1rem 1.4rem;
    margin: 0 0 1rem;
}

.detail-sidebar-contact .detail-sidebar-owner {
    color: var(--text-dark);
    padding: 0 1.4rem;
}

.detail-sidebar-contact .d-grid {
    padding: 0 1.4rem 1.4rem;
}

.detail-sidebar-info {
    padding: 1.4rem;
}

.detail-sidebar-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--gold-dark);
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.detail-sidebar-owner {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border-radius: 25px;
    border: none;
    padding: 0.55rem 1.4rem;
    font-size: 0.88rem;
    transition: background 0.2s ease;
}

.btn-whatsapp:hover {
    background: #1da851;
    color: #fff;
}

.detail-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.detail-info-table tr {
    border-bottom: 1px solid var(--border-light);
}

.detail-info-table th {
    color: var(--text-muted);
    font-weight: 400;
    padding: 0.5rem 0;
    width: 45%;
    letter-spacing: 0.04em;
}

.detail-info-table td {
    color: var(--text-dark);
    padding: 0.5rem 0;
    text-align: right;
}

/* ============================================
   CONTATTACI — CONTACT SECTION
   ============================================ */

.contact-section {
    background: var(--bg-primary);
    padding: 5rem 0 6rem;
}

.page-hero-contact {
    min-height: 300px;
}

/* Form Panel */
.contact-form-panel {
    background: #fff;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}

.contact-panel-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-panel-title i {
    color: var(--gold);
}

.contact-panel-divider {
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin-bottom: 1.8rem;
}

/* Alerts */
.contact-alert {
    display: flex;
    align-items: center;
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.contact-alert-success {
    background: #f0faf4;
    color: #1a6b3a;
    border: 1px solid #b6e4c8;
}

.contact-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Inquiry Tabs */
.inquiry-tabs {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.inquiry-tab {
    flex: 1;
    min-width: 100px;
    cursor: pointer;
}

.inquiry-tab input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.inquiry-tab span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-cream);
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 400;
    white-space: nowrap;
}

.inquiry-tab input[type="radio"]:checked + span {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 4px 12px rgba(184,134,11,0.25);
}

.inquiry-tab span:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

/* Form Fields */
.contact-field-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.lux-form-group {
    position: relative;
}

.lux-form-input {
    display: block;
    width: 100%;
    padding: 0.7rem 0.9rem;
    font-size: 0.92rem;
    color: var(--text-dark);
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.lux-form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.1);
    outline: none;
    background: #fff;
}

.lux-form-textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-field-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Sidebar Info Cards */
.contact-info-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.contact-info-card-header {
    background: var(--gold-pale);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--gold-dark);
    letter-spacing: 0.08em;
}

.contact-info-card-body {
    padding: 1.2rem 1.5rem;
}

.contact-office-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-office-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-office-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(184,134,11,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
    font-size: 0.85rem;
    margin-top: 2px;
}

.contact-office-item div strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

/* ============================================
   City Autocomplete
   ============================================ */
.city-autocomplete-wrapper {
    position: relative;
}

.city-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    max-height: 260px;
    overflow-y: auto;
}

.city-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    cursor: pointer;
    gap: 8px;
    transition: background 0.15s;
    border-bottom: 1px solid var(--border-light);
}

.city-result-item:last-child {
    border-bottom: none;
}

.city-result-item:hover,
.city-result-item:focus {
    background: var(--gold-pale);
    outline: none;
}

.city-result-item .city-name {
    font-weight: 500;
    color: var(--text-dark);
}

.city-result-item .city-meta {
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.city-no-results {
    padding: 10px 14px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-style: italic;
}


.contact-office-item div span {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.contact-email-link {
    color: var(--gold-light) !important;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s ease;
}

.contact-email-link:hover {
    color: var(--gold-light) !important;
    text-decoration: underline;
}

/* Premium CTA Card */
.contact-premium-card {
    background: linear-gradient(135deg, var(--gold-pale) 0%, #fff 50%, var(--gold-pale) 100%);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 2rem 1.8rem;
    position: relative;
    overflow: hidden;
}

.contact-premium-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(184,134,11,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-premium-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.contact-premium-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    letter-spacing: 0.04em;
}

.contact-premium-text {
    color: var(--text-body);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.contact-premium-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-premium-list li {
    color: var(--text-body);
    font-size: 0.85rem;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
}

.contact-premium-list li i {
    color: var(--gold);
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

/* ============================================
   RESPONSIVE — Page improvements
   ============================================ */

@media (max-width: 991.98px) {
    .lux-filter-toggle {
        display: flex;
    }

    .lux-filter-wrap {
        position: static;
    }

    .detail-hero {
        min-height: 380px;
    }

    .detail-hero-inner {
        padding-top: 4rem;
    }
}

@media (max-width: 767.98px) {
    .page-hero {
        min-height: 260px;
    }

    .detail-hero {
        min-height: 320px;
    }

    .lux-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .inquiry-tabs {
        flex-direction: column;
    }

    .inquiry-tab {
        flex: none;
    }

    .contact-form-panel {
        padding: 1.5rem;
    }
}

/* ============================================
   Admin Pages — Mobile Responsive
   ============================================ */

/* Scrollable tab bar (Report tabs on mobile) */
.admin-tabs-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid #dee2e6;
}
.admin-tabs-scroll::-webkit-scrollbar { display: none; }
.admin-tabs-scroll .nav-tabs {
    border-bottom: none;
    white-space: nowrap;
}
.admin-tabs-scroll .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.85rem;
}

/* Property card in mobile list view */
.admin-property-card {
    border-left: 3px solid var(--gold) !important;
    transition: box-shadow 0.2s ease;
}
.admin-property-card:active {
    box-shadow: 0 4px 16px rgba(184,134,11,0.15) !important;
}

/* Tighten admin container padding on mobile */
@media (max-width: 575.98px) {
    .container-fluid.py-3 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    .admin-tabs-scroll .nav-link {
        font-size: 0.78rem;
        padding: 0.45rem 0.65rem;
    }
}

/* ============================================
   Admin Dashboard (Reports page)
   ============================================ */

.admin-dashboard {
    background: #f4f6fa;
    min-height: 100vh;
}

.dash-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    color: #fff;
    padding: 2rem 0 1.5rem;
    border-bottom: 3px solid var(--gold);
}
.dash-header .brand-gem { color: var(--gold); font-size: 1.4rem; }
.dash-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: .5px;
    color: #fff;
}
.dash-header .subtitle { color: rgba(255,255,255,.6); font-size: .85rem; }

.dash-quickbtn {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(184,134,11,.4);
    color: #fff;
    border-radius: 8px;
    padding: .45rem 1rem;
    font-size: .82rem;
    transition: background .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.dash-quickbtn:hover { background: rgba(184,134,11,.25); color: #fff; }
.dash-quickbtn.primary { background: var(--gold); border-color: var(--gold); color: #1a1a2e; font-weight: 600; }
.dash-quickbtn.primary:hover { background: var(--gold-light); }

.kpi-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    padding: 1.4rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    border: 1px solid #eef0f5;
    transition: transform .18s, box-shadow .18s;
}
.kpi-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }

.kpi-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.kpi-icon.gold   { background: rgba(184,134,11,.12); color: var(--gold); }
.kpi-icon.blue   { background: rgba(13,110,253,.1);  color: #0d6efd; }
.kpi-icon.green  { background: rgba(25,135,84,.1);   color: #198754; }
.kpi-icon.purple { background: rgba(111,66,193,.1);  color: #6f42c1; }
.kpi-icon.red    { background: rgba(220,53,69,.1);   color: #dc3545; }

.kpi-value { font-size: 1.85rem; font-weight: 700; line-height: 1; color: #1a1a2e; }
.kpi-label { font-size: .78rem; color: #888; text-transform: uppercase; letter-spacing: .6px; margin-top: .2rem; }
.kpi-badge { font-size: .72rem; margin-top: .35rem; }

.dash-section-title {
    font-family: 'Cormorant Garamond', serif;
    color: #1a1a2e;
    font-size: 1.15rem;
    font-weight: 600;
    border-left: 3px solid var(--gold);
    padding-left: .7rem;
    margin-bottom: 1rem;
}

.dash-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: .85rem;
    font-weight: 500;
    padding: .6rem 1.1rem;
    border-radius: 0;
    background: transparent;
    transition: color .2s, border-color .2s;
}
.dash-tabs .nav-link.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: transparent;
}
.dash-tabs .nav-link:hover:not(.active) { color: #1a1a2e; border-bottom-color: #ddd; }

.dash-tabs-wrapper {
    background: #fff;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    border-bottom: 1px solid #eef0f5;
    padding: 0 1rem;
}

.dash-card {
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    border: 1px solid #eef0f5;
    border-top: none;
}
.dash-card-inner {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    border: 1px solid #eef0f5;
    overflow: hidden;
}

.dash-table thead th {
    background: #f8f9fc;
    color: #555;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid #eef0f5;
    padding: .8rem 1rem;
}
.dash-table tbody tr { transition: background .12s; }
.dash-table tbody tr:hover { background: #fafbff; }
.dash-table tbody td {
    padding: .75rem 1rem;
    vertical-align: middle;
    font-size: .86rem;
    border-color: #f0f2f8;
}

.rank-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 700;
}
.rank-1 { background: #FFD700; color: #1a1a2e; }
.rank-2 { background: #C0C0C0; color: #1a1a2e; }
.rank-3 { background: #CD7F32; color: #fff; }
.rank-n { background: #eef0f5; color: #666; }

.score-bar-wrap { min-width: 100px; }
.score-bar { height: 5px; border-radius: 3px; background: #eef0f5; overflow: hidden; }
.score-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), #f0c040); border-radius: 3px; }

.type-chip {
    font-size: .72rem;
    padding: .2rem .55rem;
    border-radius: 20px;
    background: #f0f2f8;
    color: #555;
    font-weight: 500;
}

.contact-bar-label { font-size: .82rem; font-weight: 500; }
.contact-bar { height: 12px; border-radius: 6px; background: #eef0f5; overflow: hidden; }
.contact-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), #f0c040); border-radius: 6px; }

/* ============================================
   Admin Edit / Create Page
   ============================================ */

.edit-sticky-bar {
    position: sticky;
    top: 60px;
    z-index: 100;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    border-bottom: 2px solid var(--gold);
    padding: .85rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.edit-breadcrumb { font-size: .78rem; color: rgba(255,255,255,.5); margin-bottom: .2rem; }
.edit-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.edit-breadcrumb a:hover { color: var(--gold); }

.edit-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: #fff; }
.edit-title i { color: var(--gold); }

.edit-section-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    border: 1px solid #eef0f5;
    margin-bottom: 1.25rem;
    overflow: hidden;
}
.edit-section-header {
    background: linear-gradient(90deg, #f8f9fc, #fff);
    border-bottom: 1px solid #eef0f5;
    padding: .85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .65rem;
}
.edit-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
}
.edit-section-icon.gold   { background: rgba(184,134,11,.12); color: var(--gold); }
.edit-section-icon.blue   { background: rgba(13,110,253,.1);  color: #0d6efd; }
.edit-section-icon.green  { background: rgba(25,135,84,.1);   color: #198754; }
.edit-section-icon.purple { background: rgba(111,66,193,.1);  color: #6f42c1; }
.edit-section-icon.orange { background: rgba(253,126,20,.1);  color: #fd7e14; }

.edit-section-title { font-weight: 600; font-size: .9rem; color: #1a1a2e; }
.edit-section-body  { padding: 1.25rem; }

.feature-toggle {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #f8f9fc;
    border: 1px solid #eef0f5;
    border-radius: 8px;
    padding: .55rem .9rem;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    min-width: 130px;
}
.feature-toggle:has(input:checked) { background: rgba(184,134,11,.08); border-color: var(--gold); }
.feature-toggle input { margin: 0; cursor: pointer; accent-color: var(--gold); }
.feature-toggle label { font-size: .84rem; cursor: pointer; color: #444; margin: 0; }
.feature-toggle i { color: #aaa; font-size: .85rem; }
.feature-toggle:has(input:checked) i { color: var(--gold); }

/* Scoped form overrides — admin edit/create pages only */
.admin-edit-page .form-control,
.admin-edit-page .form-select {
    border-color: #e2e6ea;
    border-radius: 8px;
    font-size: .88rem;
}
.admin-edit-page .form-control:focus,
.admin-edit-page .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 .2rem rgba(184,134,11,.15);
}
.admin-edit-page .form-label {
    font-size: .82rem;
    font-weight: 600;
    color: #555;
    margin-bottom: .3rem;
}

/* ============================================================
   CONTACT PROPERTY MODAL
   ============================================================ */
.contact-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.contact-modal-header {
    background: linear-gradient(135deg, var(--gold-dark, #8B6914) 0%, var(--gold, #B8860B) 60%, var(--gold-light, #D4A843) 100%);
    padding: 1.5rem 2rem;
    border-bottom: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.contact-modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.2rem;
}

.contact-modal-subtitle {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    font-style: italic;
    max-width: 380px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-modal-success {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 1.5rem;
    color: #15803d;
    font-size: 1rem;
    line-height: 1.6;
    animation: fadeInUp 0.4s ease;
}

.contact-modal-success i {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-modal-error {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    color: #991b1b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
