:root {
    
    --accent: #FF4620;
    --accent-soft: #FF6A45;
    --navy: #131F3D;
    --forest: #0C3620;
    --forest-dark: #062615;

    
    --cream: #FBF8F1;
    --sand: #F5EFE1;
    --sand-dark: #EFE8D6;

    
    --text: #3a3f38;
    --text-muted: #454b41;
    --line: rgba(19, 31, 61, 0.14);
    --line-strong: rgba(19, 31, 61, 0.18);

    
    --dark-muted: #cfd6c9;
    --dark-value: #e9ece3;
    --dark-line: #34493a;
    --dark-field: #22392a;
    --dark-field-line: #3c5344;
    --dark-icon: #284a35;
    --dark-placeholder: #8fa090;

    
    --font-body: 'Work Sans', sans-serif;
    --font-heading: 'Fraunces', serif;
    --font-script: 'Caveat', cursive;

    
    --r-sm: 4px;
    --r-md: 6px;
    --r-lg: 12px;
    --section-radius: 60px;
    --curve: 0 0 50% 50% / 0 0 18% 18%;

    
    --container: 1260px;
    --z-section: 2;
    --z-backdrop: 998;
    --z-header: 1000;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

button,
input,
textarea {
    font-family: inherit;
}

.myContainer {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
section {
    padding: 76px 0;
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 96px;
}

/* Column Styles */
.col-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.col-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.align-center { align-items: center; }
.text-center  { text-align: center; }
.mt-20        { margin-top: 20px; }
.mt-40        { margin-top: 40px; }

.bg-white { background: #ffffff; }
.bg-light { background: var(--sand); }

.radius-section {
    position: relative;
    z-index: var(--z-section);
    border-radius: var(--section-radius);
}

.bottom-radius {
    position: relative;
    z-index: var(--z-section);
    border-radius: 0 0 var(--section-radius) var(--section-radius);
}

.script {
    font-family: var(--font-script);
    font-weight: 700;
}

.deg-text {
    transform: rotate(-2deg);
}

/* Button Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 15px;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn[hidden] {
    display: none;
}

.btn-red {
    background: var(--accent);
    color: #ffffff;
}

.btn-red:hover {
    background: var(--navy);
}

.btn-outline {
    background: #ffffff;
    border-color: var(--line-strong);
    color: var(--navy);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg {
    padding: 12px 27px;
    font-size: 0.95rem;
}

.section-head {
    max-width: 60ch;
    margin-bottom: 48px;
}

.section-head.text-center {
    margin-inline: auto;
}

.section-label {
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--navy);
}

.section-title {
    margin-bottom: 20px;
    font-size: clamp(26px, 20px + 1.8vw, 40px);
    font-weight: 700;
    text-transform: capitalize;
    color: var(--navy);
}

.section-details p {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--text);
}

.section-media img {
    display: block;
    width: 100%;
    border-radius: var(--r-lg);
}

.u-word {
    position: relative;
    display: inline-block;
}

.u-word::after {
    content: "";
    position: absolute;
    left: 1%;
    right: 1%;
    bottom: -18px;
    height: 12px;
    border-bottom: 7px solid var(--accent);
    border-radius: 50%;
    transform: rotate(180deg);
    clip-path: inset(0 50% 0 50%);
    transition: clip-path 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}

.u-word.animate::after {
    clip-path: inset(0 0 0 0);
}

.u-word.on-accent::after {
    bottom: -15px;
    border-bottom-color: var(--forest);
}

.mark-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 30px 10px 30px 20px;
    border: 1px solid var(--accent);
    border-radius: var(--r-md);
    background: linear-gradient(135deg, #fbf8f0 0%, #f4efe3 100%);
    color: var(--navy);
    font-weight: 600;
}

.mark-info .icon {
    font-size: 25px;
    color: var(--navy);
}

.theme-dark {
    background: var(--forest-dark);
    color: var(--sand-dark);
}

.theme-dark .section-label {
    color: var(--accent);
}

.theme-dark :is(h2, h3) {
    color: var(--sand-dark);
}

.theme-dark .btn-red:hover {
    background: var(--accent-soft);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: flex;
    gap: 14px;
}

.form-row > * {
    flex: 1;
    min-width: 0;
}

.form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    color: var(--dark-muted);
}

.form :is(input, textarea) {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--dark-field-line);
    border-radius: var(--r-sm);
    background: var(--dark-field);
    color: var(--sand-dark);
    font-size: 0.94rem;
}

.form :is(input, textarea)::placeholder {
    color: var(--dark-placeholder);
}

.form :is(input, textarea).input-error {
    border-color: #E2685A;
}

.form textarea {
    min-height: 100px;
    resize: vertical;
}

.form > .btn {
    align-self: flex-start;
    margin-top: 6px;
}

.field-error {
    display: block;
    min-height: 16px;
    margin-top: 5px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #F2A69C;
}

.form-status {
    display: none;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: var(--r-sm);
    font-size: 0.9rem;
}

.form-status.success {
    display: block;
    background: #1F3D2B;
    color: #D9E8D3;
    border: 1px solid var(--dark-field-line);
}

.form-status.error {
    display: block;
    background: #3d1f1f;
    color: #f2d5d1;
    border: 1px solid #5a3434;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.form--compact {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--dark-line);
}

.form--compact textarea {
    min-height: 80px;
}

.form--compact > .btn {
    align-self: stretch;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
}

.info-row + .info-row {
    border-top: 1px solid var(--dark-line);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dark-icon);
    font-size: 0.9rem;
}

.info-row .label {
    margin-bottom: 2px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
}

.info-row .value {
    font-size: 0.95rem;
    color: var(--dark-value);
}

.info-row .value a {
    color: inherit;
}

.info-row .value a:hover {
    color: var(--accent);
}

/* Header / Navigation */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: var(--z-header);
    background: #010704;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: auto;
    height: 70px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    position: relative;
    padding: 6px 2px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--cream);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transition: right 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    right: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--cream);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: var(--z-backdrop);
    background: rgba(6, 15, 10, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* banner RECREATION */
.banner {
    --banner-title: #ffffff;
    --banner-accent: var(--accent);

    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
    border-radius: var(--curve);
    overflow: hidden;
}

.banner-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease;
}

.banner:hover::before {
    opacity: 0;
}

.banner:hover {
    --banner-title: var(--accent);
    --banner-accent: #ffffff;
}

.banner-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.banner-icon img {
    width: 100px;
}

.banner-container h1 {
    font-size: clamp(40px, 8vw, 100px);
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    color: var(--banner-title);
    transition: color 0.5s ease;
}

.banner-container h1 span {
    font-weight: 900;
}

.banner-container p {
    position: relative;
    font-size: clamp(28px, 4vw, 50px);
    font-style: italic;
    text-align: center;
    color: var(--banner-accent);
    transition: color 0.5s ease;
}

.badge {
    position: absolute;
    top: 50px;
    right: 10%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
    text-align: center;
    transform: rotate(-9deg);
}

.badge .line1,
.badge .line2 {
    display: block;
    font-family: var(--font-script);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.05;
    color: var(--forest);
}

.page-banner,
.page-banner:hover {
    --banner-title: #ffffff;
    --banner-accent: #ffffff;
}

.page-banner .myContainer {
    width: 100%;
    max-width: 900px;
    margin: auto;
}

.page-banner h1 {
    font-size: clamp(22px, 14px + 2.2vw, 40px);
}

.page-banner p {
    font-size: clamp(15px, 14px + 0.4vw, 18px);
    font-style: normal;
    font-weight: 700;
}

/* Trust row */
.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-left: 1px solid var(--accent);
}

.trust-item:where(:first-child) {
    padding-left: 0;
    border-left: 0;
}

.trust-item .ic {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--forest);
}

.trust-item p {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
}

/* CTA BAR */
.cta-bar {
    padding: 40px 0;
    background: var(--forest-dark);
    border-radius: var(--curve);
}

.cta-bar .section-head {
    max-width: 760px;
    margin-bottom: 0;
}

.cta-bar .section-title {
    color: #ffffff;
}

.cta-bar .section-head p {
    color: var(--cream);
}

.cta-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 30px 0;
}

.cta-left .lead {
    display: inline-block;
    padding-bottom: 4px;
    font-size: 3rem;
    color: var(--accent);
}

.phone-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.phone-row .pic {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    font-size: 30px;
}

.phone-row .num {
    display: inline-block;
    padding-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 900;
    color: var(--cream);
}

.cta-right {
    padding-left: 40px;
    border-left: 2px solid var(--cream);
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.check-row .cic {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    font-size: 0.8rem;
    color: #000000;
}

.check-row > span:last-child {
    font-size: 18px;
    font-weight: 500;
    color: var(--cream);
}

.cta-right .closing {
    display: inline-block;
    margin-top: 14px;
    padding-bottom: 10px;
    font-size: 2.6rem;
    color: var(--accent);
}

/* skyline footer strip */
.skyline-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 32px 30px;
    text-align: center;
}

.skyline-strip img {
    width: 100%;
}

.skyline-strip .place {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.23em;
    text-transform: uppercase;
    color: var(--navy);
}

.skyline-strip .place span {
    width: 30px;
    height: 2px;
    background: var(--navy);
}

/* Why Choose */
.why {
    background: var(--sand-dark);
}

.card-item {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--cream);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--forest);
    font-size: 0.85rem;
    color: var(--cream);
}

.card-item h3 {
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--navy);
}

.card-item p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--text-muted);
}

/* Offer */
.offer-layout {
    display: flex;
    flex-direction: column;
}

.offer-action {
    align-self: flex-end;
    margin-bottom: 40px;
}

.offer .col-2 {
    grid-template-columns: 37% 60%;
}

.offer-item {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}

.offer-item h3 i {
    color: var(--accent);
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.media-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    border-radius: var(--r-lg);
    overflow: hidden;
    cursor: pointer;
    background-color: var(--forest-dark);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: box-shadow 0.35s ease;
}

.media-card:hover {
    box-shadow: 0 16px 30px rgba(19, 31, 61, 0.22);
}

.media-card:nth-child(1) { background-image: url(../images/balconies-in-a-new-glass-wall-apartment-house.jpg); }
.media-card:nth-child(2) { background-image: url(../images/modern-scandianvian-living-room-interior-with-design-sofa.jpg); }
.media-card:nth-child(3) { background-image: url(../images/modern-bedroom-interior-in-earth-tones-3d-rendering.jpg); }
.media-card:nth-child(4) { background-image: url(../images/open-plan-apartment-interior.jpg); }

.media-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.35s ease;
}

.media-card:hover::before {
    background: rgba(0, 0, 0, 0.82);
}

.media-card .content {
    position: relative;
    z-index: 2;
    opacity: 0.92;
    transform: translateY(4px);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.media-card:hover .content {
    opacity: 1;
    transform: translateY(0);
}

.media-card h3 {
    font-size: 22px;
    color: #ffffff;
}

.media-card p {
    margin: 0;
    color: #e8e6dc;
}

/* Contact */
.contact h2 {
    font-size: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
    margin-top: 40px;
}

.contact-intro {
    max-width: 44ch;
    margin-top: 14px;
    color: var(--dark-muted);
}

.contact .form {
    margin-top: 26px;
}

.contact .info-list {
    margin-top: 26px;
}

.hours-split {
    display: flex;
    gap: 40px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.property-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--cream);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(19, 31, 61, 0.14);
}

.property-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.property-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.06);
}

.property-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--forest);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--cream);
}

.property-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.property-body h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
    color: var(--navy);
}

.property-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.property-location i {
    color: var(--accent);
}

.property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--navy);
}

.property-details i {
    color: var(--forest);
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.property-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--forest);
}

.property-price small {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

/*  Property Details Page */
.details-topbar {
    padding-top: 132px;
    padding-bottom: 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

.back-link i {
    color: var(--accent);
}

.back-link:hover {
    color: var(--navy);
}

.details-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.details-title-row h1 {
    margin-bottom: 8px;
    font-size: 2.1rem;
    color: var(--navy);
}

.details-address {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.98rem;
    color: var(--text-muted);
}

.details-address i {
    color: var(--accent);
}

.details-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
}

.phone-link i {
    color: var(--accent);
}

/* Gallery */
.details-gallery {
    padding-top: 0;
    padding-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 14px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}

.gallery-main,
.gallery-thumb {
    border-radius: var(--r-lg);
    overflow: hidden;
}

.gallery-main {
    aspect-ratio: 16 / 11;
}

.hover-zoom {
    position: relative;
}

.hover-zoom img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.2s ease;
}

.hover-zoom:hover img {
    transform: scale(1.08);
}

.gallery-main img.is-changing {
    opacity: 0;
}

.gallery-thumb {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.gallery-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: inherit;
    pointer-events: none;
    transition: border-color 0.25s ease;
}

.gallery-thumb.active::after {
    border-color: var(--accent);
}

.gallery-thumb:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 2px;
}

/* Details body layout */
.details-body {
    padding-top: 50px;
}

.details-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}

.details-main .details-section {
    margin-top: 44px;
}

.details-main p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
}

/* Quick facts */
.quick-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.qf-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    border-left: 1px solid var(--line);
}

.qf-item:where(:first-child) {
    border-left: 0;
}

.qf-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.qf-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Amenities */
.amenities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
    margin-top: 18px;
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--navy);
}

.amenities-list i {
    flex-shrink: 0;
    color: var(--accent);
}

/* Map */
.map-frame {
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.map-frame iframe {
    display: block;
}

/* Sidebar contact card */
.contact-card {
    padding: 26px;
    border-radius: var(--r-lg);
}

.contact-card h3 {
    margin-bottom: 14px;
    font-size: 1.3rem;
}

.contact-card img {
    display: block;
    width: 100%;
    margin-bottom: 14px;
    border-radius: var(--r-lg);
}

.contact-card .info-list {
    border-top: 1px solid var(--dark-line);
}

footer {
    position: relative;
    z-index: 1;
    margin-top: calc(var(--section-radius) * -1);
    padding: calc(var(--section-radius) + 40px) 0 40px;
    background: var(--navy);
    font-size: 0.82rem;
    text-align: center;
    color: var(--sand-dark);
}

@media (max-width: 1130px) {
    .offer .col-2 {
        grid-template-columns: 1fr;
    }

    .media-card {
        min-height: 290px;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-radius: 40px;
    }

    .col-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-section .col-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .split-section .section-media {
        order: -1;
    }

    
    .banner {
        min-height: 80vh;
        border-radius: 0 0 40px 40px;
    }

    
    .trust-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .trust-item {
        flex-direction: column;
        justify-content: center;
        padding: 20px;
        border: 1px solid var(--accent);
        border-radius: var(--r-md);
    }

    .trust-item p {
        text-align: center;
    }

    
    .cta-left .lead      { font-size: 2.4rem; }
    .phone-row .num      { font-size: 35px; }
    .cta-right .closing  { font-size: 1.5rem; }

    .phone-row .pic {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    
    .offer-action {
        order: 1;
        align-self: center;
        margin: 40px 0 0;
    }

    
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .hours-split {
        flex-direction: column;
        gap: 12px;
    }

    
    .details-layout {
        grid-template-columns: 1fr;
    }

    .details-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .details-body {
        padding-bottom: 0;
    }

    .details-body .myContainer {
        max-width: 100%;
        padding: 0;
    }

    .details-main {
        padding: 0 20px;
    }

    .details-body .contact-card {
        padding: 60px 15px;
        border-radius: var(--section-radius);
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1001;
        width: min(78vw, 320px);
        height: 100vh;
        height: 100dvh;
        background: var(--forest);
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.25);
        transition: right 0.35s ease;
    }

    .site-nav.open {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        width: 100%;
        padding: 100px 30px 30px;
    }

    .nav-link {
        font-size: 1.05rem;
    }

    
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-main {
        aspect-ratio: 16 / 10;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
    }

    .gallery-thumb {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 768px) {
    .col-2,
    .col-4 {
        grid-template-columns: 1fr;
    }

    
    .banner {
        border-radius: 0 0 50% 50% / 0 0 5% 5%;
    }

    .banner-icon img {
        width: 80px;
    }

    .badge {
        width: 100px;
        height: 100px;
    }

    .badge .line1,
    .badge .line2 {
        font-size: 1.5rem;
    }

    
    .cta-bar {
        border-radius: 0 0 50% 50% / 0 0 5% 5%;
    }

    .cta-inner {
        grid-template-columns: 1fr;
    }

    .cta-right {
        padding-left: 0;
        padding-top: 20px;
        border-left: 0;
        border-top: 1px solid rgba(251, 248, 241, 0.35);
    }
}

@media (max-width: 560px) {
    .btn:not(.btn-outline) {
        width: 100%;
    }

    
    .offer-cards {
        grid-template-columns: 1fr;
    }

    .media-card:nth-child(3) { order: 4; }
    .media-card:nth-child(4) { order: 3; }

    
    .property-grid {
        grid-template-columns: 1fr;
    }

    .property-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    
    .details-topbar {
        padding-top: 110px;
    }

    .details-title-row h1 {
        font-size: 1.6rem;
    }

    .details-actions {
        width: 100%;
    }

    .quick-facts {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .qf-item {
        padding-top: 12px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .qf-item:where(:first-child) {
        padding-top: 0;
        border-top: 0;
    }

    .amenities-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .trust-row {
        grid-template-columns: 1fr;
    }

    .phone-row .num {
        font-size: 30px;
    }

    .phone-row .pic {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
