:root {
    --brand: #0f4c81;
    --brand-dark: #0a3358;
    --brand-soft: #e9f2fb;
    --accent: #1fbf9f;
    --ink: #12263a;
    --muted: #5f7185;
    --surface: #ffffff;
    --surface-alt: #f5f9fd;
    --footer: #0b1f33;
    --border: #dce8f5;
    --radius: 16px;
    --shadow: 0 12px 35px rgba(15, 76, 129, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 5% 0%, rgba(31, 191, 159, 0.2), transparent 30%),
        radial-gradient(circle at 95% 15%, rgba(15, 76, 129, 0.16), transparent 35%),
        linear-gradient(180deg, #f9fcff 0%, #f3f8fd 35%, #ffffff 100%);
    line-height: 1.65;
    padding-top: 120px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
textarea,
select,
option,
button,
[contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

h1,
h2,
h3,
h4,
.brand-text {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 0.5rem 0.75rem;
    z-index: 3000;
}

.skip-link:focus {
    left: 0.75rem;
    top: 0.75rem;
}

.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.25s ease;
}

.site-header {
    z-index: 1040;
}

.header-ticker-wrap {
    background: linear-gradient(90deg, #0c3a62, #0f4c81 45%, #14629f);
    color: #eaf5ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-ticker {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 34px;
}

.header-ticker-label {
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    flex: 0 0 auto;
}

.header-ticker-track {
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.header-ticker-move {
    display: inline-flex;
    gap: 2.4rem;
    animation: tickerMove 26s linear infinite;
    font-size: 0.84rem;
    font-weight: 600;
}

.header-ticker-move span::before {
    content: '\2022';
    margin-right: 0.55rem;
    color: #52d5b8;
}

.header-brand-wrap {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
}

.header-brand-wrap .navbar {
    background: transparent;
    backdrop-filter: none;
    border-bottom: 0;
}

.header-actions .btn {
    white-space: nowrap;
}

.header-actions {
    margin-left: 0;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 8px 20px rgba(16, 43, 69, 0.08);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--ink);
    font-size: 1.02rem;
    padding: 0.2rem 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.55rem;
    background: var(--brand);
    color: #fff;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.brand-mark-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-mark-img-header {
    display: block;
    height: 52px;
    width: auto;
    max-width: 100%;
    margin: 0;
}

.nav-link {
    color: var(--ink);
    font-weight: 600;
    margin: 0 0.2rem;
}

.nav-link.active,
.nav-link:hover {
    color: var(--brand);
}

.navbar .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 76, 129, 0.16);
    padding: 0.45rem;
}

.navbar .dropdown-item {
    border-radius: 8px;
    font-weight: 600;
    color: var(--ink);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.btn-brand {
    background: linear-gradient(120deg, var(--brand), #206ca9);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 0.62rem 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(15, 76, 129, 0.25);
}

.btn-brand:hover {
    color: #fff;
    transform: translateY(-1px);
}

.section-space {
    padding: 4rem 0;
}

.section-title {
    max-width: 740px;
    margin: 0 auto 2rem;
    text-align: center;
}

.section-title p {
    color: var(--muted);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 4.25rem 0 3.75rem;
}

.hero::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 60px;
    width: 200px;
    height: 200px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(31, 191, 159, 0.2), rgba(15, 76, 129, 0.15));
    transform: rotate(22deg);
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.4rem);
    line-height: 1.15;
}

.hero-lead {
    color: var(--muted);
    max-width: 600px;
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1.15rem;
}

.metric {
    background: var(--surface-alt);
    border-radius: 14px;
    padding: 0.8rem;
}

.metric strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
}

.card-soft {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-map-card {
    overflow: hidden;
}

.contact-details-card {
    height: auto;
}

.demo-card {
    overflow: hidden;
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.demo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 76, 129, 0.22);
    box-shadow: 0 16px 40px rgba(15, 76, 129, 0.16);
    color: var(--ink);
}

.demo-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #f6fbff, #eaf3fb);
}

.demo-thumb-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(11, 31, 51, 0.08) 100%);
    pointer-events: none;
}

.demo-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.demo-caption {
    padding: 1rem 1rem 1.05rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.icon-badge svg {
    width: 22px;
    height: 22px;
}

.number-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
}

.testimonial {
    border-left: 4px solid var(--accent);
}

.price-preview {
    background: linear-gradient(130deg, #0d3f6c, #125b98 62%, #1a7cb6);
    color: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.cta-band {
    background: linear-gradient(90deg, #ebf4ff, #f2fff8);
    border: 1px solid var(--border);
    border-radius: 22px;
}

.page-hero {
    padding: 3rem 0 2.5rem;
}

.page-hero p {
    color: var(--muted);
    max-width: 780px;
}

.site-footer {
    background: var(--footer);
    color: #fff;
    margin-top: 3.5rem;
}

.partner-logo {
    border: 1px dashed #bdd4ea;
    border-radius: 14px;
    background: linear-gradient(120deg, #ffffff, #f2f8ff);
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #5e7f9f;
    letter-spacing: 0.03em;
}

.partner-logo img {
    max-width: 82%;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-logo-placeholder {
    display: inline-block;
}

.plan-mark {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
}

.plan-mark.yes {
    color: #198754;
}

.plan-mark.no {
    color: #dc3545;
}

.pricing-comparison-table {
    min-width: 880px;
}

.pricing-comparison-table th,
.pricing-comparison-table td {
    vertical-align: middle;
}

.pricing-comparison-table .btn {
    white-space: nowrap;
}

.pricing-comparison-table td:first-child {
    min-width: 320px;
}

.text-footer-muted {
    color: #b6c6d8;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
}

.footer-links a,
.footer-social {
    color: #c4d5e7;
}

.footer-links a:hover,
.footer-social:hover {
    color: #fff;
}

.footer-divider {
    border-color: rgba(180, 206, 230, 0.24);
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 0.65rem 0.8rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(15, 76, 129, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(15, 76, 129, 0.12);
}

.embed-frame {
    width: 100%;
    min-height: 240px;
    border: 0;
    border-radius: 14px;
    display: block;
}

.whatsapp-float {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1050;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(18, 140, 126, 0.35);
    border: 3px solid #fff;
    appearance: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: whatsappBob 2.8s ease-in-out infinite;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.32);
    animation: whatsappPulse 2s ease-out infinite;
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 18px 36px rgba(18, 140, 126, 0.42);
}

.whatsapp-lottie {
    width: 42px;
    height: 42px;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.whatsapp-form .modal-body {
    padding-top: 1rem;
}

.whatsapp-form .form-label {
    font-weight: 700;
}

@keyframes tickerMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes whatsappBob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@media (min-width: 992px) {
    .section-space {
        padding: 5.5rem 0;
    }

    .hero {
        padding-top: 5.8rem;
        padding-bottom: 5rem;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-top: 110px;
    }

    .header-ticker-track {
        max-width: 100%;
    }

    .navbar-collapse {
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 12px;
        margin-top: 0.65rem;
        padding: 0.75rem 1rem;
        box-shadow: 0 12px 30px rgba(15, 76, 129, 0.12);
    }

    .navbar .nav-link {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .navbar .dropdown-menu {
        position: static;
        float: none;
        box-shadow: none;
        border: 1px dashed var(--border);
        margin-top: 0.35rem;
    }

    .section-space {
        padding: 3.4rem 0;
    }

    .hero {
        padding: 3.1rem 0 2.9rem;
    }

    .hero::after {
        width: 150px;
        height: 150px;
        right: -28px;
        top: 54px;
    }

    .card-soft,
    .hero-card,
    .cta-band,
    .price-preview {
        border-radius: 14px;
    }

    .embed-frame {
        min-height: 210px;
    }

    .pricing-comparison-table {
        min-width: 760px;
    }

    .pricing-comparison-table td:first-child {
        min-width: 260px;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 102px;
    }

    .section-space {
        padding: 2.9rem 0;
    }

    .section-title {
        margin-bottom: 1.4rem;
    }

    .section-title p {
        font-size: 0.96rem;
    }

    .page-hero {
        padding: 2.35rem 0 2rem;
    }

    .page-hero .display-6,
    .hero h1 {
        font-size: clamp(1.6rem, 7.3vw, 2.15rem);
        line-height: 1.18;
    }

    .hero-lead {
        font-size: 0.98rem;
    }

    .hero .btn-lg,
    .cta-band .btn-lg,
    .price-preview .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .metric strong {
        font-size: 1.16rem;
    }

    .partner-logo {
        min-height: 84px;
    }

    .partner-logo img {
        max-height: 50px;
    }

    .demo-thumb-wrap {
        aspect-ratio: 16 / 11;
    }

    .contact-map-card,
    .contact-details-card {
        margin-top: 0.35rem;
    }

    .embed-frame {
        min-height: 190px;
    }

    .table-responsive {
        border-radius: 10px;
    }

    .pricing-comparison-table {
        min-width: 680px;
    }

    .pricing-comparison-table th,
    .pricing-comparison-table td {
        font-size: 0.9rem;
        padding: 0.55rem;
    }

    .pricing-comparison-table th:first-child,
    .pricing-comparison-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: #fff;
    }

    .pricing-comparison-table thead th:first-child {
        background: #f8f9fa;
        z-index: 3;
    }

    .site-footer {
        margin-top: 2.7rem;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-top: 96px;
    }

    .header-brand-wrap .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.6rem;
    }

    .header-brand-wrap .navbar {
        padding-top: 0.15rem;
        padding-bottom: 0.15rem;
    }

    .navbar-toggler {
        margin-left: 0 !important;
        padding: 0.28rem 0.42rem;
        border-color: rgba(15, 76, 129, 0.28);
        border-radius: 10px;
    }

    .header-actions {
        justify-content: space-between;
    }

    .header-actions .btn {
        width: 100%;
    }

    .header-ticker {
        min-height: 32px;
    }

    .header-ticker-label {
        font-size: 0.68rem;
    }

    .header-ticker-move {
        font-size: 0.78rem;
    }

    .navbar-brand {
        max-width: calc(100% - 56px);
        margin-right: 0;
    }

    .brand-mark-img-header {
        height: 44px;
    }

    .hero {
        padding: 2.5rem 0 2.2rem;
    }

    .hero::after {
        display: none;
    }

    .section-space {
        padding: 2.4rem 0;
    }

    .card-soft,
    .hero-card,
    .cta-band,
    .price-preview {
        padding: 1rem !important;
    }

    .metric {
        padding: 0.6rem;
    }

    .icon-badge {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .number-step {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .form-control,
    .form-select {
        font-size: 16px;
    }

    .embed-frame {
        min-height: 170px;
    }

    .pricing-comparison-table {
        min-width: 620px;
    }

    .footer-links li {
        margin-bottom: 0.34rem;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        left: 0.85rem;
        bottom: 0.85rem;
    }

    .whatsapp-lottie {
        width: 36px;
        height: 36px;
    }
}
