/* ====== Property Detail  ====== */

.pd-wrap {
    background: #fff;
}

.pd-backbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.pd-backbar__inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 22px 32px;
    display: flex;
    align-items: center;
}

.pd-backlink {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(0, 0, 0, .55);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .05em;
    transition: color .2s ease;
}

.pd-backlink:hover {
    color: rgba(0, 0, 0, .9);
}

.pd-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 64px 32px;
}

.pd-gallery {
    margin-bottom: 64px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.pd-gallery__main {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 2px;
}

.pd-gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.pd-gallery__thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 2px;
}

.pd-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

.pd-badge {
    display: inline-block;
    padding: 10px 16px;
    background: #000;
    color: #fff;
    font-size: 12px;
    letter-spacing: .1em;
    font-weight: 500;
}

.pd-title {
    font-family: ui-serif, Georgia, "Times New Roman", serif;
    font-weight: 300;
    letter-spacing: -.02em;
    line-height: 1.05;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 14px 0;
}

.pd-price {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -.01em;
    margin: 0 0 4px 0;
}

.pd-kicker {
    font-size: 12px;
    letter-spacing: .2em;
    color: rgba(0, 0, 0, .45);
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.pd-location {
    font-size: 18px;
    color: rgba(0, 0, 0, .65);
    margin: 0;
}

.pd-text {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(0, 0, 0, .6);
    white-space: pre-line;
}

.pd-aspects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pd-aspect {
    background: #fafaf8;
    padding: 24px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-aspect__label {
    font-size: 13px;
    letter-spacing: .03em;
    color: rgba(0, 0, 0, .45);
    margin: 0;
}

.pd-aspect__value {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    color: #000;
}

.pd-side {
    position: static;
}

.pd-card {
    background: #fafaf8;
    padding: 32px;
    border-radius: 2px;
}

.pd-form-title {
    font-family: ui-serif, Georgia, "Times New Roman", serif;
    font-weight: 300;
    letter-spacing: -.01em;
    font-size: 24px;
    margin: 0 0 18px 0;
}

.pd-field {
    margin-bottom: 14px;
}

.pd-label {
    display: block;
    font-size: 12px;
    letter-spacing: .05em;
    font-weight: 500;
    color: rgba(0, 0, 0, .55);
    margin-bottom: 8px;
}

.pd-input,
.pd-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease;
}

.pd-input:focus,
.pd-textarea:focus {
    border-color: rgba(0, 0, 0, .35);
}

.pd-textarea {
    min-height: 110px;
    resize: vertical;
}

.pd-submit {
    width: 100%;
    background: #000;
    color: #fff;
    border: 0;
    padding: 14px 16px;
    font-size: 12px;
    letter-spacing: .08em;
    font-weight: 600;
    cursor: pointer;
}

.pd-submit:hover {
    opacity: .92;
}

.pd-video {
    margin-top: 28px;
}

.pd-video__frame {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 2px;
    background: #000;
}

.pd-video__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media (min-width: 1024px) {
    .pd-gallery {
        grid-template-columns: 1fr;
    }

    .pd-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-main {
        grid-template-columns: 2fr 1fr;
        gap: 64px;
    }

    .pd-side {
        position: sticky;
        top: 128px;
        /* similar a lg:top-32 del TSX */
        align-self: start;
    }

    .pd-aspects {
        grid-template-columns: repeat(3, minmax(0, 1fr));

    }
}


.pd-icon {
    width: 18px;
    min-width: 18px;
    text-align: center;
    font-size: 16px;
    opacity: .55;
}

.footer-socials {
    display: flex;
    gap: 14px;
}

.social-icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #111;
    opacity: 0.75;

    transition: transform .22s ease, opacity .22s ease, background-color .22s ease;
}

.social-icon .icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.25;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-1px) scale(1.08);
    background: rgba(0, 0, 0, 0.04);
}



/* =========================
   Contacto Enviado (cs-*)
   ========================= */

.cs-page {
    padding: 7rem 0 5rem;
}

.cs-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.cs-head {
    border-bottom: 1px solid rgba(0, 0, 0, .10);
    padding-bottom: 40px;
    text-align: center;
}

.cs-kicker {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .50);
    margin: 0;
}

.cs-title {
    margin: 14px 0 0;
    font-family: ui-serif, Georgia, "Times New Roman", serif;
    font-weight: 300;
    letter-spacing: -0.02em;
    font-size: 42px;
    line-height: 1.1;
    color: rgba(0, 0, 0, .92);
}

.cs-subtitle {
    margin: 16px auto 0;
    max-width: 720px;
    color: rgba(0, 0, 0, .55);
    line-height: 1.7;
}

.cs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
}

.cs-card {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 18px;
    padding: 28px;
}

.cs-cardTitle {
    font-family: ui-serif, Georgia, "Times New Roman", serif;
    font-weight: 300;
    letter-spacing: -0.01em;
    font-size: 22px;
    margin: 0;
}

.cs-cardText {
    margin: 10px 0 0;
    color: rgba(0, 0, 0, .55);
    line-height: 1.7;
}

.cs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: all .25s ease;
    text-decoration: none;
}

.cs-btn--primary {
    background: #0b0b0b;
    color: #fff;
    border: 1px solid #0b0b0b;
}

.cs-btn--primary:hover {
    background: rgba(0, 0, 0, .90);
    border-color: rgba(0, 0, 0, .90);
}

.cs-btn--ghost {
    background: transparent;
    color: rgba(0, 0, 0, .78);
    border: 1px solid rgba(0, 0, 0, .16);
}

.cs-btn--ghost:hover {
    color: rgba(0, 0, 0, .92);
    border-color: rgba(0, 0, 0, .28);
}

.cs-sideCard {
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 18px;
    padding: 24px;
}

.cs-sideLabel {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .45);
    margin: 0;
}

.cs-sideText {
    margin: 10px 0 0;
    color: rgba(0, 0, 0, .62);
    line-height: 1.7;
}

.cs-divider {
    height: 1px;
    background: rgba(0, 0, 0, .10);
    margin: 18px 0;
}

/* Responsive */
@media (min-width: 1024px) {
    .cs-grid {
        grid-template-columns: 2fr 1fr;
        gap: 22px;
        align-items: start;
    }
}

@media (max-width: 520px) {
    .cs-title {
        font-size: 34px;
    }

    .cs-actions {
        flex-direction: column;
    }

    .cs-btn {
        width: 100%;
    }
}