:root {
    --primary-red: #d32f2f;
    --primary-black: #111111;
    --ink: #202632;
    --soft-bg: #f4f6fb;
    --line: #e4e8f0;
    --deep-gradient: linear-gradient(120deg, #0c1118 0%, #101a2a 58%, #0c1118 100%);
}

body {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: var(--ink);
    background: #ffffff;
    letter-spacing: 0.01em;
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand,
.hero-main-badge,
.hero-badge {
    font-family: 'Sora', 'Manrope', sans-serif;
    letter-spacing: -0.015em;
}

main {
    overflow: hidden;
}

.navbar {
    padding: 12px 0;
}

.nav-pro {
    background: linear-gradient(90deg, #0d0f12 0%, #10151f 55%, #0d0f12 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(3, 8, 16, 0.35);
}

.navbar .container {
    gap: 12px;
}

.simple-navbar {
    padding: 10px 0;
}

.navbar-brand img {
    height: 50px;
    background: white;
    border-radius: 8px;
    padding: 4px;
    margin-right: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 20px rgba(11, 15, 24, 0.35);
}

.brand-caption {
    font-size: 1.1rem;
    line-height: 1.2;
    letter-spacing: 0.03em;
}

.nav-status {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #d5dde8;
    border-radius: 999px;
    font-size: 0.77rem;
    letter-spacing: 0.02em;
    padding: 5px 11px;
    align-items: center;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-collapse {
    flex-grow: 0;
    gap: 14px;
}

.navbar-nav {
    gap: 2px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 8px;
    transition: color 0.3s, background-color 0.3s, transform 0.3s;
    position: relative;
    border-radius: 999px;
    padding: 8px 13px !important;
    font-weight: 600;
}

.nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #ffffff !important;
    background: rgba(211, 47, 47, 0.22);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: calc(100% - 26px);
    transform: scaleX(0);
    height: 1.5px;
    bottom: 3px;
    left: 13px;
    background-color: var(--primary-red);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.service-dropdown {
    min-width: 290px;
    background: #10151f;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.service-dropdown .dropdown-item {
    color: #dbe4ef;
    padding: 8px 14px;
    font-size: 0.93rem;
}

.service-dropdown .dropdown-item:hover,
.service-dropdown .dropdown-item:focus,
.service-dropdown .dropdown-item.active {
    color: #fff;
    background: rgba(211, 47, 47, 0.22);
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-danger {
    background: linear-gradient(135deg, #d72f3f 0%, #c91c36 100%);
    border: 1px solid transparent;
    box-shadow: 0 10px 22px rgba(201, 28, 54, 0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-danger:hover,
.btn-danger:focus {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #de3c4b 0%, #bf1f33 100%);
    box-shadow: 0 14px 26px rgba(201, 28, 54, 0.38);
}

.nav-phone {
    border-color: rgba(255, 255, 255, 0.35);
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.nav-phone:hover {
    border-color: rgba(255, 255, 255, 0.7);
}

.service-hero-carousel .carousel-item {
    height: clamp(360px, 58vh, 560px);
}

.home-hero {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-main-item {
    height: clamp(420px, 72vh, 700px);
}

.hero-main-caption {
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(7, 9, 14, 0.2) 0%, rgba(7, 9, 14, 0.58) 50%, rgba(7, 9, 14, 0.78) 100%);
}

.hero-main-title {
    text-shadow: 0 5px 26px rgba(0, 0, 0, 0.45);
}

.hero-main-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 15px;
    margin-bottom: 14px;
    background: rgba(211, 47, 47, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}

.btn-hero-outline {
    border-width: 2px;
    backdrop-filter: blur(4px);
}

.hero-main-carousel .carousel-control-prev,
.hero-main-carousel .carousel-control-next,
.service-hero-carousel .carousel-control-prev,
.service-hero-carousel .carousel-control-next {
    width: 9%;
}

.hero-main-carousel .carousel-control-prev-icon,
.hero-main-carousel .carousel-control-next-icon,
.service-hero-carousel .carousel-control-prev-icon,
.service-hero-carousel .carousel-control-next-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background-color: rgba(9, 14, 24, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(4px);
}

.hero-main-carousel .carousel-indicators [data-bs-target],
.service-hero-carousel .carousel-indicators [data-bs-target] {
    width: 32px;
    height: 3px;
    border-radius: 999px;
}

.service-caption {
    background: linear-gradient(180deg, rgba(8, 10, 14, 0.22) 0%, rgba(8, 10, 14, 0.6) 52%, rgba(8, 10, 14, 0.72) 100%);
    left: 0;
    right: 0;
    bottom: 0;
}

.service-caption h1,
.service-caption h2 {
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.service-hero-title {
    max-width: 18ch;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 14px;
    margin-bottom: 16px;
    background: rgba(211, 47, 47, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-main-caption .hero-main-badge,
.hero-main-caption .hero-main-title,
.hero-main-caption p,
.hero-main-caption .btn,
.service-caption .hero-badge,
.service-caption .service-hero-title,
.service-caption p,
.service-caption .btn {
    animation: floatIn 0.75s ease both;
}

.hero-main-caption p,
.service-caption p {
    animation-delay: 0.08s;
}

.hero-main-caption .btn,
.service-caption .btn {
    animation-delay: 0.16s;
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    border: none;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow: 0 8px 18px rgba(25, 35, 52, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 3px solid transparent;
    cursor: pointer;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-7px);
    border-top: 3px solid var(--primary-red);
    box-shadow: 0 18px 34px rgba(22, 36, 58, 0.14);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.service-card .card-text::after {
    content: ' ->';
    color: var(--primary-red);
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
    margin-left: 0;
}

.metrics-band {
    background: linear-gradient(100deg, #121820 0%, #171f2c 50%, #121820 100%) !important;
}

.metric-col {
    position: relative;
}

.metric-value {
    text-shadow: 0 2px 16px rgba(211, 47, 47, 0.42);
}

.metric-label {
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .service-card .card-text::after {
        opacity: 1;
        margin-left: 5px;
    }
}

@media (min-width: 992px) {
    .service-card:hover .card-text::after {
        opacity: 1;
        margin-left: 8px;
    }
}

.client-logo {
    max-width: 100%;
    height: auto;
    max-height: 90px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.page-header {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 50px;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    list-style: none;
}

.check-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-red);
    font-size: 1.2rem;
    font-weight: bold;
}

.sticky-form {
    position: sticky;
    top: 20px;
    z-index: 100;
}

.card.shadow {
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(18, 28, 43, 0.12) !important;
}

.sticky-form::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(145deg, rgba(211, 47, 47, 0.3), rgba(44, 70, 110, 0.22));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.form-control,
.form-select {
    border: 1px solid #dbe2ee;
    border-radius: 12px;
    min-height: 50px;
    background: #f8fbff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #94acd1;
    background: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(56, 102, 171, 0.18);
}

textarea.form-control {
    min-height: 120px;
}

.price-card {
    border: 2px solid #f8f9fa;
    transition: all 0.3s;
}

.price-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.inner-hero {
    padding: 36px 0 12px;
}

.crumb {
    margin-bottom: 10px;
    color: #6c757d;
}

.section {
    padding: 46px 0;
}

.content-card {
    background: #ffffff;
    border: 1px solid #eceff3;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

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

.form-status {
    min-height: 24px;
    margin-top: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-status.ok {
    color: #198754;
}

.form-status.error {
    color: #dc3545;
}

.hp-field-wrap {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.ai-widget {
    position: fixed;
    bottom: 116px;
    right: 40px;
    z-index: 1002;
}

.ai-toggle {
    width: 64px;
    height: 64px;
    background: linear-gradient(155deg, #ff4b5f 0%, #cf203f 62%, #b41836 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(186, 25, 53, 0.45);
    border: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ai-toggle i {
    font-size: 1.15rem;
    z-index: 2;
}

.ai-toggle-text {
    display: none;
}

.ai-toggle-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    animation: aiPulse 2.1s ease-out infinite;
}

@keyframes aiPulse {
    0% {
        transform: scale(0.86);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.42);
        opacity: 0;
    }
}

.ai-panel {
    position: absolute;
    bottom: 84px;
    right: 0;
    width: 378px;
    max-width: 90vw;
    height: 560px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 18px;
    box-shadow: 0 26px 70px rgba(14, 23, 39, 0.34);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dbe4f2;
}

.ai-panel.open {
    display: flex;
}

.ai-header {
    background: linear-gradient(140deg, #0f1725 0%, #13203a 68%, #1a2849 100%);
    color: #ffffff;
    min-height: 74px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-header-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.25) 0%, rgba(241, 67, 90, 0.3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.ai-header strong {
    display: block;
    font-size: 0.96rem;
    letter-spacing: 0.01em;
}

.ai-header small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.78;
}

.ai-header button {
    border: none;
    background: transparent;
    color: white;
    font-size: 1.2rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.ai-header button:hover {
    background: rgba(255, 255, 255, 0.13);
}

.ai-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 11px 11px 10px;
    background: #f4f7fd;
    border-bottom: 1px solid #e3e9f4;
    transition: 0.3s ease;
}

.ai-quick.is-hidden {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 0;
    overflow: hidden;
}

.ai-chip {
    border: 1px solid #d5dfef;
    border-radius: 999px;
    background: #ffffff;
    color: #2d3c54;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 7px 9px;
    text-align: left;
    line-height: 1.2;
    transition: 0.2s ease;
}

.ai-chip:hover {
    border-color: #b7c9e5;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(45, 75, 124, 0.1);
}

.ai-messages {
    flex: 1;
    padding: 12px 13px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 9px;
    background: linear-gradient(180deg, #f9fbff 0%, #f4f7fd 100%);
}

.ai-msg {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 13px;
    font-size: 13.4px;
    line-height: 1.45;
    white-space: pre-wrap;
}

.ai-msg.bot {
    align-self: flex-start;
    background: #ffffff;
    color: #263449;
    border-bottom-left-radius: 2px;
    box-shadow: 0 4px 12px rgba(16, 34, 64, 0.08);
    border: 1px solid #dfe7f3;
}

.ai-msg.user {
    align-self: flex-end;
    background: linear-gradient(145deg, #e64357 0%, #cb2642 100%);
    color: white;
    border-bottom-right-radius: 2px;
    box-shadow: 0 8px 16px rgba(184, 37, 65, 0.27);
}

.ai-msg.ai-typing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ai-msg.ai-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8ea2c2;
    animation: aiTyping 1s infinite ease-in-out;
}

.ai-msg.ai-typing span:nth-child(2) {
    animation-delay: 0.18s;
}

.ai-msg.ai-typing span:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes aiTyping {
    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.42;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.ai-lead-cta {
    margin-top: 2px;
    padding: 11px 12px;
    border-radius: 12px;
    background: linear-gradient(140deg, #13203a 0%, #192a4d 100%);
    color: #eef4ff;
}

.ai-lead-cta p {
    margin: 0 0 8px;
    font-size: 0.8rem;
    line-height: 1.3;
}

.ai-lead-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec4c63 0%, #cf2c48 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    padding: 7px 12px;
}

.ai-form {
    padding: 10px;
    background: white;
    border-top: 1px solid #dbe4f2;
    display: flex;
    gap: 8px;
}

.ai-form input {
    flex: 1;
    border: 1px solid #d1ddec;
    border-radius: 999px;
    padding: 10px 14px;
    outline: none;
    font-size: 13.2px;
    background: #f8fbff;
}

.ai-form input:focus {
    border-color: #90a9d0;
    box-shadow: 0 0 0 4px rgba(102, 139, 196, 0.16);
    background: #ffffff;
}

.ai-form button {
    background: linear-gradient(145deg, #e5465a 0%, #cb2742 100%);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.92rem;
    box-shadow: 0 8px 14px rgba(205, 39, 66, 0.28);
}

.ai-form button:hover {
    transform: translateY(-1px);
}

.ai-footnote {
    font-size: 0.72rem;
    color: #73839b;
    padding: 0 13px 11px;
    background: #ffffff;
}

@media (max-width: 991px) {
    .hero-main-item {
        height: clamp(430px, 62vh, 560px);
    }

    .service-hero-carousel .carousel-item {
        height: 420px;
    }

    .hero-main-badge,
    .hero-badge {
        font-size: 0.72rem;
    }

    .hero-main-title,
    .service-hero-title {
        font-size: clamp(1.65rem, 7vw, 2.4rem);
    }

    .hero-main-caption .btn,
    .service-caption .btn {
        width: min(86vw, 340px);
    }

    .navbar-collapse {
        margin-top: 10px;
        background: #0f141d;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;
        padding: 12px;
    }

    .nav-status {
        display: none !important;
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .nav-link {
        margin: 0;
        padding-left: 4px;
    }

    .nav-cta-group {
        width: 100%;
        margin-top: 8px;
        flex-direction: column;
    }

    .nav-cta-group .btn {
        width: 100%;
    }

    .service-dropdown {
        min-width: 100%;
    }

    .sticky-form {
        position: static;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 18px;
        bottom: 18px;
        font-size: 26px;
    }

    .ai-widget {
        right: 18px;
        bottom: 86px;
    }

    .ai-toggle {
        width: 54px;
        height: 54px;
    }

    .ai-panel {
        width: min(94vw, 360px);
        height: min(72vh, 560px);
        bottom: 72px;
    }

    .ai-quick {
        grid-template-columns: 1fr;
    }
}
