/* ===== INOSCLOCK ===== */
.page-ic {
    --ic-red: #e31b23;
    --ic-red-dark: #a3000c;
    --ic-ink: #111827;
    --ic-muted: #5b6475;
    --ic-line: #ebe7e4;
    --ic-bg: #faf7f5;
    --ic-ease: cubic-bezier(0.22, 1, 0.36, 1);
    background: #ffffff;
}

.page-ic .main-content {
    /* flow-root evita que el margen negativo del logo arrastre el contenido sobre el hero */
    display: flow-root;
    padding: 0;
    overflow-x: clip;
    background: #ffffff;
}

.page-ic .site-footer {
    margin-top: 0;
}

.page-ic .is-offscreen,
.page-ic .is-offscreen *,
.page-ic .is-offscreen *::before,
.page-ic .is-offscreen *::after {
    animation-play-state: paused !important;
}

.page-ic .ic-reveal {
    opacity: 0;
    translate: 0 28px;
    transition: opacity 0.8s ease, translate 0.8s var(--ic-ease);
}

.page-ic .ic-reveal.is-in {
    opacity: 1;
    translate: none;
}

/* Botones */
.ic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.ic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 50px;
    padding: 0.8rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

.ic-btn--primary {
    color: #ffffff;
    background: linear-gradient(135deg, #f0323a, var(--ic-red-dark));
    box-shadow: 0 14px 34px rgba(227, 27, 35, 0.35);
}

.ic-btn--primary:hover {
    box-shadow: 0 18px 42px rgba(227, 27, 35, 0.5);
}

.ic-btn--ghost {
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    background: rgba(5, 10, 20, 0.35);
}

.ic-btn--ghost:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.ic-btn--dark {
    color: #ffffff;
    background: var(--ic-ink);
}

.ic-btn--dark:hover {
    background: #263043;
}

.ic-btn:focus-visible,
.ic-step:focus-visible {
    outline: 3px solid rgba(227, 27, 35, 0.45);
    outline-offset: 3px;
}

/* Encabezados */
.ic-section {
    max-width: 1220px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
}

.ic-heading {
    max-width: 780px;
    margin-bottom: 2.4rem;
}

.ic-heading--center {
    margin-inline: auto;
    text-align: center;
}

.ic-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    color: var(--ic-red);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ic-kicker::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.ic-heading h2 {
    margin-bottom: 0.9rem;
    color: var(--ic-ink);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.ic-heading p {
    color: var(--ic-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* ===== HERO ===== */
.page-ic .ic-hero {
    position: relative;
    display: flex;
    align-items: center;
    aspect-ratio: 16 / 9;
    min-height: 620px;
    max-height: 92svh;
    padding-top: 5rem;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background: #0b0b0d;
}

.ic-hero-img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    animation: ic-hero-zoom 14s ease-out both;
}

.ic-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(10, 6, 6, 0.85) 0%, rgba(10, 6, 6, 0.55) 38%, rgba(10, 6, 6, 0) 70%),
        linear-gradient(0deg, rgba(10, 6, 6, 0.35), transparent 40%);
}

.ic-hero-content {
    position: relative;
    z-index: 2;
    width: min(600px, calc(100% - 2.5rem));
    margin: 0 0 5rem clamp(1.25rem, 7vw, 7rem);
}

.ic-hero-content > * {
    animation: ic-rise 0.9s var(--ic-ease) both;
}

.ic-hero-content > :nth-child(2) { animation-delay: 0.08s; }
.ic-hero-content > :nth-child(3) { animation-delay: 0.16s; }
.ic-hero-content > :nth-child(4) { animation-delay: 0.24s; }

.ic-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.2rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(10, 6, 6, 0.5);
    font-size: 0.8rem;
    font-weight: 600;
}

.ic-pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4b52;
    box-shadow: 0 0 10px #ff4b52;
    animation: ic-blink 1.6s steps(1) infinite;
}

.ic-hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.6rem, 5.6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.ic-hero h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(100deg, #ffffff 5%, #ffb1b4 55%, #ff4b52);
    background-clip: text;
    -webkit-background-clip: text;
}

.ic-hero-content > p {
    max-width: 500px;
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.65;
}

/* Degradado del hero hacia la página */
.ic-hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    /* -2px: evita una línea fina en el borde inferior con escalados no enteros */
    bottom: -2px;
    z-index: 1;
    height: 34%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 55%, #ffffff 88%);
    pointer-events: none;
}

/* ===== LOGO ===== */
.ic-brand {
    position: relative;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: 0.4rem;
    margin-top: -5.5rem;
    padding: 0 1.5rem;
    text-align: center;
}

.ic-brand img {
    width: min(460px, 78vw);
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(163, 0, 12, 0.18));
    animation: ic-logo-in 1.1s 0.3s var(--ic-ease) both;
}

.ic-brand p {
    color: var(--ic-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    animation: ic-rise 0.9s 0.6s var(--ic-ease) both;
}

.ic-brand b {
    color: var(--ic-red);
}

/* ===== CÓMO FUNCIONA: pasos + tablet ===== */
.ic-demo {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.35fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.ic-steps {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ic-step {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.9rem;
    width: 100%;
    padding: 1rem 1.1rem;
    overflow: hidden;
    border: 1px solid var(--ic-line);
    border-radius: 18px;
    color: var(--ic-ink);
    background: #ffffff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, translate 0.35s var(--ic-ease), background-color 0.25s ease;
}

.ic-step:hover {
    border-color: rgba(227, 27, 35, 0.35);
}

.ic-step[aria-selected="true"] {
    border-color: rgba(227, 27, 35, 0.5);
    background: #fff8f8;
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.09);
    translate: 6px 0;
}

/* Barra de progreso del recorrido automático */
.ic-step::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #f0323a, var(--ic-red-dark));
    transform: scaleX(var(--p, 0));
    transform-origin: left;
}

.ic-step b {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--ic-red);
    background: #fde8e9;
    font-size: 1rem;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.ic-step[aria-selected="true"] b {
    color: #ffffff;
    background: var(--ic-red);
}

.ic-step strong {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 1.02rem;
}

.ic-step small {
    color: var(--ic-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Escena: tienda de ropa con la tablet en su soporte */
.ic-scene {
    position: relative;
    aspect-ratio: 4 / 3.1;
    overflow: hidden;
    isolation: isolate;
    border-radius: 30px;
    background: #3b302a;
    box-shadow: 0 30px 70px rgba(17, 24, 39, 0.22);
}

.ic-scene-bg {
    position: absolute;
    inset: -6%;
    z-index: -2;
    background: url("../images/inosclock/inosclock-hero.png") 85% 30% / cover no-repeat;
    filter: blur(9px) saturate(0.9) brightness(0.72);
}

.ic-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(20, 12, 8, 0.45));
}

/* Perchero en primer plano, desenfocado por la profundidad */
.ic-rack {
    position: absolute;
    top: 6%;
    right: -4%;
    z-index: 0;
    display: flex;
    gap: 3px;
    width: 34%;
    padding-top: 8px;
    border-top: 4px solid #2b2522;
}

.ic-rack span {
    flex: 1;
    height: 120px;
    border-radius: 8px 8px 4px 4px;
    background: var(--c, #e9e3d8);
    transform-origin: 50% -8px;
    animation: ic-sway 6s ease-in-out infinite;
}

.ic-rack span:nth-child(1) { --c: #e9e3d8; }
.ic-rack span:nth-child(2) { --c: #b8463c; animation-delay: -1s; height: 130px; }
.ic-rack span:nth-child(3) { --c: #2b2b2b; animation-delay: -2s; }
.ic-rack span:nth-child(4) { --c: #d7a48b; animation-delay: -3s; height: 110px; }
.ic-rack span:nth-child(5) { --c: #f4f1ea; animation-delay: -4s; }
.ic-rack span:nth-child(6) { --c: #6b7d6a; animation-delay: -5s; height: 126px; }
.ic-rack span:nth-child(7) { --c: #c9b49a; animation-delay: -1.5s; }
.ic-rack span:nth-child(8) { --c: #1f2a44; animation-delay: -2.5s; height: 116px; }

/* Mostrador de madera */
.ic-counter {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 22%;
    background:
        linear-gradient(180deg, #f2d7b3 0, #e2bd8f 4px, #cfa271 30%, #b8875a 100%);
    box-shadow: inset 0 6px 14px rgba(255, 255, 255, 0.25);
}

.ic-tablet {
    position: absolute;
    left: 50%;
    bottom: 27%;
    z-index: 2;
    width: 70%;
    padding: 2.2%;
    border-radius: 22px;
    background: linear-gradient(145deg, #2a2d33, #121418);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.12);
    transform: translateX(-50%) perspective(1200px) rotateX(var(--tilt-x, 4deg)) rotateY(var(--tilt-y, -6deg));
    transition: transform 0.4s ease;
}

.ic-tablet-screen {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
    background: #f7f7f7;
}

.ic-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.ic-shot.is-active {
    opacity: 1;
}

/* Soporte de la tablet */
.ic-stand {
    position: absolute;
    left: 50%;
    bottom: 12%;
    z-index: 1;
    width: 26%;
    height: 17%;
    transform: translateX(-50%);
}

.ic-stand::before {
    content: "";
    position: absolute;
    left: 38%;
    right: 38%;
    top: 0;
    bottom: 18%;
    background: linear-gradient(90deg, #1b1d21, #3a3e45 50%, #1b1d21);
    clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.ic-stand::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 26%;
    border-radius: 999px;
    background: linear-gradient(180deg, #3a3e45, #16181b);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.4);
}

/* Capas sobre la captura: resaltado, dedo, aviso y registro */
.ic-highlight {
    position: absolute;
    left: 50.5%;
    top: 59%;
    width: 47.9%;
    height: 32.7%;
    border: 3px solid var(--ic-red);
    border-radius: 12px;
    box-shadow: 0 0 0 4px rgba(227, 27, 35, 0.18), 0 0 24px rgba(227, 27, 35, 0.35);
    transition: left 0.7s var(--ic-ease), top 0.7s var(--ic-ease), width 0.7s var(--ic-ease), height 0.7s var(--ic-ease), opacity 0.4s ease;
    animation: ic-glow 1.6s ease-in-out infinite;
}

.ic-finger {
    position: absolute;
    left: 74%;
    top: 75%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    background: rgba(227, 27, 35, 0.55);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transition: left 0.7s var(--ic-ease), top 0.7s var(--ic-ease), opacity 0.4s ease;
    animation: ic-tap 1.2s ease-in-out infinite;
}

.ic-finger::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid rgba(227, 27, 35, 0.8);
    border-radius: 50%;
    animation: ic-ripple 1.2s ease-out infinite;
}

.ic-toast {
    position: absolute;
    left: 50%;
    bottom: 8%;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    color: #ffffff;
    background: #15803d;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
    font-size: clamp(0.66rem, 1.2vw, 0.86rem);
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: opacity 0.4s ease, transform 0.5s var(--ic-ease);
}

.ic-toast i {
    display: grid;
    place-items: center;
    width: 1.4em;
    height: 1.4em;
    border-radius: 50%;
    color: #15803d;
    background: #ffffff;
    font-style: normal;
}

.ic-log {
    position: absolute;
    right: 4%;
    top: 20%;
    display: grid;
    gap: 0.35rem;
    width: 48%;
    padding: 0.8rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
    font-size: clamp(0.6rem, 1.1vw, 0.8rem);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease, transform 0.5s var(--ic-ease);
}

.ic-log small {
    color: var(--ic-red);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ic-log span {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    border-radius: 7px;
    color: #4b5563;
    background: #f5f5f5;
}

.ic-log span:first-of-type {
    box-shadow: inset 3px 0 0 #15803d;
    background: #ecfdf3;
}

.ic-log b {
    color: var(--ic-ink);
}

/* Estado de cada paso */
.ic-demo[data-step="1"] .ic-highlight { left: 5%; top: 36.5%; width: 90%; height: 27%; }
.ic-demo[data-step="1"] .ic-finger { left: 50%; top: 47%; }

.ic-demo[data-step="2"] .ic-highlight { left: 5%; top: 63.8%; width: 44.8%; height: 8%; }
.ic-demo[data-step="2"] .ic-finger { left: 28%; top: 68%; animation-iteration-count: 1; }
.ic-demo[data-step="2"].is-done .ic-toast { opacity: 1; transform: translate(-50%, 0); }

.ic-demo[data-step="3"] .ic-highlight,
.ic-demo[data-step="3"] .ic-finger { opacity: 0; }
.ic-demo[data-step="3"] .ic-log { opacity: 1; transform: none; }

.ic-demo-caption {
    min-height: 1.5em;
    margin-top: 1rem;
    color: var(--ic-muted);
    font-size: 0.9rem;
    text-align: right;
}

/* Ventajas */
.ic-features {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    margin: 3.5rem 0 0;
    padding: 0;
    list-style: none;
}

.ic-features > li {
    grid-column: span 2;
    --glow-x: 50%;
    --glow-y: 50%;
    padding: 1.4rem;
    border: 1px solid var(--ic-line);
    border-radius: 22px;
    background:
        radial-gradient(circle 200px at var(--glow-x) var(--glow-y), rgba(227, 27, 35, 0.07), transparent 70%),
        var(--ic-bg);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ic-features > li:hover {
    border-color: rgba(227, 27, 35, 0.3);
    box-shadow: 0 20px 44px rgba(17, 24, 39, 0.08);
}

.ic-feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0323a, var(--ic-red-dark));
    box-shadow: 0 10px 22px rgba(227, 27, 35, 0.28);
}

.ic-feature-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ic-feature-icon svg {
    width: 22px;
    height: 22px;
    color: #ffffff;
}

.ic-features h3 {
    margin-bottom: 0.45rem;
    color: var(--ic-ink);
    font-size: 1.05rem;
}

.ic-features p {
    color: var(--ic-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Modos de uso (dentro de las ventajas) */
.ic-features .ic-mode {
    position: relative;
    grid-column: span 3;
    padding: 1.8rem;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle 240px at var(--glow-x) var(--glow-y), rgba(227, 27, 35, 0.09), transparent 70%),
        linear-gradient(145deg, #ffffff, #fff4f4);
}

.ic-mode::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    z-index: -1;
    width: 200px;
    aspect-ratio: 1;
    border: 1px solid rgba(227, 27, 35, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(227, 27, 35, 0.03), 0 0 0 52px rgba(227, 27, 35, 0.02);
}

.ic-mode-badge {
    display: inline-flex;
    margin-bottom: 1.1rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #f0323a, var(--ic-red-dark));
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ic-mode--employee .ic-mode-badge {
    background: linear-gradient(135deg, #2b2f38, #111827);
}

.ic-mode-visual {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    color: var(--ic-red);
    background: #fde8e9;
}

.ic-mode--employee .ic-mode-visual {
    color: var(--ic-ink);
    background: #eef0f4;
}

.ic-mode-visual svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ic-features .ic-mode h3 {
    margin-bottom: 0.6rem;
    padding-right: 4.5rem;
    font-size: 1.35rem;
}

.ic-features .ic-mode > p {
    margin-bottom: 1rem;
    font-size: 0.96rem;
}

.ic-mode-list {
    display: grid;
    gap: 0.4rem;
    padding: 0;
    list-style: none;
}

.ic-mode-list li {
    position: relative;
    padding-left: 1.5rem;
    color: #374151;
    font-size: 0.9rem;
}

.ic-mode-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--ic-red);
    font-weight: 800;
}

/* ===== PRECIO ===== */
.ic-pricing {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(4.5rem, 8vw, 7rem) 1.5rem;
    color: #ffffff;
    background:
        radial-gradient(circle 560px at 85% 20%, rgba(227, 27, 35, 0.45), transparent 70%),
        radial-gradient(circle 480px at 5% 100%, rgba(122, 0, 8, 0.6), transparent 70%),
        #120709;
}

.ic-pricing-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

/* Reloj decorativo de fondo (las agujas giran con transform, sin repintar) */
.ic-pricing-clock {
    position: absolute;
    top: 50%;
    left: 38%;
    width: min(620px, 80vw);
    aspect-ratio: 1;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    box-shadow: inset 0 0 0 26px rgba(255, 255, 255, 0.015);
    transform: translate(-50%, -50%);
}

.ic-hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    width: 4px;
    margin-left: -2px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    transform-origin: 50% 100%;
}

.ic-hand--h { height: 24%; animation: ic-spin 240s linear infinite; }
.ic-hand--m { height: 36%; animation: ic-spin 40s linear infinite; }
.ic-hand--s { width: 2px; margin-left: -1px; height: 42%; background: rgba(255, 75, 82, 0.35); animation: ic-spin 12s steps(60) infinite; }

.ic-pricing-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}

.ic-kicker--light {
    color: #ff8a8f;
}

.ic-pricing-copy h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.ic-pricing-copy > p {
    max-width: 520px;
    margin-bottom: 1.6rem;
    color: #d6c7c8;
    font-size: 1.05rem;
    line-height: 1.7;
}

.ic-pricing-list {
    display: grid;
    gap: 0.7rem;
    padding: 0;
    list-style: none;
}

.ic-pricing-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.ic-pricing-list li::before {
    content: "✓";
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(227, 27, 35, 0.85);
    font-size: 0.8rem;
}

/* Tarjeta del plan */
.ic-plan {
    position: relative;
    padding: 2rem;
    border-radius: 28px;
    color: var(--ic-ink);
    background: #ffffff;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Borde luminoso */
.ic-plan::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 30px;
    background: linear-gradient(135deg, #ff4b52, transparent 40%, transparent 60%, #ff4b52);
    opacity: 0.8;
}

.ic-plan-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--ic-line);
}

.ic-plan-head img {
    width: 150px;
    height: auto;
}

.ic-plan-tag {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    color: var(--ic-red-dark);
    background: #fde8e9;
    font-size: 0.74rem;
    font-weight: 800;
}

.ic-plan-from {
    margin-top: 1.4rem;
    color: var(--ic-muted);
    font-weight: 600;
}

.ic-plan-price {
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    line-height: 1;
}

.ic-plan-price strong {
    color: var(--ic-ink);
    font-size: clamp(4.5rem, 9vw, 6rem);
    letter-spacing: -0.05em;
}

.ic-plan-price span {
    display: grid;
    padding-top: 0.8rem;
}

.ic-plan-price b {
    color: var(--ic-red);
    font-size: 2rem;
}

.ic-plan-price small {
    color: var(--ic-muted);
    font-size: 1rem;
    font-weight: 600;
}

.ic-plan-note {
    margin: 0.6rem 0 1.4rem;
    color: var(--ic-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.ic-plan-cta {
    width: 100%;
}

.ic-plan-foot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--ic-muted);
    font-size: 0.82rem;
}

.ic-plan-foot i {
    color: #15803d;
    font-style: normal;
    font-weight: 800;
}

/* ===== DESCARGAS ===== */
.ic-download {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(4.5rem, 8vw, 7rem) 1.5rem;
    background:
        radial-gradient(circle 520px at 25% 45%, rgba(227, 27, 35, 0.1), transparent 70%),
        linear-gradient(180deg, #ffffff, var(--ic-bg));
}

.ic-download-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}

/* Tablet y móvil con la app */
.ic-devices {
    position: relative;
    aspect-ratio: 5 / 3.6;
}

.ic-devices-glow {
    position: absolute;
    inset: 12% 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 27, 35, 0.22), transparent 65%);
}

.ic-device {
    position: absolute;
    padding: 2.2%;
    border-radius: 20px;
    background: linear-gradient(145deg, #2a2d33, #121418);
    box-shadow: 0 30px 60px rgba(17, 24, 39, 0.28), inset 0 1px rgba(255, 255, 255, 0.12);
    will-change: transform;
}

.ic-device--tablet {
    left: 0;
    top: 6%;
    width: 80%;
    animation: ic-float 7s ease-in-out infinite;
}

.ic-device--tablet img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    object-fit: cover;
}

.ic-device--phone {
    right: 2%;
    bottom: 0;
    width: 27%;
    padding: 2.4% 1.8%;
    border-radius: 26px;
    animation: ic-float 7s ease-in-out -3.5s infinite;
}

/* Pantalla del móvil dibujada en HTML (modo Empleado) */
.ic-phone-screen {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 6%;
    aspect-ratio: 9 / 17;
    padding: 12% 10%;
    border-radius: 16px;
    background: #f7f7f7;
    text-align: center;
}

.ic-phone-logo {
    color: var(--ic-red);
    font-size: clamp(0.6rem, 1.2vw, 0.95rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.ic-phone-time {
    color: var(--ic-ink);
    font-size: clamp(1rem, 2.4vw, 1.8rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.ic-phone-name {
    color: var(--ic-muted);
    font-size: clamp(0.5rem, 0.9vw, 0.72rem);
    font-weight: 600;
}

.ic-phone-btn {
    width: 100%;
    padding: 9% 0;
    border-radius: 999px;
    color: #ffffff;
    background: #c62828;
    font-size: clamp(0.45rem, 0.8vw, 0.66rem);
    font-weight: 800;
    animation: ic-press 3.5s ease-in-out infinite;
}

.ic-phone-btn--out {
    color: #9b8e8e;
    background: #e8dede;
    animation: none;
}

.ic-device-tag {
    position: absolute;
    left: 50%;
    bottom: -14px;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    color: #ffffff;
    background: var(--ic-ink);
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    transform: translateX(-50%);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.25);
}

.ic-device--phone .ic-device-tag {
    background: var(--ic-red);
}

/* Tarjeta de descarga oficial */
.ic-get h2 {
    margin-bottom: 1.4rem;
    color: var(--ic-ink);
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.ic-file {
    position: relative;
    padding: 1.4rem;
    overflow: hidden;
    border: 1px solid var(--ic-line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(17, 24, 39, 0.1);
}

.ic-file-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
}

.ic-app-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 17px;
    background: linear-gradient(145deg, #f0323a, var(--ic-red-dark));
    box-shadow: 0 12px 26px rgba(227, 27, 35, 0.35), inset 0 1px rgba(255, 255, 255, 0.35);
}

.ic-app-icon svg {
    width: 40px;
    height: 40px;
    overflow: visible;
    fill: none;
    stroke: #ffffff;
    stroke-width: 4;
    stroke-linecap: round;
}

/* La aguja del icono da vueltas como un reloj */
.ic-app-hand {
    transform-box: view-box;
    transform-origin: 32px 34px;
    animation: ic-spin 6s linear infinite;
}

.ic-file-head strong {
    display: block;
    color: var(--ic-ink);
    font-size: 1.2rem;
}

.ic-file-head div span {
    color: var(--ic-muted);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.8rem;
}

.ic-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    color: #15803d;
    background: #ecfdf3;
    font-size: 0.76rem;
    font-weight: 800;
}

.ic-verified svg,
.ic-file-trust svg,
.ic-get-btn svg,
.ic-play-soon svg,
.ic-journey-icon svg {
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ic-verified svg {
    width: 16px;
    height: 16px;
}

.ic-file-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 1.2rem 0;
    padding: 0;
    list-style: none;
}

.ic-file-meta li {
    padding: 0.6rem 0.7rem;
    border-radius: 12px;
    background: var(--ic-bg);
}

.ic-file-meta small {
    display: block;
    color: var(--ic-muted);
    font-size: 0.72rem;
}

.ic-file-meta b {
    color: var(--ic-ink);
    font-size: 0.98rem;
}

/* Botón de descarga: sobrio, integrado en la tarjeta del archivo */
.ic-get-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.55rem 1.2rem 0.55rem 0.55rem;
    overflow: hidden;
    border-radius: 16px;
    color: #ffffff;
    background: var(--ic-ink);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.ic-get-btn:hover {
    background: #1f2937;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.25);
}

.ic-get-btn:focus-visible {
    outline: 3px solid rgba(227, 27, 35, 0.45);
    outline-offset: 3px;
}

.ic-get-btn-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--ic-red);
}

.ic-get-btn-icon svg {
    width: 22px;
    height: 22px;
}

.ic-get-btn:hover .ic-get-btn-icon svg {
    animation: ic-drop 0.9s ease-in-out infinite;
}

/* Barra de progreso que aparece al pulsar (la descarga real la gestiona el navegador) */
.ic-get-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #ff4b52, #ffb1b4);
    transform: scaleX(0);
    transform-origin: left;
}

.ic-get-btn.is-started::after {
    animation: ic-progress 1.4s var(--ic-ease) forwards;
}

.ic-get-btn.is-started .ic-get-btn-icon {
    background: #15803d;
}

.ic-file-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
    color: var(--ic-muted);
    font-size: 0.82rem;
}

.ic-file-trust svg {
    width: 16px;
    height: 16px;
    color: #15803d;
}

.ic-play-soon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #9aa1ad;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: not-allowed;
}

.ic-play-soon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    stroke: none;
}

.ic-play-soon em {
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    color: #6b7280;
    background: #eef0f4;
    font-size: 0.72rem;
    font-style: normal;
}

/* ===== ALTA ===== */
.ic-signup {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(4rem, 7vw, 6rem) 1.5rem;
    color: #ffffff;
    background:
        radial-gradient(circle 420px at 90% 10%, rgba(255, 255, 255, 0.16), transparent 70%),
        radial-gradient(circle 380px at 0% 100%, rgba(0, 0, 0, 0.3), transparent 70%),
        linear-gradient(135deg, #e31b23, #7a0008);
}

.ic-signup-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}

.ic-signup-copy h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.ic-signup-copy p {
    margin-bottom: 1.6rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

.ic-signup .ic-kicker--light {
    color: rgba(255, 255, 255, 0.8);
}

.ic-btn--light {
    color: var(--ic-red-dark);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.ic-btn--light:hover {
    background: #fff1f1;
}

/* Recorrido: escribes → alta → fichar */
.ic-journey {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Línea que une los pasos, con un pulso de luz que la recorre */
.ic-journey::before,
.ic-journey::after {
    content: "";
    position: absolute;
    top: 38px;
    left: 16%;
    right: 16%;
    height: 2px;
}

.ic-journey::before {
    background: rgba(255, 255, 255, 0.25);
}

.ic-journey::after {
    background: linear-gradient(90deg, transparent 0%, #ffffff 10%, transparent 20%);
    animation: ic-pulse-line 3s ease-in-out infinite;
}

.ic-journey li {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    text-align: center;
}

.ic-journey-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    background: rgba(122, 0, 8, 0.55);
    box-shadow: 0 16px 34px rgba(60, 0, 4, 0.35);
    animation: ic-step-lit 3s ease-in-out infinite;
}

.ic-journey li:nth-child(2) .ic-journey-icon { animation-delay: 1s; }
.ic-journey li:nth-child(3) .ic-journey-icon { animation-delay: 2s; }

.ic-journey-icon svg {
    width: 32px;
    height: 32px;
}

.ic-journey strong {
    font-size: 1rem;
}

@keyframes ic-spin {
    to { transform: rotate(360deg); }
}

@keyframes ic-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes ic-press {
    0%, 70%, 100% { transform: scale(1); }
    78% { transform: scale(0.92); }
}

@keyframes ic-drop {
    0% { transform: translateY(-120%); }
    45%, 55% { transform: translateY(0); }
    100% { transform: translateY(120%); }
}

@keyframes ic-progress {
    to { transform: scaleX(1); }
}

@keyframes ic-pulse-line {
    0% { transform: translateX(-10%); opacity: 0; }
    15%, 85% { opacity: 1; }
    100% { transform: translateX(80%); opacity: 0; }
}

@keyframes ic-step-lit {
    0%, 60%, 100% { background: rgba(122, 0, 8, 0.55); color: #ffffff; }
    15%, 40% { background: #ffffff; color: var(--ic-red); }
}

/* ===== ANIMACIONES ===== */
@keyframes ic-rise {
    from { opacity: 0; transform: translateY(18px); }
}

@keyframes ic-hero-zoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

@keyframes ic-logo-in {
    from { opacity: 0; transform: translateY(24px) scale(0.92); }
}

@keyframes ic-blink {
    50% { opacity: 0.3; }
}

@keyframes ic-sway {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(2deg); }
}

@keyframes ic-glow {
    50% { box-shadow: 0 0 0 7px rgba(227, 27, 35, 0.1), 0 0 30px rgba(227, 27, 35, 0.45); }
}

@keyframes ic-tap {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(0.75); }
}

@keyframes ic-ripple {
    0%, 35% { opacity: 0; transform: scale(1); }
    45% { opacity: 1; }
    100% { opacity: 0; transform: scale(2.2); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .ic-demo {
        grid-template-columns: minmax(0, 1fr);
    }

    .ic-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        order: 2;
    }

    .ic-step[aria-selected="true"] {
        translate: none;
    }

    .ic-demo-caption {
        text-align: center;
    }

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

    .ic-features > li {
        grid-column: span 1;
    }

    .ic-features > li:last-child {
        grid-column: 1 / -1;
    }

    .ic-features .ic-mode {
        grid-column: span 1;
    }

    .ic-pricing-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .ic-plan {
        max-width: 480px;
    }

    .ic-download-inner,
    .ic-signup-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .ic-devices {
        width: min(100%, 620px);
        margin: 0 auto;
    }

    .ic-get {
        width: min(100%, 560px);
        margin: 0 auto;
    }
}

@media (max-width: 700px) {
    .page-ic .ic-hero {
        align-items: flex-end;
        min-height: 640px;
        max-height: none;
    }

    .ic-hero-img {
        object-position: 70% center;
    }

    .ic-hero::before {
        background: linear-gradient(0deg, rgba(10, 6, 6, 0.92) 0%, rgba(10, 6, 6, 0.6) 55%, rgba(10, 6, 6, 0.35) 100%);
    }

    .ic-hero-content {
        margin: 0 1.25rem 8rem;
    }

    .ic-hero-fade {
        height: 18%;
    }

    .ic-brand {
        margin-top: -3rem;
    }

    .ic-section {
        padding: 3rem 1.1rem 4rem;
    }

    .ic-steps,
    .ic-features {
        grid-template-columns: minmax(0, 1fr);
    }

    .ic-features > li,
    .ic-features > li:last-child,
    .ic-features .ic-mode {
        grid-column: auto;
    }

    .ic-pricing {
        padding: 4rem 1.1rem;
    }

    .ic-plan {
        padding: 1.5rem;
    }

    .ic-download,
    .ic-signup {
        padding: 4rem 1.1rem;
    }

    .ic-device-tag {
        font-size: 0.62rem;
    }

    .ic-file {
        padding: 1.1rem;
    }

    .ic-verified {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .ic-journey-icon {
        width: 62px;
        height: 62px;
        border-radius: 20px;
    }

    .ic-journey::before,
    .ic-journey::after {
        top: 31px;
    }

    .ic-journey strong {
        font-size: 0.88rem;
    }

    .ic-scene {
        aspect-ratio: 4 / 3.6;
        border-radius: 22px;
    }

    .ic-tablet {
        width: 84%;
        padding: 2.6%;
        border-radius: 14px;
    }

    .ic-rack span {
        height: 70px;
    }

    .ic-log {
        width: 62%;
        padding: 0.5rem;
    }

}

@media (prefers-reduced-motion: reduce) {
    .page-ic *,
    .page-ic *::before,
    .page-ic *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .page-ic .ic-reveal {
        opacity: 1;
        translate: none;
    }
}
