/* 
   PROINFO – Modern SaaS / InsideTech-style
   Layout para index.php actual
   - Header + hero oscuros
   - Secciones claras
   - Tipografías algo más grandes
*/

/* ===================== VARIABLES ===================== */

:root {
    /* Brand Colors */
    --primary-dark: #0f172a;
    /* Slate 900 */
    --primary: #1e293b;
    /* Slate 800 */
    --accent: #2563eb;
    /* Blue 600 */
    --accent-light: #3b82f6;
    /* Blue 500 */
    --accent-dark: #1d4ed8;
    /* Blue 700 */

    /* Text Colors */
    --text-main: #111827;
    /* Gray 900 */
    --text-light: #6b7280;
    /* Gray 500 */
    --text-white: #ffffff;

    /* Backgrounds */
    --bg-body: #f3f4f6;
    /* Gray 100 */
    --bg-light: #f9fafb;
    /* Gray 50 */
    --bg-card: #ffffff;

    /* Layout */
    --section-padding: 5rem 0;
    --container-width: 1200px;

    /* UI */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 8px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 16px 30px rgba(15, 23, 42, 0.18);
    --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.30);

    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===================== RESET & BASE ===================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

p {
    font-size: 1.14rem !important;
    line-height: 1.8 !important;
    color: #1f2937 !important;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem !important;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-dark);
}

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

ul {
    padding-left: 1.5rem;
    margin: 0;
}

/* En móvil el texto no "grita" */
@media (max-width: 640px) {

    p,
    .card p,
    .section p {
        font-size: 1.04rem !important;
        line-height: 1.7 !important;
    }
}

/* ===================== LAYOUT ===================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-white {
    background-color: var(--bg-card);
}

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

/* Grid system */

.grid {
    display: grid;
    gap: 2rem;
}

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

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

.grid-split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
}

@media (max-width: 900px) {

    .grid-2,
    .grid-3,
    .grid-split {
        grid-template-columns: 1fr;
    }
}

/* Section titles */

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: clamp(2.1rem, 3vw, 2.6rem);
}

.section-title p {
    font-size: 1.05rem;
    color: var(--text-light);
}

/* Stats */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: left;
}

.stat-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.stat-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* ===================== BUTTONS ===================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

/* CTA demo Respond.io */
.btn-cta-demo {
    background: #2563EB !important;
    color: #ffffff !important;
    font-size: 1.15rem !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.25s ease !important;
}

.btn-cta-demo:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35) !important;
    background: #1d4ed8 !important;
}

.btn-cta-demo:active {
    transform: scale(0.98);
}

/* CTA final contacto */
.btn-cta-contact {
    background: #ffffff !important;
    color: var(--primary-dark) !important;
    font-size: 1.18rem !important;
    padding: 1rem 3rem !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
    border: 2px solid rgba(255, 255, 255, 0.85) !important;
    display: inline-block;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.25s ease !important;
}

.btn-cta-contact:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.25) !important;
    background: #f8fafc !important;
}

.btn-cta-contact:active {
    transform: scale(0.97);
}

/* ===================== CARDS ===================== */

.card {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px !important;
    width: 40px !important;
    border-radius: 999px !important;
    background:
        radial-gradient(circle at top left, rgba(248, 250, 252, 0.96), rgba(226, 232, 240, 0.9)),
        linear-gradient(135deg, #22d3ee, #3b82f6, #6366f1);
    border: 1px solid rgba(191, 219, 254, 0.8) !important;
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.35);
    color: var(--accent);
}

.card-icon img,
.card-icon i {
    max-width: 40px !important;
    max-height: 40px !important;
    opacity: 0.96;
}

.card-icon svg {
    width: 22px;
    height: 22px;
    stroke: #2563EB;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.card h3,
.card h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card p {
    font-size: 1.14rem !important;
    line-height: 1.75 !important;
    color: #111827 !important;
    flex-grow: 1;
}

/* mini-cards (CRM) */

.mini-card {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(219, 234, 254, 0.9), rgba(191, 219, 254, 0.9)) border-box;
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 1.5rem 1.4rem 1.3rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.4rem;
    color: #111827;
}

.mini-card p {
    font-size: 1.1rem !important;
    line-height: 1.65 !important;
    color: #1f2937 !important;
}

/* Hover mini-cards */
.mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

/* Icono mini CRM */

.mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 999px;
    background: radial-gradient(circle at top left, rgba(239, 246, 255, 0.95), rgba(219, 234, 254, 0.95));
    border: 1px solid rgba(191, 219, 254, 0.9);
    flex-shrink: 0;
}

.mini-icon svg {
    width: 22px;
    height: 22px;
    stroke: #2563EB;
}

/* Cards premium GRID-3 (Soluciones tecnológicas) */

.grid-3 .card {
    position: relative;
    padding: 2.4rem 2.2rem 2.1rem;
    border-radius: 22px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #22d3ee, #3b82f6, #6366f1) border-box;
    border: 1px solid transparent;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 0.22s ease,
        box-shadow 0.22s ease,
        border 0.22s ease,
        background 0.22s ease;
}

.grid-3 .card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at top, rgba(59, 130, 246, 0.08), transparent 55%),
        radial-gradient(circle at bottom, rgba(56, 189, 248, 0.06), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.grid-3 .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
    background:
        linear-gradient(#ffffff, #f9fafb) padding-box,
        linear-gradient(135deg, #22d3ee, #3b82f6, #6366f1) border-box;
}

.grid-3 .card:hover::before {
    opacity: 1;
}

.grid-3 .card .card-icon {
    margin-bottom: 1.8rem !important;
}

.grid-3 .card h3 {
    font-size: 1.55rem !important;
    font-weight: 750 !important;
    color: #0f172a !important;
    margin-bottom: 0.9rem !important;
    letter-spacing: -0.03em;
}

.grid-3 .card p {
    font-size: 1rem !important;
    color: #4b5563 !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
}

.grid-3 .card .btn {
    margin-top: 1.6rem;
    width: 100%;
}

/* Cards premium GRID-2 (ERP / CRM grandes) */

.grid-2>.card {
    position: relative;
    padding: 2.3rem 2.2rem 2.1rem;
    border-radius: 22px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(148, 163, 184, 0.5), rgba(209, 213, 219, 0.9)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
    overflow: hidden;
    transition: transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.grid-2>.card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at top, rgba(148, 163, 184, 0.12), transparent 55%),
        radial-gradient(circle at bottom, rgba(226, 232, 240, 0.14), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.grid-2>.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
    background:
        linear-gradient(#ffffff, #f9fafb) padding-box,
        linear-gradient(135deg, rgba(148, 163, 184, 0.7), rgba(209, 213, 219, 1)) border-box;
}

.grid-2>.card:hover::before {
    opacity: 1;
}

.grid-2>.card h3,
.grid-2>.card h4 {
    font-size: 1.45rem !important;
    font-weight: 750 !important;
    color: #111827;
    margin-bottom: 0.9rem;
    letter-spacing: -0.02em;
}

.grid-2>.card p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
}

.grid-2>.card img {
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

/* Mobile ajustes cards */

@media (max-width: 640px) {
    .grid-3 .card {
        padding: 2rem 1.7rem 1.8rem;
        border-radius: 20px;
    }

    .grid-3 .card .card-icon {
        height: 76px !important;
        width: 76px !important;
    }

    .grid-3 .card .card-icon img,
    .grid-3 .card .card-icon i {
        max-width: 46px !important;
        max-height: 46px !important;
    }

    .grid-3 .card h3 {
        font-size: 1.35rem !important;
    }

    .grid-2>.card {
        padding: 2rem 1.7rem 1.7rem;
        border-radius: 20px;
    }

    #proinfo-crm .mini-card {
        padding: 1.3rem 1.2rem 1.1rem;
    }
}

/* ===================== NAVBAR ===================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background:
        linear-gradient(120deg, #020617 0%, #0f172a 40%, #1d4ed8 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.45);
    padding: 0.7rem 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.navbar-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 500;
    font-size: 0.98rem;
    color: #e5e7eb;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #38bdf8;
    border-radius: 999px;
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #e5e7eb;
    cursor: pointer;
}

/* Navbar CTA */
.navbar-cta .btn-nav-cta,
.btn-nav-cta {
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    background: #38bdf8;
    color: #0f172a;
    border: none;
    box-shadow: 0 10px 22px rgba(56, 189, 248, 0.45);
    white-space: nowrap;
}

.btn-nav-cta:hover {
    background: #e0f2fe;
    color: #0f172a;
    transform: translateY(-1px);
}

/* Navbar responsive */

@media (max-width: 900px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #020617;
        padding: 1rem 1.5rem 1.5rem;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
        border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    }

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

    .navbar-cta {
        display: none;
    }
}

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

/* Fondo tech estilo InsideTech */
.hero-zoho {
    position: relative;
    padding-top: 10rem !important;
    padding-bottom: 9rem !important;
    min-height: 600px !important;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.32), transparent 60%),
        radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.28), transparent 55%),
        linear-gradient(135deg, #020617 0%, #111827 55%, #020617 100%);
    color: #e5e7eb;
    overflow: hidden;
}

.hero-zoho::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(148, 163, 184, 0.14) 1px, transparent 1px),
        linear-gradient(210deg, rgba(55, 65, 81, 0.24) 1px, transparent 1px);
    background-size: 160px 160px;
    opacity: 0.35;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

/* Layout hero full-width y centrado */
.hero-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 1rem;
}

/* hero-left ocupa todo, centrado y con orb */
.hero-left {
    position: relative;
    width: 100% !important;
    max-width: 900px;
    text-align: center !important;
}

.hero-left::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -55%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.32), transparent 60%);
    filter: blur(4px);
    opacity: 0.8;
    z-index: -1;
}

/* Badge, título, subtítulo, botones */

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.8);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.4rem;
    color: #e5e7eb;
}

.hero-title {
    font-size: clamp(2.8rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.4rem;
    color: #f9fafb;
    position: relative;
    padding-bottom: 0.6rem;
}

/* línea de acento bajo título */
.hero-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 96px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22d3ee, #38bdf8, #6366f1);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
}

.hero-subtitle {
    font-size: 1.16rem !important;
    line-height: 1.8 !important;
    color: #cbd5e1 !important;
    margin-bottom: 2.3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center !important;
    margin-top: 2.2rem;
}

/* Botones hero */
.hero-btns .btn-primary {
    background: #38bdf8;
    color: #0f172a;
    border-color: #38bdf8;
    box-shadow: 0 18px 35px rgba(56, 189, 248, 0.45);
}

.hero-btns .btn-primary:hover {
    background: #e0f2fe;
    color: #0f172a;
    box-shadow: 0 24px 45px rgba(56, 189, 248, 0.55);
}

.hero-btns .btn-outline {
    border-color: rgba(148, 163, 184, 0.9);
    color: #e5e7eb;
}

.hero-btns .btn-outline:hover {
    background: rgba(15, 23, 42, 0.7);
    border-color: #e5e7eb;
}

/* Ocultar hero-right completamente */
.hero-right {
    display: none !important;
}

/* Hero mobile */
@media (max-width: 900px) {
    .hero-layout {
        padding-top: 2rem;
    }

    .hero-left::before {
        width: 260px;
        height: 260px;
        transform: translate(-50%, -60%);
        opacity: 0.75;
    }
}

/* ===================== CTA OSCURA PREVIA A CONTACTO ===================== */

.section[style*="var(--primary-dark)"] {
    background: #020617 !important;
    color: #e5e7eb !important;
}

.section[style*="var(--primary-dark)"] h2 {
    color: #f9fafb !important;
}

.section[style*="var(--primary-dark)"] p {
    color: #9ca3af !important;
}

/* ===================== FORMS ===================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #f9fafb;
    color: var(--text-main);
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

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

.site-footer {
    background: #020617;
    color: #9ca3af;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.footer-title {
    color: #e5e7eb !important;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-link {
    display: block;
    color: #9ca3af !important;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #e5e7eb !important;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* ===================== FIX PARA PÁRRAFOS OSCUROS EN FOOTER ===================== */

.site-footer p,
.footer-col p {
    color: #e5e7eb !important;
    /* texto claro sí o sí */
}

/* ===================== UTILITIES ===================== */

.text-accent {
    color: var(--accent);
}

.mb-0 {
    margin-bottom: 0;
}

/* ===================== CENTRAR LOGOS ERP / CRM ===================== */

.section-title img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ===================== Fade-in CTA FINAL ===================== */

.fade-in-cta {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInCTA 0.9s ease-out 0.2s forwards;
}

@keyframes fadeInCTA {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== HERO – Animaciones sutiles ===================== */

/* Título */
.hero-title {
    opacity: 0;
    transform: translateY(14px);
    animation: heroTitleIn 0.8s ease-out 0.1s forwards;
}

/* Subtítulo */
.hero-subtitle {
    opacity: 0;
    transform: translateY(12px);
    animation: heroSubtitleIn 0.85s ease-out 0.22s forwards;
}

/* Botones */
.hero-btns {
    opacity: 0;
    transform: translateY(10px);
    animation: heroButtonsIn 0.9s ease-out 0.34s forwards;
}

@keyframes heroTitleIn {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSubtitleIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroButtonsIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== CARDS – Fade-in + Stagger ===================== */

@keyframes cardFadeUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes miniCardFadeUp {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards principales en secciones clave */
#productos .card,
#proinfo-plus .card,
#proinfo-crm .card,
#respondio .card {
    opacity: 0;
    transform: translateY(18px);
    animation: cardFadeUp 0.8s ease-out forwards;
}

/* Stagger Soluciones tecnológicas */
#productos .grid-3>.card:nth-child(1) {
    animation-delay: 0.10s;
}

#productos .grid-3>.card:nth-child(2) {
    animation-delay: 0.22s;
}

#productos .grid-3>.card:nth-child(3) {
    animation-delay: 0.34s;
}

/* Stagger primeras 2 cards ERP */
#proinfo-plus .grid-2>.card:nth-child(1) {
    animation-delay: 0.10s;
}

#proinfo-plus .grid-2>.card:nth-child(2) {
    animation-delay: 0.24s;
}

/* Stagger 3 cards inferiores ERP */
#proinfo-plus .grid-3>.card:nth-child(1) {
    animation-delay: 0.14s;
}

#proinfo-plus .grid-3>.card:nth-child(2) {
    animation-delay: 0.26s;
}

#proinfo-plus .grid-3>.card:nth-child(3) {
    animation-delay: 0.38s;
}

/* Card grande CRM izquierda */
#proinfo-crm .grid-2>.card:first-child {
    animation-delay: 0.10s;
}

/* Mini-cards CRM */
#proinfo-crm .mini-card {
    opacity: 0;
    transform: translateY(14px);
    animation: miniCardFadeUp 0.75s ease-out forwards;
}

#proinfo-crm .grid-2>div>.mini-card:nth-child(1) {
    animation-delay: 0.18s;
}

#proinfo-crm .grid-2>div>.mini-card:nth-child(2) {
    animation-delay: 0.28s;
}

#proinfo-crm .grid-2>div>.mini-card:nth-child(3) {
    animation-delay: 0.38s;
}

#proinfo-crm .grid-2>div>.mini-card:nth-child(4) {
    animation-delay: 0.48s;
}

/* Respond.io cards */
#respondio .grid-2>.card:nth-child(1) {
    animation-delay: 0.12s;
}

#respondio .grid-2>.card:nth-child(2) {
    animation-delay: 0.26s;
}

/* ===================== Accesibilidad – Reducir movimiento ===================== */

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

    .hero-title,
    .hero-subtitle,
    .hero-btns,
    #productos .card,
    #proinfo-plus .card,
    #proinfo-crm .card,
    #respondio .card,
    #proinfo-crm .mini-card,
    .fade-in-cta {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===================== LISTAS CON BULLETS SIMPLES ===================== */

/* Listas de features: puntito estándar, sin pseudo-iconos */
.feature-list {
    list-style: disc !important;
    padding-left: 1.4rem !important;
    margin: 0 !important;
}

.feature-list li {
    position: static !important;
    padding-left: 0 !important;
    margin-bottom: 0.45rem !important;
    color: #1f2937 !important;
}

.feature-list li::before {
    content: none !important;
}

/* icon-list: que se comporte como lista normal y oculte SVGs */
.icon-list {
    list-style: disc !important;
    padding-left: 1.4rem !important;
}

.icon-list li {
    display: list-item !important;
    align-items: initial !important;
    gap: 0 !important;
    margin-bottom: 0.45rem !important;
    padding-left: 0 !important;
}

.icon-list svg {
    display: none !important;
}

.icon-list li strong {
    display: inline-block;
    margin-right: 4px;
}

/* ===================== OFICINAS – CONTACTO ===================== */

.office-main-card {
    border-radius: 22px;
    background:
        linear-gradient(#ffffff, #f9fafb) padding-box,
        linear-gradient(135deg, #22d3ee, #3b82f6, #6366f1) border-box;
    border: 1px solid transparent;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.office-main-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.office-city {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.office-address {
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.office-region-grid {
    margin-top: 1.5rem;
}

.office-region-card {
    border-radius: 18px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(148, 163, 184, 0.5), rgba(209, 213, 219, 0.9)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

.office-region-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.office-region-card .office-city {
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.office-contact-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.office-link {
    color: #111827;
    font-weight: 500;
    font-size: 0.98rem;
    word-break: break-word;
}

.office-link:hover {
    color: var(--accent);
}

/* Ajuste para mini-icon en oficinas (manteniendo proporción global) */
.office-contact-row .mini-icon {
    flex-shrink: 0;
}

/* ===================== OFICINAS – ALTOS ALINEADOS ===================== */

.offices-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Mitad superior (Uruguay) */
.office-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Mitad inferior con 2 tarjetas */
.office-lower-half {
    flex: 1;
    display: grid;
    gap: 1rem;
}

/* Tarjetas chicas (Paraguay + Argentina) */
.office-half-small {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Asegurar que todo ocupe el 100% del alto disponible */
#contacto .grid-2>article.card,
#contacto .grid-2>aside {
    height: 100%;
}

/* ===================== OFICINA URUGUAY – ALTURA AUTO ===================== */

.office-main-card {
    height: auto !important;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 2rem 1.6rem;
}

.office-city,
.office-address {
    margin: 0;
    color: #4b5563;
    font-size: 1.05rem;
}

.office-contact-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.office-link {
    color: var(--accent);
    font-weight: 600;
}

/* Centrado absoluto del contenido dentro del marco azul */
.hero-zoho {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 650px !important;
    /* opcional, que sea más grande */
}

/* Ajuste fino para centrar el texto */
.hero-left {
    margin-top: -40px;
    /* puedes afinarlo entre -20 y -60 */
}

/* ===================== TEXTO GLOBAL (P más grande) ===================== */

p,
.section p,
.card p,
.feature-list li,
.mini-card p,
#proinfo-plus p,
#proinfo-crm p,
#respondio p {
    font-size: 1.18rem !important;
    line-height: 1.78 !important;
    color: #1f2937 !important;
    margin-bottom: 1.3rem !important;
}

/* HERO mantiene estilo propio */
.hero-subtitle {
    font-size: 1.20rem !important;
    line-height: 1.85 !important;
    color: #cbd5e1 !important;
}

/* Footer más discreto */
.site-footer p,
.footer-col p,
.footer-bottom p {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: #e5e7eb !important;
}

/* ===================== TITULARES ACTUALIZADOS ===================== */

/* H2 – Títulos de secciones */
h2 {
    font-size: clamp(2.4rem, 3.4vw, 2.9rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em;
    color: #0f172a !important;
    margin-bottom: 1.2rem !important;
}

/* H3 – Subtítulos y títulos de tarjetas */
h3 {
    font-size: clamp(1.45rem, 2.2vw, 1.65rem) !important;
    font-weight: 750 !important;
    line-height: 1.28 !important;
    letter-spacing: -0.015em;
    color: #111827 !important;
    margin-bottom: 0.9rem !important;
}

/* HERO mantiene tamaño diferenciado */
.hero-title {
    font-size: clamp(3rem, 4.8vw, 3.8rem) !important;
    line-height: 1.08 !important;
}

/* ===================== PÁRRAFOS (ya ajustados) ===================== */

p,
.section p,
.card p,
.feature-list li,
.mini-card p,
#proinfo-plus p,
#proinfo-crm p,
#respondio p {
    font-size: 1.18rem !important;
    line-height: 1.78 !important;
    color: #1f2937 !important;
    margin-bottom: 1.3rem !important;
}

/* HERO subtitle */
.hero-subtitle {
    font-size: 1.20rem !important;
    line-height: 1.85 !important;
    color: #cbd5e1 !important;
}

/* Footer más discreto */
.site-footer p,
.footer-col p,
.footer-bottom p {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: #e5e7eb !important;
}

/* ===================== HERO – H1 TITULAR PRINCIPAL ===================== */

.hero-title {
    font-size: clamp(3.2rem, 5vw, 4rem) !important;
    font-weight: 850 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.025em !important;
    color: #f9fafb !important;
    text-align: center !important;

    /* mejorar el glow sutil */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);

    /* animación suave */
    opacity: 0;
    transform: translateY(14px);
    animation: heroTitleIn 0.8s ease-out 0.1s forwards;
}

/* Línea decorativa ajustada a nuevo tamaño */
.hero-title::after {
    width: 110px !important;
    height: 3px !important;
    bottom: -6px !important;
    background: linear-gradient(90deg, #22d3ee, #38bdf8, #6366f1) !important;
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.75) !important;
}

/* ===================== HERO – SPACING PREMIUM ===================== */

.hero-zoho {
    min-height: 720px !important;
    /* más alto, más respiración visual */
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
}

/* Layout centrado pero con mejor equilibrio vertical */
.hero-layout {
    margin-top: -2rem !important;
    /* mejor centrado visual */
}

/* Subtítulo más elegante */
.hero-subtitle {
    font-size: 1.22rem !important;
    line-height: 1.85 !important;
    max-width: 760px !important;
    color: #d1d5db !important;
    margin-top: 1.2rem !important;
    margin-bottom: 2.8rem !important;
}

/* Botones con más impacto */
.hero-btns .btn {
    padding: 0.9rem 2rem !important;
    font-size: 1.05rem !important;
    border-radius: 14px !important;
}
/* Override for bigger navbar buttons */
.navbar-cta .btn-nav-cta, .btn-nav-cta {
    padding: 0.75rem 1.5rem !important;
    font-size: 1.1rem !important;
}

/* Override for bigger nav links */
.nav-link {
    font-size: 1.1rem !important;
}

/* Override for stats box */
.stat-item h3 {
    background-color: rgb(37, 99, 235);
    color: #ffffff !important;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* Override for ERP image on mobile */
@media (max-width: 640px) {
    img[src='images/proinfopluswin.jpg'] {
        width: 100% !important;
        height: auto !important;
        max-width: 300px !important;
    }
}
