/* ===================================
    IProgrammer - estilos propios sobre Crafto / Conference
====================================== */
/* granulado sutil del demo cryptocurrency: va en el fondo de la seccion, detras del contenido */
.ip-grain {
    background-image: url('../images/ip-grain.png?v=202610082152');
    background-size: 200px 200px;
}
/* fondo granulado animado (como el del demo minimalistic-portfolio, pero solo dentro de su seccion) */
.ip-noise {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.ip-bg-deep {
    background-color: #0d0d0f;
}
/* frase que se revela con el scroll: lineas muy juntas */
.ip-reveal {
    line-height: 0.92;
}
/* cada linea se pinta con un fondo recortado al texto; el relleno evita que se corten la g, la p y las tildes */
.ip-reveal .heading-line-wrap {
    /* los margenes negativos contiguos no se suman, por eso va todo en el inferior */
    margin: 0 0 -0.27em;
    padding: 0.11em 0 0.13em;
}
/* texto gigante y tenue que cruza la pantalla con el scroll (el JS mueve --ip-giant-x) */
.ip-giant {
    display: inline-block;
    padding-bottom: 0.18em;
    font-size: clamp(38px, 7.6vw, 150px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    white-space: nowrap;
    opacity: 0.16;
    transform: translate3d(var(--ip-giant-x, 0px), 0, 0);
    will-change: transform;
}
/* ===================================
    Cursor global (demo scattered-portfolio): punto y aro, en azul
====================================== */
:root {
    /* el azul del simbolo del logo */
    --ip-cursor-color: #00f6ff;
}
/* igual que en el demo: disco de color relleno con un punto oscuro en el centro */
@media (hover: hover) and (pointer: fine) {
    .custom-cursor .circle-cursor-outer {
        border: 1px solid transparent;
        background: var(--ip-cursor-color);
        /* algo mas pequeno que el de Crafto (30px) y semitransparente */
        width: 22px;
        height: 22px;
        margin-left: -11px;
        margin-top: -11px;
        opacity: 0.55;
        /* sin retardo en el movimiento: el disco va pegado al puntero */
        transition: opacity 0.3s ease;
        will-change: transform;
    }
    /* arrastrar una imagen o un enlace congela los eventos del mouse y dejaba el disco clavado */
    .custom-cursor img,
    .custom-cursor a {
        -webkit-user-drag: none;
        user-drag: none;
    }
    .custom-cursor .circle-cursor-inner {
        background: #0d0d0f;
    }
    .custom-cursor .circle-cursor-inner.cursor-link-hover {
        background-color: #0d0d0f;
        width: 10px;
        height: 10px;
        margin-left: -5px;
        margin-top: -5px;
    }
}

/* ===================================
    Tipografia
====================================== */
/* texto corrido con interlineado de 1.2 veces su propio tamano */
body,
p {
    line-height: 1.2;
}
/* Las clases de tamano de Crafto (fs-19, fs-20...) traen un interlineado fijo en px, muy abierto.
   Se igualan a 1.2 salvo donde el propio elemento pide otro con una clase lh-*. */
section [class*="fs-"]:not([class*="lh-"]):not(.ip-reveal):not(i),
footer [class*="fs-"]:not([class*="lh-"]):not(i) {
    line-height: 1.2;
}
/* Las palabras nunca se parten por la mitad (Crafto lo permite en todo el body) */
body {
    word-break: normal;
    overflow-wrap: break-word;
}
/* Numeros en contorno: Montserrat trae trazos superpuestos y con el contorno simple se ven
   lineas dentro de cada cifra. Se pinta primero el contorno y encima el relleno del color
   del fondo, que tapa esas lineas; por eso el grosor va al doble. */
.text-outline {
    paint-order: stroke fill;
    -webkit-text-fill-color: var(--ip-outline-fill, #17161a);
}
.text-outline-width-1px {
    -webkit-text-stroke-width: 2px;
}
.text-outline-width-2px {
    -webkit-text-stroke-width: 4px;
}
.bg-dark-midnight-blue {
    --ip-outline-fill: #17161a;
}
.bg-midnight-blue {
    --ip-outline-fill: #1c1c1f;
}
.ip-case-visual {
    --ip-outline-fill: var(--base-color-deep);
}
/* al pasar el cursor la tarjeta se tine de morado: el numero se rellena de cian */
.ip-problem:hover .text-outline {
    -webkit-text-fill-color: var(--highlight-color);
}
/* franja 01-02-03: margenes mas compactos para que el texto quepa sin partirse */
.ip-strip .feature-box {
    flex-wrap: nowrap;
    justify-content: center;
}
.ip-strip .feature-box-icon {
    flex-shrink: 0;
    margin: 0 28px 0 0 !important;
}
.ip-strip .feature-box-content {
    flex: 0 1 auto;
    padding: 0 0 0 28px !important;
    text-align: left;
}
.ip-strip .feature-box-content span {
    font-size: 22px;
}
@media (max-width: 767px) {
    .ip-strip .feature-box {
        justify-content: flex-start;
    }
}
/* el correo del pie es una sola "palabra": en columnas angostas se permite partirlo para que no se salga */
.ip-footer a[href^="mailto:"] {
    max-width: 100%;
    overflow-wrap: anywhere;
}
@media (max-width: 991px) {
    .ip-footer a[href^="mailto:"] {
        font-size: 14px;
    }
}
@media (max-width: 1399px) {
    .ip-strip .feature-box-icon {
        margin-right: 20px !important;
    }
    .ip-strip .feature-box-content {
        padding-left: 20px !important;
    }
    .ip-strip .feature-box-content span {
        font-size: 19px;
    }
}
/* Titulos de seccion: peso normal, para que la palabra resaltada destaque.
   Uso: <h2 class="ip-title">Casos <span class="ip-hl">reales</span></h2>
   y con color: <span class="ip-hl ip-hl-color">reales</span> */
.ip-title {
    font-weight: 400;
}
.ip-hl {
    font-weight: 700;
}
.ip-hl-color {
    color: var(--highlight-color);
}
/* utilidades de color de marca */
.text-highlight-color {
    color: var(--highlight-color) !important;
}
.bg-highlight-color {
    background-color: var(--highlight-color) !important;
}
.text-outline-color-highlight-color {
    -webkit-text-stroke-color: var(--highlight-color);
}
.ip-bg-base-deep {
    background-color: var(--base-color-deep);
}

/* logo */
/* el SVG no trae ancho ni alto propios: se fija el alto y el ancho sale de su proporcion (713.82 x 197.14) */
header .navbar-brand img {
    height: 48px;
    max-height: none;
    aspect-ratio: 713.82 / 197.14;
}
.ip-footer .footer-logo img {
    width: auto;
    height: 46px;
    max-height: none;
    aspect-ratio: 713.82 / 197.14;
}
@media (max-width: 575px) {
    header .navbar-brand img {
        height: 42px;
    }
    .ip-footer a[href^="mailto:"] {
        font-size: 13px;
    }
}

/* ===================================
    Hero con video sincronizado al scroll
====================================== */
.ip-hero {
    --ip-next-bg: #17161a;
    position: relative;
    height: 100vh;
    padding: 0;
    overflow: visible;
    background-color: #000;
}
/* el JS activa el recorrido de scroll; sin JS queda como un hero normal */
.ip-hero.ip-hero--pinned {
    height: 170vh;
}
.ip-hero-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100lvh;
    overflow: hidden;
    background-color: #000;
}
.ip-hero-media {
    position: absolute;
    inset: 0;
    filter: blur(var(--ip-blur, 0px)) brightness(var(--ip-bright, 1)) saturate(var(--ip-sat, 1));
    transform: scale(var(--ip-scale, 1));
    will-change: filter, transform;
}
.ip-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* el plato queda a la derecha y deja libre la columna de texto */
    object-position: 0% 50%;
    background-color: #000;
}
.ip-hero-scrub {
    opacity: 0;
}
/* en pantallas anchas y bajas el plato queda mas centrado: se corre a la derecha para no chocar con el titular */
@media (min-width: 992px) and (min-aspect-ratio: 17/10) {
    .ip-hero-video {
        transform: translateX(10vw);
    }
}
@media (min-width: 992px) and (min-aspect-ratio: 2/1) {
    .ip-hero-video {
        transform: translateX(15vw);
    }
}
.ip-hero-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 38%, rgba(0, 0, 0, 0) 60%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 22%);
}
/* particulas del demo freelancer, en claro para que se vean sobre el video */
.ip-hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
/* funde el final del hero con la seccion siguiente */
.ip-hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    pointer-events: none;
    opacity: var(--ip-fade, 0);
    background: linear-gradient(180deg, rgba(23, 22, 26, 0) 0%, var(--ip-next-bg) 100%);
}
.ip-hero-beat {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 6vw 80px;
    color: var(--white);
    will-change: opacity, transform;
}
.ip-hero-beat > * {
    max-width: 46vw;
}
.ip-beat-3 {
    opacity: 0;
    visibility: hidden;
}
.ip-beat-3 {
    align-items: center;
    text-align: center;
}
.ip-beat-3 > * {
    max-width: 720px;
}
.ip-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    font-family: var(--alt-font);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.ip-hero-eyebrow:before {
    content: '';
    width: 20px;
    height: 4px;
    background-color: var(--base-color);
}
.ip-hero-title {
    margin: 0;
    font-family: var(--alt-font);
    font-weight: 600;
    line-height: 0.95;
    color: var(--white);
}
.ip-hero-title .ip-line-outline {
    display: block;
    font-size: clamp(28px, 3.3vw, 62px);
    font-weight: 400;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.85);
}
.ip-hero-title .ip-line-solid {
    display: block;
    margin-top: 0.06em;
    font-size: clamp(42px, 5.3vw, 100px);
    letter-spacing: -0.05em;
    text-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
}
.ip-hero-title .ip-line-solid i {
    font-style: normal;
    color: var(--base-color);
}
/* remate: va en la misma pantalla que el titular, para que la idea se lea completa de entrada */
.ip-hero-punch {
    margin: 0.7em 0 0;
    font-family: var(--alt-font);
    font-size: clamp(22px, 2.5vw, 46px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--white);
}
/* en linea aparte, para que no se monte sobre el plato */
.ip-hero-punch em {
    display: block;
    font-style: normal;
    color: var(--base-color);
}
.ip-hero-support {
    margin-bottom: 40px;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.85);
}
.ip-hero-note {
    margin: 22px 0 0;
    font-size: 14px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.55);
}
/* fila de tecnologias bajo el boton del hero */
.ip-beat-3 > .ip-hero-tech {
    max-width: min(1240px, 92vw);
    margin-top: 54px;
}
.ip-hero-tech-label {
    display: block;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.ip-hero-tech ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ip-hero-tech li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    min-width: 62px;
    font-size: 12px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.7);
}
.ip-hero-tech li i {
    font-size: 30px;
    line-height: 1;
    color: var(--white);
}
@media (max-width: 991px) and (orientation: portrait) {
    .ip-beat-3 > .ip-hero-tech {
        margin-top: 30px;
    }
    .ip-hero-tech-label {
        margin-bottom: 16px;
        font-size: 11px;
    }
    .ip-hero-tech ul {
        gap: 16px 14px;
    }
    .ip-hero-tech li {
        min-width: 56px;
        font-size: 10px;
    }
    .ip-hero-tech li i {
        font-size: 22px;
    }
}
.ip-hero-hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--alt-font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
}
.ip-hero-hint:after {
    content: '';
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, var(--white), rgba(255, 255, 255, 0));
    transform-origin: top;
    animation: ip-hint 1.8s ease-in-out infinite;
}
@keyframes ip-hint {
    0% { transform: scaleY(0); opacity: 0; }
    40% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

/* formato vertical: video de movil, texto arriba y plato abajo */
@media (max-width: 991px) and (orientation: portrait) {
    .ip-hero.ip-hero--pinned {
        height: 165vh;
    }
    .ip-hero-video {
        object-fit: contain;
        object-position: 50% 100%;
    }
    .ip-hero-shade {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 45%);
    }
    .ip-hero-beat {
        justify-content: flex-start;
        padding: 17vh 24px 40px;
    }
    .ip-hero-beat > * {
        max-width: 100%;
    }
    .ip-beat-3 {
        justify-content: center;
        padding-top: 40px;
    }
    .ip-hero-eyebrow {
        margin-bottom: 18px;
        font-size: 13px;
    }
    .ip-hero-title .ip-line-outline {
        font-size: clamp(24px, 7.4vw, 56px);
    }
    .ip-hero-punch {
        font-size: clamp(20px, 5.8vw, 40px);
    }
    .ip-hero-title .ip-line-solid {
        font-size: clamp(36px, 11.4vw, 92px);
    }
    .ip-hero-hint {
        bottom: 22px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .ip-hero-hint:after {
        animation: none;
    }
}

/* header sticky: transparente sobre el hero y oscuro translucido al hacer scroll */
header.sticky.sticky-active .navbar.header-reverse.header-dark.glass-effect {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background-color: rgba(23, 22, 26, 0.78) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
header.sticky .navbar-brand {
    padding: 22px 0;
}
header .navbar.header-transparent .navbar-nav .nav-link,
header.sticky .navbar.header-transparent .navbar-nav .nav-link {
    color: var(--white);
}
header .navbar.header-transparent .navbar-nav .nav-link:hover {
    color: var(--white);
    opacity: 0.7;
}
/* boton "Hablemos": solido en el morado de marca, tambien con el header fijo */
header .navbar.header-transparent .header-button .btn,
.sticky .header-transparent .header-button .btn {
    border-color: var(--base-color);
    background-color: var(--base-color);
    color: var(--white);
}
header .navbar.header-transparent .header-button .btn:hover,
.sticky .header-transparent .header-button .btn:hover {
    border-color: var(--base-color-deep);
    background-color: var(--base-color-deep);
    color: var(--white);
}
@media (max-width: 991px) {
    header .navbar.header-transparent {
        background-color: transparent !important;
        box-shadow: none;
    }
    header .navbar.header-transparent .navbar-toggler-line {
        background-color: var(--white);
    }
}

/* ===================================
    Secciones
====================================== */
/* seccion de las lucecitas enredadas: la foto es el fondo y se funde con las secciones vecinas */
.ip-cables-section {
    position: relative;
    overflow: hidden;
    padding-top: 130px;
    padding-bottom: 130px;
}
/* la foto siempre ocupa el ancho completo, asi las luces no invaden la columna de texto.
   Va en dos capas iguales: una difuminada de fondo y otra nitida que solo se ve dentro del marco */
.ip-cables-photo {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    aspect-ratio: 1672 / 941;
    transform: translateY(-50%);
    background: url('../images/cables.jpg?v=202610082152') center / 100% 100% no-repeat;
}
.ip-cables-photo-blur {
    filter: blur(9px) brightness(0.7);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(90deg, #000 72%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(90deg, #000 72%, transparent 100%);
    mask-composite: intersect;
}
.ip-cables-section:after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url('../images/demo-conference-about-bg.png?v=202610082152') right top no-repeat,
        linear-gradient(180deg, #17161a 0%, rgba(23, 22, 26, 0) 14%),
        linear-gradient(0deg, #17161a 0%, rgba(23, 22, 26, 0) 14%);
    /* el arco se achica con la pantalla para no tapar el titulo */
    background-size: 22vw auto, auto, auto;
    pointer-events: none;
}
@media (min-width: 992px) and (max-width: 1399px) {
    .ip-cables-photo {
        left: -7%;
    }
}
.ip-cables-stage {
    width: 128%;
    margin-left: -22%;
}
.ip-cables-frame {
    aspect-ratio: 1 / 1;
}
.ip-cables-frame .atropos-inner {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
/* recorte nitido de la misma foto; el JS lo alinea con el fondo. Sobresale del marco para tener margen al inclinarse */
.ip-cables-crop {
    position: absolute;
    inset: -8%;
    background: url('../images/cables.jpg?v=202610082152') no-repeat;
}
.ip-cables-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1), transparent 55%);
    pointer-events: none;
}
.ip-cables-title {
    font-size: clamp(28px, 2.75vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}
.ip-cables-title span {
    display: block;
}
.ip-cables-item {
    display: flex;
    align-items: center;
    gap: 28px;
    text-align: left;
}
.ip-icon-box {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background-color: rgba(23, 22, 26, 0.6);
    font-size: 30px;
    color: var(--white);
}
@media (min-width: 992px) {
    .ip-cables-title span {
        white-space: nowrap;
    }
}
/* en vertical el texto va arriba y las luces quedan debajo */
@media (max-width: 991px) {
    .ip-cables-section {
        padding-top: 80px;
        padding-bottom: 92vw;
    }
    .ip-cables-photo-blur {
        top: 0;
        height: 100%;
        aspect-ratio: auto;
        transform: none;
        filter: none;
        background: url('../images/cables-m.jpg?v=202610082152') center bottom / 100% auto no-repeat;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent calc(100% - 150vw), #000 calc(100% - 95vw), #000 calc(100% - 16vw), transparent 100%);
        -webkit-mask-composite: source-over;
        mask-image: linear-gradient(180deg, transparent 0%, transparent calc(100% - 150vw), #000 calc(100% - 95vw), #000 calc(100% - 16vw), transparent 100%);
        mask-composite: add;
    }
    .ip-cables-section:after {
        display: none;
    }
    .ip-icon-box {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    .ip-cables-item {
        gap: 18px;
    }
}
/* titular gigante y cuadricula de problemas (seccion "facts figure" del demo design-agency) */
.ip-display {
    font-family: 'Bebas Neue', var(--alt-font);
    font-size: clamp(32px, 10.4vw, 156px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.ip-display.text-sliding-line {
    display: block;
    padding-top: 0.08em;
}
.ip-problems {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.ip-problem {
    min-height: 230px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ip-problem .feature-box-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 30px;
    padding: 36px 34px 28px;
}
.ip-problem .h3 {
    flex-shrink: 0;
    white-space: nowrap;
}
.ip-problem-overlay {
    background: linear-gradient(to top, rgba(170, 70, 255, 0.3) 0%, transparent 100%);
}
@media (max-width: 575px) {
    .ip-problem {
        min-height: 0;
    }
    .ip-problem .feature-box-content {
        padding: 24px 22px;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: flex-end;
        gap: 20px;
    }
}
/* ===================================
    Colores por departamento (los de los iconos de servicios)
====================================== */
.ip-dept-web { --ip-dept: #aa46ff; }
.ip-dept-auto { --ip-dept: #ffb000; }
.ip-dept-growth { --ip-dept: #00a22b; }
.ip-dept-mark { --ip-dept: #00f6ff; }

/* dolor -> departamento que lo resuelve */
.ip-pain {
    position: relative;
    transition: background-color 0.3s ease;
}
.ip-pain:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: var(--ip-dept);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.ip-pain:hover {
    background-color: #232327 !important;
}
.ip-pain:hover:after {
    transform: scaleX(1);
}
.ip-pain-dept {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--alt-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
}
.ip-pain-dept img {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
}
/* tarjetas de servicio */
.ip-service {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background-color: #17161a;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.ip-service:hover {
    border-color: var(--ip-dept);
    transform: translateY(-6px);
}
.ip-service-icon {
    position: relative;
    display: block;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
}
/* el icono, enorme y tenue, asoma por la esquina al pasar el cursor */
.ip-service-bg {
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.ip-service:hover .ip-service-bg {
    opacity: 0.1;
}
.ip-service h3 {
    position: relative;
    margin-bottom: 12px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.ip-service p {
    position: relative;
    margin: 0;
    font-size: 16px;
}
/* seccion "No somos disenadores de interiores": foto tenue y difuminada con parallax sobre el morado */
.ip-interior {
    padding-top: 180px;
    padding-bottom: 180px;
}
/* la capa es mas alta que la seccion para tener recorrido; el JS mueve --ip-parallax-y */
.ip-interior-photo {
    position: absolute;
    top: -22%;
    left: -3%;
    width: 106%;
    height: 144%;
    background: url('../images/diseno-interior.jpg?v=202610082152') center / cover no-repeat;
    opacity: 0.42;
    /* entra nitida y se va difuminando con el scroll (el JS mueve --ip-parallax-blur) */
    filter: blur(var(--ip-parallax-blur, 0px));
    transform: translate3d(0, var(--ip-parallax-y, 0px), 0);
    will-change: transform, filter;
}
.ip-interior-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    font-size: 36px;
    color: var(--highlight-color);
}
@media (max-width: 767px) {
    .ip-interior {
        padding-top: 110px;
        padding-bottom: 110px;
    }
}
/* la columna acompana el scroll hasta que termina su seccion */
@media (min-width: 992px) {
    .ip-sticky-col {
        position: sticky;
        top: 130px;
        align-self: flex-start;
    }
}
.ip-verb {
    padding: 34px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
/* columna de ancho fijo para el numero: asi los textos arrancan todos en la misma vertical */
.ip-verb .feature-box {
    flex-wrap: nowrap;
}
.ip-verb .feature-box-icon {
    flex: 0 0 96px;
    width: 96px;
    margin-right: 30px !important;
}
.ip-verb .feature-box-content {
    flex: 1 1 auto;
    min-width: 0;
}
@media (max-width: 575px) {
    .ip-verb .feature-box-icon {
        flex-basis: 70px;
        width: 70px;
        margin-right: 18px !important;
    }
}
.ip-verb:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ip-step {
    height: 100%;
    padding: 45px 30px 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
/* seccion con el video de rotacion de fondo, tenue y difuminado */
.ip-video-section {
    position: relative;
    overflow: hidden;
    /* "clip" recorta igual que "hidden" pero no impide que la columna izquierda se quede fija al hacer scroll */
    overflow: clip;
}
.ip-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.14;
    filter: blur(12px);
    transform: scale(1.1);
    pointer-events: none;
}
/* casos: panel visual de cada tarjeta y fila de tecnologias */
.ip-case-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 330px;
    overflow: hidden;
    background: var(--base-color-deep) url('../images/vertical-line-bg-dark.svg?v=202610082152') center top;
    color: var(--white);
}
.ip-case-visual i {
    font-size: 84px;
    line-height: 1;
}
.ip-case-visual span {
    position: absolute;
    right: 18px;
    bottom: -12px;
    font-size: 110px;
    line-height: 1;
    letter-spacing: -4px;
    opacity: 0.45;
}
.ip-skill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 10px;
    font-family: var(--alt-font);
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    opacity: 0.75;
    transition: opacity 0.2s;
}
.ip-skill:hover {
    opacity: 1;
}
.ip-skill i {
    font-size: 38px;
    line-height: 1;
}
.ip-skill span {
    white-space: nowrap;
}
@media (max-width: 575px) {
    .ip-case-visual {
        min-height: 220px;
    }
    .ip-skill {
        gap: 10px;
        padding: 14px 0;
        font-size: 17px;
    }
    .ip-skill i {
        font-size: 30px;
    }
}
.ip-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ip-chip {
    padding: 7px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    background: transparent;
    font-size: 15px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.ip-chip:hover,
.ip-chip.active {
    border-color: var(--base-color);
    background-color: var(--base-color);
    color: var(--white);
}
.ip-chip:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}
.ip-form .form-control {
    color: var(--white);
}
.ip-form .form-control::placeholder {
    color: var(--medium-gray);
}
.ip-form .form-results.alert-success {
    color: #7ad39a;
}
.ip-form .form-results.alert-danger {
    color: #ff7a8a;
}
/* trampa para bots: el campo no se muestra a las personas */
.ip-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
[data-ip-whatsapp][hidden] {
    display: none !important;
}

/* ===================================
    Footer (estructura del demo cryptocurrency)
====================================== */
.ip-footer {
    font-size: 16px;
    line-height: 1.2;
    padding-top: 90px;
}
.ip-footer .input-small {
    font-size: 15px;
    color: var(--white);
}
.ip-footer ul {
    padding: 0;
    list-style: none;
}
.ip-footer ul li {
    margin-bottom: 10px;
}
.ip-footer .fs-17 {
    margin-bottom: 14px !important;
}
.ip-footer ul li a:hover {
    color: var(--white);
}
.ip-footer .form-results.alert-success {
    color: #7ad39a;
}
.ip-footer .form-results.alert-danger {
    color: #ff7a8a;
}

/* ===================================
    Movil: lectura tranquila
    Titulos y destacados mas contenidos para que todo quede en la misma escala.
====================================== */
@media (max-width: 767px) {
    section {
        padding-top: 64px;
        padding-bottom: 64px;
    }
    h1.ip-title,
    .h1.ip-title {
        font-size: 30px;
        line-height: 1.15;
        letter-spacing: -1px !important;
    }
    h2.ip-title {
        font-size: 27px;
        line-height: 1.18;
        letter-spacing: -0.8px !important;
    }
    h3.ip-title,
    h4.ip-title {
        font-size: 22px;
        line-height: 1.22;
        letter-spacing: -0.4px !important;
    }
    .ip-title > .w-20px {
        width: 14px !important;
        height: 3px !important;
        margin-right: 8px !important;
    }
    /* textos destacados bajo los titulos */
    section .fs-28,
    section .fs-26,
    section .fs-24,
    section .fs-22 {
        font-size: 18px !important;
    }
    section .fs-20,
    section .fs-19 {
        font-size: 17px !important;
    }
    body,
    p {
        font-size: 16px;
    }
    /* numeros en contorno */
    section .h1.text-outline {
        font-size: 40px;
    }
    .ip-problem .h3.text-outline {
        font-size: 28px;
    }
    .ip-cables-title {
        font-size: 27px;
    }
    .ip-reveal {
        font-size: 30px !important;
        letter-spacing: -1px !important;
    }
    #casos .h2.lh-44 {
        font-size: 34px;
    }
    .ip-interior {
        padding-top: 84px;
        padding-bottom: 84px;
    }
    .ip-interior-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
        font-size: 26px;
    }
    .ip-service h3 {
        font-size: 19px;
    }
    .ip-step {
        padding: 30px 24px 34px;
    }
    /* hero: titular algo mas contenido */
    .ip-hero-title .ip-line-outline {
        font-size: clamp(22px, 6.4vw, 34px);
    }
    .ip-hero-title .ip-line-solid {
        font-size: clamp(34px, 10vw, 54px);
    }
    .ip-hero-punch {
        font-size: clamp(19px, 5.2vw, 28px);
    }
    .ip-hero-support {
        margin-bottom: 26px;
        font-size: 17px;
    }
    /* el segundo contenido del hero va hacia abajo: al soltarse no deja media pantalla vacia */
    .ip-hero .ip-beat-3 {
        justify-content: flex-end;
        padding-bottom: 9vh;
    }
    /* franja 01-02-03: tres columnas centradas, numero arriba y texto debajo */
    .ip-strip {
        padding: 0 4px;
    }
    .ip-strip > .col {
        flex: 0 0 33.333%;
        width: 33.333%;
        margin-bottom: 0 !important;
        padding: 0 6px;
    }
    .ip-strip .feature-box {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
    }
    .ip-strip .feature-box-icon {
        margin: 0 0 10px !important;
    }
    .ip-strip .feature-box-icon .h1 {
        font-size: 34px;
    }
    .ip-strip .feature-box-content {
        padding: 0 !important;
        border: 0 !important;
        text-align: center;
    }
    .ip-strip .feature-box-content span {
        font-size: 14px !important;
        line-height: 1.25;
    }
    section.half-section {
        padding-top: 44px;
        padding-bottom: 44px;
    }
}

/* footer en movil y tablet: logo solo, luego Soluciones y Empresa en dos columnas, contacto y suscripcion */
@media (max-width: 991px) {
    .ip-footer .ip-f-logo,
    .ip-footer .ip-f-contacto,
    .ip-footer .ip-f-suscribe {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
    .ip-footer .ip-f-soluciones,
    .ip-footer .ip-f-empresa {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }
    .ip-footer .ip-f-logo { order: 1 !important; margin-bottom: 34px !important; }
    .ip-footer .ip-f-soluciones { order: 2 !important; margin-bottom: 30px !important; }
    .ip-footer .ip-f-empresa { order: 3 !important; margin-bottom: 30px !important; }
    .ip-footer .ip-f-contacto { order: 4 !important; margin-bottom: 30px !important; }
    .ip-footer .ip-f-suscribe { order: 5 !important; margin-bottom: 0 !important; }
    .ip-footer a[href^="mailto:"] {
        font-size: 16px;
    }
    .ip-footer {
        padding-top: 60px;
    }
}

/* Sin zoom en pantallas tactiles. iOS ignora user-scalable=no, asi que tambien se limita el gesto:
   solo se permite desplazar, no pellizcar ni ampliar con doble toque. */
@media (hover: none) and (pointer: coarse) {
    html,
    body {
        touch-action: pan-x pan-y;
    }
    /* iOS amplia la pagina al enfocar campos con letra menor de 16px */
    input,
    textarea,
    select,
    .ip-footer .input-small {
        font-size: 16px !important;
    }
}

/* ===================================
    Botones: todos en forma de pildora
====================================== */
.btn,
.btn.btn-round-edge,
.btn.btn-switch-text,
.btn.btn-switch-text > span {
    border-radius: 100px !important;
}
/* suscripcion del pie: campo y boton "Enviar" con el mismo redondeo */
.ip-footer .newsletter-style-02 input {
    border-radius: 100px !important;
    padding-left: 22px !important;
}
.ip-footer .newsletter-style-02 .btn {
    border-radius: 0 100px 100px 0 !important;
}

/* la franja 01-02-03 se monta sobre el final del hero: fondo que nace transparente para que no se vea el corte */
.ip-strip-section {
    position: relative;
    z-index: 2;
    --ip-outline-fill: #17161a;
    background: linear-gradient(180deg, rgba(23, 22, 26, 0) 0, #17161a 70px);
}

/* recorta lo que se sale (como overflow: hidden) sin impedir que una columna interior quede fija al hacer scroll */
.ip-clip {
    overflow: hidden;
    overflow: clip;
}

/* ===================================
    Formulario de contacto: panel de vidrio (aproximacion en CSS al "liquid glass")
    Fondo translucido que desenfoca y satura lo que hay detras, borde luminoso y brillo superior.
====================================== */
.ip-form {
    position: relative;
    margin: 0;
    padding: 44px 30px 38px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 38%, rgba(255, 255, 255, 0.02) 62%, rgba(170, 70, 255, 0.07) 100%);
    -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.15);
    backdrop-filter: blur(22px) saturate(180%) brightness(1.15);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06),
        inset 0 0 28px rgba(255, 255, 255, 0.04),
        0 30px 70px rgba(0, 0, 0, 0.45);
}
/* reflejo suave en la esquina superior, como luz sobre el cristal */
.ip-form:before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120% 60% at 12% 0%, rgba(255, 255, 255, 0.14), transparent 60%);
    pointer-events: none;
}
.ip-form > *:not(.ip-hp) {
    position: relative;
}
/* campos y chips: cristal mas fino dentro del panel */
.ip-form .form-control {
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.06) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.ip-form .form-control:focus {
    border-color: rgba(0, 246, 255, 0.6) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}
.ip-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.ip-form .ip-chip {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
}
.ip-form .ip-chip:hover,
.ip-form .ip-chip.active {
    border-color: var(--base-color);
    background-color: var(--base-color);
    color: var(--white);
}
/* el video de fondo se ve un poco mas para que el cristal tenga algo que refractar */
#contacto .ip-bg-video {
    opacity: 0.24;
    filter: blur(8px);
}
/* si el navegador no soporta el desenfoque de fondo, el panel se oscurece para mantener la lectura */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ip-form {
        background: rgba(30, 28, 36, 0.92);
    }
}
@media (max-width: 767px) {
    .ip-form {
        padding: 30px 14px 28px;
        border-radius: 24px;
    }
}

/* ===================================
    Encabezados semanticos: son h3 para buscadores y lectores de pantalla,
    pero conservan el aspecto del texto que reemplazan (su tamano lo dan las clases fs-*)
====================================== */
h3.ip-h {
    margin-top: 0;
    font-family: var(--primary-font);
    font-weight: 400;
    letter-spacing: 0;
}
h3.ip-h.alt-font {
    font-family: var(--alt-font);
}
h3.ip-h.fw-500 {
    font-weight: 500;
}
h3.ip-h:not([class*="mb-"]) {
    margin-bottom: 0;
}
div.h1,
div.h3 {
    font-family: var(--alt-font);
}
div.h3.text-outline {
    font-weight: 700;
}

/* ===================================
    Preguntas frecuentes
====================================== */
.ip-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ip-faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ip-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    list-style: none;
    cursor: pointer;
}
.ip-faq-item summary::-webkit-details-marker {
    display: none;
}
.ip-faq-item summary h3 {
    font-family: var(--alt-font);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--white);
}
.ip-faq-item summary i {
    flex-shrink: 0;
    font-size: 22px;
    color: var(--highlight-color);
    transition: transform 0.25s ease;
}
.ip-faq-item[open] summary i {
    transform: rotate(45deg);
}
.ip-faq-item summary:focus-visible {
    outline: 2px solid var(--highlight-color);
    outline-offset: 4px;
}
.ip-faq-item p {
    margin: 0;
    padding: 0 40px 26px 0;
    line-height: 1.45;
}
@media (max-width: 767px) {
    .ip-faq-item summary {
        padding: 18px 0;
    }
    .ip-faq-item summary h3 {
        font-size: 17px;
    }
    .ip-faq-item p {
        padding-right: 0;
    }
}

/* ===================================
    Paginas interiores
====================================== */
/* primera seccion de una pagina sin hero: deja sitio al header, que va encima */
.ip-page-top {
    padding-top: 190px;
}
.ip-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}
.ip-breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
}
.ip-breadcrumb a:hover {
    color: var(--white);
}
/* enlace del menu de la pagina actual */
header .navbar .navbar-nav .nav-link.active {
    color: var(--highlight-color) !important;
    opacity: 1;
}
/* llamado a contacto al final de las paginas */
.ip-cta {
    padding-top: 150px;
    padding-bottom: 150px;
}
@media (min-width: 992px) {
    .ip-breadcrumb {
        justify-content: flex-start;
    }
}
@media (max-width: 991px) {
    .ip-breadcrumb {
        justify-content: center;
    }
}
@media (max-width: 767px) {
    .ip-page-top {
        padding-top: 130px;
    }
    .ip-cta {
        padding-top: 90px;
        padding-bottom: 90px;
    }
}
