@import url("/GENERAL/ultra.css");

:root {
    --brand-primary: #0E39B0;
    --brand-secondary: #EEF5FF;
    --brand-accent: #18A4E0;
    --brand-background: #F8FBFF;
    --brand-surface: #FFFFFF;
    --brand-text: #111827;
    --brand-muted: #475569;
    --brand-border: rgba(14, 57, 176, 0.12);
    --brand-shadow: rgba(14, 57, 176, 0.12);
    --brand-shadow-strong: rgba(14, 57, 176, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--brand-background);
    color: var(--brand-text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: #0E39B0;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.logo {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-tag {
    color: rgba(255,255,255,.85);
    font-size: 0.95rem;
}

.nav-links {
    display: flex;
    gap: 18px;
}

.nav-links a {
    color: #fff;
    font-weight: 600;
    transition: color .2s ease;
}

.nav-links a:hover {
    color: #eef5ff;
}

.hero {
    padding: 64px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
    gap: 32px;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(14, 57, 176, 0.08);
    color: #0E39B0;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    margin: 0;
    line-height: 1.05;
}

.hero p {
    max-width: 620px;
    color: var(--brand-muted);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-button,
.secondary-cta,
.text-link,
.faq-question {
    border-radius: 14px;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.cta-button {
    background: var(--brand-primary);
    color: #fff;
    border: none;
    padding: 14px 22px;
    font-weight: 700;
    box-shadow: 0 16px 46px rgba(14, 57, 176, 0.18);
}

.cta-button:hover {
    transform: translateY(-2px);
}

.secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--brand-border);
    color: var(--brand-text);
    padding: 14px 22px;
}

.secondary-cta:hover {
    transform: translateY(-2px);
    background: #f3f8ff;
}

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

.hero-highlights span {
    display: inline-flex;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(14, 57, 176, 0.06);
    color: var(--brand-text);
    font-weight: 600;
}

.hero-visual {
    min-height: 320px;
    display: grid;
    place-items: center;
}

.hero-visual img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 32px 70px rgba(14, 57, 176, 0.14);
}

.challenge-section,
.solutions-section,
.workflow-section,
.industries-section,
.advantages-section,
.stats-section,
.faq-section,
.contact-section {
    padding: 64px 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 2.35rem;
    margin-bottom: 14px;
}

.section-header p {
    color: var(--brand-muted);
    font-size: 1rem;
}

.challenge-grid,
.solution-grid,
.timeline-grid,
.industry-grid,
.advantages-grid,
.stats-grid,
.faq-list {
    display: grid;
    gap: 18px;
}

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

.challenge-card,
.solution-card,
.timeline-step,
.industry-card,
.advantage-card,
.stat-card,
.faq-item,
.contact-section {
    background: var(--brand-surface);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.challenge-card,
.solution-card,
.timeline-step,
.industry-card,
.advantage-card,
.stat-card {
    padding: 28px;
}

.challenge-card {
    display: grid;
    gap: 14px;
}

.challenge-card .icon,
.solution-card .solution-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(14, 57, 176, 0.08);
    font-size: 1.45rem;
}

.challenge-card h3,
.solution-card h3,
.timeline-step h3 {
    margin: 0;
    font-size: 1.08rem;
}

.challenge-card p,
.solution-card p,
.timeline-step p,
.industry-card,
.advantage-card {
    color: var(--brand-muted);
}

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

.solution-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.solution-card .text-link {
    margin-top: 18px;
    color: var(--brand-primary);
    font-weight: 700;
}

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

.timeline-step {
    display: grid;
    gap: 14px;
}

.timeline-step span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(14, 57, 176, 0.12);
    font-weight: 700;
    color: var(--brand-primary);
}

.industry-grid,
.advantages-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.industry-card,
.advantage-card {
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 700;
    color: var(--brand-text);
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-card .counter {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 10px;
}

.main-cta-section {
    padding: 0;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 32px;
    background: linear-gradient(135deg, rgba(14,57,176,0.9), rgba(24,164,224,0.92));
    color: #fff;
    border-radius: 28px;
    box-shadow: 0 32px 60px rgba(14, 57, 176, 0.24);
}

.cta-panel h2 {
    margin: 0;
    font-size: 2rem;
}

.cta-panel p {
    color: rgba(255,255,255,.9);
}

.faq-list {
    grid-template-columns: 1fr;
}

.faq-item {
    border: none;
    padding: 0;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 22px 24px;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(14, 57, 176, 0.05);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease, padding 0.32s ease;
    padding: 0 24px;
    background: #fff;
}

.faq-item.active .faq-answer {
    max-height: 240px;
    padding: 16px 24px 22px;
}

.faq-answer p {
    margin: 0;
    color: var(--brand-muted);
}

.contact-section {
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-section p {
    color: var(--brand-muted);
    margin-bottom: 22px;
}

.site-footer {
    background: #0E39B0;
    color: #fff;
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.site-footer a {
    color: rgba(255,255,255,0.9);
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 12px;
    z-index: 999;
}

.whatsapp-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand-primary);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.2);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(3px);
    z-index: 9999;
    padding: 24px;
}

.modal-content {
    background: #fff;
    border-radius: 24px;
    max-width: 620px;
    margin: 0 auto;
    padding: 32px;
    position: relative;
    transform: scale(0.96);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content label {
    display: block;
    margin: 18px 0 8px;
    font-weight: 600;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--brand-border);
    margin-bottom: 0;
}

.modal-content textarea {
    min-height: 140px;
    resize: vertical;
}

.modal-content button[type="submit"] {
    width: 100%;
    padding: 14px 18px;
    color: #fff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
}

.close {
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 1.6rem;
    color: var(--brand-muted);
    cursor: pointer;
}

.notification {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    top: 20px;
    background: var(--brand-primary);
    color: #fff;
    padding: 14px 18px;
    border-radius: 14px;
    opacity: 0;
    transform-origin: top;
    transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 960px) {
    .hero-grid,
    .timeline-grid,
    .solution-grid,
    .challenge-grid,
    .industry-grid,
    .advantages-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-panel {
        flex-direction: column;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100%, calc(100% - 24px));
    }

    .hero {
        padding-top: 40px;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        gap: 16px;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 12px;
    }
}

.benefit-card{
    background-color: #ffffff;

    padding: 25px;

    border-radius: 16px;

    transition: 0.3s ease;
}

.benefit-card:hover{
    transform: translateY(-8px);

    border: 2px solid var(--brand-primary);

    box-shadow: 0 5px 15px var(--brand-shadow);
}

.benefit-card h3{
    font-size: 1.2rem;

    color: #000000;

    margin-bottom: 12px;
}

.benefit-card p{
    color: #000000;
    line-height: 1.6;
}

/* ================================================= */
/* STATS */
/* ================================================= */

.stats{
    display: flex;

    justify-content: center;

    gap: 60px;

    text-align: center;

    flex-wrap: wrap;

    padding: 60px 20px;

    background: #FFFFFF;
}

.stat-item h2{
    font-size: 3.5rem;

    font-weight: 900;

    color: #0E39B0;

    margin: 0;

    line-height: 1;
}

.stat-item p{
    margin-top: 12px;

    font-size: 0.95rem;

    font-weight: 600;

    letter-spacing: 2px;

    color: #000000;
}

/* ================================================= */
/* TIMELINE FIX */
/* ================================================= */

.timeline-section{
    padding: 100px 0;
}

.timeline-item{
    opacity: 1 !important;

    visibility: visible !important;

    transform: translateY(0) !important;

    display: block !important;
}

.timeline-content{
    opacity: 1 !important;

    visibility: visible !important;
}

.timeline-content h2{
    color: var(--brand-primary);
}

.timeline-content h3{
    color: var(--brand-text);
}

.timeline-item:nth-child(1){
    --step-color: #0E39B0;
}

.timeline-item:nth-child(2){
    --step-color: #0E39B0;
}

.timeline-item:nth-child(3){
    --step-color: #0E39B0;
}

.timeline-item:nth-child(4){
    --step-color: #0E39B0;
}

.timeline-item:nth-child(5){
    --step-color: #0E39B0;
}

.timeline-item:nth-child(6){
    --step-color: #0E39B0;
}

/* ================================================= */
/* MODAL */
/* ================================================= */

.modal-content input,
.modal-content textarea,
.modal-content select{
    border-color: var(--brand-primary);
}

/* ================================================= */
/* FOOTER */
/* ================================================= */

footer{
    background: var(--brand-primary) !important;
    color: white !important;
}

/* ================================================= */
/* REVEAL */
/* ================================================= */

.reveal{
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s ease;
}

.reveal.active{
    opacity: 1;
    transform: translateY(0);
}

/* ================================================= */
/* ANIMATIONS */
/* ================================================= */

@keyframes float{

    0%{
        transform: translateY(0);
    }

    50%{
        transform: translateY(-10px);
    }

    100%{
        transform: translateY(0);
    }

}

@keyframes gradientMove{

    0%{
        background-position: 0%;
    }

    100%{
        background-position: 200%;
    }

}

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

@media (max-width: 900px){

    .software-content{
        flex-direction: column;
    }

    .benefits-box{
        grid-template-columns: 1fr;
    }

    .hero h1{
        font-size: 3rem;
    }

    .stats{
        gap: 30px;
    }

}

/* ================================================= */
/* FINAL VISUAL POLISH - ULTRASOFT LANDING */
/* ================================================= */

body {
    background: #F7F9FC;
    color: #111827;
}

.site-header {
    padding: 0;
    min-height: auto;
    border-bottom: 0 !important;
    box-shadow: 0 10px 28px rgba(14, 57, 176, 0.14);
}

.site-header .container {
    width: min(1280px, calc(100% - 40px));
}

.header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.brand-block {
    gap: 4px;
}

.site-header .logo {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.brand-tag {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
}

.site-header .ultrasoft-logo {
    display: block;
    justify-self: center;
    width: 42px;
    height: 42px;
    margin: 0;
    object-fit: contain;
    animation: float 4.5s ease-in-out infinite;
}

.site-header .nav-links {
    justify-self: end;
    align-items: center;
    gap: 30px;
}

.site-header .nav-links a {
    font-size: 17px;
    font-weight: 800;
}

.hero {
    padding: 58px 0 52px;
    background: #F7F9FC;
    text-align: left;
}

.hero-grid {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(32px, 6vw, 76px);
    align-items: center;
}

.hero-copy {
    gap: 20px;
    max-width: 820px;
}

.eyebrow {
    width: fit-content;
    max-width: 100%;
    padding: 9px 16px;
    background: #EAF0FF;
    color: #0E39B0;
    font-size: 15px;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(42px, 5.4vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.045em;
    color: #101827;
}

.hero p {
    max-width: 690px;
    margin: 0;
    color: #475569;
    font-size: clamp(17px, 1.8vw, 22px);
    line-height: 1.55;
}

.hero-actions {
    gap: 14px;
    margin-top: 6px;
}

.hero-actions .cta-button,
.hero-actions .secondary-cta {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 900;
}

.hero-highlights {
    max-width: 780px;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 2px;
}

.hero-highlights span {
    min-height: 56px;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
    font-weight: 800;
}

.hero-visual {
    min-height: auto;
    justify-self: center;
    width: min(320px, 100%);
    border-radius: 28px;
    background: #FFFFFF;
    padding: 34px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.hero-visual img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

.challenge-section,
.solutions-section,
.workflow-section,
.industries-section,
.advantages-section,
.stats-section,
.faq-section,
.contact-section {
    padding: 56px 0;
}

.challenge-card,
.solution-card,
.timeline-step,
.industry-card,
.advantage-card,
.stat-card,
.faq-item {
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.whatsapp-float {
    right: 22px;
    bottom: 22px;
    gap: 12px;
}

.whatsapp-btn {
    width: 54px;
    height: 54px;
    box-shadow: 0 16px 36px rgba(22, 163, 74, 0.28);
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        width: min(240px, 100%);
        padding: 24px;
    }

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

@media (max-width: 640px) {
    .header-inner {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 0;
    }

    .site-header .ultrasoft-logo {
        justify-self: start;
    }

    .site-header .nav-links {
        justify-self: start;
        gap: 18px;
    }

    .hero {
        padding: 38px 0 42px;
    }

    .hero-grid {
        width: min(100% - 32px, 1280px);
        gap: 26px;
    }

    .hero h1 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .hero-highlights,
    .challenge-grid,
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions .cta-button,
    .hero-actions .secondary-cta {
        width: 100%;
    }
}

/* Ajustes finales para teléfonos */
@media (max-width:640px) {
    html, body { max-width:100%; overflow-x:hidden; }
    .container, .hero-grid, .header-inner { width:100%; max-width:100%; padding-inline:16px; }
    .site-header { position:relative; }
    .site-header .nav-links { width:100%; display:flex; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
    .site-header .nav-links::-webkit-scrollbar { display:none; }
    .site-header .nav-links a { flex:0 0 auto; min-height:44px; display:inline-flex; align-items:center; white-space:nowrap; }
    .hero h1 { overflow-wrap:anywhere; }
    .challenge-section, .solutions-section, .workflow-section, .industries-section,
    .advantages-section, .stats-section, .faq-section, .contact-section { padding:40px 0; }
    .whatsapp-float { right:14px; bottom:max(14px,env(safe-area-inset-bottom)); }
    input, select, textarea { width:100%; max-width:100%; font-size:16px; }
}

/* Encabezado ULTRASOFT compacto y menú hamburguesa móvil */
.site-header .header-inner {
    position: relative;
    grid-template-columns: auto minmax(0,1fr);
}

.site-header .nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    font-size: clamp(22px,3vw,34px);
    font-weight: 900;
    letter-spacing: .055em;
    text-decoration: none;
    white-space: nowrap;
}

.site-header .nav-brand .ultrasoft-logo {
    justify-self: auto;
    width: 42px;
    height: 42px;
    margin: 0;
}

.site-header .mobile-menu-toggle {
    display: none;
}

@media (max-width:640px) {
    .site-header {
        position: sticky;
    }

    .site-header .header-inner {
        display: grid;
        grid-template-columns: minmax(0,1fr) 46px;
        align-items: center;
        gap: 12px;
        min-height: 64px;
        padding: 8px 0;
    }

    .site-header .nav-brand {
        gap: 8px;
        min-width: 0;
        font-size: 21px;
    }

    .site-header .nav-brand .ultrasoft-logo {
        display: block;
        width: 36px;
        height: 36px;
    }

    .site-header .mobile-menu-toggle {
        width: 46px;
        height: 46px;
        display: grid;
        place-content: center;
        gap: 5px;
        padding: 0;
        border: 1px solid rgba(255,255,255,.28);
        border-radius: 12px;
        background: rgba(255,255,255,.1);
        cursor: pointer;
    }

    .site-header .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
        display: block;
        border-radius: 2px;
        background: #FFFFFF;
        transition: transform .2s ease, opacity .2s ease;
    }

    .site-header .mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header .mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
    .site-header .mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .site-header .nav-links {
        position: absolute;
        z-index: 20;
        top: calc(100% + 4px);
        left: 0;
        right: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 10px;
        overflow: visible;
        border: 1px solid rgba(255,255,255,.2);
        border-radius: 14px;
        background: #0E39B0;
        box-shadow: 0 18px 38px rgba(2,12,40,.3);
    }

    .site-header .nav-links.is-open {
        display: flex;
    }

    .site-header .nav-links a {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 12px;
        border-radius: 10px;
    }
}
.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}
