:root {
    --wine: #831b26;
    --wine-dark: #5c1219;
    --cream: #eee596;
    --ink: #171717;
    --muted: #66615d;
    --line: #e7e1da;
    --paper: #ffffff;
    --soft: #f7f5f2;
    --green: #168a45;
    --shadow: 0 14px 34px rgba(23, 23, 23, 0.1);
    --container: min(1180px, calc(100% - 40px));
    --font-display: Georgia, "Times New Roman", serif;
    --font-body: "Segoe UI", Aptos, "Trebuchet MS", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

code {
    color: var(--wine);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.92em;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--wine);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: auto;
    height: auto;
    max-height: 54px;
    border-radius: 4px;
    object-fit: contain;
}

.brand__copy {
    display: grid;
    gap: 2px;
}

.brand__copy strong {
    color: var(--wine);
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1;
}

.brand__copy small {
    color: var(--muted);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    margin-left: auto;
}

.site-nav {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    font-weight: 600;
}

.site-nav a {
    border-bottom: 1px solid transparent;
    padding: 4px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    border-color: var(--cream);
    color: #fff;
}

.header-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0 20px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.header-cta,
.btn--primary {
    background: var(--wine);
    color: #fff;
}

.header-cta {
    background: #fff;
    border-color: #fff;
    color: var(--wine);
}

.header-cta svg {
    flex: 0 0 auto;
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.header-cta:hover,
.btn:hover {
    transform: translateY(-1px);
}

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
}

.hero__image,
.hero__shade {
    position: absolute;
    inset: 0;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image--slide {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 900ms ease, transform 6500ms ease;
}

.hero__image--slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero__shade {
    background: rgba(0, 0, 0, 0.8);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    max-width: 820px;
    padding: 64px 0 70px;
}

.property-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid rgba(238, 229, 150, 0.5);
    border-radius: 4px;
    background: rgba(238, 229, 150, 0.9);
    color: var(--wine-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.hero__code {
    margin: 0 0 22px;
}

.hero h1 {
    max-width: 640px;
    margin: 0;
    font-family: var(--font-display);
    font-size: 4.6rem;
    font-weight: 500;
    line-height: 0.98;
}

.hero__lead {
    max-width: 520px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.12rem;
    line-height: 1.58;
}

.hero__price {
    display: grid;
    justify-items: center;
    gap: 2px;
    margin-top: 34px;
}

.hero__price span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero__price strong {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 500;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.facts {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.facts__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.facts__grid div {
    min-height: 100px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 20px 22px;
    border-left: 1px solid var(--line);
}

.facts__grid div:last-child {
    border-right: 1px solid var(--line);
}

.facts strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.facts span {
    color: var(--muted);
    font-size: 0.9rem;
}

.section {
    padding: 82px 0;
}

.section--intro {
    padding-top: 72px;
}

.section--muted,
.section--faq {
    background: var(--soft);
}

.section-label {
    margin: 0 0 14px;
    color: var(--wine);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h2,
h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.05;
}

h2 {
    font-size: 2.55rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin: 0;
    color: var(--muted);
    line-height: 1.68;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 54px;
    align-items: start;
}

.section-heading {
    display: grid;
    gap: 18px;
}

.section-heading--inline {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
    align-items: end;
    margin-bottom: 32px;
}

.benefits-grid {
    display: grid;
    gap: 18px;
}

.benefit-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 22px;
    align-items: start;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--line);
}

.benefit-card span {
    color: var(--wine);
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.benefit-card p {
    color: #302b27;
    font-size: 1.04rem;
}

.gallery-layout {
    display: grid;
    gap: 8px;
}

.gallery {
    display: grid;
    gap: 18px;
}

.gallery__stage {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #ddd;
}

.gallery__stage img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.gallery__stage figcaption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 9px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 800;
}

.gallery__thumbs {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 0 8px;
    scrollbar-color: var(--wine) var(--soft);
}

.gallery__thumb {
    flex: 0 0 154px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.gallery__thumb.is-active {
    border-color: var(--wine);
}

.gallery__thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.narrative {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 58px;
    align-items: start;
}

.narrative__copy {
    display: grid;
    gap: 18px;
}

.narrative__copy p {
    max-width: 760px;
    font-size: 1.03rem;
}

.spec-card,
.panel,
.location__card,
.faq-item,
.final-cta__box,
.thanks-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.spec-card {
    padding: 26px;
}

.spec-list {
    display: grid;
    gap: 0;
    margin: 18px 0 0;
}

.spec-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.spec-list dt {
    color: var(--muted);
}

.spec-list dd {
    margin: 0;
    color: var(--wine);
    font-weight: 800;
}

.dual-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.panel {
    padding: 28px;
}

.feature-grid,
.location__list,
.agent-card__meta {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.feature-grid li,
.location__list li,
.agent-card__meta li {
    position: relative;
    padding-left: 18px;
    color: #3b3632;
    line-height: 1.45;
}

.feature-grid li::before,
.location__list li::before,
.agent-card__meta li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wine);
}

.location {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 44px;
    align-items: start;
}

.location__copy {
    display: grid;
    gap: 18px;
}

.location__card {
    padding: 28px;
}

.location__list {
    display: grid;
    gap: 14px;
    margin-top: 0;
}

.agent-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--wine-dark);
    color: #fff;
}

.agent-card__media {
    min-height: 100%;
    margin: 0;
    background: var(--wine);
}

.agent-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-card__content {
    display: grid;
    gap: 16px;
    padding: 36px;
}

.agent-card h2,
.agent-card p,
.agent-card li,
.agent-card .section-label {
    color: #fff;
}

.agent-card .section-label,
.agent-card__role {
    color: var(--cream);
}

.agent-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 2px;
}

.agent-card__meta li::before {
    background: var(--cream);
}

.agent-card .hero__actions {
    margin-top: 8px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 20px 22px;
    color: var(--ink);
    font-weight: 800;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 22px 22px;
}

.final-cta__box,
.thanks-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 32px;
}

.thanks-card {
    grid-template-columns: 1fr;
    max-width: 780px;
}

.site-footer {
    padding: 34px 0 96px;
    background: #111;
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 28px;
}

.site-footer__brand {
    margin: 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.4rem;
}

.site-footer__text,
.site-footer__meta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.site-footer__meta {
    display: grid;
    gap: 4px;
    text-align: right;
}

.sticky-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 35;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 6px;
    padding: 0 18px;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 180ms ease, transform 180ms ease;
}

body.has-scrolled .sticky-whatsapp {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.thanks-page {
    min-height: calc(100vh - 172px);
    background: var(--soft);
}

@media (max-width: 1020px) {
    .site-nav {
        display: none;
    }

    .facts__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .intro-grid,
    .section-heading--inline,
    .gallery,
    .narrative,
    .dual-grid,
    .location,
    .agent-card,
    .final-cta__box {
        grid-template-columns: 1fr;
    }

    .agent-card__media {
        min-height: 160px;
    }
}

@media (max-width: 720px) {
    :root {
        --container: min(100% - 28px, 1180px);
    }

    .site-header__inner {
        min-height: 76px;
        padding: 14px 0;
        gap: 12px;
    }

    .hero {
        min-height: 590px;
        align-items: flex-end;
    }

    .hero__shade {
        background: rgba(0, 0, 0, 0.8);
    }

    .hero__inner {
        padding: 220px 0 34px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero__price strong {
        font-size: 2.45rem;
    }

    .facts__grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .facts__grid div,
    .facts__grid div:last-child {
        min-height: auto;
        border-right: 1px solid var(--line);
    }

    .section {
        padding: 58px 0;
    }

    h2 {
        font-size: 2.05rem;
    }

    .benefit-card {
        grid-template-columns: 44px 1fr;
    }

    .panel,
    .spec-card,
    .location__card,
    .agent-card__content,
    .final-cta__box,
    .thanks-card {
        padding: 22px;
    }

    .site-footer__inner {
        flex-direction: column;
    }

    .site-footer__meta {
        text-align: left;
    }

    .sticky-whatsapp {
        left: 14px;
        right: 14px;
    }
}

@media (max-width: 560px) {
    .site-header__inner {
        min-height: auto;
        flex-wrap: wrap;
    }

    .brand img {
        max-height: 48px;
    }

    .brand__copy small {
        display: none;
    }

    .header-cta {
        width: 100%;
    }

    .site-header__actions {
        display: none;
    }

    .sticky-whatsapp {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .hero {
        min-height: 560px;
    }

    .hero__inner {
        padding: 150px 0 28px;
    }

    .hero h1 {
        font-size: 2.62rem;
    }

    .hero__lead {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero__price {
        margin-top: 24px;
    }

    .hero__price strong {
        font-size: 2.2rem;
    }

    .hero__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .hero__actions .btn {
        min-height: 48px;
        width: auto;
        padding: 0 12px;
        font-size: 0.86rem;
    }
}
