/* ==================================================
   KRONO TECHNOLOGIES
   Sitio corporativo principal
================================================== */

:root {
    --blue: #0757c9;
    --blue-dark: #053b8e;
    --blue-light: #eaf2ff;

    --navy: #0c1729;
    --navy-soft: #152238;

    --text: #172033;
    --text-soft: #667085;

    --background: #f7f9fc;
    --surface: #ffffff;
    --border: #e8ecf2;

    --green: #169b71;

    --font-body: 'Inter', sans-serif;
    --font-heading: 'Manrope', sans-serif;

    --container: 1240px;

    --shadow-sm:
        0 8px 30px rgba(25, 45, 80, 0.06);

    --shadow-md:
        0 24px 70px rgba(20, 42, 75, 0.10);
}


/* ==================================================
   RESET
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--background);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}


/* ==================================================
   GENERAL
================================================== */

.section-container {
    width: calc(100% - 48px);
    max-width: var(--container);
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--blue);
}

.section-label.light {
    color: #8ebaff;
}


/* ==================================================
   HEADER
================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(220, 226, 235, 0.78);

    transition:
        box-shadow .25s ease,
        background .25s ease;
}

.site-header.scrolled {
    box-shadow: 0 8px 30px rgba(18, 38, 67, 0.07);
}

.navbar {
    width: calc(100% - 48px);
    max-width: var(--container);
    height: 78px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-krono {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.brand-technologies {
    margin-top: 5px;

    font-size: 0.62rem;
    color: var(--text-soft);

    text-transform: uppercase;
    letter-spacing: 0.13em;
}


/* NAV LINKS */

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links > a {
    font-size: 0.91rem;
    font-weight: 500;
    color: #3d485b;

    transition:
        color .2s ease,
        transform .2s ease;
}

.nav-links > a:hover {
    color: var(--blue);
}

.nav-links .btn-nav {
    padding: 10px 19px;

    border: 1px solid var(--blue);
    border-radius: 8px;

    color: var(--blue);
    font-weight: 600;
}

.nav-links .btn-nav:hover {
    background: var(--blue);
    color: white;
    transform: translateY(-1px);
}


/* MOBILE BUTTON */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    width: 23px;
    height: 2px;

    display: block;

    margin: 5px auto;

    background: var(--text);

    transition: .25s ease;
}


/* ==================================================
   HERO
================================================== */

.hero {
    min-height: 760px;

    padding: 155px 0 95px;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f9fbff 55%,
            #f7f9fc 100%
        );
}

.hero-background {
    position: absolute;

    width: 760px;
    height: 760px;

    border-radius: 50%;

    right: -310px;
    top: -260px;

    background:
        radial-gradient(
            circle,
            rgba(41, 111, 218, 0.12),
            rgba(41, 111, 218, 0) 67%
        );

    pointer-events: none;
}

.hero-container {
    width: calc(100% - 48px);
    max-width: var(--container);
    margin: auto;

    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(520px, .95fr);

    gap: 75px;

    align-items: center;
}


/* HERO TEXT */

.hero-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 24px;

    color: #56647a;

    font-size: 0.77rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 0 6px rgba(7, 87, 201, 0.09);
}

.hero h1 {
    font-family: var(--font-heading);

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: 1.05;

    letter-spacing: -0.055em;

    font-weight: 700;

    color: var(--navy);

    max-width: 720px;
}

.hero h1 span {
    display: block;
    color: var(--blue);
}

.hero-description {
    max-width: 640px;

    margin-top: 27px;

    color: var(--text-soft);

    font-size: 1.09rem;
    line-height: 1.8;
}


/* HERO BUTTONS */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 13px;

    margin-top: 34px;
}

.btn-primary,
.btn-secondary {
    min-height: 51px;

    padding: 0 22px;

    border-radius: 8px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    font-weight: 600;
    font-size: 0.91rem;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.btn-primary {
    background: var(--blue);
    color: white;

    box-shadow:
        0 12px 30px rgba(7, 87, 201, 0.19);
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 17px 38px rgba(7, 87, 201, 0.25);
}

.btn-arrow {
    font-size: 1.2rem;

    transition: transform .25s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    border: 1px solid #d7dde7;
    background: white;
    color: #344054;
}

.btn-secondary:hover {
    border-color: #c2cad8;
    transform: translateY(-2px);
}


/* HERO META */

.hero-meta {
    display: flex;
    align-items: center;

    margin-top: 46px;

    gap: 21px;
}

.hero-meta > div:not(.meta-separator) {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.hero-meta strong {
    font-size: 0.83rem;
    font-weight: 650;
    color: var(--navy);
}

.hero-meta span {
    font-size: 0.71rem;
    color: #8993a4;
}

.meta-separator {
    width: 1px;
    height: 30px;

    background: #dde2ea;
}


/* ==================================================
   HERO VISUAL
================================================== */

.hero-visual {
    position: relative;

    min-height: 505px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-glow {
    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(38, 112, 223, .15),
            transparent 67%
        );

    filter: blur(18px);
}

.app-window {
    position: relative;

    width: 100%;
    max-width: 600px;

    border-radius: 15px;

    overflow: hidden;

    border: 1px solid #dfe5ed;

    background: white;

    box-shadow:
        0 35px 90px rgba(17, 38, 70, .15);

    transform:
        perspective(1200px)
        rotateY(-2.5deg)
        rotateX(1deg);

    z-index: 2;
}


/* BARRA SUPERIOR DEL MOCKUP */

.app-topbar {
    height: 42px;

    background: #fafbfc;

    border-bottom: 1px solid #edf0f4;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 15px;
}

.app-dots {
    display: flex;
    gap: 5px;
}

.app-dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #d6dbe4;
}

.app-title {
    font-size: 0.64rem;
    color: #8993a4;

    font-weight: 600;
    letter-spacing: .04em;
}


/* ==================================================
   KRONO ERP MOCKUP
================================================== */

.app-body {
    min-height: 400px;
    background: #f8fafc;
}


/* HEADER DEL SISTEMA */

.app-nav {
    height: 64px;

    padding: 0 17px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid #e7ebf0;

    background: #ffffff;
}


/* LOGO SISTEMA */

.app-brand {
    display: flex;
    align-items: center;

    gap: 8px;

    padding-right: 16px;

    border-right: 1px solid #edf0f4;
}

.app-brand-symbol {
    width: 30px;
    height: 30px;

    border-radius: 7px;

    display: grid;
    place-items: center;

    background: var(--blue);

    color: white;

    font-size: .65rem;
    font-weight: 800;
}

.app-brand > div:last-child {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.app-brand strong {
    color: #1f2d42;

    font-size: .69rem;
}

.app-brand span {
    color: #9ba5b5;

    font-size: .45rem;

    margin-top: 2px;
}


/* MENU SUPERIOR DEL SISTEMA */

.app-menu {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-left: 16px;

    flex: 1;

    white-space: nowrap;
}

.app-menu span {
    position: relative;

    color: #7a8798;

    font-size: .48rem;
    font-weight: 550;
}

.app-menu span.active {
    color: var(--blue);

    font-weight: 700;
}

.app-menu span.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -22px;

    height: 2px;

    border-radius: 5px;

    background: var(--blue);
}


/* USUARIO */

.app-user {
    width: 29px;
    height: 29px;

    min-width: 29px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    background: #edf3fb;

    color: var(--blue);

    font-size: .48rem;
    font-weight: 800;
}


/* ==================================================
   DASHBOARD
================================================== */

.app-dashboard {
    padding: 24px;

    background: #f8fafc;
}

.dashboard-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-heading > div:first-child {
    display: flex;
    flex-direction: column;
}

.dashboard-small {
    color: #9ba4b3;

    font-size: .5rem;

    text-transform: uppercase;
    letter-spacing: .07em;
}

.dashboard-heading strong {
    color: #263348;

    font-size: .85rem;

    margin-top: 3px;
}

.dashboard-status {
    padding: 5px 9px;

    border-radius: 20px;

    color: #18865f;

    background: #e8f8f2;

    font-size: .52rem;
    font-weight: 700;
}


/* TARJETAS DEL DASHBOARD */

.dashboard-stats {
    margin-top: 20px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 9px;
}

.stat-card {
    padding: 12px;

    background: white;

    border-radius: 8px;

    border: 1px solid #edf0f4;
}

.stat-card > span {
    color: #929cac;

    font-size: .49rem;
}

.stat-card strong {
    display: block;

    margin-top: 3px;

    color: #253248;

    font-size: .84rem;
}

.stat-change {
    color: #8793a5;

    font-size: .43rem;

    margin-top: 7px;
}


/* PARTE INFERIOR */

.dashboard-content {
    display: grid;

    grid-template-columns: 1.5fr .75fr;

    gap: 9px;

    margin-top: 9px;
}


/* ==================================================
   GRAFICO
================================================== */

.dashboard-chart {
    height: 160px;

    background: white;

    border-radius: 8px;

    border: 1px solid #edf0f4;

    padding: 13px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.chart-header > div {
    display: flex;
    flex-direction: column;
}

.chart-header span {
    color: #99a3b3;

    font-size: .45rem;
}

.chart-header strong {
    margin-top: 2px;

    color: #445167;

    font-size: .61rem;
}

.chart-period {
    padding: 4px 7px;

    border-radius: 5px;

    background: #f5f7fa;

    color: #7c8798 !important;

    font-size: .4rem !important;
}

.chart-bars {
    height: 87px;

    margin-top: 14px;

    display: flex;
    align-items: end;

    gap: 7px;

    border-bottom: 1px solid #edf0f4;
}

.chart-bars span {
    flex: 1;

    min-width: 5px;

    border-radius: 2px 2px 0 0;

    background:
        linear-gradient(
            180deg,
            #3f82df,
            #9fc1f1
        );

    opacity: .78;

    animation: chartGrow .9s ease backwards;
}

@keyframes chartGrow {
    from {
        height: 0;
    }
}


/* ==================================================
   ACTIVIDAD RECIENTE
================================================== */

.activity-card {
    background: white;

    border: 1px solid #edf0f4;

    border-radius: 8px;

    padding: 13px;
}

.activity-title {
    display: block;

    color: #344054;

    font-size: .55rem;
    font-weight: 700;

    margin-bottom: 12px;
}

.activity-item {
    display: flex;
    align-items: flex-start;

    gap: 7px;

    padding: 8px 0;

    border-top: 1px solid #f1f3f6;
}

.activity-dot {
    width: 6px;
    height: 6px;

    min-width: 6px;

    margin-top: 4px;

    border-radius: 50%;

    background: var(--blue);
}

.activity-item > div {
    display: flex;
    flex-direction: column;
}

.activity-item strong {
    color: #526074;

    font-size: .47rem;
    font-weight: 600;
}

.activity-item small {
    margin-top: 2px;

    color: #a0a8b5;

    font-size: .39rem;
}


/* ==================================================
   TARJETAS FLOTANTES
================================================== */

.floating-card {
    position: absolute;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 11px 15px;

    background: rgba(255,255,255,.97);

    border: 1px solid #e6eaf0;

    box-shadow:
        0 15px 40px rgba(20,40,70,.11);

    border-radius: 10px;

    z-index: 5;

    animation: floatCard 5s ease-in-out infinite;
}

.floating-card div {
    display: flex;
    flex-direction: column;
}

.floating-card strong {
    font-size: .71rem;

    color: #28364a;
}

.floating-card small {
    font-size: .57rem;

    color: #97a0af;
}

.floating-icon {
    min-width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 7px;

    background: #edf4ff;

    color: var(--blue);

    font-size: .52rem;
    font-weight: 800;
}

.floating-erp {
    top: 28px;
    right: -25px;
}

.floating-iva {
    left: -28px;
    bottom: 35px;

    animation-delay: -2s;
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }

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


/* ==================================================
   INTRO
================================================== */

.intro-section {
    padding: 120px 0;

    background: white;
}

.intro-grid {
    display: grid;

    grid-template-columns: .5fr 1.25fr;

    gap: 100px;
}

.section-tag {
    color: var(--blue);

    font-size: .72rem;
    font-weight: 700;

    letter-spacing: .13em;

    padding-top: 11px;
}

.intro-copy h2 {
    font-family: var(--font-heading);

    max-width: 830px;

    font-size: clamp(2.1rem, 4vw, 3.7rem);

    line-height: 1.15;

    letter-spacing: -.045em;

    color: var(--navy);
}

.intro-copy h2 span {
    color: var(--blue);
}

.intro-copy p {
    max-width: 760px;

    color: var(--text-soft);

    font-size: 1rem;

    margin-top: 25px;
}


/* ==================================================
   SOLUCIONES
================================================== */

.solutions-section {
    padding: 125px 0;

    background: var(--background);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 55px;

    gap: 60px;
}

.section-heading h2 {
    font-family: var(--font-heading);

    font-size: clamp(2rem, 3vw, 3.1rem);

    letter-spacing: -.04em;

    margin-top: 10px;

    color: var(--navy);
}

.section-heading > p {
    max-width: 430px;

    color: var(--text-soft);

    font-size: .93rem;
}


/* PRODUCTOS */

.products-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.product-card {
    min-height: 590px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 13px;

    padding: 29px;

    display: flex;
    flex-direction: column;

    position: relative;

    overflow: hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.product-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: var(--blue);
}

.product-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);

    border-color: transparent;
}

.product-iva::before {
    background: #3984c6;
}

.product-dte::before {
    background: #5d789c;
}

.product-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 45px;
}

.product-icon {
    width: 52px;
    height: 52px;

    border-radius: 10px;

    display: grid;
    place-items: center;

    background: #edf4ff;

    color: var(--blue);

    font-family: var(--font-heading);

    font-size: .7rem;
    font-weight: 800;
}

.product-iva .product-icon {
    color: #2472b7;
    background: #edf6fc;
}

.product-dte .product-icon {
    color: #64748b;
    background: #f1f4f8;
}

.product-status {
    font-size: .6rem;
    font-weight: 700;

    color: #187b5d;
    background: #edf8f4;

    border-radius: 50px;

    padding: 6px 10px;

    text-transform: uppercase;
    letter-spacing: .05em;
}

.product-status.development {
    color: #64748b;
    background: #f1f4f8;
}

.product-company {
    display: block;

    color: #9ba4b3;

    font-size: .61rem;
    letter-spacing: .11em;

    font-weight: 650;

    margin-bottom: 6px;
}

.product-content h3 {
    font-family: var(--font-heading);

    font-size: 2rem;

    letter-spacing: -.04em;

    color: var(--navy);
}

.product-description {
    color: var(--text-soft);

    font-size: .9rem;
    line-height: 1.75;

    margin-top: 14px;
}

.product-content ul {
    list-style: none;

    margin-top: 27px;

    display: grid;

    gap: 11px;
}

.product-content li {
    color: #4c596b;

    font-size: .82rem;

    padding-left: 18px;

    position: relative;
}

.product-content li::before {
    content: "";

    position: absolute;

    left: 0;
    top: .68em;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--blue);
}

.product-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-top: 35px;

    color: var(--blue);

    font-size: .83rem;
    font-weight: 650;
}

.product-link span {
    transition: transform .25s ease;
}

.product-link:hover span {
    transform: translateX(5px);
}

.product-development {
    display: inline-flex;

    margin-top: 34px;

    color: #818b99;

    font-size: .77rem;
    font-weight: 600;
}


/* ==================================================
   KRONO FLOW
================================================== */

.krono-flow {
    padding: 130px 0;

    position: relative;

    overflow: hidden;

    color: white;

    background: #0c1729;
}

.flow-decoration {
    position: absolute;

    top: -390px;
    right: -210px;

    width: 760px;
    height: 760px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(45, 111, 208, .18),
            transparent 67%
        );
}

.flow-heading {
    position: relative;

    z-index: 1;

    max-width: 790px;
}

.flow-heading h2 {
    font-family: var(--font-heading);

    font-size: clamp(2.4rem, 4vw, 4rem);

    line-height: 1.12;

    letter-spacing: -.05em;

    margin-top: 13px;

    color: white;
}

.flow-heading h2 span {
    display: block;

    color: #7fb1fb;
}

.flow-heading p {
    max-width: 690px;

    margin-top: 24px;

    color: #94a3b8;

    font-size: .95rem;
}

.flow-container {
    position: relative;

    z-index: 2;

    margin-top: 75px;

    padding: 28px 30px;

    border-radius: 12px;

    border: 1px solid rgba(255,255,255,.1);

    background: rgba(255,255,255,.035);

    display: grid;

    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr;

    align-items: center;

    gap: 22px;
}

.flow-item {
    display: flex;
    align-items: center;

    gap: 13px;
}

.flow-number {
    width: 45px;
    min-width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: rgba(76, 137, 224, .1);

    border: 1px solid rgba(98, 157, 239, .25);

    color: #8bb9f7;

    font-size: .66rem;
    font-weight: 750;
}

.flow-item > div:last-child {
    display: flex;
    flex-direction: column;
}

.flow-item strong {
    font-size: .79rem;

    color: white;
}

.flow-item span {
    font-size: .65rem;

    color: #76879e;

    margin-top: 2px;
}

.flow-arrow {
    color: #49627f;

    font-size: 1.2rem;
}


/* ==================================================
   WHY
================================================== */

.why-section {
    padding: 130px 0;

    background: white;
}

.why-grid {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 110px;
}

.why-title h2 {
    font-family: var(--font-heading);

    font-size: clamp(2.1rem, 3.4vw, 3.4rem);

    line-height: 1.16;

    letter-spacing: -.045em;

    color: var(--navy);

    margin-top: 15px;
}

.why-items {
    border-top: 1px solid var(--border);
}

.why-item {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 17px;

    padding: 29px 0;

    border-bottom: 1px solid var(--border);
}

.why-number {
    color: #a2aab6;

    font-size: .7rem;
    font-weight: 700;

    margin-top: 5px;
}

.why-item h3 {
    font-family: var(--font-heading);

    font-size: 1.05rem;

    color: var(--navy);
}

.why-item p {
    color: var(--text-soft);

    font-size: .85rem;

    margin-top: 7px;

    max-width: 530px;
}


/* ==================================================
   CTA
================================================== */

.contact-cta {
    padding: 0 0 120px;

    background: white;
}

.cta-box {
    padding: 62px;

    border-radius: 14px;

    background: var(--blue);

    color: white;

    display: grid;

    grid-template-columns: 1.4fr .6fr;

    gap: 60px;

    align-items: center;

    position: relative;

    overflow: hidden;
}

.cta-box::after {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    right: -230px;
    top: -220px;

    border: 70px solid rgba(255,255,255,.05);
}

.cta-box h2 {
    font-family: var(--font-heading);

    font-size: clamp(2rem, 3vw, 3.2rem);

    line-height: 1.13;

    letter-spacing: -.045em;

    margin-top: 14px;

    max-width: 820px;
}

.cta-box h2 span {
    display: block;

    color: #b9d5ff;
}

.cta-actions {
    position: relative;

    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 16px;
}

.btn-white {
    min-height: 50px;

    padding: 0 21px;

    border-radius: 8px;

    display: flex;
    align-items: center;

    gap: 19px;

    color: var(--blue);

    background: white;

    font-size: .83rem;
    font-weight: 650;

    transition: transform .25s ease;
}

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

.cta-email {
    color: #c8dcfb;

    font-size: .74rem;

    border-bottom: 1px solid rgba(255,255,255,.24);
}


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

footer {
    padding: 72px 0 25px;

    color: #b5bfce;

    background: #091321;
}

.footer-main {
    width: calc(100% - 48px);

    max-width: var(--container);

    margin: auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1.4fr;

    gap: 60px;

    padding-bottom: 55px;
}

.footer-logo-area {
    display: flex;
    align-items: center;

    gap: 12px;
}

.footer-logo-area img {
    width: 40px;
    height: 40px;

    object-fit: contain;
}

.footer-logo-area div {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.footer-logo-area strong {
    color: white;

    font-family: var(--font-heading);

    font-size: 1rem;
}

.footer-logo-area span {
    color: #748297;

    font-size: .55rem;

    margin-top: 5px;

    text-transform: uppercase;

    letter-spacing: .12em;
}

.footer-brand p {
    max-width: 390px;

    margin-top: 19px;

    color: #78879b;

    font-size: .77rem;
    line-height: 1.75;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 10px;
}

.footer-column h4 {
    font-size: .67rem;

    color: white;

    letter-spacing: .07em;

    text-transform: uppercase;

    margin-bottom: 8px;
}

.footer-column a,
.footer-column span {
    color: #7f8da1;

    font-size: .74rem;

    transition: color .2s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    width: calc(100% - 48px);

    max-width: var(--container);

    margin: auto;

    border-top: 1px solid rgba(255,255,255,.07);

    padding-top: 23px;

    display: flex;
    justify-content: space-between;

    color: #657387;

    font-size: .66rem;
}


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

.reveal {
    opacity: 0;

    transform: translateY(24px);

    transition:
        opacity .75s cubic-bezier(.2,.7,.2,1),
        transform .75s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}

.reveal-delay {
    transition-delay: .12s;
}


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

@media(max-width: 1100px) {

    .hero-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-visual {
        width: 82%;

        margin: auto;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-dte {
        grid-column: 1 / -1;

        min-height: auto;
    }

    .flow-container {
        grid-template-columns: 1fr;

        gap: 17px;
    }

    .flow-arrow {
        transform: rotate(90deg);

        margin-left: 14px;
    }

    .why-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

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

    .footer-main {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }
}


/* ==================================================
   TABLET
================================================== */

@media(max-width: 768px) {

    .navbar {
        height: 70px;

        width: calc(100% - 30px);
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 70px;
        left: 15px;
        right: 15px;

        background: white;

        border: 1px solid var(--border);

        box-shadow: var(--shadow-md);

        border-radius: 10px;

        padding: 21px;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links > a {
        padding: 12px;

        width: 100%;
    }

    .nav-links .btn-nav {
        margin-top: 8px;

        text-align: center;
    }

    .section-container,
    .hero-container {
        width: calc(100% - 32px);
    }

    .hero {
        min-height: auto;

        padding:
            120px 0
            80px;
    }

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

    .hero-description {
        font-size: .95rem;
    }

    .hero-meta {
        gap: 14px;

        flex-wrap: wrap;
    }

    .hero-visual {
        width: 100%;

        min-height: 410px;
    }

    .app-window {
        transform: none;
    }

    .floating-erp {
        right: -7px;
    }

    .floating-iva {
        left: -7px;
    }

    .intro-section,
    .solutions-section,
    .krono-flow,
    .why-section {
        padding: 90px 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .section-heading {
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-dte {
        grid-column: auto;
    }

    .product-card {
        min-height: auto;
    }

    .cta-box {
        padding: 40px 28px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;

        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-column:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media(max-width: 520px) {

    .brand-logo {
        width: 36px;
        height: 36px;
    }

    .brand-name {
        display: none;
    }

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

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .hero-meta {
        display: grid;

        grid-template-columns: repeat(3, 1fr);

        text-align: center;

        gap: 7px;
    }

    .meta-separator {
        display: none;
    }

    .hero-meta strong {
        font-size: .69rem;
    }

    .hero-meta span {
        font-size: .59rem;
    }

    .hero-visual {
        min-height: 345px;
    }

    .app-topbar {
        height: 34px;
    }

    .app-nav {
        height: 52px;

        padding: 0 10px;
    }

    .app-brand {
        padding-right: 8px;
    }

    .app-brand-symbol {
        width: 25px;
        height: 25px;

        font-size: .55rem;
    }

    .app-brand strong {
        font-size: .55rem;
    }

    .app-brand span {
        display: none;
    }

    .app-menu {
        gap: 8px;

        margin-left: 8px;
    }

    .app-menu span {
        font-size: .42rem;
    }

    .app-menu span:nth-child(4),
    .app-menu span:nth-child(5) {
        display: none;
    }

    .app-user {
        width: 25px;
        height: 25px;

        min-width: 25px;
    }

    .app-dashboard {
        padding: 14px;
    }

    .dashboard-heading strong {
        font-size: .68rem;
    }

    .dashboard-stats {
        gap: 5px;
    }

    .stat-card {
        padding: 8px;
    }

    .stat-card strong {
        font-size: .7rem;
    }

    .stat-change {
        display: none;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .dashboard-chart {
        height: 145px;
    }

    .activity-card {
        display: none;
    }

    .floating-card {
        display: none;
    }

    .intro-copy h2,
    .flow-heading h2,
    .why-title h2,
    .section-heading h2 {
        font-size: 2rem;
    }

    .product-card {
        padding: 24px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-column:last-child {
        grid-column: auto;
    }
}


/* ==================================================
   REDUCED MOTION
================================================== */

@media(prefers-reduced-motion: reduce) {

    * {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}