:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f3f7fb;
    --surface-strong: #eef4fb;
    --text: #1f2937;
    --muted: #64748b;
    --line: #dbe5f0;
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --accent: #cfe2ff;
    --gold: #f3c969;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.06);
    --radius: 24px;
    --radius-sm: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

button,
input,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.section {
    padding: 96px 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(243, 247, 251, 0.9), rgba(255, 255, 255, 0.9));
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(13, 110, 253, 0.12);
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.06);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-heading.text-left,
.text-left {
    text-align: left;
    margin-left: 0;
}

.section-heading.narrow {
    max-width: 700px;
}

.section-heading h2,
.hero h1,
.two-column-panel h2,
.cta-panel h2 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section-heading h2,
.two-column-panel h2,
.cta-panel h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.section-heading p,
.lead,
.two-column-panel p,
.contact-layout .section-heading p,
.about-layout .section-heading p {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(219, 229, 240, 0.8);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    padding: 0.35rem;
    background: #ffffff;
    font-weight: 800;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid rgba(13, 110, 253, 0.12);
}

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

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 1rem;
}

.brand-copy small {
    color: var(--muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.main-nav a:not(.btn) {
    color: #334155;
    font-weight: 700;
    transition: color 0.15s ease;
}

.main-nav a:not(.btn):hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-header.is-scrolled {
    box-shadow: 0 4px 28px rgba(15, 23, 42, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.45rem;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 16px 30px rgba(13, 110, 253, 0.22);
}

.btn-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
}

.btn-sm {
    padding: 0.8rem 1.1rem;
}

.hero {
    padding-top: 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.6rem, 4vw, 5rem);
    max-width: 14ch;
}

.hero-copy .lead {
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 2.4rem;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hero-trust div,
.stats-strip article,
.feature-card,
.industry-card,
.about-cards article,
.shortcut-card,
.contact-form,
.benefits-list article,
.cta-panel,
.dashboard-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(219, 229, 240, 0.95);
    box-shadow: var(--shadow-soft);
}

.hero-trust div {
    padding: 1.15rem;
    border-radius: 20px;
}

.hero-trust strong,
.stats-strip strong,
.feature-card h3,
.industry-card h3,
.about-cards strong,
.benefits-list strong,
.shortcut-card strong {
    display: block;
    margin-bottom: 0.35rem;
}

.hero-trust span,
.stats-strip span,
.feature-card p,
.industry-card p,
.about-cards p,
.benefits-list p,
.shortcut-card span,
.form-note,
.site-footer p {
    color: var(--muted);
}

.hero-visual {
    position: relative;
    min-height: 580px;
}

.dashboard-main {
    position: absolute;
    inset: 40px 0 0 40px;
    padding: 1.5rem;
    border-radius: 30px;
    background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.card-topline {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-blue { background: var(--primary); }
.dot-gold { background: var(--gold); }
.dot-slate { background: #94a3b8; }

.metric-panel {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding: 1.2rem;
    border-radius: 22px;
    background: var(--surface-soft);
}

.metric-panel .label,
.mini-title,
.summary-grid span {
    display: block;
    font-size: 0.88rem;
    color: var(--muted);
}

.metric-panel strong {
    font-size: clamp(1.8rem, 2vw, 2.2rem);
}

.metric-badge {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.9rem;
}

.metric-badge.positive {
    color: #0f766e;
    background: #d1fae5;
}

.bars {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
    gap: 0.9rem;
    height: 190px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.08), rgba(13, 110, 253, 0.02));
}

.bars span {
    display: block;
    border-radius: 14px 14px 6px 6px;
    background: linear-gradient(180deg, #6ea8fe, #0d6efd);
}

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

.summary-grid article {
    padding: 1rem;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.summary-grid strong {
    font-size: 1.1rem;
}

.floating-card {
    position: absolute;
    width: 230px;
    padding: 1.1rem;
    border-radius: 22px;
}

.floating-card strong {
    display: block;
    margin: 0.25rem 0 0.45rem;
}

.floating-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.floating-card-top {
    top: 0;
    right: 20px;
}

.floating-card-bottom {
    right: -10px;
    bottom: 26px;
}

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

.stats-strip article,
.feature-card,
.industry-card,
.about-cards article,
.benefits-list article,
.shortcut-card {
    padding: 1.5rem;
    border-radius: 24px;
}

.card-grid,
.industry-grid,
.about-cards {
    display: grid;
    gap: 1.2rem;
}

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

.icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(243, 201, 105, 0.18));
    color: var(--primary);
    font-weight: 800;
}

.icon .material-symbols-outlined {
    font-size: 1.7rem;
}

.feature-card h3,
.industry-card h3 {
    font-size: 1.25rem;
}

.feature-card p,
.industry-card p,
.about-cards p,
.benefits-list p {
    margin: 0;
    line-height: 1.7;
}

.two-column-panel,
.contact-layout,
.about-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    align-items: start;
}

.benefits-list {
    display: grid;
    gap: 1rem;
}

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

.pricing-shell {
    position: relative;
}

.pricing-shell::before {
    content: '';
    position: absolute;
    top: -28px;
    left: 50%;
    width: min(720px, 100%);
    height: 240px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08), transparent 68%);
    pointer-events: none;
}

.pricing-heading {
    position: relative;
}

.pricing-status {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.8rem;
    padding: 0.75rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(243, 201, 105, 0.18));
    color: var(--primary-dark);
    font-weight: 800;
    box-shadow: var(--shadow-soft);
}

.pricing-status span + span::before {
    content: '·';
    margin-right: 0.45rem;
}

.pricing-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.6rem;
    border: 1px solid rgba(13, 110, 253, 0.12);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 251, 0.96));
    box-shadow: var(--shadow-soft);
}

.pricing-card-current {
    border-color: rgba(13, 110, 253, 0.85);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12), var(--shadow-soft);
}

.pricing-card-popular {
    border-color: rgba(243, 201, 105, 0.95);
    box-shadow: 0 0 0 4px rgba(243, 201, 105, 0.16), var(--shadow-soft);
}

.plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.plan-badge-current {
    background: linear-gradient(135deg, var(--primary), #4492ff);
    color: #fff;
}

.plan-badge-popular {
    background: linear-gradient(135deg, #ffd04c, #f3c969);
    color: #5c4300;
}

.pricing-card-head {
    margin-bottom: 1.4rem;
}

.pricing-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.75rem;
    line-height: 1.1;
}

.plan-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}

.plan-price-row strong {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.plan-price-row span {
    color: var(--muted);
    font-size: 0.98rem;
}

.plan-feature-list {
    display: grid;
    gap: 0.95rem;
    margin: 0 0 1.8rem;
    padding: 0;
    list-style: none;
    color: #334155;
    line-height: 1.6;
    flex: 1;
}

.plan-feature-list li {
    position: relative;
    padding-left: 1.55rem;
}

.plan-feature-list li::before {
    position: absolute;
    left: 0;
    top: 0.05rem;
    font-weight: 900;
}

.feature-ok::before {
    content: '✓';
    color: #16a34a;
}

.feature-no {
    color: var(--muted);
}

.feature-no::before {
    content: '✕';
    color: #dc2626;
}

.feature-extra {
    color: var(--muted);
    font-size: 0.95rem;
}

.feature-extra::before {
    content: '+';
    color: #94a3b8;
}

.plan-button {
    width: 100%;
    min-height: 54px;
    border-radius: 16px;
}

.plan-button-highlight {
    background: linear-gradient(135deg, #ffd04c, #f3b400);
    color: #402d00;
    box-shadow: 0 16px 30px rgba(243, 180, 0, 0.22);
}

.plan-button-disabled {
    border-color: rgba(13, 110, 253, 0.45);
    background: rgba(13, 110, 253, 0.04);
    color: var(--primary);
    pointer-events: none;
}

.pricing-note {
    margin: 2rem 0 0;
    text-align: center;
    color: var(--muted);
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.06), rgba(243, 201, 105, 0.12));
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex-shrink: 0;
}

.cta-actions .btn {
    white-space: nowrap;
}

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

.shortcut-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shortcut-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.8rem;
    border-radius: 14px;
    background: rgba(13, 110, 253, 0.08);
    color: var(--primary);
    font-size: 1.3rem;
}

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

.contact-form {
    padding: 1.5rem;
    border-radius: 26px;
}

.contact-form label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 0.55rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(13, 110, 253, 0.55);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.form-note {
    margin: 1rem 0 0;
    font-size: 0.92rem;
}

.site-footer {
    border-top: 1px solid rgba(219, 229, 240, 0.8);
    background: rgba(255, 255, 255, 0.72);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.1fr;
    gap: 3rem;
    padding: 3.5rem 0 2.5rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-brand-logo-wrap {
    display: inline-block;
    margin-bottom: 0.25rem;
}

.footer-logo {
    width: 52px;
    height: 52px;
    padding: 0.35rem;
    border-radius: 14px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid rgba(13, 110, 253, 0.12);
    box-shadow: var(--shadow-soft);
}

.footer-brand strong {
    font-size: 1.05rem;
    color: var(--text);
}

.footer-brand p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.65;
    max-width: 30ch;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-col-title {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
}

.footer-col a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-cta {
    margin-top: 0.75rem;
    align-self: flex-start;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(219, 229, 240, 0.7);
    padding: 1.2rem 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    gap: 0.5rem;
    font-weight: 800;
    box-shadow: 0 18px 35px rgba(34, 197, 94, 0.3);
}

@media (min-width: 1081px) and (max-width: 1440px) {
    .section {
        padding: 80px 0;
    }

    .hero {
        padding-top: 52px;
    }

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

    .dashboard-main {
        inset: 30px 0 0 30px;
    }
}

@media (max-width: 1080px) {
    .hero-grid,
    .two-column-panel,
    .contact-layout,
    .about-layout,
    .solutions-grid,
    .industry-grid,
    .about-cards,
    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }

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

    .hero-grid,
    .two-column-panel,
    .contact-layout,
    .about-layout {
        gap: 2.5rem;
    }

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

    .dashboard-main {
        inset: 32px 0 0 0;
    }

    .floating-card-bottom {
        right: 12px;
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 1rem;
        right: 1rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow);
        transform: scaleY(0.92) translateY(-10px);
        transform-origin: top center;
        opacity: 0;
        pointer-events: none;
        transition: transform 0.22s ease, opacity 0.2s ease;
    }

    .main-nav.is-open {
        transform: scaleY(1) translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav a:not(.btn) {
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid var(--line);
    }

    .main-nav a:not(.btn):last-of-type {
        border-bottom: none;
    }

    .main-nav .btn {
        margin-top: 0.5rem;
    }

    .hero-grid,
    .two-column-panel,
    .contact-layout,
    .about-layout,
    .solutions-grid,
    .industry-grid,
    .about-cards,
    .hero-trust,
    .stats-strip,
    .contact-shortcuts,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 44px;
    }

    .hero h1 {
        max-width: none;
    }

    .hero-visual {
        min-height: auto;
        padding-top: 1rem;
    }

    .dashboard-main,
    .floating-card {
        position: relative;
        inset: auto;
        width: auto;
    }

    .dashboard-main {
        margin-bottom: 1rem;
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 2.5rem 0 2rem;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .pricing-card {
        padding-top: 2rem;
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 560px) {
    .header-inner {
        min-height: 74px;
    }

    .brand-copy small {
        display: none;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .floating-whatsapp {
        width: auto;
        min-width: 140px;
    }

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

    .pricing-status {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pricing-status span + span::before {
        content: '';
        margin-right: 0;
    }

    .section-heading,
    .section-heading.text-left {
        margin-bottom: 2.5rem;
    }

    .section {
        padding: 64px 0;
    }

    .hero {
        padding-top: 36px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-cta {
        align-self: stretch;
        text-align: center;
    }
}

/* ── Header Dropdown ── */

.nav-item {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    border: none;
    background: none;
    color: #334155;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.15s ease;
}

.nav-dropdown-trigger:hover,
.nav-item:hover .nav-dropdown-trigger {
    color: var(--primary);
}

.dropdown-caret {
    transition: transform 0.2s ease;
}

.nav-item:hover .dropdown-caret,
.nav-item.is-expanded .dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    padding: 0.6rem;
    gap: 0.1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: translateX(-50%) translateY(-6px) scale(0.97);
    transform-origin: top center;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.18s ease;
    z-index: 200;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.nav-dropdown a {
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    color: #334155 !important;
    font-size: 0.95rem;
    font-weight: 700;
    transition: background 0.15s ease, color 0.15s ease !important;
    border-bottom: none !important;
}

.nav-dropdown a:hover {
    background: rgba(13, 110, 253, 0.07);
    color: var(--primary) !important;
}

/* ── Rubro pages ── */

.rubro-hero {
    padding-top: 64px;
    padding-bottom: 80px;
    text-align: center;
    background: linear-gradient(160deg, rgba(13, 110, 253, 0.05) 0%, rgba(243, 201, 105, 0.07) 100%);
}

.rubro-hero .container {
    max-width: 800px;
}

.rubro-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: gap 0.15s ease;
}

.rubro-back:hover {
    gap: 0.7rem;
}

.rubro-hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0.75rem 0 1.25rem;
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}

.rubro-hero .lead {
    max-width: 56ch;
    margin: 0 auto 2.5rem;
}

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

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.challenge-card {
    padding: 2rem 1.6rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(219, 229, 240, 0.95);
    box-shadow: var(--shadow-soft);
}

.challenge-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 1.1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(243, 201, 105, 0.2));
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
}

.challenge-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.challenge-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

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

.pricing-teaser h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
}

.pricing-teaser p {
    color: var(--muted);
    margin: 0 0 2rem;
    font-size: 1.05rem;
}

@media (max-width: 860px) {
    .nav-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid var(--line);
    }

    .nav-dropdown {
        position: static;
        transform: none !important;
        opacity: 1;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0.25rem 0 0.25rem 1rem;
        background: none;
        display: none;
        z-index: auto;
    }

    .nav-item.is-expanded .nav-dropdown {
        display: flex;
    }

    .nav-dropdown a {
        padding: 0.6rem 0.5rem !important;
        border-radius: 0;
        border-bottom: 1px solid rgba(219, 229, 240, 0.5) !important;
    }

    .nav-dropdown a:last-child {
        border-bottom: none !important;
    }

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

    .rubro-hero {
        padding-top: 44px;
        padding-bottom: 64px;
    }
}

/* ── Animations ── */

@keyframes bar-grow {
    from {
        height: 0;
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

.bars span {
    animation: bar-grow 0.55s ease-out both;
}

.bars span:nth-child(1) { animation-delay: 0.3s; }
.bars span:nth-child(2) { animation-delay: 0.45s; }
.bars span:nth-child(3) { animation-delay: 0.6s; }
.bars span:nth-child(4) { animation-delay: 0.75s; }
.bars span:nth-child(5) { animation-delay: 0.9s; }
.bars span:nth-child(6) { animation-delay: 1.05s; }

@media (min-width: 861px) {
    .floating-card-top {
        animation: float 4s ease-in-out infinite;
    }

    .floating-card-bottom {
        animation: float 4.8s ease-in-out infinite;
        animation-delay: -2.4s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bars span,
    .floating-card-top,
    .floating-card-bottom {
        animation: none;
    }
}
