@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #f5f8fc;
    --surface: #ffffff;
    --text: #12284a;
    --muted: #5d708f;
    --primary: #1f4f95;
    --primary-deep: #153766;
    --accent: #ee9a1e;
    --accent-deep: #d47d00;
    --border: #d7e3f4;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --shadow-soft: 0 22px 55px rgba(20, 52, 97, 0.1);
    --shadow-card: 0 14px 30px rgba(20, 52, 97, 0.08);
    --container: min(1160px, 92vw);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Outfit", "Segoe UI", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 3% 8%, #dce8ff 0, transparent 26%), radial-gradient(circle at 88% 10%, #ffe4bf 0, transparent 34%), var(--bg);
    line-height: 1.55;
}

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

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

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 12px 0;
    backdrop-filter: blur(14px);
    background: rgba(245, 248, 252, 0.75);
    border-bottom: 1px solid rgba(31, 79, 149, 0.12);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Space Grotesk", "Outfit", sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.01em;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
}

.site-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    transition: all 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--surface);
    background: linear-gradient(120deg, var(--primary), var(--primary-deep));
    box-shadow: 0 10px 20px rgba(31, 79, 149, 0.22);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 7px 8px;
    background: var(--primary);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.button--primary {
    color: #fff;
    background: linear-gradient(120deg, var(--accent), var(--accent-deep));
    box-shadow: 0 16px 30px rgba(238, 154, 30, 0.35);
}

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

.button--secondary {
    color: var(--primary);
    border: 1px solid rgba(31, 79, 149, 0.25);
    background: rgba(255, 255, 255, 0.9);
}

.button--secondary:hover {
    background: #fff;
}

.header-expert-btn {
    min-height: 42px;
    padding: 0 15px;
    font-size: 13px;
    white-space: nowrap;
}

.section {
    padding: 88px 0;
}

.section--tight {
    padding: 72px 0;
}

.section-title {
    font-family: "Space Grotesk", "Outfit", sans-serif;
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: 1.1;
    margin: 0 0 16px;
}

.section-subtitle {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--accent-deep);
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-weight: 700;
}

.section-lead {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.hero {
    padding: 92px 0 84px;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 400px;
    height: 400px;
    right: -110px;
    top: -70px;
    background: radial-gradient(circle, rgba(238, 154, 30, 0.28), transparent 65%);
    animation: floatSoft 9s ease-in-out infinite;
}

.hero::after {
    width: 360px;
    height: 360px;
    left: -120px;
    bottom: -130px;
    background: radial-gradient(circle, rgba(31, 79, 149, 0.25), transparent 62%);
    animation: floatSoft 8s ease-in-out infinite reverse;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 40px;
    align-items: center;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 4.4vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.hero p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-art {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transform-style: preserve-3d;
}

.hero-art img {
    width: 100%;
    min-height: 380px;
    object-fit: cover;
}

.hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(16, 31, 58, 0.38) 100%);
}

.hero-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(14, 26, 48, 0.72);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    backdrop-filter: blur(6px);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.stat {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
}

.stat strong {
    display: block;
    font-family: "Space Grotesk", "Outfit", sans-serif;
    font-size: 28px;
    line-height: 1;
}

.stat span {
    font-size: 13px;
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 20px;
}

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

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

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-card);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 45px rgba(20, 52, 97, 0.16);
}

.card h3 {
    margin: 14px 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.card h4 {
    margin: 14px 0 6px;
    font-size: 15px;
    color: var(--primary-deep);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.card img.icon {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #f0f4fb;
}

.clients-section {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.client-logo-card {
    min-height: 106px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-card img {
    width: 100%;
    max-width: 170px;
    max-height: 74px;
    object-fit: contain;
}

.page-hero {
    position: relative;
    padding: 78px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(130deg, rgba(31, 79, 149, 0.94), rgba(13, 42, 80, 0.95));
    color: #fff;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10, 24, 45, 0.2), rgba(238, 154, 30, 0.15));
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 4.2vw, 60px);
    line-height: 1.05;
}

.page-hero p {
    margin: 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
}

.page-hero__backdrop {
    position: absolute;
    right: -5%;
    bottom: -35%;
    width: min(620px, 58vw);
    opacity: 0.17;
    transform: rotate(-8deg);
    filter: saturate(0.9);
}

.split {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}

.media-frame {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.media-frame img {
    width: 100%;
    min-height: 330px;
    object-fit: cover;
}

.timeline {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.85);
}

.timeline-index {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", "Outfit", sans-serif;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(130deg, var(--primary), var(--accent));
}

.timeline-item h4 {
    margin: 3px 0 6px;
    font-size: 19px;
}

.timeline-item p {
    margin: 0;
    color: var(--muted);
}

.list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.list li {
    color: var(--muted);
    font-size: 15px;
    position: relative;
    padding-left: 18px;
}

.list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 9px;
}

.banner {
    margin-top: 28px;
    padding: 26px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: linear-gradient(140deg, #fff, #f4f8ff);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.banner h3 {
    margin: 0;
    font-size: 26px;
}

.cta-strip {
    margin-top: 38px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(120deg, var(--primary) 0%, #0f2f58 65%, var(--accent-deep) 100%);
    padding: 34px;
    color: #fff;
}

.cta-strip::before {
    content: "";
    position: absolute;
    inset: -80% -50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.23), transparent 48%);
    animation: rotateGlow 10s linear infinite;
}

.cta-strip > * {
    position: relative;
    z-index: 2;
}

.cta-strip h3 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3vw, 40px);
}

.cta-strip p {
    margin: 0 0 18px;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.85);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.info-block {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.info-block h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.info-block p {
    margin: 0;
    color: var(--muted);
}

.form-grid {
    display: grid;
    gap: 12px;
}

.form-alert {
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.form-alert--success {
    color: #115e3f;
    background: #e9f8f1;
    border-color: #9ed7bc;
}

.form-alert--error {
    color: #7d1d1d;
    background: #fff1f1;
    border-color: #f0b4b4;
}

.form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.input,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 14px;
    font-family: inherit;
    color: var(--text);
    background: #fff;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 30px 0 36px;
    margin-top: 34px;
    background: rgba(255, 255, 255, 0.55);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    font-size: 14px;
}

.floating-whatsapp {
    position: fixed;
    right: 16px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(120deg, #25d366, #128c7e);
    box-shadow: 0 14px 28px rgba(18, 140, 126, 0.4);
    z-index: 80;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(18, 140, 126, 0.48);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.floating-whatsapp span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 1040px) {
    .grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-hero__backdrop {
        width: min(500px, 70vw);
        bottom: -45%;
    }
}

@media (max-width: 860px) {
    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 4vw;
        left: 4vw;
        border-radius: 16px;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        box-shadow: var(--shadow-soft);
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav a {
        border-radius: 10px;
    }

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

    .header-expert-btn {
        min-height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }

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

@media (max-width: 640px) {
    .section {
        padding: 68px 0;
    }

    .hero {
        padding: 74px 0 64px;
    }

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

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

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

    .client-logo-card {
        min-height: 96px;
        padding: 12px;
    }

    .client-logo-card img {
        max-height: 60px;
    }

    .brand span {
        display: none;
    }

    .banner {
        padding: 20px;
    }

    .cta-strip {
        padding: 24px;
    }

    .header-expert-btn {
        min-height: 36px;
        padding: 0 10px;
    }

    .floating-whatsapp {
        right: 12px;
        bottom: 12px;
        width: 52px;
        height: 52px;
    }
}
