/* ============================================================
   ZeroDeck Landing (Empresas) — style.css
   ============================================================ */

/* ---- Variables ---- */
:root {
    --primary:        #2e4837;
    --primary-light:  #badbb5;
    --accent:         #db622a;
    --accent-dark:    #d4835f;
    --bg-light:       #f5f9f5;
    --text-dark:      #1c2321;
    --text-muted:     #5f6d65;
    --white:          #ffffff;
    --border-light:   #e0ece1;
    --radius:         12px;
    --radius-sm:      8px;
    --shadow-card:    0 4px 24px rgba(46,72,55,.08);
    --shadow-float:   0 8px 32px rgba(46,72,55,.18);
    --transition:     all .3s ease;
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; }

/* ---- Bootstrap utility overrides ---- */
.text-primary-dark  { color: var(--primary)       !important; }
.text-primary-light { color: var(--primary-light)  !important; }
.text-accent        { color:white }
.text-accent2       { color: var(--accent); }
.text-white-60      { color: rgba(255,255,255,.72); }

/* ---- Layout ---- */
.py-section    { padding: 90px 0; }
.py-section-sm { padding: 60px 0; }

.section-bg-light {
    background-color: var(--bg-light);
}
.section-bg-dots {
    background-color: var(--white);
    background-image: radial-gradient(circle, #c8deca 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ---- Typography ---- */
.section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    display: inline-block;
    width: 36px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section-heading {
    font-size: clamp(26px, 3.8vw, 40px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-heading-xl {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 20px;
    text-align: center;
}
.section-heading-light {
    font-size: clamp(26px, 3.8vw, 42px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-heading-dark {
    font-size: clamp(26px, 3.8vw, 42px);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: center;
}
.section-heading-dark2 {
    font-size: clamp(26px, 3.8vw, 42px);
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: center;
}
.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 620px;
}
.section-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}
.section-label-light {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    margin-bottom: 12px;
    display: block;
}

/* ---- Buttons ---- */
.btn-extra-large {
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.btn-extra-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.14);
}
.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}
.btn-accent2 {
    background-color: white;
    border-color: var(--accent);
    color: var(--dark);
}
.btn-accent:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
}
.btn-primary-dark {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.btn-primary-dark:hover {
    background-color: #233a2c;
    border-color: #233a2c;
    color: var(--white);
}
.btn-white {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--primary);
}

/* ---- Navbar ---- */
#mainNav {
    background-color: var(--white) !important;
    padding: 14px 0;
    box-shadow: 0 1px 0 var(--border-light);
    transition: box-shadow .3s ease;
}
#mainNav.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
.nav-logo-mobile  { height: 34px; width: auto; }
.nav-logo-desktop { height: 34px; width: auto; }
#mainNav .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 6px 10px !important;
    transition: color .2s;
}
#mainNav .nav-link:hover { color: var(--accent) !important; }
#mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830,35,33,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- HERO ---- */
.hero-section {
    background-color: var(--white);
    padding-top: 100px;
    padding-bottom: 60px;
    overflow: hidden;
}
.hero-row { min-height: calc(100vh - 100px); align-items: center; }

.hero-eyebrow {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.hero-heading {
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.12;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.7;
}
.hero-features { margin-top: 36px; }
.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0;
    border-top: 1px solid var(--border-light);
}

/* Hero floating card icon badges */
.hero-fc-icon {
    width: 30px; height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-fc-icon i { font-size: 14px; }
.hero-fc-icon-aws  { background: #fff3e0; color: #e67e00; }
.hero-fc-icon-auto { background: #f0f7f0; color: var(--primary); }
.hero-fc-icon-ops  { background: #fff3ed; color: var(--accent); }
.hero-fc-icon-erp  { background: #eef0ff; color: #4a5cf0; }

/* Hero right service cards */
.hero-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}
.hero-service-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}
.hero-service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-float);
}
.hero-card-ops { grid-column: span 2; }

.service-card-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.service-card-icon i { font-size: 16px; }
.service-card-icon-aws  { background: #fff3e0; color: #e67e00; }
.service-card-icon-auto { background: #f0f7f0; color: var(--primary); }
.service-card-icon-ops  { background: #fff3ed; color: var(--accent); }
.service-card-icon-erp  { background: #f0f7f0; color: var(--primary); }

/* ---- Problem cards ---- */
.problem-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.problem-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 28px rgba(234,162,129,.15);
}
.problem-icon {
    width: 56px; height: 56px;
    background-color: #fff3ed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.problem-icon i { font-size: 22px; color: var(--accent); }
.problem-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

/* Swiper pagination */
.problems-swiper { padding-bottom: 52px !important; }
.swiper-pagination-bullet {
    background-color: var(--primary-light);
    margin: 0 6px !important;
}
.swiper-pagination-bullet-active { background-color: var(--accent); }

/* ---- Hero image wrapper + floating cards ---- */
.hero-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}
.hero-main-img {
    border-radius: 16px 16px 0 0;
    object-fit: cover;
    display: block;
    width: 100%;
}
.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 16px;
    box-shadow: var(--shadow-float);
    z-index: 10;
    border: 1px solid var(--border-light);
}
.floating-card-moodle  { top: 18%; right: -10px; min-width: 190px; }
.floating-card-procesos { bottom: 30%; left: -10px; min-width: 200px; }
.floating-card-datos   { bottom: 6%;  right: 6%;  min-width: 175px; }
.floating-card-erp     { top: 6%;  left: -10px; min-width: 210px; }

/* ---- Split image ---- */
.split-img-wrapper { position: relative; display: inline-block; width: 100%; }
.split-img-deco {
    position: absolute;
    width: 60px; height: 60px;
    background-color: var(--accent);
    border-radius: 8px;
    z-index: -1;
    opacity: .45;
}
.split-img-deco-br { bottom: -14px; right: -14px; }
.split-img-deco-tl { top: -14px; left: -14px; }

/* Floating result labels */
.float-result {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    box-shadow: var(--shadow-card);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    white-space: nowrap;
    border: 1px solid var(--border-light);
}
.float-result-tr  { top: 12%;  right: -10px; }
.float-result-tr-2 { top: 28%; right: -10px; }
.float-result-br  { bottom: 18%; right: -10px; }
.float-result-tl  { top: 12%;  left: -10px; }
.float-result-bl  { bottom: 18%; left: -10px; }

/* ---- Check items ---- */
.check-item {
    font-size: 15px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    padding: 4px 0;
}
.check-item i { font-size: 17px; flex-shrink: 0; }
.check-item-light {
    font-size: 15px;
    color: rgba(255,255,255,.9);
    display: flex;
    align-items: center;
    padding: 4px 0;
}
.check-item-light i { font-size: 17px; flex-shrink: 0; color: var(--primary-light); }

/* ---- Automatización flow ---- */
.auto-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.auto-flow-step {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

/* ---- FinOps dark section ---- */
.section-dark { background-color: var(--primary); }

.finops-stat {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.finops-stat-accent { background: rgba(234,162,129,.2); border-color: rgba(234,162,129,.3); }
.finops-stat-light  { background: rgba(255,255,255,.08); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.finops-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}
.finops-label {
    font-size: 13px;
    color: rgba(255,255,255,.65);
    margin: 0;
}

/* ---- Integration diagram ---- */
.int-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    overflow-x: auto;
    padding: 20px 0;
}
.int-diagram-left,
.int-diagram-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.int-node {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-card);
    white-space: nowrap;
}
.int-diagram-lines {
    width: 60px;
    flex-shrink: 0;
    position: relative;
    align-self: stretch;
}
.int-diagram-lines::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary-light) 0, var(--primary-light) 6px, transparent 6px, transparent 12px);
    transform: translateY(-50%);
}
.int-diagram-center {
    flex-shrink: 0;
}
.int-center-logo {
    width: 100px; height: 100px;
    background-color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(46,72,55,.25);
}

/* Integration description cards */
.int-desc-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 18px;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}
.int-desc-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}
.int-desc-icon {
    width: 44px; height: 44px;
    background-color: #fff3ed;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.int-desc-icon i { font-size: 18px; color: var(--accent); }

/* ---- ERP Steps ---- */
.erp-steps { position: relative; }
@media (min-width: 992px) {
    .erp-steps::before {
        content: '';
        position: absolute;
        top: 42px;
        left: calc(12.5% + 22px);
        right: calc(12.5% + 22px);
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--border-light) 0, var(--border-light) 8px, transparent 8px, transparent 16px);
        z-index: 0;
    }
}
.erp-step-card {
    text-align: center;
    padding: 0 8px;
    position: relative;
}
.erp-step-num {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: .06em;
    margin-bottom: 8px;
}
.erp-step-icon {
    width: 52px; height: 52px;
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-card);
}
.erp-step-icon i { font-size: 20px; color: var(--primary); }
.erp-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.erp-step-text { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---- Data & BI section ---- */
.section-data-bi {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 55%, var(--primary) 100%);
}
.dashboard-wrapper img {
    border: 4px solid rgba(255,255,255,.15);
}

/* ---- Solution cards with image bg ---- */
.sol-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform .3s ease;
}
.sol-card:hover { transform: translateY(-4px); }
.sol-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30,45,35,.4) 0%, rgba(20,35,25,.85) 100%);
}
.sol-card-body {
    position: relative;
    z-index: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    min-height: 220px;
}
.sol-card-icon {
    width: 44px; height: 44px;
    background: rgba(234,162,129,.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.sol-card-icon i { font-size: 18px; color: var(--accent); }
.sol-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}
.sol-card-text { font-size: 14px; color: rgba(255,255,255,.75); margin: 0; }

/* ---- Proceso 5 steps ---- */
.proceso-row { position: relative; }
@media (min-width: 992px) {
    .proceso-row::before {
        content: '';
        position: absolute;
        top: 24px;
        left: calc(10% + 22px);
        right: calc(10% + 22px);
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--primary-light) 0, var(--primary-light) 8px, transparent 8px, transparent 18px);
        z-index: 0;
    }
}
.proceso-card { text-align: center; padding: 8px 12px; }
.proceso-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: var(--primary);
    color: var(--white);
    font-size: 17px;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.proceso-icon {
    width: 52px; height: 52px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.proceso-icon i { font-size: 20px; color: var(--primary); }
.proceso-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.proceso-text  { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---- Para quiénes (orange) ---- */
.section-orange { background-color: var(--accent); }

.inst-card-light {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.inst-card-light:hover { transform: translateY(-4px); }
.inst-name { font-size: 15px; font-weight: 600; color: var(--text-dark); margin: 0; }

/* ---- Diferenciadores ---- */
.diferenciador-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px 22px;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.diferenciador-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}
.dif-icon {
    width: 52px; height: 52px;
    background-color: #fff3ed;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.dif-icon i { font-size: 22px; color: var(--accent); }
.dif-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.dif-text  { font-size: 15px; color: var(--text-muted); margin: 0; }

/* ---- CTA Final ---- */
.cta-tagline-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: .04em;
}
.cta-image-wrapper { position: relative; }
.cta-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    box-shadow: var(--shadow-float);
    font-size: 14px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
}

/* ---- Sección Hablemos / Contacto ---- */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.contact-info-link {
    text-decoration: none;
    transition: color .2s;
}
.contact-info-link:hover .contact-info-text { color: var(--accent); }
.contact-info-icon {
    width: 38px; height: 38px;
    background: #fff3ed;
    color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}
.contact-info-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--primary);
    margin-bottom: 2px;
}
.contact-info-text {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-float);
    overflow: hidden;
}
.contact-form-img {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}
.contact-input {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    padding: 10px 14px;
    color: var(--text-dark);
    background: var(--bg-light);
}
.contact-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(219,98,42,.12);
    background: var(--white);
}

/* ---- Footer / Contact section ---- */
.section-footer-contact {
    background-color: var(--white);
    border-top: 1px solid var(--border-light);
}
.footer-logo { height: 36px; width: auto; }
.footer-logo-lg { height: 80px; width: auto; }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-muted);
}
.footer-contact-link {
    text-decoration: none;
    transition: color .2s;
}
.footer-contact-link:hover { color: var(--accent); }
.footer-contact-link:hover span { color: var(--accent); }
.footer-icon { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-cta-box {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px;
}
.footer-divider { border-color: var(--border-light); margin: 0; }
.footer-copy { font-size: 14px; color: var(--text-muted); }
.footer-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.footer-link:hover { color: var(--accent-dark); }

/* ---- AWS Partner — Capacidades badges ---- */
.cap-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.9);
    border: 1.5px solid var(--border-light);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(46,72,55,.06);
    transition: var(--transition);
}
.cap-badge:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(46,72,55,.12);
}
.cap-badge-icon {
    width: 26px;
    height: 26px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cap-badge-icon i { font-size: 11px; color: var(--white); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll,
.animate-from-left,
.animate-from-right {
    opacity: 0;
    transition: opacity .65s ease, transform .65s ease;
}
.animate-on-scroll  { transform: translateY(30px); }
.animate-from-left  { transform: translateX(-44px); }
.animate-from-right { transform: translateX(44px); }
.is-visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
.delay-4 { transition-delay: .48s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 575px) {
    .float-result   { display: none; }
    .floating-card  { display: none; }
    .hero-row { min-height: auto; }
    .hero-heading { font-size: 32px; }
    .int-diagram { flex-direction: column; gap: 16px; }
    .int-diagram-lines { display: none; }
}
@media (min-width: 576px) and (max-width: 991px) {
    .floating-card-moodle   { top: 8%;  right: 0; }
    .floating-card-procesos { bottom: 18%; left: 0; }
    .floating-card-datos    { bottom: 2%;  right: 4%; }
    .floating-card-erp      { top: 2%;   left: 0; }
}
@media (min-width: 992px) {
    .hero-main-img { border-radius: 16px; }
    .floating-card-moodle   { top: 16%; right: -16px; }
    .floating-card-procesos { bottom: 30%; left: -16px; }
    .floating-card-datos    { bottom: 6%;  right: 4%; }
    .floating-card-erp      { top: 6%;   left: -16px; }
}

@media (max-width: 767px) {
    .py-section  { padding: 60px 0; }
    .py-section-sm { padding: 40px 0; }
    .hero-cards-grid { grid-template-columns: 1fr; }
    .hero-card-ops { grid-column: span 1; }
    .section-heading { font-size: 26px; }
    .section-heading-xl { font-size: 28px; }
}

@media (min-width: 576px) and (max-width: 991px) {
    .float-result-tl { left: 0; }
    .float-result-bl { left: 0; }
    .float-result-tr { right: 0; }
    .float-result-br { right: 0; }
    .float-result-tr-2 { right: 0; }
    .int-diagram { flex-direction: column; gap: 20px; }
    .int-diagram-left, .int-diagram-right { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .int-diagram-lines { display: none; }
}

@media (min-width: 992px) {
    .py-section { padding: 100px 0; }
}
