/* =========================================================
   TIPEL SAC
   Estilos principales
   Basado en el diseño de Atomatic.SAT (mismos colores,
   tipografía y componentes), ampliado con las secciones de
   Plataforma SaaS, Mini apps, Proceso y datos legales.
   ========================================================= */


/* ==================== VARIABLES ==================== */

:root {
    --background: #070b14;
    --background-light: #0d1320;
    --card: #101827;

    --text: #f4f7fb;
    --text-muted: #9aa6b8;

    --primary: #6c63ff;
    --primary-light: #8f89ff;
    --success: #22c55e;

    --border: rgba(255, 255, 255, 0.08);

    --container: 1150px;
    --radius: 18px;
    --transition: 0.3s ease;
}


/* ==================== RESET ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
    border-radius: 6px;
}


/* ==================== GENERAL ==================== */

.container {
    width: min(90%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 18px;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
}

h2 span,
h1 span {
    color: var(--primary-light);
}

.section-description {
    max-width: 700px;
    margin-top: 25px;
    color: var(--text-muted);
    font-size: 1.05rem;
}


/* ==================== HEADER ==================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 11, 20, 0.75);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(7, 11, 20, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* El logo "T." de Tipel SAC (el mismo del ícono de la pestaña) */

.logo-mark {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.logo-text span {
    color: var(--primary-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--text);
}

.nav-menu .btn {
    color: white;
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
}


/* ==================== HERO ==================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    width: 600px;
    height: 600px;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(108, 99, 255, 0.25), transparent 65%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    max-width: 750px;
    font-size: clamp(3rem, 6vw, 5.2rem);
    letter-spacing: -0.05em;
}

.hero-description {
    max-width: 650px;
    margin-top: 25px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.hero-note {
    margin-top: 22px;
    color: var(--text-muted);
    font-size: 0.85rem;
}


/* ==================== BUTTONS ==================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}

.btn-small {
    padding: 9px 16px;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--background-light);
}


/* ==================== AI CARD ==================== */

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.ai-card {
    width: min(100%, 350px);
    padding: 30px;
    background: linear-gradient(145deg, #121b2c, #0b101b);
    border: 1px solid var(--border);
    border-radius: 25px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    transform: perspective(900px) rotateY(-8deg) rotateX(4deg);
    transition: var(--transition);
}

.ai-card:hover {
    transform: perspective(900px) rotateY(0) rotateX(0) translateY(-5px);
}

.ai-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

.ai-icon {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 45px auto 30px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary), #4038a8);
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 20px 50px rgba(108, 99, 255, 0.3);
}

.ai-card p {
    color: var(--text-muted);
    text-align: center;
}

.ai-modules {
    display: grid;
    gap: 8px;
    margin-top: 25px;
}

.ai-modules li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    font-size: 0.9rem;
}

.ai-modules em {
    margin-left: auto;
    color: var(--success);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 700;
}

.floating-badge {
    position: absolute;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(16, 24, 39, 0.9);
    border: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    animation: float 5s ease-in-out infinite;
}

.badge-top {
    top: -20px;
    left: 0;
}

.badge-bottom {
    bottom: -20px;
    right: 0;
    animation-delay: -2.5s;
}


/* ==================== INTRO ==================== */

.about-intro {
    padding: 100px 0;
    background: var(--background-light);
}

.about-intro h2 {
    max-width: 850px;
}

.about-intro .section-description {
    max-width: 800px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 55px;
}

.stat {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
}

.stat strong {
    display: block;
    font-size: 2.2rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--primary-light);
}

.stat span {
    display: block;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* ==================== SECTION HEADING ==================== */

.section-heading {
    margin-bottom: 55px;
}


/* ==================== SOLUTIONS ==================== */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.solution-card {
    position: relative;
    padding: 35px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-7px);
    border-color: rgba(143, 137, 255, 0.3);
}

.solution-card.featured {
    background: linear-gradient(145deg, #171a36, #101624);
}

.card-number {
    position: absolute;
    top: 25px;
    right: 25px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 30px;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.solution-card p {
    color: var(--text-muted);
}

.card-tag {
    margin-top: auto;
    padding-top: 25px;
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 700;
}

.card-link:hover {
    color: var(--text);
}


/* ==================== SPOTLIGHT (PLATAFORMA Y MINI APPS) ==================== */

.platform,
.process {
    background: var(--background-light);
}

/* El resplandor de .spotlight-visual::before se sale 60px por cada lado.
   Sin este recorte, en celular la página se desliza hacia los costados. */

.platform,
.miniapps {
    overflow: hidden;
}

.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.spotlight.reverse .spotlight-text {
    order: 2;
}

.spotlight-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.spotlight-visual::before {
    content: "";
    position: absolute;
    inset: -60px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.18), transparent 65%);
    pointer-events: none;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.feature-list li {
    position: relative;
    padding-left: 32px;
    color: var(--text-muted);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(108, 99, 255, 0.18);
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 800;
}

.saas-note {
    margin-top: 25px;
    padding: 16px 18px;
    border-left: 3px solid var(--primary);
    border-radius: 0 12px 12px 0;
    background: rgba(108, 99, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.saas-note strong {
    color: var(--text);
}


/* ==================== VENTANA ERP ==================== */

.erp-window {
    position: relative;
    width: min(100%, 460px);
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(145deg, #121b2c, #0b101b);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.erp-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.erp-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.erp-bar p {
    margin-left: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.75rem;
}

.erp-body {
    padding: 26px;
}

.erp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.erp-head strong {
    font-size: 1.15rem;
}

.erp-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.erp-label {
    margin: 22px 0 14px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.erp-stages {
    position: relative;
    display: grid;
    gap: 6px;
    counter-reset: etapa;
}

.erp-stages li {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    padding: 10px 14px 10px 46px;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.92rem;
    counter-increment: etapa;
}

.erp-stages li::before {
    content: counter(etapa);
    position: absolute;
    left: 12px;
    top: 9px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    font-size: 0.7rem;
    font-weight: 700;
}

.erp-stages li small {
    width: 100%;
    color: var(--text-muted);
    font-size: 0.75rem;
    opacity: 0.8;
}

.erp-stages li.done {
    color: var(--text);
}

.erp-stages li.done::before {
    content: "✓";
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    color: var(--success);
}

.erp-stages li.current {
    color: var(--text);
    background: rgba(108, 99, 255, 0.12);
    border: 1px solid rgba(143, 137, 255, 0.3);
}

.erp-stages li.current::before {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.erp-stages li.current small {
    color: var(--primary-light);
    opacity: 1;
}

.erp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.erp-chips span {
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.78rem;
}


/* ==================== MINI APPS ==================== */

.miniapp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 30px;
}

.miniapp-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    font-size: 0.9rem;
}

.phone {
    position: relative;
    width: 290px;
    padding: 14px;
    border-radius: 42px;
    background: #05080f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}

.phone-notch {
    position: absolute;
    top: 22px;
    left: 50%;
    width: 90px;
    height: 22px;
    transform: translateX(-50%);
    border-radius: 20px;
    background: #05080f;
    z-index: 1;
}

.phone-screen {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    padding: 50px 16px 16px;
    border-radius: 30px;
    background: linear-gradient(180deg, #121b2c, #0b101b);
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-avatar {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #4038a8);
    font-size: 1.3rem;
}

.phone-header strong {
    display: block;
    font-size: 0.95rem;
}

.phone-header small {
    color: var(--success);
    font-size: 0.72rem;
}

.phone-tabs {
    display: flex;
    gap: 6px;
    margin: 20px 0 14px;
}

.phone-tabs span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.phone-tabs span.active {
    background: var(--primary);
    color: white;
}

.phone-items {
    display: grid;
    gap: 10px;
}

.phone-items li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.phone-items div {
    flex: 1;
    min-width: 0;
}

.phone-items strong {
    display: block;
    font-size: 0.82rem;
}

.phone-items small {
    display: block;
    color: var(--text-muted);
    font-size: 0.68rem;
}

.phone-items span {
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.phone-items button {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border: none;
    border-radius: 8px;
    background: rgba(108, 99, 255, 0.2);
    color: var(--primary-light);
    font-weight: 800;
    pointer-events: none;
}

.phone-cart {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--success);
    color: #052e16;
}

.phone-cart span {
    font-size: 0.72rem;
    font-weight: 600;
}

.phone-cart strong {
    font-size: 0.9rem;
}


/* ==================== PROCESO ==================== */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step {
    position: relative;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #4038a8);
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.25);
}

.step-label {
    margin-top: 25px;
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.step h3 {
    margin: 8px 0 12px;
    font-size: 1.4rem;
}

.step p:last-child {
    color: var(--text-muted);
}


/* ==================== AUDIENCES ==================== */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.audience-card {
    display: flex;
    flex-direction: column;
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background-light);
    transition: var(--transition);
}

.audience-card:hover {
    transform: translateY(-5px);
}

.audience-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.audience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.audience-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.audience-card a {
    margin-top: auto;
    color: var(--primary-light);
    font-weight: 700;
}

.industries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 45px;
}

.industries li {
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    color: var(--text-muted);
    font-size: 0.88rem;
}


/* ==================== ABOUT ==================== */

.about {
    background: var(--background-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-grid p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.values {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.values li {
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--background);
    color: var(--text-muted);
}

.values strong {
    color: var(--text);
}


/* ==================== CONTACT ==================== */

.contact {
    padding-bottom: 120px;
}

.contact-box {
    padding: 80px 40px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: radial-gradient(circle at center, rgba(108, 99, 255, 0.15), transparent 60%);
}

.contact-box h2 {
    max-width: 850px;
    margin: 0 auto 20px;
}

.contact-box p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 auto 30px;
    color: var(--text-muted);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}


/* ==================== FOOTER ==================== */

.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.6fr;
    gap: 40px;
}

.footer p,
.footer dd,
.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-brand p {
    margin-top: 12px;
    max-width: 260px;
}

.footer h3 {
    margin-bottom: 14px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a:hover,
.footer-bottom a:hover,
.legal a:hover {
    color: var(--text);
}

.socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.socials a {
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.socials a:hover {
    border-color: rgba(143, 137, 255, 0.4);
    color: var(--primary-light);
}

.legal dl {
    display: grid;
    gap: 8px;
}

.legal dt {
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 700;
}

.legal dd {
    overflow-wrap: anywhere;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}


/* ==================== ANIMACIONES ==================== */

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Los elementos con .reveal aparecen suavemente al hacer scroll.
   La clase .js la pone script.js: sin JavaScript se ve todo normal. */

.js .reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}


/* ==================== RESPONSIVE ==================== */


/* TABLET */

@media (max-width: 960px) {

    .nav-menu {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        padding: 25px 5%;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        background: rgba(7, 11, 20, 0.98);
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .spotlight {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .spotlight.reverse .spotlight-text {
        order: 0;
    }

    .spotlight-text .hero-buttons {
        justify-content: flex-start;
    }

    .steps,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* MOBILE */

@media (max-width: 650px) {

    .section {
        padding: 80px 0;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 100px;
    }

    .hero-text h1 {
        font-size: clamp(2.6rem, 12vw, 4rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .nav-menu .btn {
        width: auto;
    }

    .stats,
    .cards,
    .miniapp-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        min-height: auto;
    }

    .erp-body {
        padding: 20px;
    }

    .phone {
        width: 100%;
        max-width: 290px;
    }

    .audience-card,
    .step {
        padding: 30px;
    }

    .contact-box {
        padding: 60px 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
