/**
 * KS Inversiones
 * CSS principal
 * Autor: Codilogic
 */

:root {
    --ks-black: #111111;
    --ks-dark: #191919;
    --ks-dark-soft: #232323;
    --ks-gold: #b99a55;
    --ks-gold-hover: #9d8145;
    --ks-white: #ffffff;
    --ks-light: #f5f2ec;
    --ks-light-2: #faf9f6;
    --ks-text: #2a2a2a;
    --ks-muted: #747474;
    --ks-border: #e3ded4;
    --ks-red: #a4362f;
    --ks-green: #2f7455;
    --ks-yellow: #947126;
    --ks-transition: .25s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ks-text);
    background: var(--ks-light-2);
}

a {
    transition:
        color var(--ks-transition),
        background-color var(--ks-transition),
        border-color var(--ks-transition),
        opacity var(--ks-transition),
        transform var(--ks-transition);
}

/* =========================================================
   CONTENEDORES
   ========================================================= */

body.single-ks_inmueble .ks-container,
body.post-type-archive-ks_inmueble .ks-container {
    width: calc(100% - 48px) !important;
    max-width: 1450px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.single-ks_inmueble .site-main,
body.single-ks_inmueble main,
body.post-type-archive-ks_inmueble .site-main,
body.post-type-archive-ks_inmueble main {
    max-width: none !important;
    width: 100% !important;
}

/* =========================================================
   SINGLE - CABECERA
   ========================================================= */

.ks-property-single {
    width: 100%;
    background: var(--ks-light-2);
}

.ks-property-heading {
    width: 100%;
    max-width: none;
    padding: 58px 0 38px;
    background: var(--ks-dark);
    color: #fff;
}

.ks-property-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.ks-operation-badge,
.ks-property-reference {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ks-operation-badge {
    background: var(--ks-gold);
    color: #111;
}

.ks-property-reference {
    border: 1px solid rgba(255,255,255,.28);
    color: rgba(255,255,255,.8);
}

.ks-property-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, auto);
    gap: 50px;
    align-items: end;
}

.ks-property-title {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 500;
    line-height: .98;
}

.ks-property-location {
    margin-top: 16px;
    color: rgba(255,255,255,.68);
    font-size: 16px;
}

.ks-property-heading-price .ks-price-box {
    justify-content: flex-end;
}

.ks-property-heading-price .ks-price-item {
    min-width: 165px;
    border-color: rgba(255,255,255,.17);
    background: rgba(255,255,255,.055);
}

.ks-property-heading-price .ks-price-label,
.ks-property-heading-price .ks-price-old {
    color: rgba(255,255,255,.55);
}

.ks-property-heading-price .ks-price-current {
    color: #fff;
}

/* =========================================================
   SINGLE - MEDIA
   ========================================================= */

body.single-ks_inmueble .ks-property-media .ks-container {
    width: calc(100% - 48px) !important;
    max-width: none !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
}

.ks-property-media {
    padding: 30px 0 0;
}

.ks-property-media-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.3fr) minmax(300px, .7fr);
    gap: 10px;
    width: 100%;
    max-width: none;
    height: min(650px, 55vw);
    min-height: 480px;
}

.ks-property-media-grid.ks-media-single {
    grid-template-columns: 1fr;
}

.ks-property-featured,
.ks-property-media-side,
.ks-media-side-item {
    min-width: 0;
    min-height: 0;
}

.ks-property-featured,
.ks-media-side-item {
    position: relative;
    overflow: hidden;
    background: #e9e7e2;
}

.ks-property-featured img,
.ks-media-side-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ks-image-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: #888;
}

.ks-property-media-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.ks-property-media-side .ks-media-side-item:only-child {
    grid-row: 1 / -1;
}

.ks-view-gallery {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 10px 14px;
    background: rgba(17,17,17,.86);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
}

.ks-view-gallery:hover {
    background: var(--ks-gold);
    color: #111 !important;
}

/* =========================================================
   SINGLE - RESUMEN Y CUERPO
   ========================================================= */

.ks-property-summary-section {
    padding-top: 12px;
}

.ks-property-main {
    padding: 36px 0 80px;
}

.ks-property-layout {
    display: grid;
    grid-template-columns: minmax(0, 68fr) minmax(340px, 32fr);
    gap: 36px;
    align-items: start;
    width: 100%;
}

.ks-property-content {
    display: grid;
    gap: 22px;
    width: 100%;
    min-width: 0;
}

.ks-property-panel,
.ks-property-details-card,
.ks-property-sidebar-price {
    border: 1px solid var(--ks-border);
    background: #fff;
}

.ks-property-panel {
    padding: 34px;
}

.ks-section-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--ks-gold-hover);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ks-property-panel h2,
.ks-property-contact-card h2 {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 500;
    line-height: 1.1;
}

.ks-property-description {
    color: #4f4f4f;
    font-size: 16px;
    line-height: 1.78;
}

.ks-property-description > :first-child {
    margin-top: 0;
}

.ks-property-description > :last-child {
    margin-bottom: 0;
}

.ks-property-sidebar {
    width: 100%;
    min-width: 0;
}

.ks-sidebar-inner {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 30px;
}

.ks-property-contact-card {
    padding: 34px;
    background: var(--ks-dark);
    color: #fff;
}

.ks-contact-eyebrow {
    display: block;
    margin-bottom: 11px;
    color: var(--ks-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ks-property-contact-card p {
    margin: 0 0 22px;
    color: rgba(255,255,255,.67);
    font-size: 15px;
    line-height: 1.65;
}

.ks-whatsapp-placeholder {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: var(--ks-gold);
    color: #111 !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 15px;
}

.ks-whatsapp-placeholder:hover {
    background: #cfb36f;
}

.ks-contact-note {
    margin-top: 17px;
    color: rgba(255,255,255,.55);
    font-size: 12px;
    line-height: 1.55;
}

.ks-contact-note strong {
    color: #fff;
}

.ks-property-details-card,
.ks-property-sidebar-price {
    padding: 24px;
}

.ks-property-details-card h3 {
    margin: 0 0 13px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 500;
}

.ks-property-details-card dl {
    margin: 0;
}

.ks-property-details-card dl > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #efede8;
}

.ks-property-details-card dl > div:last-child {
    border-bottom: 0;
}

.ks-property-details-card dt {
    color: #858585;
    font-size: 13px;
}

.ks-property-details-card dd {
    margin: 0;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
}

.ks-property-sidebar-price .ks-price-box {
    display: block;
}

.ks-property-sidebar-price .ks-price-item {
    width: 100%;
    min-width: 0;
    margin-bottom: 10px;
    background: var(--ks-light);
}

.ks-property-sidebar-price .ks-price-item:last-child {
    margin-bottom: 0;
}

.ks-property-panel .ks-characteristics-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ks-property-panel .ks-characteristics-list li {
    padding: 14px;
    background: var(--ks-light-2);
}

.ks-gallery-large {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.ks-gallery-large-item {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eee;
}

.ks-gallery-large-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.ks-gallery-large-item:hover img {
    transform: scale(1.025);
}

.ks-property-media-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ks-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid var(--ks-gold);
    color: var(--ks-dark) !important;
    text-decoration: none !important;
    font-weight: 700;
}

.ks-secondary-button:hover {
    background: var(--ks-gold);
    color: #111 !important;
}

.ks-property-heading .ks-status {
    border-color: rgba(255,255,255,.28);
    background: transparent;
    color: #fff;
}

.ks-property-heading .ks-status-disponible {
    border-color: #70af8d;
    background: #285c44;
    color: #fff;
}

.ks-property-heading .ks-status-reservado {
    border-color: #b99a55;
    background: #705c27;
    color: #fff;
}

.ks-property-heading .ks-status-vendido {
    border-color: #b65b54;
    background: #732d28;
    color: #fff;
}

/* =========================================================
   ARCHIVE - HERO
   ========================================================= */

.ks-properties-archive {
    background: var(--ks-light-2);
}

.ks-properties-hero {
    padding: 72px 0 68px;
    background:
        linear-gradient(90deg, rgba(15,15,15,.96), rgba(15,15,15,.72)),
        var(--ks-dark);
    color: #fff;
}

.ks-properties-hero .ks-section-kicker {
    color: var(--ks-gold);
}

.ks-properties-hero h1 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 500;
    line-height: 1;
}

.ks-properties-hero p {
    max-width: 720px;
    margin: 19px 0 0;
    color: rgba(255,255,255,.7);
    font-size: 17px;
    line-height: 1.7;
}

/* =========================================================
   ARCHIVE - FILTROS
   ========================================================= */

.ks-properties-filter-section {
    position: relative;
    z-index: 2;
    margin-top: -28px;
}

.ks-properties-filters {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 12px;
    align-items: end;
    padding: 22px;
    border: 1px solid var(--ks-border);
    background: #fff;
    box-shadow: 0 12px 35px rgba(0,0,0,.07);
}

.ks-filter-field label {
    display: block;
    margin: 0 0 7px;
    color: #777;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ks-filter-field select,
.ks-filter-field input {
    width: 100%;
    height: 47px;
    padding: 0 12px;
    border: 1px solid var(--ks-border);
    border-radius: 0;
    background: #fff;
    color: var(--ks-text);
    font: inherit;
}

.ks-filter-actions {
    grid-column: span 5;
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.ks-filter-submit,
.ks-filter-reset {
    min-height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--ks-gold);
    text-decoration: none !important;
    font-weight: 800;
    white-space: nowrap;
}

.ks-filter-submit {
    cursor: pointer;
    background: var(--ks-gold);
    color: #111;
}

.ks-filter-submit:hover {
    background: #cfb36f;
}

.ks-filter-reset {
    background: #fff;
    color: var(--ks-dark) !important;
}

/* =========================================================
   ARCHIVE - RESULTADOS
   ========================================================= */

.ks-properties-results {
    padding: 42px 0 86px;
}

.ks-properties-results-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 19px;
}

.ks-results-count {
    color: #626262;
    font-size: 14px;
}

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

.ks-property-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ks-border);
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ks-property-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.ks-property-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e8e5df;
}

.ks-property-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.ks-property-card:hover .ks-property-card-image img {
    transform: scale(1.025);
}

.ks-card-no-image {
    height: 100%;
    display: grid;
    place-items: center;
    color: #888;
}

.ks-property-card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ks-card-operation,
.ks-card-status,
.ks-card-discount {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ks-card-operation {
    background: var(--ks-gold);
    color: #111;
}

.ks-card-status {
    background: rgba(18,18,18,.86);
    color: #fff;
}

.ks-card-status-disponible {
    background: var(--ks-green);
}

.ks-card-status-reservado {
    background: var(--ks-yellow);
}

.ks-card-status-vendido,
.ks-card-status-retirado {
    background: #666;
}

.ks-card-discount {
    margin-left: auto;
    background: var(--ks-red);
    color: #fff;
}

.ks-property-card-body {
    padding: 20px;
}

.ks-property-card-location {
    min-height: 20px;
    margin-bottom: 7px;
    color: var(--ks-gold-hover);
    font-size: 12px;
    font-weight: 700;
}

.ks-property-card-title {
    min-height: 58px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.16;
}

.ks-property-card-title a {
    color: var(--ks-dark);
    text-decoration: none !important;
}

.ks-property-card-title a:hover {
    color: var(--ks-gold-hover);
}

.ks-property-card-data {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 17px 0;
    color: #777;
    font-size: 13px;
}

.ks-property-card-data strong {
    color: var(--ks-text);
}

.ks-property-card-prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-height: 75px;
    padding-top: 15px;
    border-top: 1px solid #eeeae2;
}

.ks-card-price {
    min-width: 0;
}

.ks-card-price-rent {
    grid-column: 1 / -1;
}

.ks-card-price-label,
.ks-card-price-old {
    display: block;
}

.ks-card-price-label {
    margin-bottom: 2px;
    color: #898989;
    font-size: 11px;
    text-transform: uppercase;
}

.ks-card-price-old {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
}

.ks-card-price strong {
    display: block;
    margin-top: 2px;
    color: var(--ks-gold-hover);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
}

.ks-property-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eeeae2;
}

.ks-card-ref {
    color: #949494;
    font-size: 11px;
    font-weight: 700;
}

.ks-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    background: var(--ks-dark);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
}

.ks-card-button:hover {
    background: var(--ks-gold);
    color: #111 !important;
}

/* =========================================================
   ARCHIVE - PAGINACIÓN / SIN RESULTADOS
   ========================================================= */

.ks-properties-pagination {
    margin-top: 38px;
    text-align: center;
}

.ks-properties-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    margin: 3px;
    padding: 0 10px;
    border: 1px solid var(--ks-border);
    background: #fff;
    color: var(--ks-dark);
    text-decoration: none !important;
}

.ks-properties-pagination .page-numbers.current,
.ks-properties-pagination .page-numbers:hover {
    border-color: var(--ks-gold);
    background: var(--ks-gold);
    color: #111;
}

.ks-no-properties {
    padding: 70px 30px;
    border: 1px solid var(--ks-border);
    background: #fff;
    text-align: center;
}

.ks-no-properties h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 500;
}

.ks-no-properties p {
    margin: 0 0 22px;
    color: #777;
}

.ks-no-properties a {
    display: inline-flex;
    padding: 12px 18px;
    background: var(--ks-dark);
    color: #fff !important;
    text-decoration: none !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1250px) {
    .ks-properties-filters {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ks-filter-actions {
        grid-column: span 4;
    }

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

@media (max-width: 1100px) {
    .ks-property-title-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ks-property-heading-price .ks-price-box {
        justify-content: flex-start;
    }

    .ks-property-layout {
        grid-template-columns: minmax(0, 65fr) minmax(300px, 35fr);
        gap: 24px;
    }

    .ks-property-media-grid {
        height: min(520px, 60vw);
        min-height: 400px;
    }

    .ks-property-panel .ks-characteristics-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ks-property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    body.single-ks_inmueble .ks-container,
    body.post-type-archive-ks_inmueble .ks-container {
        width: calc(100% - 28px) !important;
        max-width: none !important;
    }

    body.single-ks_inmueble .ks-property-media .ks-container {
        width: calc(100% - 20px) !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    .ks-property-layout,
    .ks-property-media-grid {
        grid-template-columns: 1fr;
    }

    .ks-property-media-grid {
        display: block;
        height: auto;
        min-height: 0;
    }

    .ks-property-featured {
        aspect-ratio: 4 / 3;
    }

    .ks-property-media-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        margin-top: 10px;
    }

    .ks-media-side-item {
        aspect-ratio: 4 / 3;
    }

    .ks-sidebar-inner {
        position: static;
    }

    .ks-properties-hero {
        padding: 54px 0 58px;
    }

    .ks-properties-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ks-filter-actions {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .ks-property-heading {
        padding: 38px 0 27px;
    }

    .ks-property-title {
        font-size: 39px;
    }

    .ks-property-media {
        padding-top: 14px;
    }

    .ks-property-heading-price .ks-price-box {
        display: block;
    }

    .ks-property-heading-price .ks-price-item {
        width: 100%;
        margin-bottom: 8px;
    }

    .ks-property-panel,
    .ks-property-contact-card,
    .ks-property-details-card,
    .ks-property-sidebar-price {
        padding: 22px;
    }

    .ks-property-panel h2,
    .ks-property-contact-card h2 {
        font-size: 26px;
    }

    .ks-property-panel .ks-characteristics-list,
    .ks-gallery-large,
    .ks-property-media-side {
        grid-template-columns: 1fr;
    }

    .ks-properties-filters,
    .ks-property-grid {
        grid-template-columns: 1fr;
    }

    .ks-filter-actions {
        grid-column: auto;
        flex-direction: column;
    }

    .ks-property-card-title {
        min-height: 0;
    }
}


/* =========================================================
   KS HEADER GLOBAL
   Autor: Codilogic
   ========================================================= */
.ks-site-header{position:sticky;top:0;z-index:9998;width:100%;background:rgba(15,15,15,.97);border-bottom:1px solid rgba(185,154,85,.25);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.admin-bar .ks-site-header{top:32px}
.ks-header-inner{display:grid;grid-template-columns:260px 1fr auto;align-items:center;gap:35px;width:calc(100% - 48px);max-width:1450px;min-height:86px;margin:0 auto}
.ks-header-logo{display:inline-flex;align-items:center;width:fit-content}.ks-header-logo img{display:block;width:auto;max-width:220px;max-height:72px;object-fit:contain}
.ks-desktop-nav{display:flex;justify-content:center}.ks-main-menu{display:flex;align-items:center;justify-content:center;gap:32px;margin:0;padding:0;list-style:none}.ks-main-menu li{margin:0;padding:0}.ks-main-menu a,.ks-main-menu a:visited{position:relative;display:inline-flex;align-items:center;min-height:86px;color:rgba(255,255,255,.84)!important;font-size:14px;font-weight:500;text-decoration:none!important}.ks-main-menu a::after{content:"";position:absolute;left:0;right:0;bottom:19px;width:0;height:2px;margin:auto;background:#b99a55;transition:width .22s ease}.ks-main-menu a:hover,.ks-main-menu .current-menu-item>a,.ks-main-menu .current_page_item>a{color:#fff!important}.ks-main-menu a:hover::after,.ks-main-menu .current-menu-item>a::after,.ks-main-menu .current_page_item>a::after{width:100%}
.ks-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:15px}.ks-header-whatsapp,.ks-header-whatsapp:visited{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:10px 18px;border:1px solid #c9aa61;border-radius:5px;background:linear-gradient(180deg,#c7a654,#a98636);color:#111!important;font-size:13px;font-weight:700;text-decoration:none!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 6px 18px rgba(0,0,0,.18)}.ks-header-whatsapp:hover{transform:translateY(-1px);background:linear-gradient(180deg,#d8ba70,#b49343)}.ks-wa-icon{font-size:17px;line-height:1}
.ks-menu-toggle{display:none;width:44px;height:44px;padding:9px;border:1px solid rgba(255,255,255,.22);background:transparent;cursor:pointer}.ks-menu-toggle span{display:block;width:100%;height:2px;margin:5px 0;background:#fff}.ks-mobile-panel{display:none}.ks-mobile-panel-inner{padding:12px 22px 25px;background:#151515;border-top:1px solid rgba(255,255,255,.08)}.ks-mobile-menu{margin:0;padding:0;list-style:none}.ks-mobile-menu li{border-bottom:1px solid rgba(255,255,255,.08)}.ks-mobile-menu a,.ks-mobile-menu a:visited{display:block;padding:15px 0;color:#fff!important;text-decoration:none!important}.ks-mobile-whatsapp,.ks-mobile-whatsapp:visited{display:flex;align-items:center;justify-content:center;min-height:49px;margin-top:20px;padding:12px 16px;background:#b99a55;color:#111!important;font-weight:800;text-decoration:none!important}
body.home .ks-site-header,body.home header.ks-site-header{display:block!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border-bottom:1px solid rgba(185,154,85,.25)!important}body .site-header:not(.ks-site-header),body header#site-header:not(.ks-site-header){display:none!important}
@media(max-width:1180px){.ks-header-inner{grid-template-columns:210px 1fr auto;gap:24px}.ks-header-logo img{max-width:190px}.ks-main-menu{gap:21px}.ks-header-whatsapp span:last-child{display:none}.ks-header-whatsapp{width:48px;padding:0}}
@media(max-width:900px){.ks-header-inner{grid-template-columns:1fr auto;min-height:72px}.ks-header-logo img{max-width:180px;max-height:60px}.ks-desktop-nav,.ks-header-whatsapp{display:none}.ks-menu-toggle{display:block}.ks-mobile-panel.is-open{display:block}}
@media(max-width:782px){.admin-bar .ks-site-header{top:46px}}
@media(max-width:600px){.ks-header-inner{width:calc(100% - 30px)}.ks-header-logo img{max-width:155px}}


/* =========================================================
   KS INVERSIONES - FOOTER PRINCIPAL
   Autor: Codilogic
   ========================================================= */

.ks-site-footer {
    position: relative;
    z-index: 10;
    width: 100%;
    margin: 0;
    background: #111;
    color: rgba(255,255,255,.72);
}

.ks-footer-main {
    border-top: 1px solid rgba(190,157,83,.32);
    background:
        linear-gradient(
            135deg,
            rgba(190,157,83,.04),
            transparent 36%
        ),
        #111;
}

.ks-footer-inner {
    display: grid;
    grid-template-columns: 1.4fr .8fr 1fr .9fr;
    gap: 52px;
    width: min(1440px, calc(100% - 80px));
    margin: 0 auto;
    padding: 68px 0 58px;
}

.ks-footer-logo {
    display: inline-block;
    width: 185px;
    max-width: 100%;
    margin-bottom: 22px;
}

.ks-footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.ks-footer-brand p {
    max-width: 410px;
    margin: 0 0 24px;
    color: rgba(255,255,255,.57);
    font-size: 14px;
    line-height: 1.75;
}

.ks-footer-whatsapp {
    display: inline-flex;
    align-items: center;
    min-height: 43px;
    padding: 0 16px;
    border: 1px solid #be9d53;
    color: #e2c77e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease;
}

.ks-footer-whatsapp:hover {
    background: #be9d53;
    color: #111;
}

.ks-footer-title {
    display: block;
    margin-bottom: 22px;
    color: #d7b966;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ks-footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ks-footer-menu li {
    margin: 0 0 11px;
    padding: 0;
}

.ks-footer-menu a,
.ks-footer-contact a {
    color: rgba(255,255,255,.70);
    font-size: 13px;
    line-height: 1.55;
    text-decoration: none;
    transition: color .15s ease;
}

.ks-footer-menu a:hover,
.ks-footer-contact a:hover {
    color: #d7b966;
}

.ks-footer-contact address {
    margin: 0 0 18px;
    color: rgba(255,255,255,.62);
    font-size: 13px;
    font-style: normal;
    line-height: 1.7;
}

.ks-footer-contact address strong,
.ks-footer-contact address span {
    display: block;
}

.ks-footer-contact address strong {
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
}

.ks-footer-contact > a {
    display: block;
    margin-top: 7px;
}

.ks-footer-cookie-settings {
    margin-top: 20px;
}

.ks-footer-cookie-settings .cmplz-manage-consent,
.ks-footer-cookie-settings button {
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255,255,255,.70) !important;
    font-family: inherit;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
}

.ks-footer-cookie-settings .cmplz-manage-consent:hover,
.ks-footer-cookie-settings button:hover {
    color: #d7b966 !important;
}

.ks-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.09);
    background: #0d0d0d;
}

.ks-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: min(1440px, calc(100% - 80px));
    min-height: 64px;
    margin: 0 auto;
    color: rgba(255,255,255,.38);
    font-size: 10px;
    letter-spacing: .025em;
}

/*
 * Hello Elementor imprime su footer por defecto cuando el child no
 * dispone de footer.php. Esta versión ya incluye footer propio.
 * Si algún widget conserva estilos del footer anterior, evitamos que
 * genere márgenes blancos adicionales.
 */
body > footer.site-footer:not(.ks-site-footer),
#site-footer:not(.ks-site-footer) {
    display: none !important;
}

@media (max-width: 1050px) {
    .ks-footer-inner {
        grid-template-columns: 1.4fr 1fr;
        gap: 42px 60px;
    }
}

@media (max-width: 700px) {
    .ks-footer-inner {
        grid-template-columns: 1fr;
        gap: 34px;
        width: min(100% - 40px, 620px);
        padding: 48px 0 42px;
    }

    .ks-footer-logo {
        width: 160px;
    }

    .ks-footer-bottom-inner {
        display: block;
        width: min(100% - 40px, 620px);
        padding: 18px 0;
        text-align: center;
    }

    .ks-footer-bottom-inner span {
        display: block;
        margin: 3px 0;
    }
}
/* =========================================================
   KS INVERSIONES - CSS CORPORATIVO RECUPERADO
   Versión 1.5.3
   Autor: Codilogic

   Recupera los bloques visuales de:
   - Home
   - Nosotros
   - Reformas
   - Contacto

   Mantiene intactos:
   - Header
   - Footer
   - Archivo de propiedades
   - Ficha de inmueble
   ========================================================= */


/* =========================================================
   BASE CORPORATIVA COMPARTIDA
   ========================================================= */

.ks-page-hero,
.ks-home-hero,
.ks-about-page-intro,
.ks-about-values-section,
.ks-reform-intro-section,
.ks-reform-services-section,
.ks-reform-process-section,
.ks-contact-section,
.ks-contact-location,
.ks-page-cta,
.ks-home-about,
.ks-home-investment,
.ks-home-final-cta,
.ks-home-services {
    width: 100%;
}

.ks-page-hero-content,
.ks-about-page-grid,
.ks-process,
.ks-reform-intro,
.ks-reform-services,
.ks-reform-process,
.ks-contact-section > .e-con-inner,
.ks-contact-section > .elementor-container,
.ks-contact-location-inner,
.ks-page-cta-inner,
.ks-home-about-inner,
.ks-investment-inner,
.ks-final-cta-inner,
.ks-home-services,
.ks-home-section-head {
    width: calc(100% - 64px);
    max-width: 1550px;
    margin-left: auto;
    margin-right: auto;
}

.ks-page-eyebrow,
.ks-home-eyebrow,
.ks-home-hero-kicker,
.ks-contact-data-item > span,
.ks-reform-service > span:first-child,
.ks-reform-process-item > span:first-child,
.ks-process-item > span:first-child {
    display: block;
    color: var(--ks-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 1.25;
    text-transform: uppercase;
}

.ks-page-hero h1,
.ks-home-hero-title,
.ks-about-page-title h2,
.ks-reform-intro-title h2,
.ks-contact-info h2,
.ks-page-cta h2,
.ks-home-about-title,
.ks-investment-intro h2,
.ks-final-cta-text h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.035em;
}

.ks-page-hero p,
.ks-about-page-copy,
.ks-reform-intro-copy,
.ks-contact-lead,
.ks-page-cta p,
.ks-home-about-content,
.ks-investment-intro p,
.ks-final-cta-text p {
    line-height: 1.75;
}

.ks-hero-btn,
.ks-about-button,
.ks-page-cta-light,
.ks-page-cta-dark,
.ks-final-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition:
        background var(--ks-transition),
        color var(--ks-transition),
        border-color var(--ks-transition),
        transform var(--ks-transition);
}

.ks-hero-btn:hover,
.ks-about-button:hover,
.ks-page-cta-light:hover,
.ks-page-cta-dark:hover,
.ks-final-btn:hover {
    transform: translateY(-1px);
}

.ks-hero-btn-gold {
    border-color: var(--ks-gold);
    background: var(--ks-gold);
    color: #111 !important;
}

.ks-hero-btn-gold:hover {
    background: #cfb36f;
}

.ks-hero-btn-outline {
    border-color: rgba(255,255,255,.52);
    background: transparent;
    color: #fff !important;
}

.ks-hero-btn-outline:hover {
    border-color: var(--ks-gold);
    color: var(--ks-gold) !important;
}

.ks-about-button,
.ks-page-cta-dark,
.ks-final-btn-light {
    border-color: #111;
    background: #111;
    color: #fff !important;
}

.ks-about-button:hover,
.ks-page-cta-dark:hover,
.ks-final-btn-light:hover {
    border-color: var(--ks-gold);
    background: var(--ks-gold);
    color: #111 !important;
}

.ks-page-cta-light,
.ks-final-btn-gold {
    border-color: #fff;
    background: #fff;
    color: #111 !important;
}

.ks-page-cta-light:hover,
.ks-final-btn-gold:hover {
    border-color: #111;
    background: #111;
    color: #fff !important;
}


/* =========================================================
   HERO INTERIOR - NOSOTROS / REFORMAS / CONTACTO
   ========================================================= */

.ks-page-hero {
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    padding: 70px 0;
    background:
        linear-gradient(
            90deg,
            rgba(15,15,15,.98),
            rgba(15,15,15,.88)
        ),
        var(--ks-dark);
    color: #fff;
}

.ks-page-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ks-page-hero h1 {
    max-width: 850px;
    margin: 12px 0 0;
    color: #fff;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .98;
}

.ks-page-hero p {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 17px;
}


/* =========================================================
   HOME - HERO
   ========================================================= */

body.home #site-header,
body.home .site-header:not(.ks-site-header),
body.home .page-header,
body.home .entry-title {
    display: none !important;
}

.ks-home-hero {
    min-height: 700px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(9,9,9,.90) 0%,
            rgba(9,9,9,.70) 46%,
            rgba(9,9,9,.22) 100%
        ),
        url("https://ksinversiones.com/wp-content/uploads/2026/09/banner-home.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.ks-home-hero-content {
    width: calc(100% - 64px);
    max-width: 1450px;
    margin: 0 auto;
}

.ks-home-hero-kicker {
    margin-bottom: 20px;
}

.ks-home-hero-title {
    max-width: 700px;
    margin: 0;
    color: #fff;
    font-size: clamp(52px, 6vw, 88px);
    line-height: .93;
}

.ks-home-hero-title strong,
.ks-home-hero-title em {
    color: var(--ks-gold);
    font-style: normal;
}

.ks-home-hero-text {
    max-width: 590px;
    margin: 26px 0 0;
    color: rgba(255,255,255,.74);
    font-size: 17px;
    line-height: 1.72;
}

.ks-home-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}


/* =========================================================
   HOME - SERVICIOS
   ========================================================= */

.ks-home-services {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 0;
    border-left: 1px solid var(--ks-border);
    border-top: 1px solid var(--ks-border);
    background: #fff;
}

.ks-home-service {
    min-height: 110px;
    padding: 24px 22px;
    border-right: 1px solid var(--ks-border);
    border-bottom: 1px solid var(--ks-border);
    background: #fff;
}

.ks-home-service span {
    display: block;
    margin-bottom: 16px;
    color: var(--ks-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ks-home-service strong,
.ks-home-service h3 {
    margin: 0;
    color: var(--ks-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 500;
}


/* =========================================================
   HOME - CABECERA DE SECCIÓN
   ========================================================= */

.ks-home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding-top: 86px;
    padding-bottom: 30px;
}

.ks-home-section-head h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 500;
    letter-spacing: -.03em;
}

.ks-home-link {
    color: var(--ks-gold-hover) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}


/* =========================================================
   HOME - SOBRE KS
   ========================================================= */

.ks-home-about {
    padding: 92px 0;
    background: #171717;
    color: #fff;
}

.ks-home-about-inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 100px;
    align-items: center;
}

.ks-home-about-title {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1;
}

.ks-home-about-content {
    color: rgba(255,255,255,.68);
    font-size: 16px;
}

.ks-home-about-content p:first-child {
    margin-top: 0;
}

.ks-home-about-content p:last-child {
    margin-bottom: 0;
}

.ks-home-about .ks-about-button {
    margin-top: 28px;
    border-color: var(--ks-gold);
    background: transparent;
    color: var(--ks-gold) !important;
}

.ks-home-about .ks-about-button:hover {
    background: var(--ks-gold);
    color: #111 !important;
}


/* =========================================================
   HOME - INVERSIÓN
   ========================================================= */

.ks-home-investment {
    padding: 110px 0;
    background: #f4f1eb;
}

.ks-investment-inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 100px;
    align-items: start;
}

.ks-investment-intro h2 {
    max-width: 580px;
    margin: 8px 0 20px;
    color: #191919;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1;
}

.ks-investment-intro p {
    max-width: 550px;
    margin: 0;
    color: #777;
    font-size: 15px;
}

.ks-investment-data {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #d8d2c7;
    border-left: 1px solid #d8d2c7;
}

.ks-investment-item {
    min-height: 230px;
    padding: 30px;
    border-right: 1px solid #d8d2c7;
    border-bottom: 1px solid #d8d2c7;
    background: transparent;
}

.ks-investment-item > span:first-child {
    display: block;
    margin-bottom: 34px;
    color: var(--ks-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ks-investment-item h3 {
    margin: 0 0 12px;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 500;
}

.ks-investment-item p {
    margin: 0;
    color: #777;
    line-height: 1.7;
}


/* =========================================================
   HOME - CTA FINAL
   ========================================================= */

.ks-home-final-cta {
    padding: 90px 0;
    background: var(--ks-gold);
    color: #111;
}

.ks-final-cta-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
}

.ks-final-cta-text {
    max-width: 800px;
}

.ks-final-cta-text h2 {
    margin: 8px 0 18px;
    color: #111;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1;
}

.ks-final-cta-text p {
    max-width: 620px;
    margin: 0;
    color: rgba(17,17,17,.70);
}

.ks-final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* =========================================================
   NOSOTROS - INTRO
   ========================================================= */

.ks-about-page-intro {
    padding: 120px 0;
    background: #fff;
}

.ks-about-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 120px;
    align-items: start;
}

.ks-about-page-title h2 {
    max-width: 650px;
    margin: 8px 0 0;
    color: #191919;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1;
}

.ks-about-page-copy {
    max-width: 650px;
    color: #6f6f6f;
    font-size: 15px;
}

.ks-about-page-lead {
    margin: 0 0 26px;
    color: #292929;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.6;
}

.ks-about-page-copy p:not(.ks-about-page-lead) {
    margin: 0 0 18px;
}


/* =========================================================
   NOSOTROS - VALORES / PROCESO
   ========================================================= */

.ks-about-values-section {
    padding: 0 0 120px;
    background: #fff;
}

.ks-about-values-section .ks-home-eyebrow {
    width: calc(100% - 64px);
    max-width: 1550px;
    margin: 0 auto 18px;
}

.ks-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 0;
    border-top: 1px solid var(--ks-border);
    border-left: 1px solid var(--ks-border);
}

.ks-process-item {
    min-height: 280px;
    padding: 32px;
    border-right: 1px solid var(--ks-border);
    border-bottom: 1px solid var(--ks-border);
    background: #faf9f6;
}

.ks-process-item > span:first-child {
    margin-bottom: 42px;
}

.ks-process-item h3 {
    margin: 0 0 14px;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 500;
}

.ks-process-item p {
    margin: 0;
    color: #747474;
    line-height: 1.72;
}


/* =========================================================
   REFORMAS - INTRO
   ========================================================= */

.ks-reform-intro-section {
    padding: 110px 0;
    background: #fff;
}

.ks-reform-intro {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 110px;
    align-items: start;
}

.ks-reform-intro-title h2 {
    max-width: 650px;
    margin: 8px 0 0;
    color: #191919;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.02;
}

.ks-reform-intro-copy {
    max-width: 700px;
    color: #6f6f6f;
    font-size: 15px;
}

.ks-reform-intro-lead {
    margin: 0 0 24px;
    color: #2a2a2a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.6;
}


/* =========================================================
   REFORMAS - SERVICIOS
   ========================================================= */

.ks-reform-services-section {
    padding: 105px 0;
    background: #f4f1eb;
}

.ks-reform-services-section > .ks-home-eyebrow,
.ks-reform-services-section > h2,
.ks-reform-services-section > p {
    width: calc(100% - 64px);
    max-width: 1550px;
    margin-left: auto;
    margin-right: auto;
}

.ks-reform-services-section > h2 {
    margin-top: 8px;
    margin-bottom: 16px;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4.5vw, 58px);
    font-weight: 500;
    line-height: 1.03;
}

.ks-reform-services-section > p {
    max-width: min(1550px, calc(100% - 64px));
    color: #777;
}

.ks-reform-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 42px;
    border-top: 1px solid #d8d2c7;
    border-left: 1px solid #d8d2c7;
}

.ks-reform-service {
    min-height: 255px;
    padding: 30px;
    border-right: 1px solid #d8d2c7;
    border-bottom: 1px solid #d8d2c7;
    background: transparent;
}

.ks-reform-service > span:first-child {
    margin-bottom: 38px;
}

.ks-reform-service h3 {
    margin: 0 0 13px;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 500;
}

.ks-reform-service p {
    margin: 0;
    color: #747474;
    line-height: 1.72;
}


/* =========================================================
   REFORMAS - PROCESO
   ========================================================= */

.ks-reform-process-section {
    padding: 110px 0 120px;
    background: #fff;
}

.ks-reform-process-section > .ks-home-eyebrow,
.ks-reform-process-section > h2 {
    width: calc(100% - 64px);
    max-width: 1550px;
    margin-left: auto;
    margin-right: auto;
}

.ks-reform-process-section > h2 {
    max-width: 860px;
    margin-top: 8px;
    margin-bottom: 44px;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4.5vw, 58px);
    font-weight: 500;
    line-height: 1.04;
}

.ks-reform-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--ks-border);
    border-left: 1px solid var(--ks-border);
}

.ks-reform-process-item {
    min-height: 260px;
    padding: 30px;
    border-right: 1px solid var(--ks-border);
    border-bottom: 1px solid var(--ks-border);
    background: #faf9f6;
}

.ks-reform-process-item > span:first-child {
    margin-bottom: 36px;
}

.ks-reform-process-item h3 {
    margin: 0 0 12px;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 500;
}

.ks-reform-process-item p {
    margin: 0;
    color: #747474;
    line-height: 1.7;
}


/* =========================================================
   CTA INTERIOR COMPARTIDO
   ========================================================= */

.ks-page-cta {
    padding: 86px 0;
    background: var(--ks-gold);
    color: #111;
}

.ks-page-cta-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
}

.ks-page-cta h2 {
    max-width: 820px;
    margin: 8px 0 16px;
    color: #111;
    font-size: clamp(38px, 4.8vw, 62px);
    line-height: 1.02;
}

.ks-page-cta p {
    max-width: 640px;
    margin: 0;
    color: rgba(17,17,17,.68);
}

.ks-page-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* =========================================================
   CONTACTO - SECCIÓN PRINCIPAL
   ========================================================= */

.ks-contact-section {
    padding: 120px 0;
    background: #f7f4ee;
}

.ks-contact-section > .e-con-inner,
.ks-contact-section > .elementor-container,
.ks-contact-section > .elementor-widget-wrap {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 120px;
    align-items: start;
}

.ks-contact-info {
    min-width: 0;
}

.ks-contact-info h2 {
    max-width: 600px;
    margin: 8px 0 22px;
    color: #191919;
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1;
}

.ks-contact-lead {
    max-width: 540px;
    margin: 0 0 45px;
    color: #6f6f6f;
    font-size: 16px;
    line-height: 1.8;
}

.ks-contact-data {
    max-width: 540px;
    border-top: 1px solid #ddd7cc;
}

.ks-contact-data-item {
    padding: 25px 0;
    border-bottom: 1px solid #ddd7cc;
}

.ks-contact-data-item > span {
    margin-bottom: 8px;
}

.ks-contact-data-item strong,
.ks-contact-data-item a,
.ks-contact-data-item p {
    margin: 0;
    color: #222 !important;
    font-size: 17px;
    line-height: 1.55;
    text-decoration: none !important;
}

.ks-contact-data-item a:hover {
    color: var(--ks-gold-hover) !important;
}


/* =========================================================
   CONTACTO - FORMULARIO CF7
   ========================================================= */

.ks-cf7-form {
    padding: 50px;
    border: 1px solid #e2ddd4;
    background: #fff;
}

.ks-cf7-form .wpcf7 {
    margin: 0;
}

.ks-cf7-form .wpcf7-form {
    margin: 0;
}

.ks-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.ks-form-field {
    display: block;
    min-width: 0;
}

.ks-form-field-full {
    grid-column: 1 / -1;
}

.ks-form-field label,
.ks-cf7-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 12px;
    font-weight: 700;
}

.ks-cf7-form input[type="text"],
.ks-cf7-form input[type="email"],
.ks-cf7-form input[type="tel"],
.ks-cf7-form input[type="number"],
.ks-cf7-form select,
.ks-cf7-form textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid #d9d4cb;
    border-radius: 0;
    background: #faf9f6;
    color: #222;
    font: inherit;
    outline: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.ks-cf7-form textarea {
    min-height: 165px;
    resize: vertical;
}

.ks-cf7-form input:focus,
.ks-cf7-form select:focus,
.ks-cf7-form textarea:focus {
    border-color: var(--ks-gold);
    box-shadow: 0 0 0 2px rgba(185,154,85,.10);
}

.ks-form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    color: #6f6f6f;
    font-size: 12px;
    line-height: 1.6;
}

.ks-form-privacy input[type="checkbox"] {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 2px;
}

.ks-form-privacy a {
    color: var(--ks-gold-hover) !important;
}

.ks-form-submit,
.ks-cf7-form input[type="submit"],
.ks-cf7-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    border: 1px solid #171717;
    border-radius: 0;
    background: #171717;
    color: #fff !important;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ks-form-submit:hover,
.ks-cf7-form input[type="submit"]:hover,
.ks-cf7-form button[type="submit"]:hover {
    border-color: var(--ks-gold);
    background: var(--ks-gold);
    color: #111 !important;
}

.ks-cf7-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: var(--ks-red);
    font-size: 11px;
}

.ks-cf7-form .wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 12px 14px !important;
    border-width: 1px !important;
    font-size: 12px;
    line-height: 1.55;
}


/* =========================================================
   CONTACTO - UBICACIÓN
   ========================================================= */

.ks-contact-location {
    padding: 100px 0;
    background: #191919;
    color: #fff;
}

.ks-contact-location-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr);
    gap: 100px;
    align-items: end;
}

.ks-contact-location h2 {
    max-width: 720px;
    margin: 8px 0 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5vw, 68px);
    font-weight: 500;
    line-height: .98;
}

.ks-contact-location-address {
    padding-left: 30px;
    border-left: 1px solid rgba(185,154,85,.55);
}

.ks-contact-location-address span {
    display: block;
    margin-bottom: 10px;
    color: var(--ks-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ks-contact-location-address p,
.ks-contact-location-address address {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    font-style: normal;
    line-height: 1.75;
}


/* =========================================================
   ELEMENTOR - LIMPIEZA DE ESPACIADOS EN BLOQUES KS
   ========================================================= */

.elementor-widget-html:has(.ks-home-hero),
.elementor-widget-html:has(.ks-page-hero),
.elementor-widget-html:has(.ks-home-services),
.elementor-widget-html:has(.ks-home-about),
.elementor-widget-html:has(.ks-home-investment),
.elementor-widget-html:has(.ks-home-final-cta),
.elementor-widget-html:has(.ks-about-page-intro),
.elementor-widget-html:has(.ks-about-values-section),
.elementor-widget-html:has(.ks-reform-intro-section),
.elementor-widget-html:has(.ks-reform-services-section),
.elementor-widget-html:has(.ks-reform-process-section),
.elementor-widget-html:has(.ks-page-cta),
.elementor-widget-html:has(.ks-contact-section),
.elementor-widget-html:has(.ks-contact-location) {
    margin: 0 !important;
}

.elementor-widget-html:has(.ks-home-hero) > .elementor-widget-container,
.elementor-widget-html:has(.ks-page-hero) > .elementor-widget-container,
.elementor-widget-html:has(.ks-home-services) > .elementor-widget-container,
.elementor-widget-html:has(.ks-home-about) > .elementor-widget-container,
.elementor-widget-html:has(.ks-home-investment) > .elementor-widget-container,
.elementor-widget-html:has(.ks-home-final-cta) > .elementor-widget-container,
.elementor-widget-html:has(.ks-about-page-intro) > .elementor-widget-container,
.elementor-widget-html:has(.ks-about-values-section) > .elementor-widget-container,
.elementor-widget-html:has(.ks-reform-intro-section) > .elementor-widget-container,
.elementor-widget-html:has(.ks-reform-services-section) > .elementor-widget-container,
.elementor-widget-html:has(.ks-reform-process-section) > .elementor-widget-container,
.elementor-widget-html:has(.ks-page-cta) > .elementor-widget-container,
.elementor-widget-html:has(.ks-contact-section) > .elementor-widget-container,
.elementor-widget-html:has(.ks-contact-location) > .elementor-widget-container {
    margin: 0 !important;
}


/* =========================================================
   RESPONSIVE CORPORATIVO
   ========================================================= */

@media (max-width: 1100px) {

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

    .ks-home-about-inner,
    .ks-investment-inner,
    .ks-about-page-grid,
    .ks-reform-intro {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .ks-process,
    .ks-reform-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ks-reform-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ks-contact-section > .e-con-inner,
    .ks-contact-section > .elementor-container,
    .ks-contact-section > .elementor-widget-wrap {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .ks-contact-location-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 850px) {

    .ks-page-hero {
        min-height: 360px;
        padding: 55px 0;
    }

    .ks-home-hero {
        min-height: 620px;
        background-position: 62% center;
    }

    .ks-home-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ks-final-cta-inner,
    .ks-page-cta-inner,
    .ks-home-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ks-investment-data {
        grid-template-columns: 1fr;
    }

    .ks-cf7-form {
        padding: 36px;
    }
}

@media (max-width: 700px) {

    .ks-page-hero-content,
    .ks-about-page-grid,
    .ks-process,
    .ks-reform-intro,
    .ks-reform-services,
    .ks-reform-process,
    .ks-contact-section > .e-con-inner,
    .ks-contact-section > .elementor-container,
    .ks-contact-location-inner,
    .ks-page-cta-inner,
    .ks-home-about-inner,
    .ks-investment-inner,
    .ks-final-cta-inner,
    .ks-home-services,
    .ks-home-section-head,
    .ks-home-hero-content {
        width: calc(100% - 36px);
    }

    .ks-home-hero {
        min-height: 560px;
        background-position: 68% center;
    }

    .ks-home-hero-title {
        font-size: clamp(44px, 13vw, 62px);
    }

    .ks-home-services,
    .ks-process,
    .ks-reform-services,
    .ks-reform-process {
        grid-template-columns: 1fr;
    }

    .ks-home-about,
    .ks-home-investment,
    .ks-home-final-cta,
    .ks-about-page-intro,
    .ks-about-values-section,
    .ks-reform-intro-section,
    .ks-reform-services-section,
    .ks-reform-process-section,
    .ks-contact-section,
    .ks-contact-location,
    .ks-page-cta {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .ks-home-section-head {
        padding-top: 60px;
    }

    .ks-process-item,
    .ks-reform-service,
    .ks-reform-process-item,
    .ks-investment-item {
        min-height: 0;
    }

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

    .ks-cf7-form {
        padding: 26px 20px;
    }

    .ks-contact-location-address {
        padding-left: 0;
        padding-top: 26px;
        border-left: 0;
        border-top: 1px solid rgba(185,154,85,.55);
    }

    .ks-home-hero-buttons,
    .ks-final-cta-actions,
    .ks-page-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ks-home-hero-buttons .ks-hero-btn,
    .ks-final-cta-actions .ks-final-btn,
    .ks-page-cta-actions a {
        width: 100%;
    }
}

@media (max-width: 520px) {

    .ks-page-hero {
        min-height: 330px;
    }

    .ks-page-hero h1 {
        font-size: 42px;
    }

    .ks-home-hero-title,
    .ks-about-page-title h2,
    .ks-reform-intro-title h2,
    .ks-contact-info h2,
    .ks-contact-location h2,
    .ks-page-cta h2,
    .ks-final-cta-text h2 {
        font-size: 40px;
    }

    .ks-home-service,
    .ks-process-item,
    .ks-reform-service,
    .ks-reform-process-item,
    .ks-investment-item {
        padding: 24px 20px;
    }
}
/* =========================================================
   KS INVERSIONES v1.5.4
   CORRECCIÓN SEGÚN HTML REAL DE ELEMENTOR
   Reformas · Inversiones · Nosotros · Contacto
   Autor: Codilogic
   ========================================================= */

/* ---------------------------------------------------------
   RESET DE CONTENEDORES ELEMENTOR DE ESTAS PÁGINAS
   Elementor 4 genera los e-con como flex. En estos bloques
   el layout lo controla el HTML interno de clases KS.
   --------------------------------------------------------- */

.elementor .ks-reform-intro-section.e-con,
.elementor .ks-reform-services-section.e-con,
.elementor .ks-reform-process-section.e-con,
.elementor .ks-invest-page-intro.e-con,
.elementor .ks-invest-process-section.e-con,
.elementor .ks-invest-types-section.e-con,
.elementor .ks-about-values-section.e-con,
.elementor .ks-page-cta.e-con,
.elementor .ks-contact-location.e-con {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
}

.elementor .ks-reform-intro-section > .elementor-widget-html,
.elementor .ks-reform-services-section > .elementor-widget-html,
.elementor .ks-reform-process-section > .elementor-widget-html,
.elementor .ks-invest-page-intro > .elementor-widget-html,
.elementor .ks-invest-process-section > .elementor-widget-html,
.elementor .ks-invest-types-section > .elementor-widget-html,
.elementor .ks-about-values-section > .elementor-widget-html,
.elementor .ks-page-cta > .elementor-widget-html,
.elementor .ks-contact-location > .elementor-widget-html {
    width: 100% !important;
    max-width: none !important;
}


/* =========================================================
   HERO INTERIOR
   ========================================================= */

body .elementor .ks-page-hero.e-con {
    width: 100% !important;
    max-width: none !important;
    min-height: 430px !important;
    margin: 0 !important;
    padding: 75px 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    background: #191919 !important;
    color: #fff !important;
}

.ks-page-hero .ks-page-hero-content {
    width: calc(100% - 64px) !important;
    max-width: 1550px !important;
    margin: 0 auto !important;
}

.ks-page-hero .ks-page-eyebrow {
    color: #b99a55 !important;
}

.ks-page-hero h1 {
    max-width: 950px;
    margin: 10px 0 24px !important;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6vw, 78px) !important;
    font-weight: 400 !important;
    line-height: 1.02 !important;
    letter-spacing: -2px;
}

.ks-page-hero p {
    max-width: 700px;
    margin: 0 !important;
    color: rgba(255,255,255,.65) !important;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   REFORMAS
   HTML REAL:
   .ks-reform-services
      .ks-reform-services-head
      .ks-reform-services-grid

   .ks-reform-process
      .ks-reform-process-heading
      .ks-reform-process-grid
   ========================================================= */

.elementor .ks-reform-intro-section.e-con {
    padding-top: 110px !important;
    padding-bottom: 110px !important;
    background: #f7f4ee !important;
}

.ks-reform-intro {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(55px, 7vw, 120px);
    width: calc(100% - 64px);
    max-width: 1550px;
    margin: 0 auto;
    align-items: start;
}

.ks-reform-intro-title h2 {
    max-width: 650px;
    margin: 10px 0 0;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -2px;
}

.ks-reform-intro-copy {
    max-width: 690px;
    color: #6e6a63;
    font-size: 15px;
    line-height: 1.78;
}

.ks-reform-intro-lead {
    margin: 0 0 24px;
    color: #242424;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.58;
}

.ks-reform-intro-copy p:not(.ks-reform-intro-lead) {
    margin: 0 0 18px;
}

.elementor .ks-reform-services-section.e-con {
    padding-top: 110px !important;
    padding-bottom: 110px !important;
    background: #191919 !important;
    color: #fff;
}

.ks-reform-services {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    gap: clamp(55px, 7vw, 110px);
    width: calc(100% - 64px);
    max-width: 1550px;
    margin: 0 auto;
    align-items: start;
}

.ks-reform-services-head {
    position: sticky;
    top: 125px;
}

.ks-reform-services-head h2 {
    margin: 10px 0 20px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 4.5vw, 58px);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -2px;
}

.ks-reform-services-head p {
    max-width: 470px;
    margin: 0;
    color: rgba(255,255,255,.56);
    line-height: 1.75;
}

.ks-reform-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.12);
    border-left: 1px solid rgba(255,255,255,.12);
}

.ks-reform-service {
    min-height: 230px;
    padding: 30px;
    border-right: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
    background: transparent;
}

.ks-reform-service > span:first-child {
    display: block;
    margin-bottom: 34px;
    color: #b99a55;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ks-reform-service h3 {
    margin: 0 0 12px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
}

.ks-reform-service p {
    margin: 0;
    color: rgba(255,255,255,.56);
    line-height: 1.7;
}

.elementor .ks-reform-process-section.e-con {
    padding-top: 110px !important;
    padding-bottom: 120px !important;
    background: #fff !important;
}

.ks-reform-process {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    gap: clamp(55px, 7vw, 110px);
    width: calc(100% - 64px);
    max-width: 1550px;
    margin: 0 auto;
    align-items: start;
}

.ks-reform-process-heading h2 {
    margin: 10px 0 0;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 4.5vw, 58px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -2px;
}

.ks-reform-process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #ded8ce;
    border-left: 1px solid #ded8ce;
}

.ks-reform-process-item {
    min-height: 230px;
    padding: 30px;
    border-right: 1px solid #ded8ce;
    border-bottom: 1px solid #ded8ce;
    background: #faf9f6;
}

.ks-reform-process-item > span:first-child {
    display: block;
    margin-bottom: 34px;
    color: #b99a55;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ks-reform-process-item h3 {
    margin: 0 0 12px;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
}

.ks-reform-process-item p {
    margin: 0;
    color: #73706a;
    line-height: 1.7;
}


/* =========================================================
   INVERSIONES
   ========================================================= */

.elementor .ks-invest-page-intro.e-con {
    padding-top: 110px !important;
    padding-bottom: 110px !important;
    background: #f7f4ee !important;
}

.ks-invest-page-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(55px, 7vw, 120px);
    width: calc(100% - 64px);
    max-width: 1550px;
    margin: 0 auto;
    align-items: start;
}

.ks-invest-page-title h2 {
    max-width: 650px;
    margin: 10px 0 0;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -2px;
}

.ks-invest-page-copy {
    max-width: 690px;
    color: #6d6962;
    font-size: 15px;
    line-height: 1.78;
}

.ks-invest-page-lead {
    margin: 0 0 24px;
    color: #252525;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.58;
}

.ks-invest-page-copy p:not(.ks-invest-page-lead) {
    margin: 0 0 18px;
}

.elementor .ks-invest-process-section.e-con {
    padding-top: 115px !important;
    padding-bottom: 115px !important;
    background: #191919 !important;
    color: #fff;
}

.ks-invest-process {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    gap: clamp(55px, 7vw, 110px);
    width: calc(100% - 64px);
    max-width: 1550px;
    margin: 0 auto;
    align-items: center;
}

.ks-invest-process-head h2 {
    margin: 10px 0 20px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -2px;
}

.ks-invest-process-head p {
    max-width: 470px;
    margin: 0;
    color: rgba(255,255,255,.56);
    line-height: 1.75;
}

.ks-invest-process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.12);
    border-left: 1px solid rgba(255,255,255,.12);
}

.ks-invest-process-item {
    min-height: 210px;
    padding: 30px;
    border-right: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.ks-invest-process-item > span:first-child {
    display: block;
    margin-bottom: 28px;
    color: #b99a55;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ks-invest-process-item h3 {
    margin: 0 0 12px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
}

.ks-invest-process-item p {
    margin: 0;
    color: rgba(255,255,255,.56);
    line-height: 1.68;
}

.elementor .ks-invest-types-section.e-con {
    padding-top: 110px !important;
    padding-bottom: 110px !important;
    background: #fff !important;
}

.ks-invest-types {
    width: calc(100% - 64px);
    max-width: 1550px;
    margin: 0 auto;
}

.ks-invest-types-heading {
    margin-bottom: 42px;
}

.ks-invest-types-heading h2 {
    margin: 10px 0 0;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 4.6vw, 60px);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -2px;
}

.ks-invest-types-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #ded8ce;
    border-left: 1px solid #ded8ce;
}

.ks-invest-type {
    min-height: 225px;
    padding: 30px;
    border-right: 1px solid #ded8ce;
    border-bottom: 1px solid #ded8ce;
    background: #fff;
}

.ks-invest-type > span:first-child {
    display: block;
    margin-bottom: 30px;
    color: #b99a55;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ks-invest-type h3 {
    margin: 0 0 12px;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
}

.ks-invest-type p {
    margin: 0;
    color: #73706a;
    line-height: 1.7;
}


/* =========================================================
   NOSOTROS
   HTML REAL:
   .ks-about-values
      .ks-about-values-intro
      .ks-about-values-grid
   ========================================================= */

.elementor .ks-about-values-section.e-con {
    padding-top: 115px !important;
    padding-bottom: 115px !important;
    background: #f7f4ee !important;
}

.ks-about-values {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
    gap: clamp(55px, 7vw, 110px);
    width: calc(100% - 64px);
    max-width: 1550px;
    margin: 0 auto;
    align-items: start;
}

.ks-about-values-intro h2 {
    max-width: 650px;
    margin: 10px 0 20px;
    color: #191919 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -2px;
}

.ks-about-values-intro p {
    max-width: 560px;
    margin: 0;
    color: #706c65 !important;
    line-height: 1.75;
}

.ks-about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #ded8ce;
    border-left: 1px solid #ded8ce;
}

.ks-about-value {
    min-height: 235px;
    padding: 30px;
    border-right: 1px solid #ded8ce;
    border-bottom: 1px solid #ded8ce;
    background: #faf9f6;
}

.ks-about-value > span:first-child {
    display: block;
    margin-bottom: 32px;
    color: #b99a55 !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ks-about-value h3 {
    margin: 0 0 12px;
    color: #191919 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
}

.ks-about-value p {
    margin: 0;
    color: #73706a !important;
    line-height: 1.7;
}


/* =========================================================
   CTA DORADO COMPARTIDO
   ========================================================= */

body .elementor .ks-page-cta.e-con {
    padding-top: 78px !important;
    padding-bottom: 78px !important;
    background: #b99a55 !important;
    color: #111 !important;
}

.ks-page-cta-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    width: calc(100% - 64px);
    max-width: 1550px;
    margin: 0 auto;
}

.ks-page-cta .ks-home-eyebrow {
    color: rgba(17,17,17,.65) !important;
}

.ks-page-cta h2 {
    max-width: 800px;
    margin: 10px 0 16px;
    color: #111 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 4.8vw, 60px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -2px;
}

.ks-page-cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(17,17,17,.68) !important;
    line-height: 1.7;
}

.ks-page-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 0 0 auto;
}

.ks-page-cta-light,
.ks-page-cta-dark {
    min-height: 48px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none !important;
    text-transform: uppercase;
}

.ks-page-cta-light {
    border: 1px solid #fff;
    background: #fff;
    color: #111 !important;
}

.ks-page-cta-dark {
    border: 1px solid #111;
    background: #111;
    color: #fff !important;
}

.ks-page-cta-light:hover {
    border-color: #111;
    background: #111;
    color: #fff !important;
}

.ks-page-cta-dark:hover {
    border-color: #fff;
    background: #fff;
    color: #111 !important;
}


/* =========================================================
   CONTACTO
   El contenedor del formulario NO tiene clase KS.
   En Elementor actual es el contenedor 1abb79f de página 218.
   ========================================================= */

.elementor-218 > .elementor-element-1abb79f.e-con {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 60px 0 !important;
    display: block !important;
    background: #f7f4ee !important;
}

.elementor-218 > .elementor-element-1abb79f > .elementor-widget-shortcode {
    width: calc(100% - 64px) !important;
    max-width: 1550px !important;
    margin: 0 auto !important;
}

.elementor-218 .elementor-shortcode {
    width: 100%;
}

.ks-cf7-form {
    width: 100%;
    padding: 42px;
    border: 1px solid #dfd8cc;
    background: #fff;
    box-shadow: 0 14px 38px rgba(0,0,0,.035);
}

.ks-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 18px;
}

.ks-form-field {
    min-width: 0;
}

.ks-cf7-form p {
    margin-top: 0;
}

.ks-cf7-form label {
    display: block;
    margin: 0 0 8px;
    color: #2f2f2f;
    font-size: 11px;
    font-weight: 700;
}

.ks-cf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.ks-cf7-form input[type="text"],
.ks-cf7-form input[type="email"],
.ks-cf7-form input[type="tel"],
.ks-cf7-form input[type="number"],
.ks-cf7-form select,
.ks-cf7-form textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid #d8d1c4;
    border-radius: 0;
    background: #faf9f6;
    color: #222;
    font: inherit;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.ks-cf7-form textarea {
    min-height: 170px;
    resize: vertical;
}

.ks-cf7-form input:focus,
.ks-cf7-form select:focus,
.ks-cf7-form textarea:focus {
    border-color: #b99a55;
    box-shadow: 0 0 0 2px rgba(185,154,85,.10);
}

.ks-form-privacy {
    margin: 18px 0 20px;
    color: #66615a;
    font-size: 11px;
}

.ks-form-privacy p,
.ks-form-submit p {
    margin: 0;
}

.ks-form-privacy .wpcf7-list-item {
    margin: 0;
}

.ks-form-privacy label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    font-weight: 400;
    line-height: 1.55;
}

.ks-form-privacy input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.ks-form-privacy a {
    color: #8d7138 !important;
}

.ks-form-submit {
    display: flex;
    justify-content: flex-start;
}

.ks-form-submit input[type="submit"] {
    width: auto;
    min-width: 155px;
    min-height: 50px;
    padding: 12px 20px;
    border: 1px solid #171717;
    border-radius: 0;
    background: #171717;
    color: #fff !important;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ks-form-submit input[type="submit"]:hover {
    border-color: #b99a55;
    background: #b99a55;
    color: #111 !important;
}

.ks-form-submit input[type="submit"]:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.wpcf7-spinner {
    vertical-align: middle;
}

body .elementor .ks-contact-location.e-con {
    padding: 100px 0 !important;
    background: #191919 !important;
}

.ks-contact-location-inner {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 100px;
    width: calc(100% - 64px);
    max-width: 1550px;
    margin: 0 auto;
    align-items: center;
}

.ks-contact-location h2 {
    margin: 10px 0 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -2px;
}

.ks-contact-location-address {
    padding-left: 35px;
    border-left: 1px solid rgba(255,255,255,.15);
}

.ks-contact-location-address span {
    display: block;
    margin-bottom: 15px;
    color: #b99a55;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
}

.ks-contact-location-address p {
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 16px;
    line-height: 1.8;
}

/* WhatsApp suelto de Contacto: se integra visualmente con ubicación */
.elementor-218 > .elementor-element-d428cb6.e-con {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 42px !important;
    display: block !important;
    background: #191919 !important;
}

.elementor-218 > .elementor-element-d428cb6 > .elementor-widget-html {
    width: calc(100% - 64px) !important;
    max-width: 1550px !important;
    margin: 0 auto !important;
}

.elementor-218 .ks-contact-data-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.elementor-218 .ks-contact-data-item > span {
    margin: 0;
    color: #b99a55;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
}

.elementor-218 .ks-contact-data-item a {
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}


/* =========================================================
   RESPONSIVE DE LAS 4 PÁGINAS
   ========================================================= */

@media (max-width: 1100px) {

    .ks-reform-intro,
    .ks-invest-page-grid,
    .ks-reform-services,
    .ks-reform-process,
    .ks-invest-process,
    .ks-about-values {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .ks-reform-services-head {
        position: static;
    }

    .ks-invest-types-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ks-contact-location-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 760px) {

    body .elementor .ks-page-hero.e-con {
        min-height: 360px !important;
        padding: 60px 0 !important;
    }

    .ks-page-hero .ks-page-hero-content,
    .ks-reform-intro,
    .ks-reform-services,
    .ks-reform-process,
    .ks-invest-page-grid,
    .ks-invest-process,
    .ks-invest-types,
    .ks-about-values,
    .ks-page-cta-inner,
    .ks-contact-location-inner,
    .elementor-218 > .elementor-element-1abb79f > .elementor-widget-shortcode,
    .elementor-218 > .elementor-element-d428cb6 > .elementor-widget-html {
        width: calc(100% - 36px) !important;
    }

    .ks-page-hero h1 {
        font-size: 44px !important;
        letter-spacing: -1.2px;
    }

    .elementor .ks-reform-intro-section.e-con,
    .elementor .ks-reform-services-section.e-con,
    .elementor .ks-reform-process-section.e-con,
    .elementor .ks-invest-page-intro.e-con,
    .elementor .ks-invest-process-section.e-con,
    .elementor .ks-invest-types-section.e-con,
    .elementor .ks-about-values-section.e-con {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }

    .ks-reform-services-grid,
    .ks-reform-process-grid,
    .ks-invest-process-grid,
    .ks-invest-types-grid,
    .ks-about-values-grid,
    .ks-form-row {
        grid-template-columns: 1fr;
    }

    .ks-reform-service,
    .ks-reform-process-item,
    .ks-invest-process-item,
    .ks-invest-type,
    .ks-about-value {
        min-height: 0;
        padding: 25px 22px;
    }

    .ks-page-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 32px;
    }

    .ks-page-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .ks-page-cta-light,
    .ks-page-cta-dark {
        width: 100%;
    }

    .elementor-218 > .elementor-element-1abb79f.e-con {
        padding: 34px 0 !important;
    }

    .ks-cf7-form {
        padding: 26px 20px;
    }

    body .elementor .ks-contact-location.e-con {
        padding: 72px 0 !important;
    }

    .ks-contact-location-address {
        padding: 26px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.15);
    }

    .elementor-218 .ks-contact-data-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
}


/* =========================================================
   KS Inversiones Child v1.5.5
   WhatsApp contextual de propiedades
   Autor: Codilogic
   ========================================================= */

.ks-property-whatsapp-button,
.ks-property-whatsapp-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 11px 16px;
    border: 0;
    background: #25d366;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition:
        transform .16s ease,
        filter .16s ease;
}

.ks-property-whatsapp-button:hover {
    transform: translateY(-1px);
    filter: brightness(.94);
    color: #ffffff !important;
}

.ks-property-card-footer {
    display: block;
}

.ks-card-ref {
    display: block;
    margin-bottom: 11px;
}

.ks-property-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7px;
}

.ks-property-card-actions .ks-card-button,
.ks-card-whatsapp {
    width: 100%;
    min-height: 39px;
    padding: 8px 9px;
    font-size: 11px;
    text-align: center;
}

.ks-card-whatsapp,
.ks-card-whatsapp:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none !important;
}

.ks-card-whatsapp:hover {
    background: #1fb95a;
    color: #ffffff !important;
}

@media (max-width: 420px) {
    .ks-property-card-actions {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   KS Inversiones Child v1.5.6 - Documentos PDF públicos
   Autor: Codilogic
   ========================================================= */

.ks-property-documents-card {
    padding: 22px;
    border: 1px solid #ded8cd;
    background: #ffffff;
}

.ks-documents-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #9b7b34;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ks-property-documents-card h3 {
    margin: 0 0 16px;
    font-size: 21px;
    font-weight: 500;
}

.ks-public-document-list {
    display: grid;
    gap: 10px;
}

.ks-public-document-item {
    padding: 14px;
    border: 1px solid #e4ded3;
    background: #f7f4ee;
}

.ks-public-document-item strong,
.ks-public-document-item small {
    display: block;
}

.ks-public-document-item strong {
    color: #1f1d1a;
    font-size: 12px;
}

.ks-public-document-item small {
    margin-top: 4px;
    color: #7a746a;
    font-size: 9px;
}

.ks-document-download-button,
.ks-document-download-button:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    margin-top: 12px;
    padding: 9px 12px;
    background: #191919;
    color: #ffffff !important;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
}

.ks-document-download-button:hover {
    background: #b99a55;
    color: #111111 !important;
}


/* =========================================================
   KS Inversiones Child v1.5.8 - Mejora Home
   Autor: Codilogic
   ========================================================= */

/* HERO: más jerarquía y presencia */
body.home .ks-home-hero {
    min-height: 740px !important;
}

body.home .ks-home-hero-content {
    width: calc(100% - 80px) !important;
    max-width: 1450px !important;
    padding-top: 300px !important;
    padding-bottom: 78px !important;
}

body.home .ks-home-hero-title {
    max-width: 790px !important;
    font-size: clamp(58px, 6vw, 82px) !important;
    line-height: .99 !important;
    letter-spacing: -2.8px !important;
}

body.home .ks-home-hero-text {
    max-width: 610px !important;
    margin-top: 25px !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
}

body.home .ks-home-hero-buttons {
    margin-top: 32px !important;
}

/* SERVICIOS: más interactivos sin recargar */
body.home .ks-home-service {
    position: relative;
    min-height: 126px !important;
    overflow: hidden;
    transition:
        transform .22s ease,
        background .22s ease,
        color .22s ease !important;
}

body.home .ks-home-service::after {
    content: "→";
    position: absolute;
    right: 24px;
    bottom: 22px;
    color: #b99a55;
    font-size: 20px;
    line-height: 1;
    opacity: .55;
    transform: translateX(-5px);
    transition: opacity .22s ease, transform .22s ease;
}

body.home .ks-home-service:hover {
    transform: translateY(-3px);
}

body.home .ks-home-service:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* DESTACADAS: más aire y lectura */
body.home .ks-featured-section {
    background: #f8f6f1 !important;
    padding-top: 92px !important;
    padding-bottom: 92px !important;
}

body.home .ks-featured-section .ks-home-section-head {
    margin-bottom: 42px !important;
}

body.home .ks-featured-section .ks-home-section-head h2 {
    font-size: clamp(42px, 4.5vw, 58px) !important;
}

body.home .ks-featured-section .ks-home-link {
    padding-bottom: 5px !important;
    font-size: 12px !important;
    letter-spacing: .03em;
}

body.home .ks-featured-card {
    border-color: #ddd6c9 !important;
    box-shadow: 0 8px 26px rgba(0,0,0,.035);
}

body.home .ks-featured-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 18px 38px rgba(0,0,0,.09) !important;
}

body.home .ks-featured-title {
    font-size: 24px !important;
}

/* CTA tras propiedades */
.ks-home-search-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    margin: 34px 0 0;
    padding: 30px 34px;
    border: 1px solid #d8d0c2;
    background: #ffffff;
}

.ks-home-search-cta-copy {
    max-width: 800px;
}

.ks-home-search-cta-copy > span {
    display: block;
    margin-bottom: 7px;
    color: #9d8145;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ks-home-search-cta-copy strong {
    display: block;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 500;
    line-height: 1.1;
}

.ks-home-search-cta-copy p {
    max-width: 690px;
    margin: 10px 0 0;
    color: #777067;
    font-size: 13px;
    line-height: 1.65;
}

.ks-home-search-cta-button,
.ks-home-search-cta-button:visited {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 19px;
    border: 1px solid #191919;
    background: #191919;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.ks-home-search-cta-button:hover {
    border-color: #b99a55;
    background: #b99a55;
    color: #111111 !important;
}

/* SOBRE KS: un poco más editorial */
body.home .ks-home-about {
    border-top: 1px solid rgba(185,154,85,.4);
    border-bottom: 1px solid rgba(185,154,85,.22);
}

body.home .ks-home-about h2 {
    font-size: clamp(45px, 5vw, 68px) !important;
    line-height: 1.01 !important;
}

body.home .ks-home-about-content .ks-home-about-lead {
    font-size: 22px !important;
}

/* INVERSIÓN: tarjetas más vivas */
body.home .ks-investment-item {
    position: relative;
    transition: background .2s ease, transform .2s ease;
}

body.home .ks-investment-item:hover {
    z-index: 2;
    background: #ffffff;
    transform: translateY(-2px);
}

body.home .ks-investment-item > span {
    font-size: 12px !important;
}

body.home .ks-investment-item h3 {
    font-size: 24px !important;
}

/* CTA FINAL */
body.home .ks-home-final-cta {
    border-top: 1px solid rgba(17,17,17,.15);
}

body.home .ks-final-cta-text h2 {
    max-width: 900px !important;
    font-size: clamp(44px, 5vw, 68px) !important;
}

/* FOOTER: más legible */
.ks-footer-logo img {
    width: auto;
    max-width: 190px !important;
}

.ks-footer-brand p {
    max-width: 330px;
    line-height: 1.65;
}

.ks-footer-contact a {
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    body.home .ks-home-hero {
        min-height: 670px !important;
    }

    body.home .ks-home-hero-content {
        width: calc(100% - 48px) !important;
        padding-top: 260px !important;
        padding-bottom: 55px !important;
    }

    body.home .ks-home-hero-title {
        font-size: 52px !important;
    }

    .ks-home-search-cta {
        display: block;
    }

    .ks-home-search-cta-button {
        margin-top: 22px;
    }
}

@media (max-width: 600px) {
    body.home .ks-home-hero {
        min-height: 620px !important;
        background-position: 62% center !important;
    }

    body.home .ks-home-hero-content {
        width: calc(100% - 36px) !important;
        padding-top: 250px !important;
        padding-bottom: 38px !important;
    }

    body.home .ks-home-hero-title {
        font-size: 39px !important;
        letter-spacing: -1.3px !important;
    }

    body.home .ks-home-hero-text {
        font-size: 15px !important;
    }

    .ks-home-search-cta {
        padding: 24px 20px;
    }

    .ks-home-search-cta-button {
        width: 100%;
    }
}


/* =========================================================
   KS Inversiones Child v1.5.9 - Hero Inversiones con imagen
   Autor: Codilogic
   ========================================================= */

body.page-id-161 .ks-page-hero {
    min-height: 560px !important;
    align-items: center !important;
    padding: 58px 0 !important;
    overflow: hidden;
}

body.page-id-161 .ks-page-hero .ks-page-hero-content.ks-investment-hero-upgraded {
    display: grid !important;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: clamp(46px, 6vw, 95px);

    width: calc(100% - 64px) !important;
    max-width: 1550px !important;
    margin: 0 auto !important;
}

body.page-id-161 .ks-investment-hero-copy {
    order: 2;
    position: relative;
    z-index: 2;
}

body.page-id-161 .ks-investment-hero-copy .ks-page-eyebrow {
    display: block;
    margin-bottom: 14px;
}

body.page-id-161 .ks-investment-hero-copy h1 {
    max-width: 720px !important;
    margin: 0 0 24px !important;
    font-size: clamp(48px, 5vw, 72px) !important;
}

body.page-id-161 .ks-investment-hero-copy p {
    max-width: 650px !important;
    margin: 0 !important;
}

body.page-id-161 .ks-investment-hero-media {
    order: 1;
    position: relative;
    overflow: hidden;

    min-height: 410px;
    margin: 0;

    border: 1px solid rgba(185,154,85,.45);
    background: #111;
}

body.page-id-161 .ks-investment-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.02) 45%,
            rgba(0,0,0,.72) 100%
        );
}

body.page-id-161 .ks-investment-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 410px;
    object-fit: cover;
    object-position: center;
    filter: saturate(.78) contrast(1.04) brightness(.88);
    transform: scale(1.01);
    transition:
        transform .65s ease,
        filter .65s ease;
}

body.page-id-161 .ks-investment-hero-media:hover img {
    transform: scale(1.035);
    filter: saturate(.9) contrast(1.04) brightness(.92);
}

body.page-id-161 .ks-investment-hero-media figcaption {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 25px;
}

body.page-id-161 .ks-investment-hero-media figcaption span {
    display: block;
    margin-bottom: 7px;

    color: #d1b467;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

body.page-id-161 .ks-investment-hero-media figcaption strong {
    display: block;

    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(19px, 2vw, 27px);
    font-weight: 400;
    line-height: 1.15;
}

/* Una línea dorada muy sutil conecta visualmente imagen y texto. */
body.page-id-161 .ks-investment-hero-media::before {
    content: "";
    position: absolute;
    z-index: 3;
    right: -1px;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: rgba(185,154,85,.75);
}

/* Tablet */
@media (max-width: 980px) {
    body.page-id-161 .ks-page-hero {
        min-height: 0 !important;
        padding: 48px 0 58px !important;
    }

    body.page-id-161 .ks-page-hero .ks-page-hero-content.ks-investment-hero-upgraded {
        grid-template-columns: 1fr;
        gap: 36px;
        width: calc(100% - 48px) !important;
    }

    body.page-id-161 .ks-investment-hero-media {
        min-height: 360px;
    }

    body.page-id-161 .ks-investment-hero-media img {
        min-height: 360px;
    }

    body.page-id-161 .ks-investment-hero-copy {
        order: 2;
    }

    body.page-id-161 .ks-investment-hero-media {
        order: 1;
    }
}

/* Móvil */
@media (max-width: 600px) {
    body.page-id-161 .ks-page-hero {
        padding: 28px 0 48px !important;
    }

    body.page-id-161 .ks-page-hero .ks-page-hero-content.ks-investment-hero-upgraded {
        width: calc(100% - 36px) !important;
        gap: 28px;
    }

    body.page-id-161 .ks-investment-hero-media,
    body.page-id-161 .ks-investment-hero-media img {
        min-height: 300px;
    }

    body.page-id-161 .ks-investment-hero-copy h1 {
        font-size: 43px !important;
    }

    body.page-id-161 .ks-investment-hero-media figcaption {
        left: 20px;
        right: 20px;
        bottom: 18px;
    }
}


/* =========================================================
   KS Inversiones Child v1.5.10
   Hero Inversiones a sangre / integrado
   Autor: Codilogic
   ========================================================= */

/*
 * La imagen deja de comportarse como una tarjeta dentro del hero.
 * Ahora ocupa realmente toda la mitad izquierda de la cabecera.
 */
body.page-id-161 .ks-page-hero {
    min-height: 620px !important;
    padding: 0 !important;
    align-items: stretch !important;
}

body.page-id-161 .ks-page-hero .ks-page-hero-content.ks-investment-hero-upgraded {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 0 !important;

    width: 100% !important;
    max-width: none !important;
    min-height: 620px;
    margin: 0 !important;
}

/* Imagen a sangre en la mitad izquierda */
body.page-id-161 .ks-investment-hero-media {
    order: 1;
    position: relative;
    overflow: hidden;

    width: 100%;
    height: 100%;
    min-height: 620px;
    margin: 0 !important;

    border: 0 !important;
    background: #111;
}

body.page-id-161 .ks-investment-hero-media img {
    display: block;
    width: 100%;
    height: 100% !important;
    min-height: 620px !important;

    object-fit: cover;
    object-position: center center;

    filter: saturate(.76) contrast(1.05) brightness(.82);
    transform: scale(1.015);
}

/*
 * Transición suave hacia la mitad de texto para que no parezcan
 * dos bloques independientes.
 */
body.page-id-161 .ks-investment-hero-media::before {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;

    width: auto;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.05) 0%,
            rgba(0,0,0,.02) 68%,
            rgba(24,24,24,.48) 100%
        );
}

/* Oscurecido inferior para el texto de apoyo de la imagen */
body.page-id-161 .ks-investment-hero-media::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0) 45%,
            rgba(0,0,0,.70) 100%
        );
}

/* Texto centrado verticalmente en la mitad derecha */
body.page-id-161 .ks-investment-hero-copy {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    padding:
        72px
        clamp(56px, 7vw, 135px)
        72px
        clamp(54px, 6vw, 110px);

    background: #191919;
}

body.page-id-161 .ks-investment-hero-copy h1 {
    max-width: 690px !important;
    margin: 0 0 25px !important;
    font-size: clamp(50px, 4.6vw, 74px) !important;
    line-height: 1.01 !important;
}

body.page-id-161 .ks-investment-hero-copy p {
    max-width: 650px !important;
}

/* Pie de imagen integrado, sin aspecto de tarjeta */
body.page-id-161 .ks-investment-hero-media figcaption {
    left: clamp(28px, 4vw, 70px);
    right: clamp(28px, 4vw, 70px);
    bottom: 34px;
}

body.page-id-161 .ks-investment-hero-media figcaption span {
    margin-bottom: 8px;
}

body.page-id-161 .ks-investment-hero-media figcaption strong {
    font-size: clamp(21px, 2.1vw, 31px);
}

/* Elimina cualquier resto visual de "marco" de v1.5.9 */
body.page-id-161 .ks-investment-hero-media {
    box-shadow: none !important;
    outline: none !important;
}

/* Tablet */
@media (max-width: 980px) {
    body.page-id-161 .ks-page-hero {
        min-height: 0 !important;
    }

    body.page-id-161 .ks-page-hero .ks-page-hero-content.ks-investment-hero-upgraded {
        grid-template-columns: 1fr !important;
        min-height: 0;
    }

    body.page-id-161 .ks-investment-hero-media,
    body.page-id-161 .ks-investment-hero-media img {
        min-height: 460px !important;
    }

    body.page-id-161 .ks-investment-hero-copy {
        padding: 58px 48px 64px;
    }

    body.page-id-161 .ks-investment-hero-copy h1 {
        max-width: 760px !important;
    }
}

/* Móvil */
@media (max-width: 600px) {
    body.page-id-161 .ks-investment-hero-media,
    body.page-id-161 .ks-investment-hero-media img {
        min-height: 330px !important;
    }

    body.page-id-161 .ks-investment-hero-copy {
        padding: 42px 22px 50px;
    }

    body.page-id-161 .ks-investment-hero-copy h1 {
        font-size: 42px !important;
    }

    body.page-id-161 .ks-investment-hero-media figcaption {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    body.page-id-161 .ks-investment-hero-media figcaption strong {
        font-size: 20px;
    }
}


/* =========================================================
   KS Inversiones Child v1.5.11
   Hero Reformas a sangre / integrado
   Autor: Codilogic
   ========================================================= */
body.ks-reformas-hero-upgraded-page .ks-page-hero {
    min-height: 620px !important;
    padding: 0 !important;
    align-items: stretch !important;
}

body.ks-reformas-hero-upgraded-page .ks-page-hero .ks-page-hero-content.ks-reformas-hero-upgraded {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 620px;
    margin: 0 !important;
}

body.ks-reformas-hero-upgraded-page .ks-reformas-hero-media {
    order: 1;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 620px;
    margin: 0 !important;
    border: 0 !important;
    background: #111;
    box-shadow: none !important;
    outline: none !important;
}

body.ks-reformas-hero-upgraded-page .ks-reformas-hero-media img {
    display: block;
    width: 100%;
    height: 100% !important;
    min-height: 620px !important;
    object-fit: cover;
    object-position: center center;
    filter: saturate(.76) contrast(1.05) brightness(.82);
    transform: scale(1.015);
}

body.ks-reformas-hero-upgraded-page .ks-reformas-hero-media::before {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.02) 68%, rgba(24,24,24,.48) 100%);
}

body.ks-reformas-hero-upgraded-page .ks-reformas-hero-media::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.70) 100%);
}

body.ks-reformas-hero-upgraded-page .ks-reformas-hero-copy {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 72px clamp(56px, 7vw, 135px) 72px clamp(54px, 6vw, 110px);
    background: #191919;
}

body.ks-reformas-hero-upgraded-page .ks-reformas-hero-copy h1 {
    max-width: 740px !important;
    margin: 0 0 25px !important;
    font-size: clamp(50px, 4.6vw, 74px) !important;
    line-height: 1.01 !important;
}

body.ks-reformas-hero-upgraded-page .ks-reformas-hero-copy p {
    max-width: 680px !important;
}

body.ks-reformas-hero-upgraded-page .ks-reformas-hero-media figcaption {
    position: absolute;
    z-index: 4;
    left: clamp(28px, 4vw, 70px);
    right: clamp(28px, 4vw, 70px);
    bottom: 34px;
}

body.ks-reformas-hero-upgraded-page .ks-reformas-hero-media figcaption span {
    display: block;
    margin-bottom: 8px;
    color: #c1a052;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

body.ks-reformas-hero-upgraded-page .ks-reformas-hero-media figcaption strong {
    display: block;
    color: #fff;
    font-size: clamp(21px, 2.1vw, 31px);
    line-height: 1.1;
}

@media (max-width: 980px) {
    body.ks-reformas-hero-upgraded-page .ks-page-hero {
        min-height: 0 !important;
    }

    body.ks-reformas-hero-upgraded-page .ks-page-hero .ks-page-hero-content.ks-reformas-hero-upgraded {
        grid-template-columns: 1fr !important;
        min-height: 0;
    }

    body.ks-reformas-hero-upgraded-page .ks-reformas-hero-media,
    body.ks-reformas-hero-upgraded-page .ks-reformas-hero-media img {
        min-height: 460px !important;
    }

    body.ks-reformas-hero-upgraded-page .ks-reformas-hero-copy {
        padding: 58px 48px 64px;
    }
}

@media (max-width: 600px) {
    body.ks-reformas-hero-upgraded-page .ks-reformas-hero-media,
    body.ks-reformas-hero-upgraded-page .ks-reformas-hero-media img {
        min-height: 330px !important;
    }

    body.ks-reformas-hero-upgraded-page .ks-reformas-hero-copy {
        padding: 42px 22px 50px;
    }

    body.ks-reformas-hero-upgraded-page .ks-reformas-hero-copy h1 {
        font-size: 42px !important;
    }

    body.ks-reformas-hero-upgraded-page .ks-reformas-hero-media figcaption {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    body.ks-reformas-hero-upgraded-page .ks-reformas-hero-media figcaption strong {
        font-size: 20px;
    }
}




/* ==========================================
   CODILOGIC - CONTACTO RESPONSIVE
   KS INVERSIONES
   ========================================== */

@media (max-width: 767px) {

  /* Contenido principal */
  body.ks-contacto-mobile main {
    max-width: 100%;
    min-width: 0;
  }

  /* Títulos */
  body.ks-contacto-mobile main h1 {
    font-size: clamp(28px, 7vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.8px;
    overflow-wrap: break-word;
  }

  body.ks-contacto-mobile main h2 {
    font-size: clamp(24px, 6vw, 30px);
    line-height: 1.2;
    overflow-wrap: break-word;
  }

  /* Párrafos */
  body.ks-contacto-mobile main p {
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: break-word;
  }

  /* Formularios */
  body.ks-contacto-mobile main form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.ks-contacto-mobile main form input:not(
    [type="checkbox"]
  ):not([type="radio"]),
  body.ks-contacto-mobile main form select,
  body.ks-contacto-mobile main form textarea {
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;
  }

  body.ks-contacto-mobile main form textarea {
    min-height: 120px;
  }

  /* Evitar que imágenes excedan su contenedor */
  body.ks-contacto-mobile main img {
    max-width: 100%;
    height: auto;
  }

  /* Textos largos y enlaces */
  body.ks-contacto-mobile main a {
    overflow-wrap: anywhere;
  }
}

/* Móviles pequeños */
@media (max-width: 390px) {
  body.ks-contacto-mobile main h1 {
    font-size: 27px;
  }

  body.ks-contacto-mobile main h2 {
    font-size: 23px;
  }
}

/**
 * KS Inversiones - Correccion responsive pagina Contacto
 * Autor: Codilogic
 * Pagina WordPress: /contacto/ (page-id-218)
 * Corrige la regla posterior que fuerza columnas minimas de 420px + 520px.
 * Aplicar tras los estilos actuales o mantener !important al estar los estilos
 * originales insertados en el HTML de Elementor.
 */

/* Tablets: evitar columnas con anchos minimos que fuerzan scroll horizontal. */
@media (min-width: 768px) and (max-width: 1199px) {
    body.page-id-218 .ks-page-hero .ks-contact-hero-grid {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) !important;
        gap: clamp(24px, 4vw, 48px) !important;
        width: calc(100% - 64px) !important;
    }

    body.page-id-218 .ks-contact-hero-brand,
    body.page-id-218 .ks-contact-hero-copy {
        min-width: 0 !important;
    }

    body.page-id-218 .ks-contact-hero-copy h1 {
        font-size: clamp(36px, 4.8vw, 55px) !important;
        line-height: 1.12 !important;
        overflow-wrap: break-word;
    }
}

/* Movil: organizar la pagina en una unica columna real. */
@media (max-width: 767px) {
    body.page-id-218 .elementor-218,
    body.page-id-218 .elementor-218 > .e-con,
    body.page-id-218 .ks-page-hero,
    body.page-id-218 .ks-contact-location {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    body.page-id-218 .ks-page-hero {
        min-height: 0 !important;
        height: auto !important;
        padding: 44px 0 !important;
    }

    body.page-id-218 .ks-page-hero .ks-contact-hero-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: calc(100% - 36px) !important;
        max-width: 600px !important;
        gap: 30px !important;
        margin-inline: auto !important;
        min-width: 0 !important;
    }

    body.page-id-218 .ks-contact-hero-brand,
    body.page-id-218 .ks-contact-hero-copy {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.page-id-218 .ks-contact-hero-brand {
        display: grid !important;
        grid-template-columns: 90px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 18px !important;
        padding-bottom: 25px !important;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }

    body.page-id-218 .ks-contact-hero-logo {
        width: 90px !important;
        max-width: 100% !important;
    }

    body.page-id-218 .ks-contact-hero-logo img {
        display: block;
        max-width: 100%;
        height: auto;
    }

    body.page-id-218 .ks-contact-hero-details {
        min-width: 0 !important;
        overflow-wrap: anywhere;
    }

    body.page-id-218 .ks-contact-hero-details p,
    body.page-id-218 .ks-contact-hero-details a {
        font-size: 12px !important;
        overflow-wrap: anywhere;
    }

    body.page-id-218 .ks-contact-hero-copy h1 {
        font-size: clamp(29px, 7.6vw, 36px) !important;
        line-height: 1.12 !important;
        letter-spacing: -.7px !important;
        overflow-wrap: break-word;
    }

    body.page-id-218 .ks-contact-hero-copy p {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    /* Formulario Contact Form 7. */
    body.page-id-218 .elementor-218 .elementor-widget-shortcode,
    body.page-id-218 .elementor-218 .elementor-shortcode,
    body.page-id-218 .elementor-218 .wpcf7,
    body.page-id-218 .elementor-218 .ks-cf7-form {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    body.page-id-218 .ks-cf7-form .ks-form-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.page-id-218 .ks-cf7-form .ks-form-field {
        min-width: 0;
    }

    body.page-id-218 .ks-cf7-form input:not([type="checkbox"]):not([type="radio"]),
    body.page-id-218 .ks-cf7-form select,
    body.page-id-218 .ks-cf7-form textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 16px;
    }

    /* Ubicacion: una sola columna, sin anchuras minimas. */
    body.page-id-218 .ks-contact-location {
        padding: 55px 0 !important;
    }

    body.page-id-218 .ks-contact-location-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: calc(100% - 36px) !important;
        gap: 28px !important;
        margin-inline: auto !important;
    }

    body.page-id-218 .ks-contact-location h2 {
        font-size: clamp(29px, 7.8vw, 40px) !important;
        line-height: 1.14 !important;
        letter-spacing: -.8px !important;
    }

    body.page-id-218 .ks-contact-location-address {
        border-left: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, .15);
        padding: 22px 0 0 !important;
    }
}

/* Moviles estrechos: logo y datos siempre caben. */
@media (max-width: 360px) {
    body.page-id-218 .ks-contact-hero-brand {
        grid-template-columns: 76px minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    body.page-id-218 .ks-contact-hero-logo {
        width: 76px !important;
    }
}

