:root {
    --primary: #391871;
    --text: #121212;
    --accent: #83C41E;
    --light-gray: #E8E8E8;
    --white: #FFFFFF;
}

/* ── Spacing utilities (Bootstrap 3 doesn't include these) ── */
.mt-4 {
    margin-top: 2rem !important;
}

/* ── Base ── */
body {
    font-family: 'Lato', sans-serif;
    color: var(--text);
}

/* ── Universal Buttons ── */
.sw-btn {
    display: inline-block;
    font-family: 'Geologica', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.25;
    padding: 1rem 1.5rem;
    border-radius: 0.1875rem;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.sw-btn:focus,
.sw-btn:active,
.sw-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.primary-purple-btn {
    background-color: var(--primary);
    color: var(--white) !important;
    border-color: var(--primary);
}

.primary-purple-btn:hover,
.primary-purple-btn:focus {
    background-color: #2a1154;
    border-color: #2a1154;
    color: var(--white) !important;
    text-decoration: none;
}

.sw-btn-accent {
    background-color: var(--accent);
    color: var(--white) !important;
    border-color: var(--accent);
}

.sw-btn-accent:hover,
.sw-btn-accent:focus {
    background-color: #6ea118;
    border-color: #6ea118;
    color: var(--white) !important;
    text-decoration: none;
}

.sw-btn-outline-white {
    background-color: transparent;
    color: var(--white) !important;
    border-color: var(--white);
}

.sw-btn-outline-white:hover,
.sw-btn-outline-white:focus {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white) !important;
    text-decoration: none;
}

/* ── Header / Navbar ── */

.navbar-switch a,
.navbar-switch button,
.navbar-switch a:focus,
.navbar-switch a:active,
.navbar-switch button:focus,
.navbar-switch button:active,
.navbar-switch .dropdown-toggle:focus,
.navbar-switch .dropdown-toggle:active,
.navbar-switch .navbar-toggle:focus,
.navbar-switch .navbar-toggle:active,
.drawer-close:focus,
.drawer-close:active {
    outline: none;
    box-shadow: none;
}

.navbar-switch {
    background-color: var(--white);
    border: none;
    border-bottom: 1px solid var(--light-gray);
    border-radius: 0;
    margin-bottom: 0;
    min-height: 10rem;
    padding-bottom: .75rem;
}

.navbar-switch .navbar-brand {
    padding: 0.625rem 0.9375rem;
    height: 10rem;
    display: flex;
    align-items: center;
}

.navbar-switch .navbar-brand img {
    height: 6.25rem;
    width: auto;
}

.navbar-switch .navbar-nav>li>a {
    font-family: 'Geologica', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text);
    text-transform: uppercase;
    padding: 3.875rem 1.25rem;
    line-height: 1.25;
}

.navbar-switch .navbar-nav>li>a .bi-chevron-down {
    font-size: 0.7em;
    vertical-align: middle;
    margin-left: 0.1em;
    -webkit-text-stroke: 0.8px currentColor;
}

.navbar-switch .navbar-nav>li>a:hover,
.navbar-switch .navbar-nav>li>a:focus {
    color: var(--primary);
    background: transparent;
}

.navbar-switch .navbar-nav>li.active>a,
.navbar-switch .navbar-nav>li.active>a:hover {
    color: var(--text);
    background: transparent;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25em;
}

.navbar-switch .navbar-nav>li.dropdown.open>a {
    background: transparent;
    color: var(--primary);
}

.navbar-switch .dropdown-menu {
    background-color: var(--white);
    border-radius: 0;
    border-top: 2px solid var(--accent);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    margin-top: -2.5rem !important;
}

.navbar-switch .dropdown-menu>li>a {
    font-family: 'Lato', sans-serif;
    font-size: 1.25rem;
    color: var(--text);
    padding: 0.5rem 1rem;
}

.navbar-switch .dropdown-menu>li>a:hover {
    background-color: rgba(131, 196, 30, 0.1);
    color: var(--primary);
}

.navbar-switch .dropdown-menu {
    left: 0;
}

.navbar-switch .navbar-collapse ul,
.navbar-switch .navbar-nav {
    text-align: left;
}

/* CONTACT button — positioning only; visual styles from .primary-purple-btn */
.navbar-switch .nav-contact>a {
    padding: 0.75rem 1.5rem !important;
    margin-top: 3rem;
    margin-left: 1.75rem;
}

.navbar-switch .nav-contact>a:hover,
.navbar-switch .nav-contact>a:focus {
    background-color: #2a1154 !important;
    color: var(--white) !important;
}

/* Mobile toggle */
.navbar-switch .navbar-toggle {
    background: transparent;
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
    margin-top: 1.75rem;
}

.navbar-switch .navbar-toggle:hover,
.navbar-switch .navbar-toggle:focus {
    background: transparent;
    background-color: transparent;
}

.navbar-switch .navbar-toggle .icon-bar {
    background-color: var(--primary);
}

/* Drawer close button — hidden on tablet/desktop */
.drawer-close {
    display: none;
}

@media (min-width: 768px) and (max-width: 991px) {

    .navbar-switch .navbar-header {
        float: none !important;
        overflow: hidden;
    }

    .navbar-switch .navbar-brand {
        float: left !important;
        height: 4.5rem;
    }

    .navbar-switch .navbar-toggle {
        display: block !important;
        float: right !important;
        margin: 0.875rem 0;
    }
}

@media (min-width: 992px) {
    .navbar-switch .navbar-header {
        float: left;
    }

    .navbar-switch .navbar-toggle {
        display: none !important;
    }

    .navbar-switch .navbar-collapse {
        width: auto;
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
        border-top: 0;
        box-shadow: none;
    }

    .navbar-switch .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
        visibility: visible !important;
    }

    .navbar-switch .navbar-nav {
        float: left;
        margin: 0;
    }

    .navbar-switch .navbar-nav > li {
        float: left;
    }

    .navbar-switch .navbar-nav.navbar-right {
        float: right !important;
        margin-right: 0;
    }

    .navbar-switch .navbar-nav > li > .dropdown-menu,
    .navbar-switch .navbar-nav .open > .dropdown-menu {
        position: absolute;
        right: auto;
        float: left;
        width: max-content;
        max-width: 90vw;
        background-color: var(--white);
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-top: 2px solid var(--accent);
        box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-switch {
        min-height: 8.5rem;
    }

    .navbar-switch .navbar-brand {
        height: 8.5rem;
    }

    .navbar-switch .navbar-brand img {
        height: 4.5rem;
    }

    .navbar-switch .navbar-nav>li>a {
        font-size: 1rem;
        padding: 3.375rem 0.625rem;
        letter-spacing: 0.02em;
    }

    .navbar-switch .nav-contact>a {
        margin-top: 2.75rem;
        margin-left: 0.875rem;
        padding: 0.7rem 1.25rem !important;
    }

    .navbar-switch .dropdown-menu {
        margin-top: -2rem !important;
    }
}

@media (max-width: 991px) {
    .navbar-switch {
        min-height: 4.5rem;
    }

    .navbar-switch .navbar-brand {
        height: 4.5rem;
        padding: 0.625rem 0.9375rem;
    }

    .navbar-switch .navbar-brand img {
        height: 2.75rem;
    }

    .navbar-switch .navbar-toggle {
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .navbar-switch .navbar-collapse {
        display: block !important;
        visibility: visible !important;
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 20rem;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: none !important;
        overflow-y: auto !important;
        background: var(--white);
        z-index: 9999;
        transition: right 0.3s ease;
        border-top: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .navbar-switch .navbar-collapse.drawer-open {
        right: 0;
        box-shadow: -0.375rem 0 1.5rem rgba(0, 0, 0, 0.18);
    }

    .drawer-close {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        padding: 0.625rem 1.5rem 0.25rem;
        background: none;
        border: none;
        font-size: 1.75rem;
        color: var(--text);
        cursor: pointer;
        line-height: 1;
    }

    .drawer-close:hover {
        color: var(--primary);
    }

    .navbar-switch .navbar-nav {
        margin: 0;
        float: none !important;
        width: 100%;
        text-align: left;
    }

    .navbar-switch .navbar-nav>li {
        float: none !important;
        display: block;
        width: 100%;
        text-align: left;
    }

    .navbar-switch .navbar-nav>li>a {
        font-size: 0.9375rem;
        padding: 0.875rem 1.5rem;
        border-bottom: 1px solid var(--light-gray);
        display: block;
    }

    .navbar-switch .navbar-nav>li.active>a,
    .navbar-switch .navbar-nav>li.active>a:hover {
        background-color: var(--primary) !important;
        color: var(--white) !important;
        text-decoration: none;
    }

    .navbar-switch .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100%;
        margin-top: 0 !important;
        border-top: none;
        border-left: 3px solid var(--accent);
        box-shadow: none !important;
        background-color: #f7f7f7;
    }

    .navbar-switch .nav-contact>a {
        background-color: transparent !important;
        color: var(--text) !important;
        border-radius: 0;
        padding: 0.875rem 1.5rem !important;
        margin: 0;
        border-bottom: 1px solid var(--light-gray);
        text-align: left;
        display: block;
    }

    .navbar-switch .nav-contact>a:hover {
        background-color: transparent !important;
        color: var(--primary) !important;
    }

    .nav-drawer-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 9998;
    }

    .nav-drawer-backdrop.active {
        display: block;
    }

    body.nav-drawer-lock {
        overflow: hidden;
    }
}

/* ── Footer ── */
.site-footer {
    background-color: var(--white);
    color: var(--text);
    font-family: 'Lato', sans-serif;
    font-size: 0.9375rem;
    border-top: 1.5px solid var(--accent);
}

.site-footer a:focus,
.site-footer a:active,
.site-footer a:focus-visible {
    outline: none;
    box-shadow: none;
}

.footer-main {
    padding: 5rem 0 4rem;
    display: flex;
    justify-content: space-between;
}

.footer-brand .footer-logo {
    height: 10.5rem;
    width: auto;
}

.social-links {
    display: flex;
    gap: 1.85rem;
    margin-top: 1rem;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    font-size: 1.75rem;
    line-height: 1;
    transition: color 0.2s;
}

.social-icon:hover {
    color: var(--accent);
    text-decoration: none;
}

.social-icon svg {
    display: block;
}

.footer-links {
    padding-top: 0.25rem;
}

.footer-links ul {
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-links li a:hover {
    color: var(--primary);
}

.footer-address {
    max-width: 14rem;
}

.footer-address p {
    color: var(--text);
    margin: 0;
    line-height: 1.6;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-contact p {
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.footer-contact a {
    color: var(--text);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-contact .bi,
.footer-contact .fa,
.footer-contact svg {
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1.5px solid var(--accent);
    background-color: var(--white);
    padding: 0.75rem 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem;
    color: rgba(18, 18, 18, 0.55);
    text-align: right;
}

.footer-bottom a {
    color: rgba(18, 18, 18, 0.55);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--text);
}

.footer-brand-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.footer-right {
    display: flex;
    gap: 10rem;
    margin-left: auto;
    align-self: flex-end;
    margin-bottom: 2rem;
}

.footer-bottom-container {
    padding-right: 0 !important;
}

@media (max-width: 1199px) {
    .footer-right {
        gap: 3rem;
    }
}

@media (max-width: 767px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 0;
    }

    .footer-brand {
        width: 100%;
        margin-bottom: 2rem;
    }

    .footer-right {
        flex-direction: column;
        gap: 1.5rem;
        margin-left: 0;
        align-self: center;
        align-items: center;
        width: 100%;
    }

    .footer-address p,
    .footer-contact p {
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-links ul {
        text-align: center;
    }

    .footer-bottom p {
        text-align: center;
    }
}

/* ── Hero (Views/SW/Home/Index.cshtml) ── */
.hero {
    display: flex;
    min-height: clamp(28rem, 60vh, 40rem);
}

.hero-text {
    flex: 0 0 40%;
    max-width: 40%;
    background: radial-gradient(ellipse at top left, #5535a8 0%, var(--primary) 100%);
    color: var(--white);
    padding: clamp(2rem, 5vw, 4rem);
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-text {
        padding-left: calc((100vw - 750px) / 2 + 0.9375rem);
    }

    .hero-rule {
        margin-left: calc(-1 * ((100vw - 750px) / 2 + 0.9375rem));
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .hero-text {
        padding-left: calc((100vw - 970px) / 2 + 0.9375rem);
    }

    .hero-rule {
        margin-left: calc(-1 * ((100vw - 970px) / 2 + 0.9375rem));
    }
}

@media (min-width: 1200px) {
    .hero-text {
        padding-left: calc((100vw - 1170px) / 2 + 0.9375rem);
    }

    .hero-rule {
        margin-left: calc(-1 * ((100vw - 1170px) / 2 + 0.9375rem));
    }
}

.hero-text::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    left: -150px;
    top: -250px;
    background: radial-gradient(circle farthest-side,
            rgba(255, 255, 255, 0.45) 0%,
            rgba(230, 225, 240, 0.35) 25%,
            rgba(180, 165, 205, 0.2) 50%,
            rgba(120, 90, 170, 0.08) 75%,
            rgba(57, 24, 113, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-text::after {
    content: '';
    position: absolute;
    width: 446px;
    height: 436px;
    right: -175px;
    bottom: -175px;
    background: radial-gradient(84.62% 88.41% at 54.93% 50%, rgba(189, 238, 114, 0.56) 0%, rgba(161, 190, 118, 0.48) 15.5%, rgba(177, 187, 162, 0.4) 27.23%, rgba(137, 121, 165, 0.32) 50%, rgba(97, 72, 139, 0.24) 75%, rgba(57, 24, 113, 0.16) 100%);
    filter: blur(46px);
    pointer-events: none;
    z-index: 0;
}

.hero-text > * {
    position: relative;
    z-index: 1;
}

.sw-title {
    font-family: 'Geologica', sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 3rem);
    line-height: 1.2;
    margin: 0 0 1.5rem;
    color: var(--white);
    text-transform: none;
}

.hero-title-accent {
    color: var(--accent);
}

.sw-body {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.hero-readmore {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    align-self: flex-start;
    outline: none;
}

.hero-readmore:hover,
.hero-readmore:focus,
.hero-readmore:active {
    color: var(--accent);
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.hero-rule {
    display: block;
    height: 2px;
    background: rgba(131, 196, 30, 0.6);
    margin-top: 2.5rem;
    padding-left: 0 !important;
}

.hero-slider {
    flex: 1 1 60%;
    position: relative;
    overflow: hidden;
}

.hero-slider #heroCarousel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.hero-slider #heroCarousel,
.hero-slider .carousel-inner,
.hero-slider .item {
    height: 100%;
}

.hero-slider .carousel-inner > .item > img.hero-slide-img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

#heroCarousel .carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    width: auto;
    margin: 0;
    padding: 0;
    z-index: 3;
}

#heroCarousel .carousel-indicators li {
    width: 0.7rem;
    height: 0.7rem;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    text-indent: 0;
    cursor: pointer;
    transition: background 0.2s;
}

#heroCarousel .carousel-indicators li.active {
    width: 0.7rem;
    height: 0.7rem;
    margin: 0;
    background: var(--white);
}

@media (max-width: 767px) {
    .hero {
        flex-direction: column;
        min-height: 0;
    }

    .hero-text {
        flex: 0 0 auto;
        max-width: 100%;
        padding-bottom: 3rem;
    }

    .hero-slider {
        flex: 0 0 auto;
        height: clamp(16rem, 50vw, 24rem);
        order: -1;
    }
}

/* ── Service cards */
.service-cards {
    background-color: var(--white);
    padding: 8rem 0;
}

.service-cards .row {
    margin-left: -15px;
    margin-right: -15px;
}

.service-cards .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.service-card {
    display: block;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    height: 30rem;
    text-decoration: none;
}

.service-card:focus,
.service-card:active,
.service-card:focus-visible {
    outline: none;
    box-shadow: none;
}

.service-card figure,
.service-card .image {
    margin: 0;
    padding: 0;
    position: static;
    height: 100%;
    overflow: hidden;
}

.service-card .image img {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .image img {
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(61, 61, 61, 0.4);
    transition: background 0.3s ease-in-out;
    pointer-events: none;
}

.service-card:hover .service-card-overlay {
    background: rgba(61, 61, 61, 0.15);
}

@media (max-width: 767px) {
    .service-cards .col-sm-4 + .col-sm-4 {
        margin-top: 1.5rem;
    }

    .service-cards {
        padding: 3rem 0;
    }

    .service-card {
        height: 20rem;
    }
}

/* Buy/Rent/Sold card hover-zoom */
.imgcaption {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.image {
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
}

.image img {
    position: absolute;
    height: 100%;
    max-width: unset;
    transition: all 0.2s ease-in-out;
}

.image img:hover,
.imgcaption:hover .image img {
    transform: scale(1.1);
}

.imgcaption__overlay {
    position: absolute;
    top: 35%;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px;
    color: #fff;
    text-align: center;
    visibility: hidden;
    transform: translateY(100%);
}

/* Appraisal / "What's Your Property Worth?" */
.appraisal {
    background-color: var(--primary);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.sw-ellipsis-gradient {
    position: absolute;
    width: 150rem;
    height: 30rem;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(50% 50% at 50% 50%,
        rgba(246, 246, 246, 0.5) 0%,
        rgba(192, 183, 206, 0.45) 25%,
        rgba(164, 152, 185, 0.4) 37.5%,
        rgba(137, 121, 165, 0.35) 50%,
        rgba(97, 72, 139, 0.3) 75%,
        rgba(57, 24, 113, 0.2) 100%);
    filter: blur(2.34375rem);
}

.sw-ellipsis-gradient--top {
    top: -15.875rem;
}

.sw-ellipsis-gradient--bottom {
    bottom: -15.875rem;
}

.appraisal .container {
    position: relative;
    z-index: 1;
}

.appraisal-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.appraisal-content {
    flex: 1 1 0;
    max-width: 40rem;
    color: var(--white);
}

.appraisal-media {
    flex: 0 0 42%;
    max-width: 42%;
    margin-left: auto;
}

.appraisal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.appraisal-video {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.appraisal-thumb,
.appraisal-video-player {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appraisal-video-player {
    display: none;
}

.appraisal-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    background: var(--white);
    border: none;
    border-radius: 2rem;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 0;
}

.appraisal-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0.375rem 1.5rem rgba(0, 0, 0, 0.4);
}

.appraisal-play svg {
    display: block;
    margin-left: 0.125rem;
}

@media (max-width: 767px) {
    .appraisal {
        padding: 4rem 0 6rem;
    }

    .appraisal-row {
        flex-direction: column;
        gap: 2.5rem;
    }

    .appraisal-media {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .appraisal-content {
        width: 100%;
    }
}

/* IRENE Member / IRENE AI */
.irene-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.irene-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.irene-col {
    padding-top: 0.5rem;
}

.irene-member-col {
    padding-right: 3rem !important;
}

.irene-ai-col {
    padding-left: 3rem !important;
}

.irene-ai-col .sw-body {
    color: #121212;
}

.irene-logo-heading {
    margin: 0 0 3rem;
    line-height: 0.95;
}

.irene-logo-img {
    display: block;
    height: 2.25rem;
    width: auto;
    margin-top: 0.4rem;
}

.irene-logo-line {
    display: block;
    font-family: 'Geologica', sans-serif;
    font-weight: 900;
    font-size: 2.25rem;
    margin-left: -0.1em;
    letter-spacing: -0.07em;
}

.irene-logo-line--accent {
    color: #F67127;
}

.irene-subheading {
    font-family: 'Geologica', sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 3rem;
    text-align: center;
}

.irene-stats-row {
    margin: 5rem 0 0;
}

.irene-stats-row > [class*="col-"] {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.irene-stat-card {
    display: block;
    position: relative;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.irene-stat-card:focus,
.irene-stat-card:active,
.irene-stat-card:focus-visible {
    outline: none;
    box-shadow: none;
}

.irene-stat-img {
    width: 100%;
    display: block;
}

.irene-stat-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.irene-stat-number {
    display: block;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 3vw, 2.125rem);
    line-height: 1.27;
    color: #FAF9F6;
    text-align: center;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}

.irene-stat-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(0.75rem, 1.2vw, 1rem);
    line-height: 1.27;
    color: #FAF9F6;
    text-align: center;
    margin-top: 0.35em;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
}

.irene-tagline {
    text-align: center;
    margin: 3rem 0 0;
    font-weight: bold;
}

.irene-ai-point {
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    margin-bottom: 1.25rem;
}

.irene-ai-point-title {
    font-family: 'Geologica', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 0.5rem;
}

.irene-ai-list {
    padding-left: 1.25rem;
}

.irene-ai-list li::marker {
    font-size: 1.3em;
}

@media (max-width: 991px) {
    .irene-section {
        padding: 3rem 0;
    }

    .irene-member-col {
        padding-right: 0.9375rem !important;
        padding-bottom: 2.5rem;
        margin-bottom: 2.5rem;
        border-bottom: 1px solid var(--light-gray);
    }

    .irene-ai-col {
        padding-left: 0.9375rem !important;
    }
}

@media (max-width: 767px) {
    .irene-tagline {
        margin-top: 1.5rem;
    }
}

/* Testimonials */
.testimonials {
    position: relative;
    padding: 5rem 0 8rem;
    overflow: hidden;
    background-image: url('images/coverSlide1.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0.9;
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

#myCarousel.carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials .carousel-inner {
    order: 1;
    max-width: 50rem;
    margin: 0 auto;
    min-height: 9rem;
}

.testimonials .carousel-indicators {
    position: static;
    order: 2;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    left: auto;
    bottom: auto;
    width: auto;
    margin: 2rem 0 0;
}

.testimonials .carousel-indicators li {
    width: 0.7rem;
    height: 0.7rem;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    text-indent: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.testimonials .carousel-indicators li.active {
    width: 0.7rem;
    height: 0.7rem;
    margin: 0;
    background: var(--white);
}

.testimonial-quote {
    display: block;
    font-family: 'Geologica', sans-serif;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.testimonial-author {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--white);
    margin: 0;
}

@media (max-width: 767px) {
    .testimonials {
        padding: 3rem 0 4rem;
    }

    .testimonials .carousel-inner {
        min-height: 12rem;
    }
}
