/* Phase 5: public browsing (home, listings, filters, detail, share, similar). */
/* Phase 10: theme tokens + responsive breakpoints applied throughout. */

.hero-search {
    margin-top: 32px;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-search select,
.hero-search input[type="text"] {
    padding: 12px 14px;
    border: 1px solid var(--border-color-strong);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text);
}

.hero-search input[type="text"] {
    min-width: 260px;
}

.hero-search .btn {
    margin-top: 0;
}

.featured-section {
    padding: 64px 0;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 8px;
}

.section-header h2 {
    font-family: var(--font-heading);
    color: var(--text-strong);
    margin: 0;
}

.section-link {
    color: var(--color-gold);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.empty-state {
    color: var(--text-faint);
    padding: 32px 0;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.property-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09), 0 3px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.18);
    border-color: rgba(212, 175, 55, 0.4);
}

.property-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--bg-alt);
    overflow: hidden;
}

.property-card-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
    pointer-events: none;
}

.property-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.property-card:hover .property-card-media img {
    transform: scale(1.08);
}

.property-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-faint);
    font-size: 13px;
}

.property-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
    background: rgba(17, 17, 17, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.badge-purpose-sale {
    background: var(--color-black);
}

.badge-purpose-rent {
    background: var(--color-gold);
    color: var(--color-black);
    border-color: rgba(0, 0, 0, 0.15);
}

.property-card-body {
    padding: 16px;
}

.property-card-price {
    color: var(--color-gold);
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 6px;
}

.property-card-title {
    margin: 0 0 6px;
    font-size: 16px;
}

.property-card-title a {
    color: var(--text-strong);
    text-decoration: none;
}

.property-card-title a:hover {
    color: var(--color-gold);
}

.property-card-body {
    padding: 18px;
}

.property-card-location {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0 0 12px;
}

.property-card-meta {
    list-style: none;
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    flex-wrap: wrap;
}

.page-header {
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: 40px 0;
}

[data-theme="dark"] .page-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-family: var(--font-heading);
    margin: 0;
}

.properties-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    padding: 40px 24px 64px;
}

.filter-panel {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 22px 20px;
    align-self: start;
}

.filter-panel form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 24px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.filter-group select,
.filter-group input {
    padding: 11px 14px;
    border: 1px solid var(--border-color-strong);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.filter-group select {
    cursor: pointer;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.filter-group-split {
    flex-direction: row;
    gap: 10px;
}

.filter-group-split > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn-full {
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
}

.filter-clear {
    text-align: center;
    font-size: 13px;
    color: var(--text-faint);
    text-decoration: underline;
}

.filter-clear:hover {
    color: var(--color-gold);
}

.pagination {
    display: flex;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 8px 14px;
    border: 1px solid var(--border-color-strong);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
}

.pagination-link.active {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.breadcrumbs {
    padding: 24px 0 0;
    font-size: 13px;
    color: var(--text-faint);
}

.breadcrumbs a {
    color: var(--text-faint);
    text-decoration: none;
}

.breadcrumbs span {
    color: var(--text);
}

.property-detail {
    padding-bottom: 64px;
}

.property-detail-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    margin-top: 20px;
}

.property-hero-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

/* Property/Project detail — unified premium "card" layout */
.property-popup-card {
    position: relative;
    margin-top: 20px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.property-popup-media {
    position: relative;
    background: var(--bg-alt);
}

.property-popup-media .property-card-badge {
    top: 16px;
    left: 16px;
}

.property-popup-media .gallery-main-image {
    aspect-ratio: 16 / 7;
    border-radius: 0;
}

.property-popup-media .property-gallery-placeholder {
    aspect-ratio: 16 / 7;
    border-radius: 0;
}

@media (max-width: 700px) {
    .property-popup-media .gallery-main-image,
    .property-popup-media .property-gallery-placeholder {
        aspect-ratio: 4 / 3;
    }
}

.property-popup-card > .gallery-thumbs {
    padding: 14px 28px 0;
    margin-top: 0;
}

.property-popup-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 36px;
    padding: 28px;
    align-items: start;
}

.property-popup-main .property-description,
.property-popup-main .property-tags-block,
.property-popup-main .property-map-block {
    margin-top: 28px;
}

.property-popup-main .property-description:first-child {
    margin-top: 20px;
}

.property-popup-sidebar {
    position: relative;
}

.property-info-box {
    position: sticky;
    top: 96px;
    background: linear-gradient(165deg, var(--surface), var(--bg-alt));
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
    padding: 26px;
}

.property-info-box-divider {
    height: 1px;
    background: var(--border-color);
    margin: 22px 0;
}

.property-info-box .inquiry-form-card {
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

@media (max-width: 900px) {
    .property-popup-body {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .property-info-box {
        position: static;
        top: auto;
    }
}

.property-gallery {
    position: relative;
}

.property-gallery .property-card-badge {
    top: 12px;
    left: 12px;
}

.property-gallery-placeholder {
    background: var(--bg-alt);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-faint);
    border-radius: var(--radius-md);
}

.gallery-main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.75;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--color-gold);
}

.property-info h1 {
    font-family: var(--font-heading);
    margin: 12px 0 4px;
    color: var(--text-strong);
}

.property-location {
    color: var(--text-muted);
    margin: 0 0 12px;
}

.property-purpose-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-white);
    background: var(--color-black);
    margin-bottom: 4px;
}

.property-price {
    color: var(--color-gold);
    font-size: 28px;
    font-weight: 700;
    margin: 4px 0 20px;
}

.property-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.property-meta-list li {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-color);
}

.property-meta-list li:last-child {
    border-bottom: none;
}

.property-meta-list strong {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.share-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 13px;
    color: var(--text-muted);
}

.share-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-color-strong);
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}

.share-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.property-description,
.property-tags-block,
.similar-section {
    margin-top: 40px;
}

.property-description h2,
.property-tags-block h2,
.similar-section h2 {
    font-family: var(--font-heading);
    color: var(--text-strong);
}

.tag-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list li {
    padding: 6px 14px;
    background: var(--bg-alt);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text);
}

.leaflet-map {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 0 64px;
}

.contact-details h2,
.contact-form-card h2 {
    font-family: var(--font-heading);
    color: var(--text-strong);
    margin-top: 0;
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.contact-details-list strong {
    display: inline-block;
    width: 90px;
    color: var(--text);
}

.contact-details-list a {
    color: var(--text-muted);
    text-decoration: none;
}

.contact-details-list a:hover {
    color: var(--color-gold);
}

.contact-map-block .leaflet-map {
    height: 260px;
}

.inquiry-form-card,
.contact-form-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.inquiry-form-card form,
.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inquiry-form-card label,
.contact-form-card label {
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    color: var(--text);
}

.inquiry-form-card input,
.inquiry-form-card textarea,
.contact-form-card input,
.contact-form-card textarea {
    padding: 10px 12px;
    border: 1px solid var(--border-color-strong);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text);
    resize: vertical;
}

.inquiry-form-card .btn,
.contact-form-card .btn {
    margin-top: 20px;
}

.property-map-block {
    margin-bottom: 20px;
}

.property-map-block .leaflet-map,
#property-map,
#project-map {
    height: 280px;
}

.leaflet-map {
    width: 100%;
    background: var(--bg-alt);
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 6px 16px var(--shadow-color);
    z-index: 30;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .properties-layout {
        grid-template-columns: 1fr;
        padding: 32px 16px 48px;
    }

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

    .property-hero-card {
        padding: 18px;
    }

    .filter-panel form {
        position: static;
    }
}

@media (max-width: 600px) {
    .property-grid {
        grid-template-columns: 1fr;
    }

    .hero-search {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search input[type="text"] {
        min-width: 0;
    }

    .filter-group-split {
        flex-direction: column;
    }

    .property-meta-list strong {
        width: auto;
        margin-right: 6px;
    }

    .gallery-thumb {
        width: 60px;
        height: 45px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        padding: 24px 0 48px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
}

/* Footer */
.site-footer-full {
    position: relative;
    background: linear-gradient(180deg, #161616, #0d0d0d);
    color: rgba(255, 255, 255, 0.85);
    padding: 52px 0 0;
    margin-top: 48px;
}

.site-footer-full::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
}

.footer-col h3 {
    color: #fff;
    font-size: 15px;
    margin: 0 0 18px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--color-gold);
}

.footer-brand-col .brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
}

.footer-brand-col .brand-logo {
    height: 58px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.25));
}

@media (max-width: 480px) {
    .footer-brand-col .brand-logo {
        height: 46px;
    }
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.footer-social-icons li {
    margin: 0;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.08);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-icons a svg {
    width: 17px;
    height: 17px;
}

.footer-social-icons a:hover {
    background: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-2px);
}

.footer-about-text {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 320px;
}

.footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-link-list a:hover {
    color: var(--color-gold);
    padding-left: 3px;
}

.footer-link-list li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-gold);
    flex-shrink: 0;
    flex-shrink: 0;
}

.footer-contact-list li::before {
    display: none;
}

.footer-link-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
}

.footer-link-list a:hover {
    color: var(--color-gold);
}

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-contact-list a:hover {
    color: var(--color-gold);
}

.footer-address {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.footer-bottom {
    margin-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 24px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-inner p {
    margin: 0;
}

.footer-back-to-top {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.15s ease;
}

.footer-back-to-top:hover {
    color: var(--color-gold);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Static content pages (About / Privacy / Terms) */
.static-page {
    max-width: 840px;
    margin: 0 auto;
    padding: 40px 24px 64px;
    line-height: 1.75;
    color: var(--text);
}

.static-page h1 {
    font-family: var(--font-heading);
    color: var(--text-strong);
}

.static-page h2 {
    font-family: var(--font-heading);
    color: var(--text-strong);
    margin-top: 32px;
}

.lede-block {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.static-list {
    padding-left: 20px;
}

.static-list li {
    margin-bottom: 8px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.why-us-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    background: var(--surface);
}

.why-us-card h3 {
    margin-top: 0;
    font-size: 15px;
    color: var(--text-strong);
}

@media (max-width: 700px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}

/* Rich blog content blocks (table / FAQ / chart / image) */
.blog-rich-content {
    line-height: 1.8;
}

.blog-rich-content h2 {
    font-family: var(--font-heading);
    color: var(--text-strong);
    margin-top: 36px;
}

.blog-rich-content h3 {
    color: var(--text-strong);
}

.blog-rich-content img {
    width: 100%;
    border-radius: var(--radius-md);
    margin: 20px 0;
    display: block;
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 8px;
    font-size: 14px;
}

.blog-table th, .blog-table td {
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    text-align: left;
}

.blog-table th {
    background: var(--bg-alt);
    color: var(--text-strong);
}

.blog-chart {
    width: 100%;
    max-width: 460px;
    height: auto;
    display: block;
    margin: 16px 0;
}

.chart-caption {
    font-size: 13px;
    color: var(--text-faint);
    margin-top: -8px;
}

.faq-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    background: var(--surface);
}

.faq-item h3 {
    margin: 0 0 8px;
    font-size: 15px;
}

.faq-item p {
    margin: 0;
    color: var(--text-muted);
}

/* --- Phase 13: home page expansion, flip cards, icons, stats --- */

.alt-surface {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
}

.section-sub {
    color: var(--text-muted);
    font-size: 13px;
    margin: 4px 0 0;
}

.icon {
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
}

.theme-toggle-svg {
    width: 18px;
    height: 18px;
}

.theme-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stats-bar {
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    box-shadow: var(--shadow-sm);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.stat-icon {
    color: var(--color-gold);
    width: 30px;
    height: 30px;
    margin-bottom: 4px;
}

.stat-icon .icon {
    width: 30px;
    height: 30px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-strong);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.category-section {
    padding: 20px 0 56px;
}

.flip-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.flip-card {
    display: block;
    text-decoration: none;
    color: inherit;
    perspective: 1200px;
    height: 190px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-visible .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.flip-card-front {
    background: var(--surface);
    gap: 12px;
}

.flip-card-front .flip-card-icon {
    width: 40px;
    height: 40px;
    color: var(--color-gold);
}

.flip-card-front h3 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--text-strong);
}

.flip-card-back {
    background: linear-gradient(160deg, #111111, #1f1f1f);
    color: #f5f5f5;
    transform: rotateY(180deg);
    gap: 10px;
}

.flip-card-back p {
    margin: 0;
    font-size: 13px;
    color: #d8d8d8;
}

.flip-card-cta {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 13px;
}

.why-section {
    padding: 20px 0 56px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
}

.why-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(160deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.08));
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
    margin-bottom: 16px;
    box-shadow: 0 8px 18px rgba(212, 175, 55, 0.15);
    transition: transform 0.25s ease;
}

.why-item:hover .why-icon {
    transform: scale(1.08) rotate(-4deg);
}

.why-icon .icon {
    width: 26px;
    height: 26px;
}

.why-item h3 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    color: var(--text-strong);
    font-size: 16px;
}

.why-item p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.locations-section {
    padding: 40px 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.location-col {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.location-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.13);
    border-color: rgba(212, 175, 55, 0.4);
}

.location-col h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--text-strong);
    font-size: 15px;
    font-family: var(--font-heading);
}

.location-pin {
    width: 18px;
    height: 18px;
    color: var(--color-gold);
    flex-shrink: 0;
}

.location-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.location-col a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

.cta-banner {
    padding: 20px 0 64px;
}

.cta-banner-inner {
    position: relative;
    background: linear-gradient(135deg, #141414, #262019);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: 46px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.cta-banner-inner::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25), transparent 70%);
    pointer-events: none;
}

.cta-banner-inner h2 {
    color: #fff;
    margin: 0 0 8px;
    font-family: var(--font-heading);
}

.cta-banner-inner p {
    color: #cfcfcf;
    margin: 0;
    max-width: 480px;
}

.btn-gold {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #f0d17a, var(--color-gold));
    color: #161616;
    padding: 13px 26px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #f6dd94, #c49f2e);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(212, 175, 55, 0.45);
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .cta-banner-inner {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .flip-card-grid,
    .why-grid,
    .locations-grid {
        grid-template-columns: 1fr;
    }
}
