:root {
    color-scheme: light;
    --ink: #17202a;
    --muted: #5d6977;
    --line: #dce3ea;
    --paper: #ffffff;
    --soft: #f5f8fb;
    --blue: #256ef9;
    --green: #18a058;
    --red: #d93025;
    --yellow: #fbbc05;
    --radius: 8px;
    --shadow: 0 20px 60px rgba(25, 37, 54, 0.12);
    --shadow-soft: 0 18px 44px rgba(25, 37, 54, 0.08);
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    background:
        linear-gradient(180deg, #f8fbff 0, #ffffff 560px),
        var(--paper);
    color: var(--ink);
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(220, 227, 234, 0.8);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #4285f4 0%, #256ef9 18%, #4285f4 34%, #34a853 52%, #fbbc05 68%, #ea4335 82%, #4285f4 100%);
    background-size: 420% 420%;
    box-shadow: 0 10px 24px rgba(66, 133, 244, 0.2);
    animation: googleBrandFlow 14s ease-in-out infinite;
}

@keyframes googleBrandFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 17px;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

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

.nav a,
.language-switcher a,
.phone-link {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
}

.nav a {
    padding: 9px 10px;
    border-radius: var(--radius);
    transition: color 180ms ease, background 180ms ease;
}

.nav a:hover,
.phone-link:hover {
    color: var(--ink);
}

.nav a:hover {
    background: var(--soft);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.language-switcher a {
    padding: 5px 7px;
    border-radius: 6px;
}

.language-switcher a.active {
    color: #fff;
    background: var(--ink);
}

.phone-link {
    font-weight: 700;
    color: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
    align-items: center;
    gap: clamp(30px, 5vw, 78px);
    min-height: calc(100vh - 76px);
    padding: clamp(30px, 6vw, 76px) clamp(18px, 5vw, 72px) clamp(30px, 5vw, 56px);
    overflow: hidden;
    position: relative;
}

.hero::before {
    position: absolute;
    inset: 7% 0 auto;
    z-index: -1;
    height: 360px;
    content: "";
    background: radial-gradient(circle at 72% 30%, rgba(37, 110, 249, 0.12), transparent 42%),
        radial-gradient(circle at 18% 40%, rgba(24, 160, 88, 0.1), transparent 36%);
    pointer-events: none;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
    width: 24px;
    height: 2px;
    content: "";
    border-radius: 999px;
    background: currentColor;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    max-width: 880px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
}

h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: 0;
    text-wrap: balance;
}

h3 {
    margin: 0 0 12px;
    font-size: clamp(20px, 2vw, 23px);
    line-height: 1.16;
    text-wrap: balance;
}

.hero-text {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 1.85vw, 21px);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(25, 37, 54, 0.14);
}

.button.primary {
    border-color: var(--blue);
    color: #fff;
    background: linear-gradient(135deg, var(--blue), #1555d8);
    box-shadow: 0 14px 34px rgba(37, 110, 249, 0.22);
}

.button.whatsapp {
    border-color: rgba(24, 160, 88, 0.28);
    color: #063f25;
    background: linear-gradient(135deg, #ecfff4, #dcf6e7);
}

.hero-note {
    max-width: 560px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    isolation: isolate;
}

.hero-visual::before {
    position: absolute;
    inset: 9% 5% 7%;
    z-index: -1;
    content: "";
    border: 1px solid rgba(220, 227, 234, 0.64);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.54);
    box-shadow: var(--shadow-soft);
}

#ads-hero-3d {
    width: 100%;
    height: min(64vw, 620px);
    min-height: 420px;
    display: block;
}

.visual-panel {
    position: absolute;
    right: 8%;
    bottom: 11%;
    display: grid;
    gap: 2px;
    min-width: 160px;
    padding: 16px;
    border: 1px solid rgba(220, 227, 234, 0.8);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.visual-panel span,
.visual-panel small {
    color: var(--muted);
    font-size: 13px;
}

.visual-panel strong {
    font-size: 34px;
}

.stats-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0 clamp(18px, 5vw, 72px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
    box-shadow: var(--shadow-soft);
}

.stats-band div {
    padding: clamp(20px, 3vw, 30px);
    background: #fff;
}

.stats-band strong,
.stats-band span {
    display: block;
}

.stats-band strong {
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1;
}

.stats-band span {
    margin-top: 8px;
    color: var(--muted);
}

.section,
.split-section,
.ai-section,
.contact-section {
    padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section > *,
.split-section > *,
.ai-section > *,
.contact-section > * {
    max-width: var(--max);
}

.split-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(26px, 5vw, 72px);
    align-items: start;
}

.large-text {
    margin: 0;
    color: var(--muted);
    font-size: clamp(20px, 2.5vw, 30px);
    line-height: 1.25;
    text-wrap: pretty;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.tags span {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #394657;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(25, 37, 54, 0.04);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading p:not(.section-kicker) {
    max-width: 660px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 18px;
}

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

.service-card,
.price-card,
.process-list article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 1px 0 rgba(25, 37, 54, 0.03);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.price-card:hover,
.process-list article:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 110, 249, 0.26);
    box-shadow: var(--shadow-soft);
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    padding: clamp(22px, 3vw, 28px);
}

.service-card::after {
    position: absolute;
    right: -26px;
    top: -26px;
    width: 92px;
    height: 92px;
    content: "";
    border-radius: 50%;
    background: rgba(37, 110, 249, 0.07);
}

.card-number {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 32px;
    margin-bottom: 42px;
    border-radius: 999px;
    background: rgba(37, 110, 249, 0.09);
    color: var(--blue);
    font-weight: 800;
    font-size: 13px;
}

.service-card p,
.price-card p,
.process-list p,
.ai-section p,
.contact-copy p {
    margin: 0;
    color: var(--muted);
}

.ai-section {
    display: grid;
    grid-template-columns: 320px minmax(0, 760px);
    gap: clamp(26px, 5vw, 80px);
    align-items: center;
    background:
        linear-gradient(135deg, rgba(37, 110, 249, 0.08), rgba(24, 160, 88, 0.06)),
        var(--soft);
}

.ai-section h2 {
    margin-bottom: 18px;
}

.ai-section p {
    font-size: 19px;
}

.ai-orbit {
    position: relative;
    width: min(72vw, 310px);
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #fff 0 28%, transparent 29% 100%);
    box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.4), var(--shadow-soft);
}

.ai-orbit span {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    transform: translate(-50%, -50%);
    border-radius: var(--radius);
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    background: var(--ink);
}

.ai-orbit i {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--blue);
    animation: orbit 9s linear infinite;
}

.ai-orbit i:nth-child(2) {
    top: 11%;
    left: 50%;
}

.ai-orbit i:nth-child(3) {
    top: 67%;
    left: 12%;
    background: var(--green);
    animation-duration: 11s;
}

.ai-orbit i:nth-child(4) {
    top: 69%;
    left: 82%;
    background: var(--yellow);
    animation-duration: 13s;
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(18px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(18px) rotate(-360deg);
    }
}

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

.process-list article {
    padding: clamp(20px, 3vw, 26px);
}

.process-list span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 34px;
    border-radius: 50%;
    color: #fff;
    background: var(--blue);
    font-weight: 800;
}

.prices {
    background: #fff;
}

.price-card {
    display: grid;
    grid-template-rows: minmax(56px, auto) auto 1fr;
    align-content: start;
    min-height: 220px;
    padding: clamp(22px, 3vw, 28px);
}

.price-card strong {
    display: block;
    margin: 0 0 16px;
    color: var(--blue);
    font-size: 26px;
    line-height: 1.1;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
    background:
        radial-gradient(circle at 88% 16%, rgba(37, 110, 249, 0.22), transparent 34%),
        linear-gradient(135deg, #111923, var(--ink));
    color: #fff;
}

.contact-copy {
    max-width: 650px;
}

.contact-copy h2 {
    margin-bottom: 18px;
}

.contact-copy p,
.contact-copy .section-kicker {
    color: rgba(255, 255, 255, 0.72);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.contact-links a {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    color: #fff;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease;
}

.contact-links a:hover {
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.08);
}

.lead-form {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
}

.lead-form label {
    display: grid;
    gap: 7px;
}

.lead-form span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px;
    outline: none;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.lead-form input:focus,
.lead-form textarea:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.lead-form textarea {
    resize: vertical;
}

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

.form-status {
    min-height: 24px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.form-status.is-ok {
    color: #92f2b7;
}

.form-status.is-error {
    color: #ffb3ad;
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 999px;
    color: #fff;
    background: #18a058;
    box-shadow: 0 14px 30px rgba(24, 160, 88, 0.28);
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(24, 160, 88, 0.34);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px clamp(18px, 5vw, 72px);
    color: var(--muted);
    font-size: 14px;
}

.site-footer a {
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1080px) {
    .nav {
        display: none;
    }

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

    .hero {
        min-height: auto;
    }

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

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

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

@media (max-width: 680px) {
    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px 12px;
        min-height: 0;
        padding: 12px 16px;
    }

    .header-actions {
        display: contents;
    }

    .brand {
        min-width: 0;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        flex: 0 0 auto;
    }

    .brand strong {
        font-size: 15px;
        line-height: 1.15;
    }

    .brand small {
        font-size: 11px;
    }

    .language-switcher {
        justify-self: end;
        grid-column: 2;
        grid-row: 1;
    }

    .phone-link {
        grid-column: 1 / -1;
        justify-self: end;
        font-size: 18px;
        line-height: 1;
        padding: 4px 0 2px;
    }

    .hero {
        padding-top: 34px;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .stats-band,
    .service-grid,
    .price-grid,
    .process-list {
        grid-template-columns: 1fr;
    }

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

    #ads-hero-3d {
        height: 380px;
        min-height: 320px;
    }

    .visual-panel {
        right: 4%;
        bottom: 4%;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .floating-whatsapp span {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .brand-mark {
        background-position: 0% 50%;
    }
}
