:root {
    --bg: #040811;
    --bg-soft: #09111e;
    --panel: rgba(9, 17, 30, 0.74);
    --panel-strong: rgba(8, 15, 28, 0.92);
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.16);
    --text: #f6f7fb;
    --muted: rgba(235, 240, 248, 0.74);
    --ink: #0d1724;
    --surface: #f5f1e8;
    --surface-strong: #fffaf1;
    --blue: #7dc2ff;
    --blue-strong: #4a94ff;
    --gold: #f6c95f;
    --gold-strong: #ffdc72;
    --shadow: 0 24px 80px rgba(3, 8, 18, 0.35);
    --radius: 28px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --container: min(1180px, calc(100vw - 2rem));
    --header-height: 88px;
    --header-offset: 104px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-offset);
}

body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #09111e 0%, #060d18 50%, #040811 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

textarea {
    resize: none;
}

button {
    border: 0;
    cursor: pointer;
}

main,
header,
footer,
section {
    position: relative;
    z-index: 1;
}

#servicios,
#casos,
#ventaja,
#contacto {
    position: relative;
    display: block;
}

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

.scroll-target {
    scroll-margin-top: var(--header-offset);
}

.site-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.site-background__gradient,
.site-background__grid,
.site-background__mist,
.site-background__beam,
.site-background__wave,
.site-background__particles {
    position: absolute;
    inset: 0;
}

.site-background__gradient {
    background:
        radial-gradient(
            circle at 20% 18%,
            rgba(54, 105, 185, 0.18),
            transparent 26%
        ),
        radial-gradient(
            circle at 82% 16%,
            rgba(246, 201, 95, 0.14),
            transparent 18%
        ),
        radial-gradient(
            circle at 52% 64%,
            rgba(119, 194, 255, 0.08),
            transparent 22%
        ),
        linear-gradient(180deg, #09111e 0%, #06101b 48%, #040811 100%);
}

.site-background__grid {
    opacity: 0.24;
    background-image:
        linear-gradient(rgba(125, 194, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 194, 255, 0.05) 1px, transparent 1px),
        repeating-linear-gradient(
            115deg,
            transparent 0 42px,
            rgba(246, 201, 95, 0.018) 42px 43px,
            transparent 43px 88px
        );
    background-size:
        120px 120px,
        120px 120px,
        100% 100%;
    mask-image: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.85) 22%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.site-background__mist {
    filter: blur(70px);
    opacity: 0.3;
    transform: translate3d(0, 0, 0);
    animation: drift 18s ease-in-out infinite alternate;
}

.site-background__mist--left {
    background: radial-gradient(
        circle at 50% 50%,
        rgba(74, 148, 255, 0.3),
        transparent 62%
    );
    inset: 12% auto auto -18%;
    width: 44rem;
    height: 44rem;
}

.site-background__mist--right {
    background: radial-gradient(
        circle at 50% 50%,
        rgba(246, 201, 95, 0.2),
        transparent 68%
    );
    inset: auto -20% 6% auto;
    width: 40rem;
    height: 40rem;
    animation-duration: 24s;
}

.site-background__beam {
    opacity: 0.25;
    transform: translate3d(0, 0, 0);
    filter: blur(36px);
}

.site-background__beam--blue {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(125, 194, 255, 0.24),
        transparent
    );
    transform: translate3d(-20%, 0, 0) rotate(-18deg) scale(1.35);
    animation: beamMove 16s linear infinite;
}

.site-background__beam--gold {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(246, 201, 95, 0.18),
        transparent
    );
    transform: translate3d(24%, 0, 0) rotate(12deg) scale(1.1);
    animation: beamMoveReverse 20s linear infinite;
}

.site-background__wave {
    inset: auto 0 -4% 0;
    height: 48vh;
    opacity: 0.34;
    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(255, 255, 255, 0.16),
            transparent 12%
        ),
        linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='680' viewBox='0 0 1600 680'%3E%3Cg fill='none' stroke='%237dc2ff' stroke-opacity='0.22' stroke-width='1.2'%3E%3Cpath d='M0 472c104-41 202-57 295-47 134 14 190 77 318 76 109-1 176-63 280-84 119-24 181 34 286 37 125 5 218-38 421-104'/%3E%3Cpath d='M0 528c97-34 187-43 274-25 88 18 152 74 287 80 144 7 214-52 326-85 129-38 213 27 331 22 116-5 203-42 382-109'/%3E%3Cpath d='M0 588c131-38 260-32 357 17 116 59 219 51 342 9 86-30 171-79 292-73 133 7 183 72 306 68 128-5 217-64 303-112'/%3E%3Cpath d='M0 620l156-67 120 32 108-103 139 74 128-127 139 45 108-75 170 116 120-76 132 70 180-106' stroke-opacity='0.14'/%3E%3Cg stroke='%23f6c95f' stroke-opacity='0.16'%3E%3Cpath d='M105 560l65-44 41 58 84-104 75 16 76 90 74-102 118 11 78 68 123-120 118 38 74-54 74 44'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%23dff2ff' fill-opacity='0.14'%3E%3Ccircle cx='123' cy='565' r='4'/%3E%3Ccircle cx='308' cy='470' r='3'/%3E%3Ccircle cx='651' cy='428' r='4'/%3E%3Ccircle cx='984' cy='529' r='4'/%3E%3Ccircle cx='1318' cy='478' r='5'/%3E%3Ccircle cx='1501' cy='407' r='3'/%3E%3C/g%3E%3C/svg%3E")
            center bottom / cover no-repeat;
    mask-image: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.18) 14%,
        rgba(0, 0, 0, 0.98) 100%
    );
    animation: waveFloat 22s ease-in-out infinite alternate;
}

.site-background__particles {
    overflow: hidden;
}

.particle {
    position: absolute;
    width: var(--size);
    height: var(--size);
    border-radius: 999px;
    background: radial-gradient(
        circle,
        rgba(223, 242, 255, 0.95) 0%,
        rgba(125, 194, 255, 0.55) 32%,
        rgba(125, 194, 255, 0) 72%
    );
    opacity: var(--opacity);
    box-shadow:
        0 0 18px rgba(125, 194, 255, 0.5),
        0 0 34px rgba(246, 201, 95, 0.18);
    animation: particleRise var(--duration) linear infinite;
    animation-delay: var(--delay);
    transform: translate3d(0, 0, 0);
}

.header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 1rem 0 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-height);
    padding: 0.95rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(8, 16, 29, 0.74);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(2, 7, 15, 0.24);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand__mark {
    width: 2.6rem;
    height: 2.6rem;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(125, 194, 255, 0.28));
}

.brand__type {
    width: min(9.8rem, 36vw);
    height: auto;
}

.nav-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.15rem;
    height: 3.15rem;
    padding: 0;
    overflow: visible;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.nav-toggle span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 0;
    background: white;
    border-radius: 999px;
    transform-origin: center;
    transition:
        transform 240ms var(--ease),
        opacity 240ms var(--ease);
}

.nav-toggle span:first-child {
    transform: translate(-50%, calc(-50% - 4px));
}

.nav-toggle span:last-child {
    transform: translate(-50%, calc(-50% + 4px));
}

.nav-toggle[aria-expanded="true"] span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.nav {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.35rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(8, 16, 29, 0.94);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
        opacity 220ms var(--ease),
        transform 220ms var(--ease),
        visibility 220ms;
}

.nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav a {
    padding: 0.85rem 1rem;
    color: var(--muted);
    border-radius: 14px;
    transition:
        color 180ms ease,
        background 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
    color: white;
    background: rgba(255, 255, 255, 0.04);
}

.button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.9rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition:
        transform 240ms var(--ease),
        box-shadow 240ms var(--ease),
        border-color 240ms var(--ease),
        background-color 240ms var(--ease);
    overflow: hidden;
}

.button::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(
        120deg,
        transparent 20%,
        rgba(255, 255, 255, 0.36) 42%,
        transparent 58%
    );
    transform: translateX(-130%);
    transition: transform 500ms var(--ease);
    z-index: -1;
}

.button:hover::before {
    transform: translateX(130%);
}

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

.button--primary {
    color: #0f1824;
    background: linear-gradient(
        135deg,
        var(--gold-strong),
        #f2c564 55%,
        #f8df90
    );
    box-shadow: 0 18px 35px rgba(246, 201, 95, 0.18);
}

.button--secondary,
.button--ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.button--sm {
    min-height: 2.8rem;
    padding-inline: 1.15rem;
}

.button--full {
    width: 100%;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(246, 201, 95, 0.9);
}

.hero {
    padding: 2.5rem 0 3.75rem;
}

.hero__inner {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(2.6rem, 6vw, 5.45rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.hero__lead {
    max-width: 42rem;
    margin: 1.35rem 0 0;
    font-size: clamp(1rem, 2.2vw, 1.28rem);
    line-height: 1.72;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.hero__metrics {
    display: grid;
    gap: 0.9rem;
    margin-top: 2rem;
}

.metric {
    padding: 1rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(12px);
}

.metric strong {
    display: block;
    line-height: 1.5;
    font-size: 1rem;
    color: white;
}

.hero__visual {
    position: relative;
    min-height: 27rem;
    border-radius: calc(var(--radius) + 8px);
}

.hero__media {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    height: 100%;
    border-radius: inherit;
    box-shadow: var(--shadow);
    background:
        radial-gradient(
            circle at 24% 28%,
            rgba(125, 194, 255, 0.22),
            transparent 22%
        ),
        radial-gradient(
            circle at 78% 18%,
            rgba(246, 201, 95, 0.22),
            transparent 18%
        ),
        radial-gradient(
            circle at 56% 62%,
            rgba(125, 194, 255, 0.12),
            transparent 26%
        ),
        linear-gradient(
            145deg,
            rgba(8, 16, 30, 0.98) 0%,
            rgba(9, 18, 32, 0.94) 42%,
            rgba(5, 10, 18, 0.98) 100%
        );
}

.hero__media::before {
    content: "";
    position: absolute;
    inset: 14% 10% 16% 12%;
    border-radius: 32px;
    background:
        linear-gradient(
            120deg,
            transparent 0 28%,
            rgba(255, 255, 255, 0.08) 28% 29%,
            transparent 29% 100%
        ),
        linear-gradient(
            35deg,
            transparent 0 48%,
            rgba(125, 194, 255, 0.2) 48% 49%,
            transparent 49% 100%
        ),
        linear-gradient(
            -35deg,
            transparent 0 58%,
            rgba(246, 201, 95, 0.18) 58% 59%,
            transparent 59% 100%
        );
    opacity: 0.85;
}

.hero__media::after {
    content: "";
    position: absolute;
    right: 6%;
    bottom: 10%;
    width: min(18rem, 36vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(
        circle,
        rgba(246, 201, 95, 0.24),
        rgba(125, 194, 255, 0.06) 48%,
        transparent 72%
    );
    filter: blur(6px);
    opacity: 0.92;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(8rem, 19vw, 10.5rem);
    border-radius: inherit;
    background:
        radial-gradient(
            circle at 15% 28%,
            rgba(6, 11, 20, 0.22),
            transparent 28%
        ),
        radial-gradient(
            circle at 82% 18%,
            rgba(246, 201, 95, 0.16),
            transparent 22%
        ),
        linear-gradient(
            180deg,
            rgba(5, 10, 18, 0.34) 0%,
            rgba(5, 10, 18, 0.08) 68%,
            transparent 100%
        );
    pointer-events: none;
}

.hero__isotype {
    position: absolute;
    right: -4%;
    bottom: -6%;
    width: min(32rem, 60vw);
    opacity: 0.38;
    filter: drop-shadow(0 0 55px rgba(74, 148, 255, 0.25))
        drop-shadow(0 0 35px rgba(246, 201, 95, 0.2));
}

.hero__floating {
    position: absolute;
    left: 1rem;
    right: 1rem;
    z-index: 2;
    padding: 1rem 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(6, 11, 20, 0.64);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(3, 8, 17, 0.2);
}

.hero__floating p {
    margin: 0.6rem 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.hero__floating--top {
    top: 1rem;
}

.hero__floating--bottom {
    bottom: 1rem;
}

.chip {
    display: inline-flex;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(125, 194, 255, 0.14);
    color: #d4ecff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.chip--gold {
    background: rgba(246, 201, 95, 0.16);
    color: #fff2c4;
}

.section {
    padding: 4.75rem 0;
}

.section--light {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 255, 255, 0.84),
            transparent 28%
        ),
        linear-gradient(180deg, var(--surface-strong) 0%, var(--surface) 100%);
    color: var(--ink);
}

.section--dark {
    background: transparent;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-heading--stacked {
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1.15rem;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.65rem, 3.2vw, 2.7rem);
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 46rem;
    margin: 0.75rem auto 0;
    color: var(--muted);
    line-height: 1.72;
}

.section--light .section-heading p {
    color: rgba(13, 23, 36, 0.72);
}

.section-heading__line {
    flex: 1;
    max-width: 9rem;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(13, 23, 36, 0.28),
        transparent
    );
}

.services-grid,
.cases-grid,
.advantage-grid,
.testimonials__grid,
.contact__grid,
.footer__grid,
.form-grid {
    display: grid;
    gap: 1rem;
}

.services-grid--three {
    align-items: stretch;
}

.service-card {
    overflow: hidden;
    border: 1px solid rgba(13, 23, 36, 0.08);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 26px 60px rgba(23, 33, 51, 0.12);
}

.service-card:hover {
    transform: none;
    box-shadow: 0 26px 60px rgba(23, 33, 51, 0.12);
}

.service-card__visual {
    position: relative;
    min-height: 16rem;
    overflow: hidden;
    background: #0b1726;
}

.service-card__image {
    width: 100%;
    height: 100%;
    min-height: 16rem;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.02) contrast(1.02);
}

.service-card__body {
    padding: 1.45rem 1.35rem 1.6rem;
}

.service-card__eyebrow {
    display: inline-flex;
    margin-bottom: 0.8rem;
    color: rgba(13, 23, 36, 0.44);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.service-card h3 {
    margin: 0;
    font-size: clamp(1.22rem, 2vw, 1.52rem);
    letter-spacing: -0.03em;
}

.service-card p {
    margin: 0.95rem 0 0;
    color: rgba(13, 23, 36, 0.76);
    line-height: 1.68;
}

.cases {
    padding-top: 4.9rem;
}

.cases-grid {
    margin-top: 1.5rem;
}

.case-card {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(
        180deg,
        rgba(8, 15, 28, 0.86),
        rgba(7, 13, 24, 0.72)
    );
    box-shadow: var(--shadow);
}

.case-card::before {
    content: "";
    position: absolute;
    inset: auto -3rem -3rem auto;
    width: 10rem;
    height: 10rem;
    border-radius: 999px;
    background: radial-gradient(
        circle,
        rgba(125, 194, 255, 0.12),
        transparent 70%
    );
}

.case-card__icon {
    display: inline-grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    font-size: 1.45rem;
}

.case-card h3 {
    margin: 0;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}

.case-card__summary,
.case-card__detail p {
    color: var(--muted);
    line-height: 1.68;
}

.case-card__summary {
    margin: 0.9rem 0 1.2rem;
}

.case-card__detail + .case-card__detail {
    margin-top: 1rem;
}

.case-card__detail span {
    display: inline-flex;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(246, 201, 95, 0.88);
}

.case-card__detail p {
    margin: 0;
}

.advantage-grid {
    margin-top: 1.4rem;
}

.advantage-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
}

.advantage-card__icon {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 16px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.03)
    );
    color: var(--gold-strong);
    font-size: 1.3rem;
    font-weight: 700;
}

.advantage-card h3 {
    margin: 1rem 0 0.7rem;
    font-size: 1.28rem;
    letter-spacing: -0.02em;
}

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

.testimonials {
    padding-top: 2.6rem;
    padding-bottom: 2.1rem;
}

.testimonials__grid--two {
    margin-top: 1.2rem;
}

.testimonial {
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

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

.testimonial strong {
    display: block;
    margin-top: 1rem;
    color: white;
}

.testimonial span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.58);
}

.contact {
    padding-top: 2.6rem;
    padding-bottom: 1.6rem;
}

.contact__copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3.15rem);
    letter-spacing: -0.04em;
}

.contact__copy p {
    margin: 1rem 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.contact__bullets {
    margin: 1.3rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.contact__bullets li {
    position: relative;
    padding-left: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact__bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-strong), #fff1c5);
    box-shadow: 0 0 16px rgba(246, 201, 95, 0.4);
}

.contact__local-box {
    display: grid;
    gap: 0.35rem;
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.contact__local-box strong {
    color: white;
}

.contact__local-box span {
    color: rgba(255, 255, 255, 0.68);
}

.contact-form {
    position: relative;
    overflow: hidden;
    padding: 1.4rem;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 15, 28, 0.72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.contact-form h3 {
    margin: 0 0 1.1rem;
    font-size: 1.5rem;
}

.form-grid label {
    display: grid;
    gap: 0.45rem;
}

.contact-form .button--full {
    margin-top: 1rem;
}

.form-grid span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    color: white;
    background: rgba(255, 255, 255, 0.04);
    outline: none;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
    color: rgba(255, 255, 255, 0.34);
}

.form-grid input:focus,
.form-grid textarea:focus {
    border-color: rgba(125, 194, 255, 0.6);
    box-shadow: 0 0 0 4px rgba(125, 194, 255, 0.1);
    transform: translateY(-1px);
}

.form-grid__full {
    grid-column: 1 / -1;
}

.form-feedback {
    min-height: 1.4rem;
    margin: 0.8rem 0 0;
    color: #d7ebff;
}

.whatsapp-float {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float__icon {
    display: grid;
    place-items: center;
    width: 3.9rem;
    height: 3.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #178b4a 0%, #23ad61 100%);
    color: white;
    box-shadow: 0 18px 35px rgba(23, 139, 74, 0.28);
    transition:
        transform 220ms var(--ease),
        box-shadow 220ms var(--ease);
}

.whatsapp-float:hover .whatsapp-float__icon {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 22px 42px rgba(23, 139, 74, 0.34);
}

.whatsapp-float__icon svg {
    width: 1.75rem;
    fill: currentColor;
}

.footer {
    padding: 0.9rem 0 1.6rem;
}

.footer__grid {
    gap: 1.15rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.brand--footer {
    margin-bottom: 1rem;
}

.footer h4 {
    margin: 0 0 0.8rem;
    font-size: 1rem;
}

.footer p,
.footer li,
.footer a,
.footer__bottom {
    color: rgba(255, 255, 255, 0.66);
}

.footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.footer ul a {
    position: relative;
    display: inline-flex;
    width: fit-content;
    padding-bottom: 0.12rem;
    transition: color 300ms var(--ease);
}

.footer ul a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    opacity: 0.9;
    transition: transform 300ms var(--ease);
}

.footer ul a:hover,
.footer ul a:focus-visible {
    color: rgba(255, 255, 255, 0.92);
}

.footer ul a:hover::after,
.footer ul a:focus-visible::after {
    transform: translateX(-50%) scaleX(1);
}

.footer__bottom {
    margin-top: 0.85rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
}

.reveal {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.98);
    transition:
        opacity 700ms var(--ease),
        transform 700ms var(--ease),
        filter 700ms var(--ease);
    filter: blur(8px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

@keyframes drift {
    from {
        transform: translate3d(-2%, -1%, 0) scale(1);
    }
    to {
        transform: translate3d(3%, 2%, 0) scale(1.08);
    }
}

@keyframes beamMove {
    from {
        transform: translate3d(-28%, -6%, 0) rotate(-18deg) scale(1.35);
    }
    to {
        transform: translate3d(28%, 8%, 0) rotate(-16deg) scale(1.42);
    }
}

@keyframes beamMoveReverse {
    from {
        transform: translate3d(32%, 4%, 0) rotate(14deg) scale(1.12);
    }
    to {
        transform: translate3d(-18%, -6%, 0) rotate(10deg) scale(1.18);
    }
}

@keyframes waveFloat {
    from {
        transform: translate3d(0, 0, 0) scale(1.02);
    }
    to {
        transform: translate3d(0, -2.5%, 0) scale(1.05);
    }
}

@keyframes particleRise {
    0% {
        transform: translate3d(0, 10vh, 0) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: var(--opacity);
    }
    85% {
        opacity: calc(var(--opacity) * 0.78);
    }
    100% {
        transform: translate3d(var(--drift), -110vh, 0) scale(1.35);
        opacity: 0;
    }
}

@keyframes signalMove {
    from {
        transform: translateX(-2%) rotate(-4deg);
    }
    to {
        transform: translateX(2%) rotate(4deg);
    }
}

@keyframes rotateSlow {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulseRing {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.96);
        opacity: 0.75;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.04);
        opacity: 1;
    }
}

@media (min-width: 700px) {
    .hero__metrics,
    .cases-grid,
    .advantage-grid,
    .testimonials__grid,
    .contact__grid,
    .footer__grid,
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .testimonials {
        padding-top: 2.2rem;
        padding-bottom: 1.8rem;
    }

    .contact {
        padding-top: 2.1rem;
        padding-bottom: 1.2rem;
    }

    .footer {
        padding-top: 0.65rem;
    }

    .whatsapp-float {
        right: 0.9rem;
        bottom: 0.9rem;
    }
}

@media (min-width: 920px) {
    .nav-toggle {
        display: none;
    }

    .nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        padding: 0;
        border: 0;
        background: transparent;
        backdrop-filter: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav a {
        padding: 0.75rem 1rem;
    }

    .hero {
        padding-top: 3.5rem;
        padding-bottom: 5rem;
    }

    .hero__inner,
    .contact__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }

    .hero__visual {
        min-height: 42rem;
    }

    .hero__banner {
        min-height: 42rem;
    }

    .hero__floating {
        left: auto;
        width: min(23rem, 58%);
    }

    .hero__floating--top {
        top: 1.35rem;
        right: 1.35rem;
    }

    .hero__floating--bottom {
        left: 1.35rem;
        bottom: 1.35rem;
    }

    .footer__grid {
        grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
    }
}

@media (min-width: 1120px) {
    .services-grid--three,
    .cases-grid,
    .advantage-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }
}
