html,
body {
    width: 100%;
}

body{
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
}

.property-slider {
    position: relative;
    min-height: 800px;
    overflow: hidden;
    background-color: #173f35;
}

.slides,
.slide {
    min-height: 800px;
}

.slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.slide.is-active {
    visibility: visible;
    opacity: 1;
}

.slide::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 41, 34, 0.82) 0%, rgba(13, 41, 34, 0.44) 48%, rgba(13, 41, 34, 0.12) 100%);
    content: "";
}

.slide img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 5s ease-out;
}

.slide.is-active img {
    transform: scale(1);
}

.slide-content {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 10%;
    max-width: 520px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(calc(-50% + 28px));
    transition: opacity 0.55s ease 0.2s, transform 0.55s ease 0.2s;
}

.slide.is-active .slide-content {
    opacity: 1;
    transform: translateY(-50%);
}

.slide-content p {
    margin: 0 0 12px;
    color: #efd08e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.slide-content h1 {
    margin: 0 0 26px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.06;
}

.slide-content a {
    display: inline-block;
    padding: 13px 20px;
    background-color: #bf1e2e;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.slide-content a:hover,
.slide-content a:focus-visible {
    background-color: #951522;
}

.slider-button {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background-color: rgba(23, 63, 53, 0.42);
    color: #ffffff;
    cursor: pointer;
    font-size: 1.5rem;
    transform: translateY(-50%);
    transition: background-color 0.2s ease;
}

.slider-button:hover,
.slider-button:focus-visible {
    background-color: #bf1e2e;
}

.slider-previous {
    left: 24px;
}

.slider-next {
    right: 24px;
}

.slider-dots {
    position: absolute;
    z-index: 2;
    right: 10%;
    bottom: 28px;
    display: flex;
    gap: 10px;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.slider-dots button.is-active {
    background-color: #ffffff;
}

.site-locations {
    margin: 0 auto;
    padding: 56px 10%;
    background-color: #f6f7f4;
    color: #173f35;
    text-align: center;
}

.site-locations h2 {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: bolder;
    text-transform: uppercase;
}

.locations-introduction {
    margin: 0 auto 28px;
    color: #52645d;
    line-height: 1.6;
}

.location-list {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.location-list p {
    min-width: 150px;
    margin: 0;
    padding: 16px 24px;
    border: 1px solid #cddbd4;
    background-color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.locations-description {
    max-width: 850px;
    margin: 34px auto 0;
    color: #52645d;
    font-size: 0.95rem;
    line-height: 1.75;
}

.locations-read-more {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 20px;
    background-color: #bf1e2e;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.locations-read-more:hover,
.locations-read-more:focus-visible {
    background-color: #951522;
}

.container-flex {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
    padding: 76px 10%;
    gap: 20px;
    flex-wrap: wrap;
    align-items: stretch;
    background-color: #ffffff;
}

.properties-introduction {
    width: 100%;
    max-width: 680px;
    margin: 0 auto 18px;
    color: #173f35;
    text-align: center;
}

.properties-introduction h2 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.15rem;
    font-weight: 500;
}

.properties-introduction p {
    margin: 0;
    color: #52645d;
    line-height: 1.65;
}

.property-card {
    width: 300px;
    min-width: 300px; 
    display: flex;
    flex-direction: column;
    margin: 0;
    border: 1px solid #dce5df;
    background-color: #ffffff;
}

.property-card img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.property-card figcaption {
    padding: 15px 16px;
    color: #173f35;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.container-video {
    position: relative;
    overflow: hidden;
    padding: 104px 10% 112px;
    background-color: #0d2922;
    background-image: linear-gradient(135deg, #0d2922 0%, #173f35 62%, #214b40 100%);
    color: #ffffff;
}

.container-video::before {
    position: absolute;
    top: 0;
    right: 8%;
    width: 1px;
    height: 100%;
    background-color: rgba(239, 208, 142, 0.2);
    content: "";
    transform: rotate(18deg) scaleY(1.3);
    transform-origin: top;
}

.video-heading {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto 52px;
    text-align: left;
}

.section-kicker {
    margin: 0 0 12px;
    color: #efd08e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.video-heading h2 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.05;
}

@supports (font-size: clamp(2.2rem, 4vw, 3.6rem)) {
    .video-heading h2 {
        font-size: clamp(2.2rem, 4vw, 3.6rem);
    }
}

.video-heading > p:last-child {
    margin: 0;
    color: #c4d2cb;
    line-height: 1.6;
}

.video-gallery {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: 1280px;
    margin: 0 auto;
    gap: 56px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #0d2922;
    border: 1px solid rgba(239, 208, 142, 0.42);
    box-shadow: 18px 18px 0 rgba(7, 25, 20, 0.32);
}

.video-player::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(13, 41, 34, 0.02) 42%, rgba(13, 41, 34, 0.4) 100%);
    content: "";
    pointer-events: none;
}

.video-card {
    min-width: 0;
}

.video-card-copy {
    padding: 22px 4px 0;
    border-bottom: 1px solid rgba(239, 208, 142, 0.3);
}

.video-card-label {
    margin: 0 0 10px;
    color: #efd08e;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.video-card h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 500;
}

@media (max-width: 1100px) {
    .video-heading h2 {
        font-size: 2.8rem;
    }

    .video-card h3 {
        font-size: 1.7rem;
    }
}

.video-card-copy > p:last-child {
    margin: 0 0 20px;
    color: #aebeb7;
    font-size: 0.92rem;
    line-height: 1.5;
}

.container-video video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-button {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: grid;
    width: 82px;
    height: 82px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    place-items: center;
    background-color: #bf1e2e;
    color: #ffffff;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.video-play-button span {
    width: 0;
    height: 0;
    margin-left: 5px;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid #ffffff;
}

.video-play-button:hover,
.video-play-button:focus-visible {
    background-color: #951522;
    box-shadow: 0 0 0 8px rgba(191, 30, 46, 0.22);
    transform: translate(-50%, -50%) scale(1.08);
}

.video-play-button:focus-visible {
    outline: 2px solid #efd08e;
    outline-offset: 4px;
}

.video-player.is-playing .video-play-button {
    display: none;
}

@media (max-width: 700px) {
    .container-video {
        padding: 68px 6% 78px;
    }

    .container-video::before {
        right: 12%;
    }

    .video-heading {
        margin-bottom: 36px;
    }

    .video-gallery {
        gap: 40px;
        grid-template-columns: 1fr;
    }

    .video-card {
        width: 100%;
    }

    .video-player {
        box-shadow: 10px 10px 0 rgba(7, 25, 20, 0.32);
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only h1 {
color: #ffffff;
}

.container-quality {
    display: flex;
    gap: 20px;
    padding: 76px 10%;
    flex-wrap: wrap;
    align-items: stretch;
    background-color: #173f35;
    color: #ffffff;
}

.container-quality > img {
    width: calc(50% - 10px);
    min-height: 360px;
    object-fit: cover;
}

.container-excellency {
    display: flex;
    width: calc(50% - 10px);
    padding: 36px;
    flex-direction: column;
    justify-content: center;
    background-color: #214b40;
}

.container-excellency h3 {
    margin: 0 0 12px;
    color: #efd08e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.container-excellency h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 500;
    line-height: 1.15;
}

.container-quality > p {
    width: calc((100% - 40px) / 3);
    min-height: 126px;
    margin: 0;
    padding: 23px 22px;
    border: 1px solid rgba(239, 208, 142, 0.35);
    color: #e7ede9;
    font-size: 0.95rem;
    line-height: 1.6;
    border-radius: 0 30px 30px 0;
}

.container-quality > p::first-line {
    color: #efd08e;
    font-weight: 700;
}

.container-footer {
    display: flex;
    gap: 40px;
    padding: 64px 10% 24px;
    flex-wrap: wrap;
    background-color: #0d2922;
    color: #dce5df;
}

.container-footer .links,
.container-footer .address,
.container-footer .location-map,
.container-footer .footer-images {
    flex: 1 1 240px;
}

.footer-images {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.footer-images img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.container-footer .links ul {
    display: grid;
    justify-content: start;
    gap: 10px;
}

.container-footer .links a {
    padding: 4px 0;
    color: #ffffff;
    font-size: 0.8rem;
}

.container-footer .links a:hover,
.container-footer .links a:focus-visible {
    color: #efd08e;
}

.container-footer .address p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.8;
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

.container-footer > p:last-child {
    width: 100%;
    margin: 20px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(239, 208, 142, 0.3);
    color: #aebeb7;
    font-size: 0.78rem;
    text-align: center;
}

.container-image {
    padding: 0 10% 76px;
    background-color: #173f35;
}

.container-image img {
    display: block;
    width: 100%;
    height: min(620px, 55vw);
    object-fit: cover;
    border-radius: 30px 30px 0 0;
}

.cornershop {
    padding: clamp(64px, 8vw, 112px) 10%;
    background: #f6f7f4;
    color: #173f35;
}

.corner-shop-overview {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
    max-width: 1280px;
    margin: 0 auto;
}

.corner-shop-heading {
    position: static;
    display: block;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    z-index: auto;
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.corner-shop-eyebrow,
.corner-shop-progress-eyebrow {
    margin: 0 0 12px;
    color: #a7792d;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.corner-shop-heading h2 {
    margin: 0 0 18px;
    color: #173f35;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 4.4vw, 4rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.corner-shop-description {
    max-width: 440px;
    margin: 0 0 24px;
    color: #52645d;
    font-size: 1.05rem;
    line-height: 1.75;
}

.corner-shop-location {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #d8e1da;
    border-radius: 999px;
    background: #fff;
    color: #355b4e;
    font-size: 0.82rem;
    font-weight: 700;
}

.corner-shop-location span:first-child {
    color: #bf1e2e;
    font-size: 0.55rem;
}

.corner-shop-location span:last-child {
    color: #a7792d;
}

.corner-shop-feature {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #173f35;
    box-shadow: 0 18px 48px rgba(23, 63, 53, 0.16);
}

.corner-shop-feature::after {
    position: absolute;
    inset: 35% 0 0;
    z-index: 1;
    background: linear-gradient(transparent, rgba(13, 41, 34, 0.82));
    content: "";
    pointer-events: none;
}

.corner-shop-feature img {
    display: block;
    width: 100%;
    height: clamp(280px, 38vw, 500px);
    margin: 0;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.corner-shop-feature:hover img {
    transform: scale(1.025);
}

.corner-shop-feature figcaption {
    position: absolute;
    right: 24px;
    bottom: 22px;
    left: 24px;
    z-index: 2;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    font-weight: 500;
    line-height: 1.2;
}

.corner-shop-progress {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    max-width: 1280px;
    margin: 88px auto 0;
    padding: clamp(28px, 4.5vw, 58px);
    border-radius: 20px;
    background: #173f35;
    box-shadow: 0 18px 48px rgba(23, 63, 53, 0.12);
    color: #e7ede9;
    text-align: left;
}

.corner-shop-progress-copy {
    min-width: 0;
}

.corner-shop-progress h3 {
    margin: 0 0 16px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.15;
    text-align: left;
}

.corner-shop-progress-copy > p:not(.corner-shop-progress-eyebrow) {
    margin: 0;
    color: #e1e9e4;
    font-size: 1rem;
    line-height: 1.6;
}

.corner-shop-payment {
    margin-top: 24px;
    padding: 16px 18px;
    border-left: 3px solid #efd08e;
    background: rgba(0, 0, 0, 0.16);
}

.corner-shop-payment > span {
    display: block;
    margin-bottom: 5px;
    color: #efd08e;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.corner-shop-payment p {
    margin: 0;
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.5;
}

.corner-shop-payment strong {
    color: #fff;
}

.corner-shop-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.corner-shop-gallery img {
    display: block;
    width: 100%;
    height: clamp(150px, 17vw, 225px);
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    object-fit: cover;
}

.corner-shop-gallery img:first-child {
    grid-column: 1 / -1;
    height: clamp(190px, 24vw, 310px);
}

.corner-shop-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    min-height: 50px;
    margin: 32px auto 0;
    padding: 0 22px;
    border-radius: 7px;
    background: #bf1e2e;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.corner-shop-contact:hover,
.corner-shop-contact:focus-visible {
    background: #951522;
    transform: translateY(-2px);
}

.corner-shop-contact:focus-visible {
    outline: 3px solid #173f35;
    outline-offset: 3px;
}

.corner-shop-contact span {
    font-size: 1.2rem;
}

@media (prefers-reduced-motion: reduce) {
    .slide,
    .slide img,
    .slide-content,
    .corner-shop-feature img {
        transition: none;
    }
}

@media (max-width: 700px) {
    .property-slider,
    .slides,
    .slide,
    .slide img {
        min-height: 470px;
        height: 470px;
    }

    .slide::after {
        background: linear-gradient(0deg, rgba(13, 41, 34, 0.84) 0%, rgba(13, 41, 34, 0.28) 80%);
    }

    .slide-content {
        top: auto;
        right: 9%;
        bottom: 75px;
        left: 9%;
        transform: translateY(28px);
    }

    .slide.is-active .slide-content {
        transform: translateY(0);
    }

    .slide-content h1 {
        font-size: 2.35rem;
    }

    .slider-button {
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .slider-previous {
        left: 9%;
    }

    .slider-next {
        right: auto;
        left: calc(9% + 56px);
    }

    .slider-dots {
        right: 9%;
        bottom: 38px;
    }

    .site-locations {
        padding: 40px 6%;
    }

    .site-locations h2 {
        font-size: 1.7rem;
    }

    .locations-introduction {
        margin-bottom: 22px;
    }

    .locations-description {
        margin-top: 28px;
    }

    .location-list {
        gap: 10px;
    }

    .location-list p {
        flex: 1 1 140px;
        min-width: 0;
    }

    .container-flex {
        padding: 52px 6%;
        gap: 14px;
    }

    .properties-introduction {
        margin-bottom: 12px;
    }

    .properties-introduction h2 {
        font-size: 1.8rem;
    }

    .container-flex > img {
        width: calc((100% - 14px) / 2);
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .container-flex > img:last-child {
        width: 100%;
    }

    .container-quality {
        padding: 52px 6%;
        gap: 14px;
    }

    .container-quality > img,
    .container-excellency,
    .container-quality > p {
        width: 100%;
    }

    .container-quality > img {
        min-height: 0;
        height: 300px;
    }

    .container-excellency {
        padding: 28px;
    }

    .container-excellency h2 {
        font-size: 2rem;
    }

    .container-quality > p {
        min-height: 0;
    }

    .container-footer {
        gap: 30px;
        padding: 48px 6% 20px;
    }

    .footer-images img {
        max-width: 120px;
    }

/* 1. Add this class to the HTML element wrapping your cards */
    .property-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; 
        gap: 12px;                      
        padding: 12px;                  
    }

    /* 2. Fluid card width for mobile */
    .property-card {
        width: 100%;
        min-width: 0;                   
    }

    /* 3. Proportional image height for mobile */
    .property-card img {
        height: 180px;                  
    }

    .location-map iframe {
        height: 260px;
    }

    .container-image {
        padding: 0 6% 52px;
    }

    .container-image img {
        height: 300px;
    }

    .cornershop {
        padding: 64px 6%;
    }

    .corner-shop-overview,
    .corner-shop-progress {
        grid-template-columns: 1fr;
    }

    .corner-shop-overview {
        gap: 28px;
    }

    .corner-shop-heading h2 {
        font-size: 2.5rem;
    }

    .corner-shop-feature img {
        height: 300px;
    }

    .corner-shop-progress {
        gap: 26px;
        margin-top: 64px;
        padding: 24px;
    }

    .corner-shop-gallery img {
        height: 150px;
    }

    .corner-shop-gallery img:first-child {
        height: 210px;
    }

    .corner-shop-contact {
        width: 100%;
    }
}