/* VisorDatosSIG 2026 — portada pública editorial */

:root {
    --geo-beige: #f4efe6;
    --geo-beige-light: #fbf8f2;
    --geo-paper: #fffdf9;
    --geo-green-900: #183d37;
    --geo-green-700: #446c62;
    --geo-green-500: #719589;
    --geo-green-100: #e4eeea;
    --geo-blue-900: #123b5a;
    --geo-blue-600: #477797;
    --geo-sky: #a9cfd8;
    --geo-sky-light: #e7f2f4;
    --geo-orange: #cf8057;
    --geo-orange-light: #f3ddce;
    --geo-gold-light: #f0e4bf;
    --geo-text: #203530;
    --geo-muted: #62736e;
    --geo-line: #dedfd8;
    --geo-shadow: 0 16px 42px rgba(35, 64, 57, 0.09);
}

body:has(.home-v4) {
    background: var(--geo-beige-light);
}

body:has(.home-v4) .app-header {
    background: rgba(255, 253, 249, 0.96);
    border-bottom-color: #e5e0d6;
}

/* La portada comienza inmediatamente debajo de la cabecera. El layout global
   conserva su padding lateral para el resto de las secciones. */
body:has(.home-v4) .app-main {
    padding-top: 0;
}

body:has(.home-v4) .brand__mark {
    background: var(--geo-green-500);
}

body:has(.home-v4) .app-nav__link:hover {
    color: var(--geo-green-900);
    background: var(--geo-green-100);
}

body:has(.home-v4) .btn-sesion:not(.btn-sesion--ghost) {
    color: #fff;
    background: var(--geo-orange);
    border-color: var(--geo-orange);
}

body:has(.home-v4) .btn-sesion:not(.btn-sesion--ghost):hover {
    background: #b96944;
    border-color: #b96944;
}

.home-v4 {
    width: 100%;
    color: var(--geo-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

.home-v4 img,
.home-v4 svg {
    display: block;
}

.home-v4 img {
    max-width: 100%;
}

.home-v4 a {
    color: inherit;
    text-decoration: none;
}

.home-v4 .eyebrow,
.home-v4 .section-number {
    display: block;
    margin: 0 0 10px;
    color: var(--geo-green-700);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    line-height: 1.35;
    text-transform: uppercase;
}

/* Hero dividido, inspirado en la referencia editorial */
.home-v4 .hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: var(--geo-beige);
}

.home-v4 .hero-wrap {
    display: grid;
    grid-template-columns: minmax(0, 48%) minmax(500px, 52%);
    width: 100%;
    max-width: none;
    min-height: 690px;
    margin: 0;
}

.home-v4 .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px clamp(32px, 4vw, 56px) 56px clamp(60px, 7vw, 130px);
}

.home-v4 .hero-copy h1 {
    max-width: 670px;
    margin: 0 0 22px;
    color: var(--geo-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.4rem, 5.5vw, 5.3rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.94;
}

.home-v4 .hero-copy h1 .accent {
    color: var(--geo-orange);
}

.home-v4 .hero-lead {
    max-width: 620px;
    margin: 0 0 24px;
    color: var(--geo-muted);
    font-size: 1.02rem;
    line-height: 1.72;
}

.home-v4 .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 25px;
}

.home-v4 .hero-badges span {
    padding: 7px 12px;
    border: 1px solid #d8d9cf;
    border-radius: 999px;
    color: var(--geo-green-700);
    background: #efede3;
    font-size: 0.78rem;
    font-weight: 750;
}

.home-v4 .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
    margin-bottom: 34px;
}

.home-v4 .hero-saludo {
    margin: 0 0 10px;
    color: var(--geo-muted);
    font-size: 0.84rem;
}

.home-v4 .hero-saludo strong {
    color: var(--geo-green-900);
}

.home-v4 .btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.home-v4 .btn svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-v4 .btn-primary {
    color: #fff;
    background: var(--geo-orange);
    box-shadow: 0 10px 24px rgba(182, 96, 58, 0.18);
}

.home-v4 .btn-primary:hover {
    color: #fff;
    background: #b96944;
}

.home-v4 .btn-secondary {
    color: var(--geo-green-900);
    background: var(--geo-paper);
    border-color: #d8d6cd;
}

.home-v4 .btn-secondary:hover {
    color: var(--geo-green-900);
    background: #fff;
    border-color: var(--geo-green-500);
}

.home-v4 .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 650px;
    border-top: 1px solid #dcd6cb;
}

.home-v4 .metric {
    padding: 18px 20px 0 0;
}

.home-v4 .metric+.metric {
    padding-left: 20px;
    border-left: 1px solid #dcd6cb;
}

.home-v4 .metric strong {
    display: block;
    margin-bottom: 6px;
    color: var(--geo-green-900);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.62rem;
    line-height: 1;
}

.home-v4 .metric span {
    display: block;
    color: var(--geo-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.home-v4 .hero-visual {
    position: relative;
    min-width: 0;
    min-height: 690px;
    margin: 0;
    overflow: hidden;
    background: #edf1e9;
}

.home-v4 .hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.home-v4 .hero-visual figcaption {
    position: absolute;
    right: 0;
    bottom: 26px;
    padding: 9px 18px;
    color: var(--geo-green-900);
    background: rgba(244, 239, 230, 0.92);
    font-size: 0.69rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Secciones editoriales */
.home-v4 .section {
    padding: 78px 0;
}

.home-v4 .section+.section {
    border-top: 1px solid rgba(72, 91, 84, 0.1);
}

.home-v4 .section-header {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: end;
    gap: 54px;
    margin-bottom: 30px;
}

.home-v4 .section-header h2 {
    max-width: 720px;
    margin: 0;
    color: var(--geo-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 3.5vw, 3.3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.home-v4 .section-header>p {
    margin: 0 0 3px;
    color: var(--geo-muted);
    font-size: 0.91rem;
    line-height: 1.7;
}

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

.home-v4 .card {
    overflow: hidden;
    border: 1px solid #e3dfd5;
    border-radius: 20px;
    background: var(--geo-paper);
    box-shadow: 0 10px 32px rgba(38, 60, 54, 0.06);
}

.home-v4 .card--content {
    display: flex;
    align-items: center;
    background: #eef4f1;
}

.home-v4 .card-img {
    overflow: hidden;
    aspect-ratio: 1.55 / 1;
    background: var(--geo-beige);
}

.home-v4 .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-v4 .card-body {
    padding: 30px;
}

.home-v4 .card-body h3,
.home-v4 .layers-panel__intro h3 {
    margin: 0 0 12px;
    color: var(--geo-green-900);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.home-v4 .card-body>p,
.home-v4 .layers-panel__intro p {
    margin: 0;
    color: var(--geo-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.home-v4 .mini-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.home-v4 .mini-features div {
    padding: 14px;
    border: 1px solid #d9e2de;
    border-radius: 12px;
    background: #fffdf9;
}

.home-v4 .mini-features strong {
    display: block;
    margin-bottom: 4px;
    color: var(--geo-green-900);
    font-size: 0.8rem;
}

.home-v4 .mini-features span {
    display: block;
    color: var(--geo-muted);
    font-size: 0.73rem;
    line-height: 1.45;
}

/* Capas: colores sólidos, sin degradados */
.home-v4 .layers-panel {
    display: grid;
    grid-template-columns: minmax(250px, 0.78fr) minmax(0, 2.22fr);
    gap: 30px;
    padding: 34px;
    border-radius: 24px;
    color: #fff;
    background: var(--geo-green-900);
}

.home-v4 .layers-panel__intro {
    align-self: center;
    padding: 8px 12px 8px 2px;
}

.home-v4 .layers-panel__intro .section-number {
    color: var(--geo-sky);
}

.home-v4 .layers-panel__intro h3 {
    color: #fff;
    font-size: 1.75rem;
}

.home-v4 .layers-panel__intro p {
    color: rgba(255, 255, 255, 0.68);
}

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

.home-v4 .layer-item {
    position: relative;
    min-height: 190px;
    padding: 20px;
    border-radius: 16px;
    color: var(--geo-text);
}

.home-v4 .layer-item--green {
    background: #dfece5;
}

.home-v4 .layer-item--blue {
    background: #dce9f0;
}

.home-v4 .layer-item--orange {
    background: var(--geo-orange-light);
}

.home-v4 .layer-item--sky {
    background: var(--geo-sky-light);
}

.home-v4 .layer-dot {
    width: 12px;
    height: 12px;
    margin-bottom: 27px;
    border-radius: 50%;
    background: var(--geo-green-500);
}

.home-v4 .layer-item--blue .layer-dot {
    background: var(--geo-blue-600);
}

.home-v4 .layer-item--orange .layer-dot {
    background: var(--geo-orange);
}

.home-v4 .layer-item--sky .layer-dot {
    background: #67a8b8;
}

.home-v4 .layer-item>span {
    position: absolute;
    top: 19px;
    right: 19px;
    color: rgba(32, 53, 48, 0.46);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.7rem;
}

.home-v4 .layer-item h4 {
    margin: 0 0 8px;
    color: var(--geo-green-900);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
}

.home-v4 .layer-item p {
    margin: 0;
    color: #536a64;
    font-size: 0.78rem;
    line-height: 1.55;
}

/* Arquitectura */
.home-v4 .architecture {
    padding: 28px;
    border-radius: 24px;
    background: var(--geo-green-100);
}

.home-v4 .arch-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-v4 .arch-step {
    position: relative;
    min-height: 180px;
    padding: 21px 18px;
    border: 1px solid #d5dfdb;
    border-radius: 16px;
    background: var(--geo-paper);
}

.home-v4 .arch-step::after {
    position: absolute;
    top: 50%;
    right: -15px;
    z-index: 2;
    width: 15px;
    height: 2px;
    background: var(--geo-orange);
    content: "";
}

.home-v4 .arch-step:last-child::after {
    display: none;
}

.home-v4 .step-badge {
    display: grid;
    width: 34px;
    height: 34px;
    margin-bottom: 21px;
    place-items: center;
    border-radius: 9px;
    color: var(--geo-green-900);
    background: var(--geo-orange-light);
    font-size: 0.76rem;
    font-weight: 800;
}

.home-v4 .arch-step:nth-child(2) .step-badge {
    background: var(--geo-sky-light);
}

.home-v4 .arch-step:nth-child(3) .step-badge {
    background: var(--geo-gold-light);
}

.home-v4 .arch-step:nth-child(4) .step-badge {
    background: #dcebe2;
}

.home-v4 .arch-step h3 {
    margin: 0 0 8px;
    color: var(--geo-green-900);
    font-size: 0.94rem;
}

.home-v4 .arch-step p {
    margin: 0;
    color: var(--geo-muted);
    font-size: 0.77rem;
    line-height: 1.55;
}

/* Presentación móvil conservada */
.home-mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
    align-items: center;
    gap: clamp(48px, 8vw, 112px);
    min-height: 720px;
    margin: 64px 0 78px;
    padding: 54px clamp(32px, 6vw, 76px);
    overflow: hidden;
    border-radius: 28px;
    background: #edf4f1;
    box-shadow: 0 14px 42px rgba(35, 64, 57, 0.07);
}

.home-mobile__copy {
    max-width: 610px;
}

.home-mobile__pill {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 7px 12px;
    border: 1px solid #b7d4cb;
    border-radius: 999px;
    color: var(--geo-green-700);
    background: #fffdf9;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-mobile__copy h2 {
    margin: 0 0 20px;
    color: var(--geo-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.home-mobile__copy>p {
    margin: 0;
    color: var(--geo-muted);
    font-size: 0.94rem;
    line-height: 1.75;
}

.home-mobile__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 27px 0 29px;
    padding: 0;
    list-style: none;
}

.home-mobile__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--geo-text);
    font-size: 0.86rem;
    font-weight: 650;
}

.home-mobile__features span {
    display: grid;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    place-items: center;
    border-radius: 50%;
    color: var(--geo-green-700);
    background: #d8e9e2;
    font-size: 0.7rem;
}

.home-mobile__availability {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 10px 13px;
    border: 1px solid #d7dfdc;
    border-radius: 13px;
    background: var(--geo-paper);
}

.home-mobile__availability>span {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: var(--geo-blue-900);
}

.home-mobile__availability svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.home-mobile__availability div {
    display: flex;
    flex-direction: column;
}

.home-mobile__availability strong {
    color: var(--geo-text);
    font-size: 0.76rem;
}

.home-mobile__availability small {
    color: var(--geo-muted);
    font-size: 0.67rem;
}

.home-phone-wrap {
    position: relative;
    display: grid;
    min-height: 620px;
    place-items: center;
}

.home-phone-glow {
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: #d3e6df;
    filter: blur(42px);
}

.home-phone {
    position: relative;
    z-index: 1;
    width: 300px;
    height: 616px;
    padding: 10px;
    border: 2px solid #253239;
    border-radius: 48px;
    background: #0b1115;
    box-shadow: 0 34px 60px rgba(9, 32, 38, 0.24), inset 0 0 0 1px #4b555b;
}

.home-phone::before,
.home-phone::after {
    position: absolute;
    left: -4px;
    width: 3px;
    border-radius: 3px 0 0 3px;
    background: #283238;
    content: "";
}

.home-phone::before {
    top: 118px;
    height: 58px;
}

.home-phone::after {
    top: 187px;
    height: 82px;
}

.home-phone__screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 38px;
    color: #102d33;
    background: #f7f9f9;
}

.home-phone__island {
    position: absolute;
    z-index: 10;
    top: 10px;
    left: 50%;
    width: 86px;
    height: 23px;
    border-radius: 999px;
    background: #05080a;
    transform: translateX(-50%);
}

.home-phone__status {
    display: flex;
    height: 42px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: #112e34;
    font-size: 0.65rem;
    font-weight: 750;
}

.home-phone__signals {
    display: flex;
    align-items: flex-end;
    gap: 2px;
}

.home-phone__signals i {
    display: block;
    width: 2px;
    background: currentColor;
}

.home-phone__signals i:nth-child(1) {
    height: 4px;
}

.home-phone__signals i:nth-child(2) {
    height: 6px;
}

.home-phone__signals i:nth-child(3) {
    height: 8px;
}

.home-phone__signals b {
    width: 13px;
    height: 7px;
    margin-left: 3px;
    border: 1px solid currentColor;
    border-radius: 2px;
}

.home-phone__signals svg {
    width: 12px;
    height: 12px;
    margin-left: 2px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.home-phone__appbar {
    display: grid;
    grid-template-columns: 30px 1fr 28px;
    height: 53px;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border-top: 1px solid #edf1f0;
    border-bottom: 1px solid #dfe8e5;
    background: #fff;
}

.home-phone__logo {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 9px;
    color: #fff;
    background: var(--geo-green-700);
}

.home-phone__logo svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.home-phone__appbar>span:nth-child(2) {
    display: flex;
    flex-direction: column;
    line-height: 1.16;
}

.home-phone__appbar strong {
    font-size: 0.72rem;
}

.home-phone__appbar small {
    color: #6d7f80;
    font-size: 0.53rem;
}

.home-phone__appbar button {
    display: flex;
    width: 28px;
    height: 28px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #eff5f4;
}

.home-phone__appbar button i {
    width: 12px;
    height: 1px;
    background: var(--geo-text);
}

.home-phone__map {
    position: relative;
    height: 344px;
    overflow: hidden;
    background: #e4eadf url('../images/scrz-solo.png') center / cover no-repeat;
}

.home-phone__map::after {
    position: absolute;
    inset: 0;
    background: rgba(239, 246, 240, 0.1);
    content: "";
}

.home-phone__search {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    left: 12px;
    display: flex;
    height: 35px;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    border: 1px solid rgba(16, 45, 51, 0.08);
    border-radius: 10px;
    color: #687a7d;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 5px 14px rgba(16, 45, 51, 0.14);
    font-size: 0.59rem;
}

.home-phone__search svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: var(--geo-green-700);
    stroke-width: 2;
    stroke-linecap: round;
}

.home-phone__zoom {
    position: absolute;
    z-index: 2;
    top: 61px;
    right: 12px;
    display: flex;
    width: 28px;
    overflow: hidden;
    flex-direction: column;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(16, 45, 51, 0.15);
}

.home-phone__zoom span {
    display: grid;
    height: 27px;
    place-items: center;
    border-bottom: 1px solid #e5e9e8;
    color: var(--geo-blue-900);
    font-size: 0.86rem;
}

.home-phone__zoom span:last-child {
    border-bottom: 0;
}

.home-phone__marker {
    position: absolute;
    z-index: 2;
    width: 12px;
    height: 12px;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: var(--geo-orange);
    box-shadow: 0 3px 7px rgba(29, 46, 46, 0.25);
    transform: rotate(-45deg);
}

.home-phone__marker--one {
    top: 124px;
    left: 84px;
}

.home-phone__marker--two {
    top: 180px;
    right: 72px;
    background: var(--geo-green-700);
}

.home-phone__marker--three {
    top: 235px;
    left: 135px;
    background: #d49a2f;
}

.home-phone__location {
    position: absolute;
    z-index: 2;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 8px;
    color: var(--geo-blue-900);
    background: #fff;
    box-shadow: 0 4px 12px rgba(16, 45, 51, 0.15);
}

.home-phone__location svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

.home-phone__sheet {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    height: 177px;
    padding: 8px 14px 22px;
    border-top: 1px solid #dfe7e5;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -8px 24px rgba(16, 45, 51, 0.1);
}

.home-phone__handle {
    display: block;
    width: 35px;
    height: 4px;
    margin: 0 auto 9px;
    border-radius: 999px;
    background: #dbe2e1;
}

.home-phone__sheet-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.home-phone__sheet-title div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.home-phone__sheet-title strong {
    font-size: 0.69rem;
}

.home-phone__sheet-title small {
    color: #6f8081;
    font-size: 0.5rem;
}

.home-phone__sheet-title>span {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 7px;
    color: var(--geo-green-700);
    background: #eef7f4;
    font-size: 0.68rem;
}

.home-phone__layers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.home-phone__layers>span {
    display: grid;
    grid-template-columns: 9px 1fr 20px;
    min-width: 0;
    align-items: center;
    gap: 6px;
    padding: 7px;
    border: 1px solid #e6ebea;
    border-radius: 8px;
    color: #344d51;
    background: #fafcfc;
    font-size: 0.52rem;
    font-weight: 650;
}

.home-phone__layers>span>i {
    width: 8px;
    height: 8px;
    border: 1px solid currentColor;
    border-radius: 2px;
}

.home-phone__layers .is-block {
    color: #8a7650;
    background: #e6d6ae;
}

.home-phone__layers .is-lot {
    color: #6b8494;
    background: #d6e0e5;
}

.home-phone__layers .is-road {
    height: 2px;
    border: 0;
    border-radius: 0;
    color: #ba542f;
    background: #ba542f;
}

.home-phone__layers .is-point {
    border-radius: 50%;
    color: #527b70;
    background: #79a99b;
}

.home-phone__layers b {
    position: relative;
    width: 20px;
    height: 11px;
    border-radius: 999px;
    background: #cfd8d7;
}

.home-phone__layers b::after {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
    content: "";
}

.home-phone__layers b.is-on {
    background: var(--geo-green-700);
}

.home-phone__layers b.is-on::after {
    left: 11px;
}

.home-phone__homebar {
    position: absolute;
    z-index: 8;
    bottom: 7px;
    left: 50%;
    width: 92px;
    height: 4px;
    border-radius: 999px;
    background: #10191d;
    transform: translateX(-50%);
}

/* Cierre */
.home-v4 .cta-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    margin: 0 0 34px;
    padding: 43px 46px;
    border-radius: 24px;
    color: #fff;
    background: var(--geo-blue-900);
    box-shadow: 0 18px 44px rgba(18, 59, 90, 0.16);
}

.home-v4 .cta-banner .eyebrow {
    color: var(--geo-sky);
}

.home-v4 .cta-banner h3 {
    margin: 0 0 9px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    letter-spacing: -0.035em;
}

.home-v4 .cta-banner p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

.home-v4 .cta-actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.home-v4 .btn-light {
    min-width: 180px;
    color: var(--geo-blue-900);
    background: #fff;
}

.home-v4 .btn-light:hover {
    color: var(--geo-blue-900);
    background: var(--geo-sky-light);
}

.home-v4 .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.32);
    background: transparent;
}

.home-v4 .btn-ghost:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.08);
}

.home-v4 .footer-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 0 20px;
    border-top: 1px solid #dddcd4;
    color: var(--geo-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.home-v4 .footer-legal {
    max-width: 720px;
}

.home-v4 .footer-legal strong {
    display: block;
    margin-bottom: 6px;
    color: var(--geo-green-900);
    font-size: 0.88rem;
}

.home-v4 .footer-legal p {
    margin: 0 0 10px;
    font-size: 0.8rem;
    color: var(--geo-muted);
}

.home-v4 .footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--geo-muted);
}

.home-v4 .footer-links a {
    color: var(--geo-green-700);
    text-decoration: none;
    transition: color 150ms ease;
}

.home-v4 .footer-links a:hover {
    color: var(--geo-orange);
    text-decoration: underline;
}

.home-v4 .footer-meta {
    font-size: 0.74rem;
    color: #8c9793;
    text-align: right;
}

@media (max-width: 1120px) {
    .home-v4 .hero-wrap {
        grid-template-columns: 1fr 1fr;
        min-height: 650px;
    }

    .home-v4 .hero-copy {
        padding: 52px 38px;
    }

    .home-v4 .hero-copy h1 {
        font-size: clamp(3rem, 6vw, 4.25rem);
    }

    .home-v4 .hero-visual {
        min-height: 650px;
    }

    .home-v4 .layers-panel {
        grid-template-columns: 1fr;
    }

    .home-v4 .layers-panel__intro {
        max-width: 720px;
    }

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

    .home-v4 .arch-step:nth-child(2)::after,
    .home-v4 .arch-step:nth-child(4)::after {
        display: none;
    }

    .home-mobile {
        grid-template-columns: 1fr 350px;
        padding-inline: 38px;
    }
}

@media (max-width: 860px) {
    .home-v4 .hero-wrap {
        grid-template-columns: 1fr;
    }

    .home-v4 .hero-copy {
        min-height: auto;
        padding: 58px max(24px, 6vw);
    }

    .home-v4 .hero-visual {
        min-height: 500px;
    }

    .home-v4 .hero-visual img {
        min-height: 500px;
    }

    .home-v4 .section {
        padding: 58px 0;
    }

    .home-v4 .section-header,
    .home-v4 .grid-2,
    .home-v4 .cta-banner {
        grid-template-columns: 1fr;
    }

    .home-v4 .section-header {
        gap: 16px;
    }

    .home-mobile {
        grid-template-columns: 1fr;
        gap: 38px;
        min-height: 0;
        margin: 52px 0 64px;
        padding: 46px 28px;
    }

    .home-mobile__copy {
        max-width: 650px;
    }

    .home-phone-wrap {
        min-height: 620px;
    }

    .home-v4 .cta-actions {
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .home-v4 .hero-copy {
        padding: 44px 24px;
    }

    .home-v4 .hero-copy h1 {
        font-size: clamp(2.75rem, 13vw, 3.6rem);
    }

    .home-v4 .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-v4 .hero-actions>div,
    .home-v4 .btn {
        width: 100%;
    }

    .home-v4 .hero-metrics {
        grid-template-columns: 1fr;
    }

    .home-v4 .metric {
        display: grid;
        grid-template-columns: 62px 1fr;
        align-items: center;
        padding: 14px 0;
        border-bottom: 1px solid #dcd6cb;
    }

    .home-v4 .metric+.metric {
        padding-left: 0;
        border-left: 0;
    }

    .home-v4 .metric strong {
        margin: 0;
    }

    .home-v4 .hero-visual,
    .home-v4 .hero-visual img {
        min-height: 390px;
    }

    .home-v4 .hero-visual figcaption {
        bottom: 18px;
        font-size: 0.6rem;
    }

    .home-v4 .mini-features,
    .home-v4 .layers,
    .home-v4 .arch-grid {
        grid-template-columns: 1fr;
    }

    .home-v4 .card-body,
    .home-v4 .layers-panel,
    .home-v4 .architecture {
        padding: 20px;
    }

    .home-v4 .arch-step::after {
        display: none;
    }

    .home-mobile {
        padding: 40px 18px;
        border-radius: 22px;
    }

    .home-mobile__copy h2 {
        font-size: clamp(2.2rem, 11vw, 3rem);
    }

    .home-phone-wrap {
        min-height: 548px;
        margin-bottom: -72px;
        transform: scale(0.88);
        transform-origin: center top;
    }

    .home-v4 .cta-banner {
        padding: 36px 22px;
        border-radius: 20px;
    }

    .home-v4 .cta-actions,
    .home-v4 .cta-actions>div {
        width: 100%;
    }

    .home-v4 .footer-box {
        align-items: flex-start;
        flex-direction: column;
    }
}