:root {
    --primary: #0B5FA5;
    --primary-light: #084A80;
    --accent: #42A9DC;
    --accent-hover: #258FC5;
    --background: #F8FAFC;
    --surface: #FFF;
    --white: #FFF;
    --text: #334155;
    --text-light: #64748B;
    --border: #E2E8F0;
    --shadow: 0 10px 30px #0000000d;
    --radius: 8px;
    --transition: .3s ease;
    --font: Inter, -apple-system, BlinkMacSystemFont, sans-serif
}

[data-theme="dark"] {
    --background: #0F172A;
    --surface: #1E293B;
    --text: #E2E8F0;
    --text-light: #94A3B8;
    --border: #334155;
    --primary: #56B4E9;
    --primary-light: #7CC8F0;
    --accent: #7DD3FC;
    --accent-hover: #BAE6FD;
    --shadow: 0 10px 30px #00000040
}

[data-theme="dark"] .stats-section,
[data-theme="dark"] .stat-item,
[data-theme="dark"] .reputation-section,
[data-theme="dark"] .pathway-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .team-photo,
[data-theme="dark"] .partner-photo-card,
[data-theme="dark"] .local-focus-list div,
[data-theme="dark"] .mvv-item,
[data-theme="dark"] .coverage-section,
[data-theme="dark"] .location-list span,
[data-theme="dark"] .nri-card,
[data-theme="dark"] .service-intent,
[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .contact-form-wrapper,
[data-theme="dark"] .reviews-section,
[data-theme="dark"] .reviews-carousel-container,
[data-theme="dark"] .review-card,
[data-theme="dark"] .carousel-btn,
[data-theme="dark"] .service-modal-dialog {
    background: #FFF;
    color: #334155
}

[data-theme="dark"] .service-modal-dialog h2,
[data-theme="dark"] .service-modal-dialog p {
    color: #334155
}

[data-theme="dark"] .stats-section,
[data-theme="dark"] .reviews-section,
[data-theme="dark"] .reviews-carousel-container,
[data-theme="dark"] .stat-item,
[data-theme="dark"] .review-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card {
    background: #1E293B;
    /* border-color: transparent; */
}

[data-theme="dark"] .stat-item .stat-number,
[data-theme="dark"] .stat-item .stat-label,
[data-theme="dark"] .reviewer-details strong,
[data-theme="dark"] .reviewer-details span,
[data-theme="dark"] .review-text,
[data-theme="dark"] .review-date,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .testimonial-card h3,
[data-theme="dark"] .testimonial-card p {
    color: #E2E8F0;
}

[data-theme="dark"] .review-footer {
    border-top-color: #334155;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: var(--surface);
    color: var(--text)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--font);
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition)
}

a:hover {
    color: var(--accent)
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem
}

.section-padding {
    padding: 4rem 0
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem
}

.section-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: .5rem
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: .5rem
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem
    }
}

.btn {
    display: inline-block;
    padding: .75rem 1.75rem;
    font-weight: 600;
    font-size: .95rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    font-family: inherit
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary)
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--white)
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary)
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white)
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent)
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white)
}

.site-header {
    background: #FFF;
    box-shadow: 0 2px 10px #00000008;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #E2E8F0
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%
}

.logo img {
    width: 100px;
    height: auto;
    max-height: 70px;
    object-fit: contain
}

[data-theme="dark"] .logo img {
    /* filter: invert(1) */
}

.logo {
    display: inline-flex;
    align-items: center
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem
}

.nav-link {
    font-weight: 500;
    color: #334155;
    padding: .5rem 0;
    position: relative
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition)
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%
}

.nav-link.active {
    color: #0B5FA5
}

.nav-cta {
    padding: .5rem 1.25rem;
    font-size: .9rem
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem
}

.nav-toggle .bar {
    width: 25px;
    height: 2px;
    background: #0B5FA5;
    transition: var(--transition)
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px)
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px)
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #FFF;
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px #0000000d;
        transform: translateY(-120%);
        transition: transform .4s ease;
        z-index: 999;
        border-top: 1px solid #E2E8F0;
        align-items: flex-start;
        text-align: left
    }

    .nav-menu.open {
        transform: translateY(0)
    }

    .nav-link {
        font-size: 1.2rem;
        display: block
    }

    .nav-menu .nav-item {
        width: 100%
    }

    .nav-cta {
        margin-top: .5rem
    }
}

.hero {
    position: relative;
    min-height: 85vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: left;
    padding: 4rem 0
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0f172ab3 30%, #0f172a33 100%);
    z-index: 1
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 4rem;
    align-items: center
}

.hero-copy {
    min-width: 0
}

.hero-eyebrow {
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: .5rem
}

.hero-tagline {
    color: var(--white);
    font-size: 1.35rem !important;
    font-weight: 600;
    margin-bottom: .75rem !important
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem
}

.hero p {
    font-size: 1.2rem;
    opacity: .9;
    margin-bottom: 2rem
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem
}

.hero-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white)
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary)
}

.hero-stats-card {
    display: inline-flex;
    gap: 2.5rem;
    background: #ffffff1a;
    backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    border-radius: var(--radius);
    border: 1px solid #ffffff26
}

.hero-stats-card .stat {
    font-size: .95rem
}

.hero-stats-card .stat strong {
    font-size: 1.5rem;
    font-weight: 700;
    display: block
}

.hero-inquiry {
    padding: 1.5rem;
    background: #0f172a6b;
    backdrop-filter: blur(14px);
    border: 1px solid #ffffff59;
    border-radius: var(--radius);
    box-shadow: 0 18px 40px #0000002e
}

.hero-inquiry h2 {
    color: var(--white);
    font-size: 1.55rem;
    margin-bottom: .35rem
}

.hero-inquiry>p {
    font-size: .9rem;
    margin-bottom: 1.1rem
}

.hero-inquiry label {
    display: block;
    margin-bottom: .8rem
}

.hero-inquiry label span {
    display: block;
    color: var(--white);
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: .25rem
}

.hero-inquiry input,
.hero-inquiry select,
.hero-inquiry textarea {
    width: 100%;
    border: 1px solid #ffffff73;
    border-radius: 4px;
    background: #ffffffeb;
    color: var(--primary);
    font: inherit;
    font-size: .9rem;
    padding: .65rem .75rem
}

.hero-inquiry textarea {
    resize: vertical
}

.hero-inquiry input:focus,
.hero-inquiry select:focus,
.hero-inquiry textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px
}

.hero-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem
}

.hero-inquiry .btn {
    width: 100%;
    margin-top: .2rem
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 3rem 0
    }

    .hero h1 {
        font-size: 2.8rem
    }

    .hero p {
        font-size: 1rem
    }

    .hero-stats-card {
        padding: 1rem 1.5rem;
        gap: 1.5rem;
        flex-wrap: wrap
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .hero-inquiry {
        max-width: 520px
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem
    }

    .hero-stats-card .stat strong {
        font-size: 1.2rem
    }

    .hero-form-row {
        grid-template-columns: 1fr;
        gap: 0
    }
}

.stats-section {
    background: var(--white);
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border)
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch
}

.stat-item {
    min-height: 180px;
    padding: 1.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center
}

.stat-item .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    color: var(--accent);
    font-size: 1.6rem;
    margin-bottom: .75rem
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    display: block
}

.stat-item .stat-number::after {
    content: '+'
}

.stat-item .stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem
    }

    .stat-item {
        min-height: 165px;
        padding: 1.25rem .75rem
    }

    .stat-item .stat-number {
        font-size: 2.2rem
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem
    }

    .stat-item {
        min-height: 155px;
        padding: 1rem .5rem
    }
}

.reputation-section {
    background: var(--white);
    border-bottom: 1px solid var(--border)
}

.reputation-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center
}

.reputation-copy h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin: .4rem 0 .6rem
}

.reputation-copy p {
    color: var(--text-light);
    max-width: 650px
}

.rating-panel {
    min-width: 210px;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    background: var(--background);
    border-radius: var(--radius);
    text-align: center
}

.rating-panel strong,
.rating-panel>span,
.rating-panel small {
    display: block
}

.rating-panel strong {
    color: var(--primary);
    font-size: 2.6rem;
    line-height: 1
}

.rating-panel strong span {
    color: var(--accent);
    font-size: 1.6rem;
    margin-left: .2rem
}

.rating-panel>span {
    color: var(--primary);
    font-weight: 600;
    margin-top: .45rem
}

.rating-panel small {
    color: var(--text-light);
    margin-top: .2rem
}

.pathways-section {
    background: var(--background)
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem
}

.pathway-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.75rem
}

.pathway-card>i {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1rem
}

.pathway-card h3 {
    color: var(--primary);
    margin-bottom: .5rem
}

.pathway-card p {
    color: var(--text-light);
    margin-bottom: 1rem
}

.pathway-card a {
    color: var(--accent-hover);
    font-weight: 600
}

.pathway-card a i {
    margin-left: .25rem
}

@media (max-width: 768px) {
    .reputation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .rating-panel {
        width: 100%
    }

    .pathways-grid {
        grid-template-columns: 1fr
    }
}

.faq-section {
    background: var(--background)
}

.faq-list {
    max-width: 860px;
    margin: 0 auto
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.faq-item+.faq-item {
    margin-top: .85rem
}

.faq-item summary {
    position: relative;
    padding: 1.25rem 3.5rem 1.25rem 1.5rem;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    list-style: none
}

.faq-item summary::-webkit-details-marker {
    display: none
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 1.5rem;
    color: var(--accent);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%)
}

.faq-item[open] summary::after {
    content: '\2212'
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px
}

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start
}

.about-image img {
    border-radius: var(--radius);
    object-fit: cover;
    width: 100%;
    height: auto
}

.about-team-gallery {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: .85rem;
    align-items: stretch
}

.team-photo-stack {
    display: grid;
    gap: .85rem
}

.team-photo {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.team-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 0
}

.team-photo-lead img {
    height: 100%;
    aspect-ratio: auto
}

.team-photo figcaption {
    position: absolute;
    right: .6rem;
    bottom: .6rem;
    left: .6rem;
    padding: .45rem .6rem;
    background: #0f172ac7;
    border-radius: 4px;
    color: var(--white);
    font-size: .85rem;
    font-weight: 600
}

.team-photo figcaption span {
    display: block;
    color: #ffffffbf;
    font-size: .72rem;
    font-weight: 400
}

.team-photo figcaption a {
    display: block;
    color: #ffffffc7;
    font-size: .72rem;
    font-weight: 400
}

.team-photo figcaption a:hover {
    color: var(--white)
}

.partner-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem
}

.partner-photo-card {
    margin: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.partner-photo-card img {
    aspect-ratio: 3 / 4;
    object-fit: cover
}

.partner-photo-card figcaption {
    padding: .65rem .35rem .75rem;
    text-align: center
}

.partner-photo-card strong,
.partner-photo-card span {
    display: block
}

.partner-photo-card strong {
    color: var(--primary);
    font-size: .9rem
}

.partner-photo-card span {
    color: var(--text-light);
    font-size: .75rem
}

.partner-photo-card a {
    display: block;
    color: var(--text-light);
    font-size: .75rem
}

.partner-photo-card a:hover {
    color: var(--accent)
}

.partner-photo-card a i {
    margin-right: .15rem
}

.local-focus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.local-focus-grid h2 {
    color: var(--primary);
    font-size: 2.4rem;
    line-height: 1.15;
    margin: .5rem 0 1rem
}

.local-focus-grid p {
    color: var(--text-light);
    margin-bottom: 1.5rem
}

.local-focus-list {
    display: grid;
    gap: 1rem
}

.local-focus-list div {
    display: grid;
    grid-template-columns: 2rem 1fr;
    column-gap: .75rem;
    padding: 1.1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius)
}

.local-focus-list i {
    grid-row: span 2;
    color: var(--accent);
    font-size: 1.4rem
}

.local-focus-list strong {
    color: var(--primary)
}

.local-focus-list span {
    color: var(--text-light);
    font-size: .9rem
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: .5rem 0 1rem
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem
}

.mvv-item {
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.mvv-item h3 {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: .8rem
}

.mvv-item h3 i {
    color: var(--accent)
}

.mvv-item p,
.mvv-item li {
    color: var(--text-light);
    font-size: .95rem
}

.mvv-item ul {
    padding-left: 1.1rem
}

.mvv-item li+li {
    margin-top: .45rem
}

.legal-section {
    border-top: 1px solid var(--border)
}

.legal-content {
    max-width: 900px
}

.legal-content h2 {
    margin: .5rem 0 1rem;
    color: var(--primary)
}

.legal-content h3 {
    margin: 1.5rem 0 .4rem;
    color: var(--primary);
    font-size: 1.15rem
}

.legal-content p {
    color: var(--text-light);
    max-width: 820px
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .about-text h2 {
        font-size: 2rem
    }

    .local-focus-grid {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .local-focus-grid h2 {
        font-size: 2rem
    }

    .mvv-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 480px) {
    .about-team-gallery {
        grid-template-columns: 1fr
    }

    .team-photo-lead img {
        height: auto;
        aspect-ratio: 4 / 5
    }

    .team-photo-stack {
        grid-template-columns: 1fr 1fr
    }

    .team-photo-stack .team-photo img {
        aspect-ratio: 3 / 4
    }

    .partner-photo-grid {
        gap: .5rem
    }

    .partner-photo-card figcaption {
        padding-left: .15rem;
        padding-right: .15rem
    }

    .partner-photo-card strong {
        font-size: .78rem
    }
}

.coverage-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border)
}

.coverage-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center
}

.coverage-copy h2 {
    color: var(--primary);
    font-size: 2.5rem;
    line-height: 1.15;
    margin: .5rem 0 1rem
}

.coverage-copy p {
    color: var(--text-light);
    margin-bottom: 1.5rem
}

.coverage-locations {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem
}

.coverage-locations h3 {
    color: var(--primary);
    margin-bottom: 1.25rem
}

.location-list {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem
}

.location-list span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-size: .9rem;
    padding: .55rem .8rem
}

.location-list i {
    color: var(--accent)
}

.location-list-centered {
    justify-content: center;
    max-width: 950px;
    margin: 0 auto
}

@media (max-width: 768px) {
    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .coverage-copy h2 {
        font-size: 2rem
    }

    .coverage-locations {
        padding: 1.5rem
    }
}

.nri-section {
    background: var(--background)
}

.nri-section .section-header h2 {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto
}

.nri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem
}

.nri-card {
    min-height: 220px;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.nri-card>i {
    display: block;
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 1.8rem
}

.nri-card h3 {
    margin-bottom: .6rem;
    color: var(--primary);
    font-size: 1.1rem
}

.nri-card p,
.nri-footer p {
    color: var(--text-light)
}

.nri-footer {
    margin-top: 2.5rem;
    text-align: center
}

.nri-footer h3 {
    margin-bottom: .4rem;
    color: var(--primary);
    font-size: 1.5rem
}

.nri-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.25rem
}

.nri-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem
}

@media (max-width: 992px) {
    .nri-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 576px) {
    .nri-grid {
        grid-template-columns: 1fr
    }

    .nri-card {
        min-height: 0
    }

    .nri-actions .btn {
        width: 100%
    }
}

.service-intent {
    background: var(--white)
}

.service-intent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem
}

.service-intent-grid article {
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background)
}

.service-intent-grid article>i {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1rem
}

.service-intent-grid h3 {
    color: var(--primary);
    margin-bottom: .5rem
}

.service-intent-grid p {
    color: var(--text-light)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem
}

.service-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
    border: 1px solid var(--border)
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px #0000000f
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: .5rem
}

.service-card p {
    color: var(--text-light);
    font-size: .95rem;
    margin-bottom: 1rem
}

.service-link {
    display: inline-block;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer
}

.service-link i {
    transition: transform var(--transition)
}

.service-link:hover i {
    transform: translateX(4px)
}

.service-modal[hidden] {
    display: none
}

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left))
}

.service-modal-backdrop {
    position: absolute;
    inset: 0;
    background: #0f172aad
}

.service-modal-dialog {
    position: relative;
    width: min(100%, 560px);
    max-height: min(90vh, 680px);
    max-height: min(90dvh, 680px);
    overflow-y: auto;
    padding: 2.5rem clamp(1.25rem, 5vw, 2.5rem);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 24px 70px #0000003d;
    overscroll-behavior: contain
}

.service-modal-icon {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: .75rem
}

.service-modal-dialog h2 {
    margin-bottom: .75rem;
    color: var(--primary);
    overflow-wrap: anywhere
}

.service-modal-dialog p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    overflow-wrap: anywhere
}

.service-modal-close {
    position: absolute;
    top: .75rem;
    right: .9rem;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    background: transparent;
    color: var(--text-light);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer
}

.service-modal-close:hover {
    color: var(--primary)
}

.service-modal-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    justify-content: center;
    max-width: 100%
}

body.modal-open {
    overflow: hidden
}

.form-success-modal[hidden] {
    display: none
}

.form-success-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 20px
}

.form-success-backdrop {
    position: absolute;
    inset: 0;
    background: #0f20349e
}

.form-success-dialog {
    position: relative;
    width: min(100%, 400px);
    padding: 36px 28px 32px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 60px #0f20343d
}

.form-success-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #314966;
    font-size: 28px;
    line-height: 1;
    cursor: pointer
}

.form-success-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #0f9d68;
    color: #fff;
    font-size: 24px
}

.form-success-dialog h2 {
    margin-bottom: 8px
}

.form-success-dialog p {
    margin: 0;
    color: #53657a
}

@media (max-width: 576px) {
    .service-modal-dialog {
        width: 100%;
        max-height: calc(100vh - 2rem);
        max-height: calc(100dvh - 2rem);
        padding-top: 3.25rem;
        border-radius: 6px
    }

    .service-modal-cta {
        width: 100%
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .service-intent-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr
    }
}

.service-card.full {
    text-align: left;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem
}

.service-card.full .service-icon {
    margin-bottom: 0;
    font-size: 2.2rem;
    flex-shrink: 0
}

.service-card.full .service-details {
    flex: 1
}

.service-card.full .service-details h3 {
    margin-top: 0
}

.why-us {
    background: var(--white)
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem
}

.why-card {
    text-align: center;
    padding: 1.5rem
}

.why-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: .5rem
}

.why-card p {
    color: var(--text-light);
    font-size: .95rem
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 576px) {
    .why-grid {
        grid-template-columns: 1fr
    }
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    counter-reset: step
}

.step {
    text-align: center;
    padding: 1.5rem
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: .3;
    display: block;
    margin-bottom: .5rem
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: .5rem
}

.step p {
    color: var(--text-light);
    font-size: .95rem
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr
    }
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border)
}

.testimonial-avatar img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-bottom: 1rem
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--text);
    margin-bottom: 1rem
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary)
}

@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 576px) {
    .testimonial-grid {
        grid-template-columns: 1fr
    }
}

.cta-section {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 2.75rem 1.5rem 3rem
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: .5rem
}

.cta-section p {
    font-size: 1rem;
    opacity: .9;
    max-width: 600px;
    margin: 0 auto 1.5rem
}

.cta-inquiry-form {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
    background: #ffffff14;
    border: 1px solid #fff3;
    border-radius: var(--radius)
}

.cta-form-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .7rem
}

.cta-form-fields label {
    display: block
}

.cta-form-fields input,
.cta-form-fields select,
.cta-form-fields textarea {
    display: block;
    width: 100%;
    border: 1px solid #ffffff59;
    border-radius: 4px;
    background: var(--white);
    color: var(--primary);
    font: inherit;
    font-size: .9rem;
    padding: .7rem .75rem
}

.cta-form-fields textarea {
    resize: vertical;
    min-height: 44px
}

.cta-form-fields input:focus,
.cta-form-fields select:focus,
.cta-form-fields textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px
}

.cta-message-field {
    grid-column: span 3
}

.cta-form-fields .btn {
    width: 100%;
    min-height: 44px
}

@media (max-width: 768px) {
    .cta-section {
        padding: 2.5rem 1rem
    }

    .cta-section h2 {
        font-size: 2rem
    }

    .cta-form-fields {
        grid-template-columns: repeat(2, 1fr)
    }

    .cta-message-field {
        grid-column: span 2
    }
}

@media (max-width: 480px) {
    .cta-section h2 {
        font-size: 1.7rem
    }

    .cta-form-fields {
        grid-template-columns: 1fr
    }

    .cta-message-field {
        grid-column: auto
    }
}

.site-footer {
    background: var(--primary);
    color: #fffc;
    padding: 4rem 0 2rem
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem
}

.footer-col ul {
    list-style: none
}

.footer-col ul li {
    margin-bottom: .5rem
}

.footer-col ul a {
    color: #ffffffb3
}

.footer-col ul a:hover {
    color: var(--accent)
}

.footer-logo img {
    width: 140px;
    height: auto;
    object-fit: contain
}

.footer-logo {
    display: inline-block;
    background: var(--white);
    padding: .35rem .55rem;
    border-radius: var(--radius)
}

.footer-desc {
    margin: 1rem 0;
    font-size: .95rem;
    line-height: 1.6
}

.social-links {
    display: flex;
    gap: 1rem
}

.social-links a {
    color: #ffffffb3;
    font-size: 1.3rem;
    transition: color var(--transition)
}

.social-links a:hover {
    color: var(--accent)
}

.theme-select-label {
    display: block;
    margin-top: 1.25rem;
    margin-bottom: .4rem;
    color: var(--white);
    font-size: .85rem
}

.theme-select {
    min-width: 150px;
    padding: .55rem 2rem .55rem .75rem;
    border: 1px solid #ffffff59;
    border-radius: 4px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: .9rem;
    cursor: pointer
}

.footer-bottom {
    border-top: 1px solid #ffffff1a;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .9rem
}

.footer-credit {
    color: #ffffffb3
}

.footer-credit strong {
    color: var(--accent);
    font-weight: 600
}

.floating-whatsapp {
    position: fixed;
    right: 1.25rem;
    bottom: 5.25rem;
    z-index: 1100;
    width: 3.5rem;
    height: 3.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    box-shadow: 0 8px 22px #0003;
    font-size: 1.8rem;
    transition: transform var(--transition), box-shadow var(--transition)
}

.floating-whatsapp:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px #00000047
}

.floating-visitor {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 3.5rem;
    padding: .65rem .9rem;
    background: var(--primary);
    border: 1px solid #ffffff2e;
    border-radius: var(--radius);
    color: var(--white);
    box-shadow: 0 8px 22px #0003;
    font-size: .78rem
}

.floating-visitor i {
    color: var(--accent);
    font-size: 1rem
}

.floating-visitor span {
    display: flex;
    flex-direction: column;
    line-height: 1.2
}

.floating-visitor strong {
    font-size: .95rem
}

@media (max-width: 480px) {
    .floating-visitor {
        left: 1rem;
        bottom: 1rem;
        min-height: 3.1rem;
        padding: .55rem .7rem
    }

    .floating-whatsapp {
        right: 1rem;
        bottom: 5.75rem;
        width: 3.1rem;
        height: 3.1rem;
        font-size: 1.55rem
    }
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    list-style: none
}

.footer-legal a {
    color: #ffffffb3
}

.footer-legal a:hover {
    color: var(--accent)
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center
    }
}

.page-banner {
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    color: var(--white);
    text-align: center;
    position: relative
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #0f172a99;
    z-index: 1
}

.page-banner .container {
    position: relative;
    z-index: 2
}

.page-banner h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: .5rem
}

.page-banner p {
    font-size: 1.2rem;
    opacity: .9
}

@media (max-width: 768px) {
    .page-banner {
        padding: 3rem 0
    }

    .page-banner h1 {
        font-size: 2.5rem
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem
}

.contact-info address p {
    margin-bottom: .8rem;
    display: flex;
    align-items: center;
    gap: .8rem
}

.contact-info address i {
    width: 1.5rem;
    color: var(--accent)
}

.contact-social {
    margin-top: 2rem;
    display: flex;
    gap: 1rem
}

.contact-social a {
    font-size: 1.5rem;
    color: var(--text);
    transition: color var(--transition)
}

.contact-social a:hover {
    color: var(--accent)
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.contact-form-wrapper h2 {
    margin-bottom: 1.5rem
}

.form-group {
    margin-bottom: 1.2rem
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: .3rem;
    font-size: .95rem
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition)
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent)
}

.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem
}

.alert-success {
    background: #E6F4EA;
    color: #1E7E34;
    border: 1px solid #B7E1CD
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA
}

.alert-error ul {
    list-style: none;
    padding: 0;
    margin: 0
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr
    }
}

.map-section {
    padding: 2rem 0
}

.map-section iframe {
    border-radius: var(--radius)
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}

.bg-light {
    background: var(--background)
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px
}

/* Property collection */
.property-list-page {
    background: #f4f8fb;
}

.property-hero {
    padding: 5.5rem 0 4rem;
    background: linear-gradient(135deg, #eaf6fb 0%, #f8fbfd 52%, #fff 100%);
}

.property-hero-copy {
    /* max-width: 760px; */
    margin-bottom: 3rem;
}

.property-kicker {
    display: inline-block;
    margin-bottom: .9rem;
    color: var(--accent-hover);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.property-hero h1 {
    /* max-width: 11ch; */
    color: var(--primary-light);
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    line-height: .96;
    letter-spacing: -.07em;
}

.property-hero-copy>p {
    /* max-width: 36rem; */
    margin-top: 1.25rem;
    color: var(--text-light);
    font-size: 1.08rem;
}

.property-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    color: var(--text-light);
    font-size: .84rem;
}

.property-hero-stats span {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.property-hero-stats strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.property-filter-panel {
    margin-bottom: 2rem;
    padding: 1rem 1rem .7rem;
    border: 1px solid rgba(17, 90, 157, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 28px rgba(16, 52, 74, .06);
    backdrop-filter: blur(8px);
}

.property-filter-form {
    display: grid;
    gap: .9rem;
}

.property-filter-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(180px, .8fr);
    gap: .9rem;
}

.property-filter-field {
    display: grid;
    gap: .38rem;
    color: var(--text-light);
    font-size: .74rem;
    font-weight: 700;
}

.property-filter-field span {
    color: var(--primary-light);
}

.property-filter-field input,
.property-filter-field select {
    width: 100%;
    min-height: 2.8rem;
    padding: .72rem .85rem;
    border: 1px solid #d7e3ee;
    border-radius: 12px;
    color: var(--text);
    background: #fff;
    font: inherit;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.property-filter-field input:focus,
.property-filter-field select:focus {
    border-color: rgba(11, 95, 165, .5);
    box-shadow: 0 0 0 4px rgba(11, 95, 165, .08);
    outline: 0;
}

.property-filter-field input::placeholder {
    color: #7c8ea0;
}

.property-filter-accordion {
    border-top: 1px solid #e4edf4;
    padding-top: .85rem;
}

.property-filter-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
    cursor: pointer;
    color: var(--primary-light);
    font-size: .78rem;
    font-weight: 800;
    list-style: none;
}

.property-filter-accordion summary i {
    color: var(--accent-hover);
    font-size: .8rem;
}

.property-filter-accordion summary::-webkit-details-marker {
    display: none;
}

.property-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
    margin-top: .9rem;
}

.property-filter-check {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: auto;
    min-height: 2.8rem;
    padding: .2rem .35rem;
    color: var(--primary-light);
    font-size: .8rem;
    font-weight: 700;
}

.property-filter-check input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--accent);
}

.property-filter-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .7rem;
    margin-top: 1rem;
    padding-bottom: .1rem;
}

.property-filter-submit,
.property-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: .68rem .95rem;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}

.property-filter-submit {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent-hover));
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(11, 95, 165, .18);
}

.property-filter-reset {
    color: var(--primary-light);
    background: #edf5fa;
}

.property-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.listing-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d8e5ec;
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(30, 70, 95, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(30, 70, 95, .14);
}

.listing-card-media {
    position: relative;
    display: block;
    height: 285px;
    overflow: hidden;
    background: #dcecf2;
}

.property-card-slides {
    position: absolute;
    inset: 0;
}

.property-card-slide {
    position: absolute;
    inset: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity .28s ease, visibility .28s ease;
}

.property-card-slide.is-active {
    visibility: visible;
    opacity: 1;
}

.listing-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.listing-card:hover .listing-card-media img {
    transform: scale(1.04);
}

.listing-card-image.placeholder {
    display: grid;
    height: 100%;
    place-items: center;
    color: var(--text-light);
    background: linear-gradient(135deg, #dcecf2, #f4f8fb);
}

.listing-card-type,
.listing-card-gallery {
    position: absolute;
    top: 1rem;
    padding: .42rem .6rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
}

.listing-card-type {
    left: 1rem;
    color: #fff;
    background: rgba(11, 95, 165, .9);
}

.listing-card-gallery {
    right: 1rem;
    color: #17354b;
    background: rgba(255, 255, 255, .9);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    color: #17354b;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease;
}

.carousel-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}

.carousel-prev {
    left: .85rem;
}

.carousel-next {
    right: .85rem;
}

.carousel-dots {
    position: absolute;
    right: 0;
    bottom: .9rem;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: .35rem;
}

.carousel-dot {
    width: .42rem;
    height: .42rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.carousel-dot.is-active {
    width: 1.2rem;
    border-radius: 999px;
    background: #fff;
}

.listing-card-body {
    padding: 1.2rem 1.25rem 1.3rem;
}

.listing-card-body h2 {
    margin: .45rem 0 .6rem;
    color: var(--primary-light);
    font-size: 1.2rem;
    line-height: 1.25;
}

.listing-card-body h2 a {
    color: inherit;
}

.listing-location {
    margin: 0;
    color: var(--text-light);
    font-size: .78rem;
}

.listing-location i {
    margin-right: .25rem;
    color: var(--accent-hover);
}

.listing-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    padding: .8rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    font-size: .75rem;
}

.listing-card-meta i {
    margin-right: .25rem;
    color: var(--accent-hover);
}

.listing-card-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: .8rem;
    padding-top: 1rem;
}

.listing-price {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 800;
}

.listing-view-link {
    color: var(--primary);
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.listing-view-link span {
    margin-left: .25rem;
    font-size: 1rem;
}

.property-empty-state {
    padding: 4rem 1rem;
    border: 1px dashed var(--border);
    border-radius: 16px;
    color: var(--text-light);
    text-align: center;
    background: var(--surface);
}

/* Property detail gallery */
.property-detail-page {
    padding: 1.5rem 0 3rem;
    background: #f4f8fb;
}

.property-back-link {
    display: inline-flex;
    gap: .45rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: .88rem;
    font-weight: 700;
}

.property-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    gap: clamp(1.25rem, 2vw, 2.5rem);
    align-items: start;
}

.property-gallery {
    width: 100%;
    max-width: 100%;
}

.property-gallery-main {
    position: relative;
    width: 100%;
    height: clamp(260px, 58vw, 540px);
    overflow: hidden;
    border-radius: 20px;
    background: #dcecf2;
    box-shadow: 0 18px 42px rgba(30, 70, 95, .12);
}

.property-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-gallery-count {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: .5rem .7rem;
    border-radius: 999px;
    color: #17354b;
    background: rgba(255, 255, 255, .9);
    font-size: .75rem;
    font-weight: 800;
}

.property-gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: .65rem;
    margin-top: .75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: .15rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.property-gallery-thumb {
    width: 82px;
    min-width: 82px;
    height: 64px;
    flex: 0 0 auto;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 9px;
    background: none;
    cursor: pointer;
    opacity: .65;
    transition: transform .2s ease, border-color .2s ease, opacity .2s ease;
}

.property-gallery-thumb.is-active,
.property-gallery-thumb:hover {
    border-color: var(--accent);
    opacity: 1;
    transform: translateY(-1px);
}

.property-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-gallery-empty {
    display: grid;
    min-height: 360px;
    place-items: center;
    gap: .6rem;
    border-radius: 20px;
    color: var(--text-light);
    background: #dcecf2;
}

.property-gallery-empty i {
    color: var(--accent-hover);
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .property-detail-layout {
        grid-template-columns: 1fr
    }

    .property-gallery,
    .property-detail-content {
        width: 100%;
        max-width: 100%
    }

    .property-gallery-main {
        height: clamp(220px, 60vw, 420px);
        border-radius: 16px
    }

    .property-gallery-count {
        right: .75rem;
        bottom: .75rem;
        padding: .45rem .7rem;
        font-size: .65rem
    }

    .property-gallery-thumbs {
        gap: .5rem
    }

    .property-gallery-thumb {
        width: 72px;
        min-width: 72px;
        height: 56px;
        border-radius: 8px
    }

    .property-gallery-thumbs::-webkit-scrollbar {
        height: 5px
    }

    .property-gallery-thumbs::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(12, 90, 155, .35)
    }
}

@media (max-width: 480px) {
    .property-gallery-main {
        height: clamp(200px, 62vw, 300px)
    }

    .property-gallery-thumb {
        width: 64px;
        min-width: 64px;
        height: 48px;
    }
    
    .property-gallery-thumbs{
        width: 360px

    }

    .property-gallery-count {
        font-size: .6rem;
        padding: .35rem .55rem
    }
}

.property-detail-content {
    padding-top: .15rem;
}

.property-detail-topline {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.property-detail-type {
    color: var(--accent-hover);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.property-detail-code {
    color: var(--text-light);
    font-size: .72rem;
}

.property-detail-content h1 {
    margin-top: .6rem;
    color: var(--primary-light);
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -.06em;
}

.property-detail-location {
    margin-top: .7rem;
    color: var(--text-light);
}

.property-detail-location i {
    margin-right: .3rem;
    color: var(--accent-hover);
}

.property-detail-price {
    margin: 1.2rem 0 1.4rem;
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
}

.property-detail-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

.property-detail-specs div {
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    gap: .1rem .5rem;
    padding: .85rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.property-detail-specs i {
    grid-row: span 2;
    color: var(--accent-hover);
}

.property-detail-specs span {
    color: var(--text-light);
    font-size: .68rem;
}

.property-detail-specs strong {
    font-size: .88rem;
}

.property-detail-description {
    margin-top: 1.4rem;
}

.property-detail-description h2 {
    margin-bottom: .5rem;
    color: var(--primary-light);
    font-size: 1.2rem;
}

.property-detail-description p {
    color: var(--text-light);
    line-height: 1.7;
}

.property-enquire-button {
    margin-top: 1.5rem;
}

.property-information {
    margin-top: 2.75rem;
}

.property-section-heading {
    margin-bottom: 1rem;
}

.property-section-heading h2 {
    margin-top: .25rem;
    color: var(--primary-light);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -.05em;
}

.property-information-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.property-information-panel {
    padding: 1.4rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(30, 70, 95, .05);
}

.property-information-panel h3 {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1rem;
    color: var(--primary-light);
    font-size: 1.05rem;
}

.property-information-panel h3 i {
    color: var(--accent-hover);
    font-size: .95rem;
}

.property-detail-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.property-detail-list>div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem 0;
    border-top: 1px solid var(--border);
}

.property-detail-list>div:first-child {
    border-top: 0;
    padding-top: 0;
}

.property-detail-list dt {
    color: var(--text-light);
    font-size: .78rem;
}

.property-detail-list dd {
    max-width: 62%;
    margin: 0;
    color: var(--text);
    font-size: .82rem;
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}

.property-amenities-panel {
    margin-top: 1rem;
}

.property-amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.property-amenities-list span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .7rem;
    border: 1px solid #cfe5ee;
    border-radius: 999px;
    color: var(--primary-light);
    background: #f0f9fc;
    font-size: .78rem;
    font-weight: 700;
}

.property-amenities-list i {
    color: #1b9a68;
    font-size: .7rem;
}

.property-not-found {
    max-width: 620px;
    margin: 5rem auto;
    padding: 4rem 2rem;
    border-radius: 20px;
    background: var(--surface);
    text-align: center;
    box-shadow: var(--shadow);
}

.property-not-found h1 {
    color: var(--primary-light);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
}

.property-not-found p {
    margin: 1rem 0 1.5rem;
    color: var(--text-light);
}

@media (max-width: 900px) {
    .property-filter-panel {
        padding: .9rem .9rem .5rem;
    }

    .property-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-detail-layout {
        grid-template-columns: 1fr;
    }

    .property-gallery-main {
        height: clamp(220px, 60vw, 420px);
    }
}

@media (max-width: 600px) {
    .property-hero {
        padding: 3.5rem 0 2.5rem;
    }

    .property-filter-panel {
        padding: .85rem .75rem .4rem;
    }

    .property-filter-toolbar,
    .property-filter-grid {
        grid-template-columns: 1fr;
    }

    .property-filter-accordion summary {
        font-size: .74rem;
    }

    .property-filter-actions {
        justify-content: stretch;
        flex-wrap: wrap;
    }

    .property-filter-submit,
    .property-filter-reset {
        flex: 1 1 100%;
    }

    .property-listing-grid {
        grid-template-columns: 1fr;
    }

    .listing-card-media {
        height: 250px;
    }

    .property-detail-page {
        padding-top: 1rem;
    }

    .property-detail-specs {
        grid-template-columns: 1fr 1fr;
    }

    .property-detail-content h1 {
        font-size: 2.45rem;
    }

    .property-information {
        margin-top: 2.25rem;
    }

    .property-information-grid {
        grid-template-columns: 1fr;
    }
}

.map-section {
    padding: 0 0 4rem
}

.map-heading {
    margin-bottom: 1.5rem
}

.map-heading h2 {
    color: var(--primary);
    margin: .35rem 0
}

.map-heading p {
    color: var(--text-light)
}

.map-section iframe {
    display: block;
    max-width: 100%;
    border-radius: var(--radius)
}

.reviews-section {
    background: var(--white);
    border-bottom: 1px solid var(--border)
}

.reviews-wrapper {
    position: relative;
    margin: 3rem 0
}

.reviews-carousel-container {
    position: relative;
    overflow: hidden;
    margin: 0;
    background: var(--white)
}

.reviews-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform .6s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: transform;
    width: 100%
}

.reviews-carousel-slide {
    flex: 0 0 calc((100% - 4rem) / 3);
    min-width: calc((100% - 4rem) / 3)
}

.review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px #00000014
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    gap: 1rem
}

.reviewer-info {
    display: flex;
    gap: 1rem;
    flex: 1;
    min-width: 0
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    min-width: 0
}

.reviewer-details strong {
    font-weight: 600;
    color: var(--primary);
    font-size: .95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.reviewer-details span {
    font-size: .85rem;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.review-rating {
    display: flex;
    gap: .15rem;
    flex-shrink: 0
}

.review-rating .star {
    font-size: 1rem;
    color: var(--border)
}

.review-rating .star.filled {
    color: #FBBC04
}

.review-text {
    flex: 1;
    color: var(--text);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: .85rem
}

.review-date {
    color: var(--text-light)
}

.google-icon {
    width: 16px;
    height: 16px;
    opacity: .6
}

.google-icon-inline {
    display: inline;
    margin-right: .5rem
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--border) !important;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    color: var(--primary);
    transition: all var(--transition);
    z-index: 10;
    padding: 0 !important;
    margin: 0 !important
}

.carousel-btn:hover,
.carousel-btn:focus {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary) !important;
    box-shadow: 0 8px 20px #0000001a;
    outline: none !important
}

.carousel-btn-prev {
    left: 0
}

.carousel-btn-next {
    right: 0
}

.carousel-pagination {
    display: flex;
    justify-content: center;
    gap: .8rem;
    margin-top: 2rem;
    flex-wrap: wrap
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--border) !important;
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0 !important;
    margin: 0 !important
}

.carousel-dot:hover {
    border-color: var(--accent) !important
}

.carousel-dot.active {
    background: var(--accent);
    border-color: var(--accent) !important
}

.reviews-cta {
    text-align: center;
    margin-top: 3rem
}

.reviews-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem
}

@media (max-width: 1024px) {
    .reviews-carousel-slide {
        flex: 0 0 calc((100% - 2rem) / 2);
        min-width: calc((100% - 2rem) / 2)
    }
}

@media (max-width: 768px) {
    .reviews-carousel-slide {
        flex: 0 0 100%;
        min-width: 100%
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem
    }

    .reviews-wrapper {
        margin: 2rem 0
    }
}

@media (max-width: 600px) {
    .reviews-carousel-slide {
        flex: 0 0 100%;
        min-width: 100%
    }

    .review-card {
        padding: 1.5rem
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start
    }

    .review-rating {
        width: 100%
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: .9rem
    }

    .review-text {
        -webkit-line-clamp: 2;
        font-size: .9rem
    }
}