:root {
    --chat--color-primary: #1676ff;                       /* Azul eléctrico Qyvoo */
    --chat--color-primary-shade-50: #1463d7;
    --chat--color-primary-shade-100: #0d3877;
    --chat--color-secondary: #25c0a2;                     /* Verde menta Qyvoo */
    --chat--color-secondary-shade-50: #20a48a;
    --chat--color-white: #ffffff;
    --chat--color-light: #f6fafd;
    --chat--color-light-shade-50: #e6e9f1;
    --chat--color-light-shade-100: #c2c5cc;
    --chat--color-medium: #d2d4d9;
    --chat--color-dark: #2c3e50;                          /* Gris oscuro Qyvoo */
    --chat--color-disabled: #bfc9d1;
    --chat--color-typing: #404040;

    --chat--spacing: 1rem;
    --chat--border-radius: 1.2rem;                        /* Más redondeado y moderno */
    --chat--transition-duration: 0.18s;

    --chat--window--width: 380px;
    --chat--window--height: 600px;

    --chat--header-height: auto;
    --chat--header--padding: var(--chat--spacing);
    --chat--header--background: var(--chat--color-primary);
    --chat--header--color: var(--chat--color-white);
    --chat--header--border-top: none;
    --chat--header--border-bottom: none;
    --chat--heading--font-size: 1.5em;
    --chat--header--color: var(--chat--color-white);
    --chat--subtitle--font-size: inherit;
    --chat--subtitle--line-height: 1.3;

    --chat--textarea--height: 58px;

    --chat--message--font-size: 1rem;
    --chat--message--padding: var(--chat--spacing);
    --chat--message--border-radius: 1rem;
    --chat--message-line-height: 1.7;
    --chat--message--bot--background: var(--chat--color-white);
    --chat--message--bot--color: var(--chat--color-dark);
    --chat--message--bot--border: 1.5px solid #e2e8f0;
    --chat--message--user--background: var(--chat--color-secondary);
    --chat--message--user--color: var(--chat--color-white);
    --chat--message--user--border: none;
    --chat--message--pre--background: #eaf4fd;

    --chat--toggle--background: var(--chat--color-primary);
    --chat--toggle--hover--background: var(--chat--color-primary-shade-50);
    --chat--toggle--active--background: var(--chat--color-primary-shade-100);
    --chat--toggle--color: var(--chat--color-white);
    --chat--toggle--size: 62px;
}

#n8n-chat .chat-message-markdown {
    font-size: 1rem !important;
}
#n8n-chat .chat-powered-by {
    display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
    background: #fff;
    font-family: 'Inter', Arial, sans-serif;
    color: #2c3e50;
    margin: 0; padding: 0;
}
.container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 32px 24px;
}
header, .hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 40px 0 20px 0;
    gap: 24px;
}
.hero-content {
    flex: 1 1 340px;
    min-width: 260px;
}
.hero-illustration {
    flex: 1 1 300px;
    min-width: 240px;
    text-align: center;
}
.logo-qyvoo {
    width: 140px;
    margin-bottom: 12px;
}
h1 {
    font-size: 2.8rem;
    margin: 10px 0 0 0;
    color: #1b263b;
    letter-spacing: -1px;
    font-weight: 700;
}
.slogan {
    color: #25c0a2;
    font-size: 1.2rem;
    margin-top: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.subtitle {
    color: #718093;
    margin-top: 10px;
    margin-bottom: 18px;
    font-size: 1.16rem;
    font-weight: 400;
}
.cta-btn {
    background: linear-gradient(90deg, #1676ff 0%, #25c0a2 100%);
    color: #fff;
    padding: 18px 46px;
    border: none;
    border-radius: 32px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 32px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.cta-btn:hover {
    background: linear-gradient(90deg, #25c0a2 0%, #1676ff 100%);
    transform: scale(1.04);
}
.trusted-by {
    text-align: center;
    margin: 12px 0 32px 0;
    color: #8699a5;
    font-size: 1rem;
    letter-spacing: 0.02em;
}
.trusted-by img {
    filter: grayscale(0.4);
    opacity: 0.84;
    transition: filter 0.2s, opacity 0.2s;
    vertical-align: middle;
}
.trusted-by img:hover {
    filter: grayscale(0);
    opacity: 1;
}
.section {
    padding: 48px 0 32px 0;
    text-align: center;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin: 48px 0 32px 0;
}
.feature {
    background: #f6fafd;
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 4px 24px 0 rgba(38, 50, 56, 0.07);
}
.feature-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
}
h2, .section-title {
    color: #1676ff;
    font-size: 2.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}
h3 {
    font-size: 1.35rem;
    margin-top: 0;
    margin-bottom: 6px;
    color: #1b263b;
    font-weight: 700;
}
.section-title {
    color: #1b263b;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.whatsapp-block {
    background: linear-gradient(90deg, #1676ff 0%, #25c0a2 100%);
    color: #fff;
    padding: 40px 20px;
    border-radius: 32px;
    margin: 54px 0;
    box-shadow: 0 4px 24px 0 rgba(38, 50, 56, 0.13);
    text-align: center;
}
.whatsapp-block h2 {
    color: #fff;
    font-size: 2.2rem;
}
.testimonials-section {
    padding: 36px 0 18px 0;
    text-align: center;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 30px 0 0 0;
}
.testimonial {
    background: #f6fafd;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(38, 50, 56, 0.07);
    padding: 28px 22px 18px 22px;
    color: #1b263b;
    font-size: 1.08rem;
    font-style: italic;
    min-height: 120px;
}
.testimonial span {
    display: block;
    margin-top: 10px;
    color: #1676ff;
    font-style: normal;
    font-size: 0.99rem;
    font-weight: 600;
}
.how-it-works {
    padding: 36px 0 20px 0;
}
.steps-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 24px;
}
.step {
    background: #e7f5fd;
    border-radius: 16px;
    box-shadow: 0 1px 8px 0 rgba(22, 118, 255, 0.05);
    padding: 28px 22px;
    min-width: 180px;
    max-width: 220px;
    flex: 1 1 180px;
}
.step-num {
    display: inline-block;
    background: #25c0a2;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px #1676ff21;
}
.integraciones-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 36px 0 16px 0;
}
.faq-section {
    padding: 36px 0 16px 0;
}
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    text-align: left;
}
.faq-item {
    background: #f6fafd;
    border-radius: 18px;
    padding: 24px 22px;
    color: #273043;
    font-size: 1.07rem;
    box-shadow: 0 2px 10px 0 rgba(38, 50, 56, 0.08);
}
.faq-item h4 {
    margin: 0 0 7px 0;
    font-size: 1.08rem;
    color: #1676ff;
    font-weight: 700;
}
.footer {
    background: #f6fafd;
    text-align: center;
    color: #718093;
    padding: 32px 0;
    margin-top: 80px;
    font-size: 1rem;
}
.footer a {
    color: #1676ff;
    text-decoration: none;
}
.sticky-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 100;
}
.sticky-cta .cta-btn {
    font-size: 1.05rem;
    padding: 13px 32px;
    margin-top: 0;
    box-shadow: 0 4px 20px #1676ff1e;
}
@media (max-width: 900px) {
    .container {
        padding: 18px 8px;
    }
    header, .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
    }
    .hero-content, .hero-illustration {
        min-width: 120px;
    }
}
@media (max-width: 640px) {
    .logo-qyvoo { width: 96px; }
    h1 { font-size: 2rem; }
    .section-title, h2 { font-size: 1.15rem; }
    .features-grid, .testimonials-grid, .faq-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .sticky-cta {
        position: static;
        margin: 14px 0;
        text-align: center;
    }
}
.navbar {
    background: #fff;
    box-shadow: 0 2px 16px 0 rgba(22,118,255,0.04);
    position: sticky;
    top: 0; left: 0; right: 0;
    z-index: 1001;
}
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 28px;
    height: 64px;
}
.navbar-logo img {
    height: 32px;
    width: auto;
}
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0; padding: 0;
}
.navbar-menu li a {
    color: #1676ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.07rem;
    transition: color 0.18s;
}
.navbar-menu li a:hover,
.navbar-menu li a.active {
    color: #25c0a2;
}
.navbar-btn {
    background: linear-gradient(90deg, #1676ff 0%, #25c0a2 100%);
    color: #fff !important;
    padding: 10px 26px;
    border-radius: 20px;
    font-size: 1rem;
    margin-left: 16px;
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 10px #1676ff1c;
    transition: background 0.17s;
}
.navbar-btn:hover {
    background: linear-gradient(90deg, #25c0a2 0%, #1676ff 100%);
}
.navbar-toggle {
    display: none;
}
.navbar-icon {
    display: none;
    flex-direction: column;
    justify-content: center;
    height: 32px;
    width: 32px;
    cursor: pointer;
}
.navbar-icon span {
    height: 4px;
    background: #1676ff;
    margin: 4px 0;
    border-radius: 2px;
    display: block;
    width: 100%;
    transition: 0.25s;
}
@media (max-width: 900px) {
    .navbar-container { padding: 0 10px; }
    .navbar-menu { gap: 12px; }
}
@media (max-width: 680px) {
    .navbar-menu {
        flex-direction: column;
        background: #fff;
        position: absolute;
        right: 0;
        left: 0;
        top: 64px;
        width: 100%;
        box-shadow: 0 2px 14px #1676ff18;
        padding: 24px 0 18px 0;
        display: none;
    }
    .navbar-toggle:checked ~ .navbar-menu {
        display: flex;
    }
    .navbar-icon {
        display: flex;
    }
}
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50ee;
    color: #fff;
    padding: 18px 32px 18px 24px;
    border-radius: 18px;
    box-shadow: 0 8px 36px #1676ff2a;
    display: flex;
    align-items: center;
    z-index: 9999;
    font-size: 1rem;
    gap: 20px;
    animation: fadeIn 0.7s;
}
.cookie-banner a {
    color: #25c0a2;
    text-decoration: underline;
    font-weight: 600;
}
.cookie-accept-btn {
    background: linear-gradient(90deg, #1676ff 0%, #25c0a2 100%);
    color: #fff;
    border: none;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 26px;
    margin-left: 12px;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-accept-btn:hover {
    background: linear-gradient(90deg, #25c0a2 0%, #1676ff 100%);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(30px);}
    to { opacity: 1; transform: translateX(-50%) translateY(0);}
}
@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        font-size: 0.99rem;
        padding: 16px 14px 16px 12px;
        gap: 12px;
        left: 12px;
        right: 12px;
        transform: none;
        width: calc(100vw - 24px);
    }
}
