* {
    box-sizing: border-box;
}

:root {
    --olive: #6E7B5F;
    --terracotta: #D08A5B;
    --charcoal: #1A1A1A;
    --cream: #F5F1EA;
    --sand: #FBF8F3;
    --soft: #EEE7DC;
    --white: #FFFFFF;
    --whatsapp: #25D366;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    background: var(--sand);
}

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

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

.container {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 20;
    background: rgba(251, 248, 243, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.nav-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-icon {
    width: 48px;
    height: 48px;
}

.brand strong,
.footer-brand strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    letter-spacing: .02em;
}

.brand span,
.footer-brand span {
    display: block;
    margin-top: 2px;
    color: var(--terracotta);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 700;
}

.nav-links a:not(.btn):hover {
    color: var(--terracotta);
}

.btn {
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--olive);
    color: var(--white);
    box-shadow: 0 14px 34px rgba(110, 123, 95, .22);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 14px 34px rgba(37, 211, 102, .24);
}

.btn-outline {
    border: 1.5px solid var(--olive);
    color: var(--olive);
    background: rgba(255,255,255,.45);
}

.hero {
    padding: 158px 0 96px;
    background:
        radial-gradient(circle at 12% 12%, rgba(208, 138, 91, .18), transparent 32%),
        radial-gradient(circle at 88% 22%, rgba(110, 123, 95, .16), transparent 34%),
        linear-gradient(135deg, var(--sand), var(--cream));
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 72px;
    align-items: center;
}

.eyebrow,
.section-label {
    color: var(--terracotta);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .18em;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    margin: 0;
    color: var(--charcoal);
}

h1 {
    margin-top: 20px;
    font-size: clamp(48px, 7vw, 82px);
    line-height: .96;
    letter-spacing: -.035em;
}

.hero-copy p {
    margin: 24px 0 0;
    max-width: 610px;
    color: #5d5b56;
    font-size: 19px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.trust-row div {
    background: rgba(255, 255, 255, .64);
    border: 1px solid rgba(26, 26, 26, .06);
    border-radius: 22px;
    padding: 18px;
}

.trust-row strong {
    display: block;
    color: var(--olive);
    font-weight: 900;
}

.trust-row span {
    display: block;
    margin-top: 4px;
    color: #777166;
    font-size: 13px;
    font-weight: 600;
}

.hero-visual {
    position: relative;
}

.image-card {
    border-radius: 42px;
    overflow: hidden;
    background: var(--white);
    border: 10px solid var(--white);
    box-shadow: 0 32px 82px rgba(26, 26, 26, .12);
}

.image-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.floating-note {
    position: absolute;
    left: -30px;
    bottom: 36px;
    width: 285px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(26, 26, 26, .06);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 22px 54px rgba(26, 26, 26, .12);
}

.floating-note img {
    width: 48px;
    height: 48px;
}

.floating-note strong {
    display: block;
    color: var(--olive);
}

.floating-note span {
    display: block;
    margin-top: 2px;
    color: #706c66;
    font-size: 13px;
}

.section {
    padding: 96px 0;
}

.section-light {
    background: var(--white);
}

.center {
    text-align: center;
}

.center h2 {
    max-width: 850px;
    margin: 12px auto 0;
}

h2 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -.02em;
}

.section-text {
    max-width: 760px;
    margin: 22px auto 0;
    color: #66615b;
    font-size: 18px;
    line-height: 1.8;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr .75fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 42px;
}

.section-heading p,
.showcase p,
.contact-grid p,
.final-cta p {
    color: #66615b;
    line-height: 1.8;
    font-size: 17px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.catalog-section {
    background:
        radial-gradient(circle at 92% 8%, rgba(208, 138, 91, .13), transparent 30%),
        var(--cream);
}

.catalog-heading {
    margin-bottom: 34px;
}

.catalog-status,
.catalog-empty {
    padding: 38px;
    border: 1px dashed rgba(110, 123, 95, .35);
    border-radius: 28px;
    background: rgba(255, 255, 255, .62);
    color: #66615b;
    text-align: center;
}

.catalog-status-error {
    color: #8b4b2c;
}

.catalog-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
}

.catalog-empty[hidden] {
    display: none;
}

.catalog-empty strong {
    color: var(--olive);
    font-family: 'Playfair Display', serif;
    font-size: 28px;
}

.catalog-empty .btn {
    margin-top: 12px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(26, 26, 26, .06);
    border-radius: 30px;
    box-shadow: 0 18px 42px rgba(26, 26, 26, .07);
    transition: transform .22s ease, box-shadow .22s ease;
}

.product-card.is-sold {
    border-color: rgba(153, 27, 27, .24);
}

.product-sold-ribbon {
    position: absolute;
    top: 34px;
    right: -62px;
    z-index: 3;
    width: 250px;
    height: 52px;
    display: grid;
    place-items: center;
    background: #991b1b;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    transform: rotate(38deg);
    box-shadow: 0 16px 30px rgba(153, 27, 27, .26);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 62px rgba(26, 26, 26, .12);
}

.product-image {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 170px;
    padding: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #f7f1e8, #e6eadf);
}

.product-image img {
    display: block;
    width: 50%;
    height: auto;
    max-height: 145px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(26, 26, 26, .13);
    transition: transform .35s ease;
}

.product-image-zoom {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 142px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.product-image-zoom span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(26, 26, 26, .76);
    color: #fff;
    font: 800 11px 'Inter', sans-serif;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}

.product-image-zoom:hover span,
.product-image-zoom:focus-visible span {
    opacity: 1;
    transform: translateY(0);
}

.product-image-zoom:focus-visible {
    outline: 3px solid var(--terracotta);
    outline-offset: -3px;
}

.product-card:hover .product-image img {
    transform: scale(1.035);
}

.catalog-image-placeholder {
    display: grid;
    place-items: center;
    width: 50%;
    min-height: 140px;
    padding: 28px;
    color: var(--olive);
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    text-align: center;
    background:
        radial-gradient(circle at 22% 22%, rgba(208, 138, 91, .24), transparent 30%),
        linear-gradient(135deg, #f7f1e8, #dde3d6);
}

.product-featured {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--terracotta);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-content {
    padding: 24px;
}

.product-code {
    color: var(--terracotta);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.product-content h3 {
    margin-top: 8px;
    font-size: 29px;
    line-height: 1.08;
}

.product-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.product-details span {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--soft);
    color: #5f5b54;
    font-size: 12px;
    font-weight: 800;
}

.product-content p {
    display: -webkit-box;
    overflow: hidden;
    margin: 16px 0 0;
    color: #66615b;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-footer {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
}

.product-footer > strong {
    color: var(--olive);
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    white-space: nowrap;
}

.product-reserve {
    min-height: 44px;
    padding: 0 18px;
    font-size: 13px;
}

.product-sold-label {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #991b1b;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lightbox-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden !important;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    overflow: auto;
    padding: 32px;
    background: rgba(10, 10, 10, .88);
    backdrop-filter: blur(8px);
}

.image-lightbox[hidden] {
    display: none;
}

.image-lightbox-window {
    width: max-content;
    min-width: min(92vw, 420px);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    background: #171717;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

.image-lightbox-header {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 12px 10px 22px;
    background: #171717;
    color: #fff;
}

.image-lightbox-content {
    display: block;
    padding: 0 18px 18px;
    overflow: auto;
    text-align: center;
}

.image-lightbox-content img {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0 auto;
    border-radius: 14px;
}

.image-lightbox-close {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
    background: var(--terracotta);
    outline: none;
}

.card {
    background: var(--white);
    border: 1px solid rgba(26, 26, 26, .06);
    border-radius: 30px;
    padding: 34px;
    box-shadow: 0 18px 42px rgba(26, 26, 26, .05);
    transition: transform .22s ease, box-shadow .22s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(26, 26, 26, .09);
}

.card-icon {
    color: var(--terracotta);
    font-weight: 900;
    letter-spacing: .18em;
}

.card h3 {
    margin-top: 18px;
    font-size: 28px;
}

.card p {
    color: #66615b;
    line-height: 1.75;
}

.showcase {
    background: linear-gradient(135deg, var(--olive), #59664c);
    color: #fff;
}

.showcase h2,
.showcase p,
.showcase .section-label {
    color: #fff;
}

.showcase .section-label {
    opacity: .78;
}

.showcase-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 48px;
    align-items: center;
}

.quote-card {
    border-radius: 36px;
    padding: 56px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
}

.quote-card p {
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.08;
}

.contact-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 42px;
    align-items: stretch;
}

.contact-list {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.contact-item {
    background: var(--sand);
    border: 1px solid rgba(26, 26, 26, .06);
    border-radius: 22px;
    padding: 18px;
}

.contact-item strong {
    display: block;
    color: var(--olive);
}

.contact-item span {
    display: block;
    margin-top: 5px;
    color: #69645e;
    font-weight: 600;
}

.map-box {
    min-height: 460px;
    border-radius: 34px;
    overflow: hidden;
    border: 10px solid var(--sand);
    box-shadow: inset 0 0 0 1px rgba(26,26,26,.07), 0 24px 62px rgba(26,26,26,.08);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.final-cta {
    padding: 96px 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(208, 138, 91, .16), transparent 36%),
        var(--charcoal);
}

.final-cta h2,
.final-cta p {
    color: #fff;
}

.cta-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 22px;
}

.footer {
    background: #111;
    color: #fff;
    padding: 38px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-brand img {
    width: 48px;
    height: 48px;
}

.footer-links {
    display: flex;
    gap: 22px;
    font-weight: 800;
    color: rgba(255,255,255,.72);
}

.footer-links a:hover {
    color: var(--terracotta);
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    background: var(--whatsapp);
    color: #fff;
    border-radius: 999px;
    padding: 15px 19px;
    font-weight: 900;
    box-shadow: 0 18px 42px rgba(37,211,102,.32);
}

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

    .hero-grid,
    .section-heading,
    .cards,
    .catalog-grid,
    .showcase-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 124px;
    }

    .trust-row {
        grid-template-columns: 1fr;
    }

    .floating-note {
        position: static;
        margin: -18px auto 0;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .product-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .product-reserve {
        width: 100%;
    }

    .product-image img,
    .catalog-image-placeholder {
        width: 50%;
        max-height: 130px;
    }

    .product-image-zoom span {
        opacity: 1;
        transform: none;
    }

    .image-lightbox {
        padding: 14px;
    }

    .image-lightbox-window {
        min-width: calc(100vw - 28px);
    }

    .image-lightbox-content {
        padding: 0 12px 12px;
    }
}
