:root {
    --black: #000000;
    --black-soft: #07090c;
    --black-card: #0c1116;
    --cyan: #38bdf8;
    --cyan-strong: #7dd3fc;
    --orange: #ff8400;
    --electric-border-color: #3ecbff;
    --text: #f5f8fb;
    --muted: #9aa7b4;
    --line: color-mix(in srgb, var(--cyan) 28%, transparent);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    --font-display: "Audiowide", sans-serif;
    --font-body: "Exo 2", sans-serif;
    --radius: 32px;
    --nav-h: 76px;
    --page-pad: clamp(16px, 6vw, 80px);
    --section-y: clamp(52px, 8vw, 96px);
    --tap: 44px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    background: var(--black);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    padding-top: 0;
}

body:not(.cms-body):not(.admin-body) {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

body:not(.cms-body):not(.admin-body) main {
    animation: pageEnter 0.55s ease both;
}

body.is-leaving:not(.cms-body):not(.admin-body) main {
    animation: pageLeave 0.28s ease both;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    stroke-width: 1.8;
}

.icon-lg {
    width: 32px;
    height: 32px;
    stroke: var(--cyan);
}

.icon-xl {
    width: 42px;
    height: 42px;
    stroke: var(--orange);
}

.icon-brand {
    width: 1.15em;
    height: 1.15em;
    display: inline-block;
    fill: currentColor;
    flex-shrink: 0;
}

.field-icon-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.field-icon-label .icon,
.field-icon-label .icon-brand {
    width: 16px;
    height: 16px;
    color: var(--cyan);
}

.display {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.15;
    font-style: normal;
    text-transform: uppercase;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--nav-h);
    padding: env(safe-area-inset-top) var(--page-pad) 0;
    overflow: visible;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.navbar.is-solid {
    background: #07080a;
    border-bottom-color: rgba(56, 189, 248, 0.22);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 1001;
}

.logo-img {
    width: 52px;
    transition: transform 0.4s ease;
}

.logo-container:hover .logo-img {
    transform: rotate(8deg) scale(1.12);
}

.word-lead,
.word-tail {
    transition: color 0.4s ease;
}

.word-lead {
    color: var(--orange);
}

.word-tail {
    color: var(--cyan);
}

.logo-container:hover .word-lead {
    color: var(--cyan);
}

.logo-container:hover .word-tail {
    color: var(--orange);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.08em;
}

.site-intro {
    display: none;
}

.is-intro,
.is-intro body {
    overflow: hidden;
}

.is-intro .site-intro {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 45%, #0b1622 0%, #050608 70%);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.is-intro .site-intro.is-leaving {
    opacity: 0;
    visibility: hidden;
}

.is-intro .hero *,
.is-intro .navbar .hero-rim * {
    animation-play-state: paused !important;
}

.site-intro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 0 20px;
    text-align: center;
}

.site-intro-logo {
    width: clamp(150px, 40vw, 230px);
    filter: drop-shadow(0 0 28px rgba(56, 189, 248, 0.45));
    animation: introLogo 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-intro .logo-text {
    font-size: clamp(1.3rem, 5vw, 2.4rem);
    visibility: hidden;
}

.site-intro .type-char.is-on,
.site-intro .type-caret {
    visibility: visible;
}

.site-intro .type-caret {
    display: inline-block;
    width: 0.08em;
    height: 1em;
    margin-left: 0.06em;
    vertical-align: -0.1em;
    background: var(--cyan);
    box-shadow: 0 0 10px color-mix(in srgb, var(--cyan) 70%, transparent);
    animation: blink 0.7s step-end infinite;
}

.intro-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.intro-frame > span {
    position: absolute;
}

.intro-frame-top,
.intro-frame-bottom {
    width: 50%;
    height: 4px;
    transform: scaleX(0);
}

.intro-frame-top {
    top: 0;
    animation: introFrameX 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.intro-frame-bottom {
    bottom: 0;
    animation: introFrameX 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.05s both;
}

.intro-frame-top-left,
.intro-frame-bottom-left {
    left: 0;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) 78%, #7af0ff 100%);
    box-shadow: 0 0 10px 2px color-mix(in srgb, var(--cyan) 55%, transparent);
}

.intro-frame-top-right,
.intro-frame-bottom-right {
    right: 0;
    background: linear-gradient(90deg, #ffc078 0%, var(--orange) 22%, var(--orange) 100%);
    box-shadow: 0 0 10px 2px color-mix(in srgb, var(--orange) 45%, transparent);
}

.intro-frame-top-left,
.intro-frame-bottom-left {
    transform-origin: left center;
}

.intro-frame-top-right,
.intro-frame-bottom-right {
    transform-origin: right center;
}

.intro-frame-side {
    top: 0;
    bottom: 0;
    width: 4px;
    transform: scaleY(0);
    transform-origin: top center;
    animation: introFrameY 0.55s cubic-bezier(0.55, 0, 0.45, 1) 0.55s both;
}

.intro-frame-side-left {
    left: 0;
    background: var(--cyan);
    box-shadow: 0 0 10px 2px color-mix(in srgb, var(--cyan) 55%, transparent);
}

.intro-frame-side-right {
    right: 0;
    background: var(--orange);
    box-shadow: 0 0 10px 2px color-mix(in srgb, var(--orange) 45%, transparent);
}

@keyframes introFrameX {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes introFrameY {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes introLogo {
    from {
        opacity: 0;
        transform: scale(0.4) rotate(-12deg);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.app-tabbar {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #d5dee6;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--orange);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 20px) var(--page-pad) 64px;
    overflow: hidden;
    background: #000000;
}

.hero-media,
.page-hero .hero-media,
.cms-live-hero .hero-media,
.cms-live-page .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-media img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: right center;
    display: block;
}

.page-hero .hero-media img,
.cms-live-page .hero-media img {
    object-position: center;
}

.hero > .hero-media,
.hero > .hero-media img,
.hero > .hero-media::after {
    display: none;
}

.hero-rim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-rim-line {
    position: absolute;
    top: 0;
    width: 50%;
    height: 4px;
    transform: scaleX(0);
}

.hero-rim-line-left {
    left: 0;
    transform-origin: left center;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) 78%, #7af0ff 100%);
    box-shadow: 0 0 10px 2px color-mix(in srgb, var(--cyan) 55%, transparent);
    animation: heroRimConnect 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hero-rim-line-right {
    right: 0;
    transform-origin: right center;
    background: linear-gradient(90deg, #ffc078 0%, var(--orange) 22%, var(--orange) 100%);
    box-shadow: 0 0 10px 2px color-mix(in srgb, var(--orange) 45%, transparent);
    animation: heroRimConnect 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hero-rim-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--cyan) 48%, transparent) 0%,
        color-mix(in srgb, var(--cyan) 16%, transparent) 38%,
        transparent 50%,
        color-mix(in srgb, var(--orange) 16%, transparent) 62%,
        color-mix(in srgb, var(--orange) 48%, transparent) 100%
    );
    filter: blur(6px);
    opacity: 0;
    animation: heroRimGlow 0.7s ease 0.85s both;
}

.hero-rim-side {
    position: absolute;
    top: 0;
    width: 4px;
    height: min(38vh, 280px);
    transform: scaleY(0);
    transform-origin: top center;
    animation: heroRimDrop 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

.hero-rim-side-left {
    left: 0;
    background: linear-gradient(180deg, var(--cyan) 0%, transparent 100%);
    box-shadow: 4px 0 12px color-mix(in srgb, var(--cyan) 30%, transparent);
}

.hero-rim-side-right {
    right: 0;
    background: linear-gradient(180deg, var(--orange) 0%, transparent 100%);
    box-shadow: -4px 0 12px color-mix(in srgb, var(--orange) 30%, transparent);
}

@keyframes heroRimConnect {
    from {
        transform: scaleX(0);
        opacity: 0.35;
    }

    70% {
        opacity: 1;
    }

    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes heroRimDrop {
    from {
        transform: scaleY(0);
        opacity: 0;
    }

    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes heroRimGlow {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-copy {
    position: relative;
    z-index: 3;
    max-width: 680px;
}

.hero-enter .tag {
    animation: fadeDown 0.8s ease 0.15s both;
}

.hero-enter .hero-lead {
    animation: fadeUp 0.85s ease 0.35s both;
}

.hero-enter .hero-actions {
    animation: fadeUp 0.9s ease 0.85s both;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.75);
}

.hero p {
    max-width: 34rem;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn,
a.btn,
a.btn:hover,
a.btn:focus,
a.btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
    background: var(--cyan);
    color: #041018;
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.55);
}

.btn-secondary {
    color: var(--cyan);
    border-color: var(--line);
    background: rgba(0, 0, 0, 0.35);
}

.btn-secondary:hover {
    transform: translateY(-4px) scale(1.03);
    background: rgba(56, 189, 248, 0.12);
    border-color: var(--cyan);
}

.btn-orange {
    background: var(--orange);
    color: #160b00;
}

.btn-orange:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 36px rgba(255, 132, 0, 0.45);
}

.section {
    padding: var(--section-y) var(--page-pad);
}

.section-title {
    margin-bottom: 42px;
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.section-title-electric {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 22px);
}

.section-title-electric > span:not(.title-electric-line) {
    flex: 0 1 auto;
}

.title-electric-line {
    position: relative;
    flex: 1 1 72px;
    max-width: 220px;
    height: 3px;
    background: var(--electric-border-color);
    border-radius: 99px;
}

.title-electric-line::after {
    content: "";
    position: absolute;
    inset: -2px 0;
    background: var(--electric-border-color);
    border-radius: inherit;
    filter: blur(6px);
    opacity: 0.7;
    pointer-events: none;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + 48px) var(--page-pad) 56px;
    text-align: center;
    border-bottom: 1px solid var(--line);
    background: #05070a;
}

.page-hero .hero-media {
    animation: heroMediaFade 1.1s ease both;
}

.page-hero-enter .hero-media img {
    animation: heroImgIn 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.42));
}

.page-hero h1,
.page-hero p {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin-bottom: 12px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.65);
}

.section-lead {
    max-width: 42rem;
    margin: -18px auto 42px;
    color: var(--muted);
    text-align: center;
    font-size: 1.05rem;
}

.service-card .btn {
    margin-top: 18px;
}

.method-card {
    display: grid;
    justify-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(12, 17, 22, 0.92));
    border: 2px solid rgba(56, 189, 248, 0.55);
    border-radius: var(--radius);
    padding: 28px 22px;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.method-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--orange);
    box-shadow: 0 20px 50px rgba(255, 132, 0, 0.16);
}

.method-card h3 {
    margin: 14px 0 8px;
    color: var(--orange);
    font-family: var(--font-display);
}

.method-card p {
    color: var(--muted);
}

.method-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #fff;
    font-weight: 700;
}

.method-steps {
    list-style: none;
    display: grid;
    gap: 18px;
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
}

.method-step {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 22px 24px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(12, 17, 22, 0.92));
    border: 2px solid rgba(56, 189, 248, 0.4);
    border-radius: var(--radius);
}

.method-step-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--cyan);
}

.method-step h3 {
    margin: 0 0 8px;
    color: #fff;
}

.method-step p {
    margin: 0;
    color: var(--muted);
}

.method-deliverables {
    list-style: none;
    display: grid;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
}

.method-deliverables li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    color: #f5f8fb;
}

@media (max-width: 640px) {
    .method-step {
        grid-template-columns: 1fr;
    }
}

.services-grid,
.method-grid,
.prices-grid,
.testimonials-grid,
.values-grid,
.contact-cards {
    display: grid;
    gap: 22px;
}

.values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    max-width: 1120px;
    margin: 30px auto 0;
}

.team-carousel.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.team-stage {
    display: grid;
    min-width: 0;
    padding: 28px 0 34px;
    perspective: 1400px;
    overflow: clip;
    overflow-clip-margin: 24px;
    touch-action: pan-y;
    outline: none;
}

.team-stage:focus-visible {
    border-radius: 18px;
    box-shadow: inset 0 0 0 2px rgba(56, 189, 248, 0.45);
}

.team-card {
    --card-x: 0;
    --card-scale: 1;
    --card-tilt: 0deg;
    --card-flip: 0deg;
    grid-area: 1 / 1;
    justify-self: center;
    align-self: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(340px, 84vw);
    min-height: 500px;
    border: 1px solid rgba(56, 189, 248, 0.32);
    border-radius: 12px;
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(56, 189, 248, 0.1), transparent 60%),
        linear-gradient(180deg, rgba(13, 21, 31, 0.97), rgba(5, 9, 14, 0.98));
    text-align: center;
    transform: translateX(var(--card-x)) scale(var(--card-scale)) rotateY(var(--card-tilt)) rotateY(var(--card-flip));
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.22, 0.8, 0.24, 1), opacity 0.45s ease, filter 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
    user-select: none;
}

.team-card.is-active {
    cursor: pointer;
}

.team-card.is-flipped {
    --card-flip: 180deg;
    cursor: default;
}

.team-face {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.team-face-front {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 26px 22px;
}

.team-face-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    background:
        radial-gradient(120% 60% at 50% 100%, rgba(255, 132, 0, 0.08), transparent 60%),
        linear-gradient(180deg, rgba(10, 17, 26, 0.99), rgba(5, 9, 14, 1));
    text-align: left;
    transform: rotateY(180deg) translateZ(1px);
    user-select: text;
}

.team-flip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 6px 10px;
    border: 0;
    background: transparent;
    color: #8fd8fb;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.team-flip-btn:hover,
.team-flip-btn:focus-visible {
    color: #fff;
}

.team-flip-btn svg {
    width: 15px;
    height: 15px;
}

.team-back-head {
    --team-cover: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 20px 18px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    background:
        linear-gradient(180deg, rgba(5, 9, 14, 0.55), rgba(5, 9, 14, 0.92)),
        var(--team-cover) center / cover no-repeat;
}

.team-back-avatar {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 2px solid rgba(56, 189, 248, 0.75);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #142334, #070b10 70%);
}

.team-back-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-back-avatar span {
    color: #d7ecf8;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.team-back-name {
    margin: 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.team-back-head .team-card-role {
    margin-top: 2px;
    font-size: 0.85rem;
}

.team-back-body {
    display: grid;
    flex: 1;
    align-content: start;
    gap: 16px;
    padding: 16px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.4) transparent;
}

.team-back-block h4 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 8px;
    color: #ff8400;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.team-back-block h4 svg {
    width: 14px;
    height: 14px;
}

.team-back-block > p {
    margin: 0;
    color: #c3ced8;
    font-size: 0.88rem;
    line-height: 1.55;
}

.team-back-jobs {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0 0 0 12px;
    border-left: 1px solid rgba(56, 189, 248, 0.3);
    list-style: none;
}

.team-back-jobs li {
    position: relative;
    display: grid;
    gap: 2px;
}

.team-back-jobs li::before {
    content: "";
    position: absolute;
    top: 6px;
    left: -16px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
}

.team-back-year {
    color: #38bdf8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.team-back-jobs strong {
    color: #fff;
    font-size: 0.88rem;
}

.team-back-jobs small {
    color: #9aa8b5;
}

.team-back-jobs p {
    margin: 2px 0 0;
    color: #aab6c1;
    font-size: 0.82rem;
    line-height: 1.45;
}

.team-back-contact {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.team-back-contact li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #c3ced8;
    font-size: 0.86rem;
    overflow-wrap: anywhere;
}

.team-back-contact svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    color: #38bdf8;
}

.team-back-contact a {
    color: inherit;
}

.team-back-contact a:hover {
    color: #fff;
}

.team-back-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-back-socials a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.06);
    color: #d7ecf8;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.team-back-socials a:hover {
    background: rgba(56, 189, 248, 0.18);
    color: #fff;
    transform: translateY(-2px);
}

.team-back-socials svg {
    width: 17px;
    height: 17px;
}

.team-back-actions {
    display: grid;
    gap: 2px;
    padding: 4px 20px 16px;
    text-align: center;
}

.team-back-actions .team-card-btn {
    margin-top: 10px;
}

.team-back-actions .team-flip-btn {
    justify-self: center;
    margin-top: 6px;
}

.team-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 22px;
    height: 22px;
    border-top-right-radius: 12px;
    background: linear-gradient(225deg, #ff8400 0 45%, transparent 46%);
}

.team-card[data-pos="0"] {
    z-index: 3;
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.18), 0 0 38px rgba(56, 189, 248, 0.22), 0 28px 60px rgba(0, 0, 0, 0.55);
}

.team-card[data-pos="-1"],
.team-card[data-pos="1"] {
    --card-scale: 0.86;
    z-index: 2;
    opacity: 0.8;
    filter: saturate(0.85) brightness(0.85);
    cursor: pointer;
}

.team-card[data-pos="-1"] {
    --card-x: -100%;
    --card-tilt: 12deg;
}

.team-card[data-pos="1"] {
    --card-x: 100%;
    --card-tilt: -12deg;
}

.team-card[data-pos="-1"]:hover,
.team-card[data-pos="1"]:hover {
    opacity: 1;
    filter: none;
}

.team-card[data-pos="far-left"],
.team-card[data-pos="far-right"] {
    --card-scale: 0.7;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.team-card[data-pos="far-left"] {
    --card-x: -140%;
}

.team-card[data-pos="far-right"] {
    --card-x: 140%;
}

.team-card-num {
    position: absolute;
    top: 16px;
    left: 20px;
    color: #ff8400;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.team-card-avatar {
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 2px solid rgba(56, 189, 248, 0.75);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #142334, #070b10 70%);
    box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.08), 0 0 26px rgba(56, 189, 248, 0.28);
}

.team-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-avatar span {
    color: #d7ecf8;
    font-family: var(--font-display);
    font-size: 1.9rem;
    letter-spacing: 0.06em;
}

.team-card-name {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.team-card[data-pos="0"] .team-card-name {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.team-card-role {
    margin: 6px 0 0;
    color: #38bdf8;
    font-size: 0.95rem;
    font-weight: 600;
}

.team-card-sep {
    width: 48px;
    height: 1px;
    margin: 14px 0;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

.team-card-bio {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #b6c2cd;
    font-size: 0.9rem;
    line-height: 1.55;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.team-card-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.team-card-skills li {
    padding: 5px 12px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.06);
    color: #dbe7f0;
    font-size: 0.76rem;
    font-weight: 600;
}

.team-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin-top: 20px;
    border: 1px solid #ff8400;
    border-radius: 8px;
    color: #ff8400;
    font-weight: 700;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.team-card-btn svg {
    width: 17px;
    height: 17px;
}

.team-card[data-pos="0"] .team-card-btn {
    border-color: transparent;
    background: linear-gradient(180deg, #ff9b30, #ff7a00);
    color: #120a02;
    box-shadow: 0 12px 30px rgba(255, 132, 0, 0.32);
}

.team-card[data-pos="0"] .team-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(255, 132, 0, 0.42);
}

.team-arrow {
    position: relative;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(56, 189, 248, 0.5);
    border-radius: 50%;
    background: rgba(7, 13, 20, 0.85);
    color: #38bdf8;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.team-arrow:hover {
    background: rgba(56, 189, 248, 0.14);
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.35);
    transform: scale(1.06);
}

.team-arrow svg {
    width: 22px;
    height: 22px;
}

.team-dots {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.team-dot.is-active {
    background: #38bdf8;
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

@media (max-width: 760px) {
    .team-carousel {
        grid-template-columns: 1fr auto auto auto 1fr;
        grid-template-areas:
            "stage stage stage stage stage"
            ". prev dots next .";
        column-gap: 18px;
        row-gap: 0;
    }

    .team-carousel.is-single {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "stage";
    }

    .team-stage {
        grid-area: stage;
        padding-bottom: 22px;
    }

    .team-arrow {
        width: 42px;
        height: 42px;
    }

    .team-arrow-prev {
        grid-area: prev;
    }

    .team-arrow-next {
        grid-area: next;
    }

    .team-dots {
        grid-area: dots;
    }

    .team-card {
        width: min(320px, 76vw);
        min-height: 480px;
    }

    .team-face-front {
        padding: 36px 20px 18px;
    }

    .team-card[data-pos="-1"],
    .team-card[data-pos="1"] {
        --card-scale: 0.8;
        opacity: 0.4;
    }

    .team-card[data-pos="-1"] {
        --card-x: -66%;
        --card-tilt: 10deg;
    }

    .team-card[data-pos="1"] {
        --card-x: 66%;
        --card-tilt: -10deg;
    }

    .team-card-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-card {
        transition: opacity 0.2s ease;
    }
}

.contact-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid,
.method-grid,
.testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prices-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    max-width: 1160px;
    margin: 0 auto;
}

.service-card,
.price-card,
.testimonial-card,
.value-card,
.info-card {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(12, 17, 22, 0.92));
    border: 2px solid rgba(56, 189, 248, 0.55);
    border-radius: var(--radius);
    padding: 28px 22px;
    cursor: default;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover,
.testimonial-card:hover,
.value-card:hover,
.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 20px 50px rgba(56, 189, 248, 0.2);
}

.service-card,
.value-card,
.info-card {
    text-align: center;
}

.service-card h3,
.value-card h3,
.info-card h3 {
    margin: 14px 0 8px;
    color: var(--orange);
    font-family: var(--font-display);
}

.service-card p,
.value-card p,
.info-card p,
.testimonial-card p {
    color: var(--muted);
}

.info-card a {
    color: #fff;
    text-decoration: none;
}

.info-card a:hover {
    color: var(--orange);
}

.contact-socials {
    margin-top: 28px;
}

.contact-socials h3 {
    margin-bottom: 12px;
    color: var(--orange);
    font-family: var(--font-display);
}

.price-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
    border-radius: 40px;
}

.price-card.is-featured {
    background: linear-gradient(180deg, rgba(255, 132, 0, 0.18), rgba(12, 17, 22, 0.96));
    border-color: rgba(255, 132, 0, 0.7);
    border-width: 2px;
    transform: scale(1.04);
}

.price-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 20px 50px rgba(56, 189, 248, 0.2);
}

.price-card.is-featured:hover {
    transform: translateY(-10px) scale(1.06);
    border-color: rgba(255, 132, 0, 0.85);
    box-shadow: 0 24px 55px rgba(255, 132, 0, 0.22);
}

.price-badge {
    display: inline-flex;
    align-self: center;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--orange);
    color: #160b00;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.price-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.price-value {
    margin: 10px 0 4px;
    color: var(--orange);
    font-family: var(--font-display);
    font-size: 2.6rem;
}

.price-period {
    margin-bottom: 22px;
    color: var(--muted);
}

.price-list {
    list-style: none;
    margin-bottom: 28px;
    text-align: left;
}

.price-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(56, 189, 248, 0.12);
    color: #d7e0e8;
}

.price-card .btn {
    margin-top: auto;
}

.showcase-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 32px;
    flex-wrap: wrap;
    margin-bottom: clamp(22px, 3vw, 34px);
}

.showcase-kicker {
    margin-bottom: 8px;
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.showcase-title {
    color: #fff;
    font-family: var(--font-body);
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.showcase-title span {
    color: var(--cyan);
}

.showcase-lead {
    max-width: 62ch;
    margin-top: 10px;
    color: var(--muted);
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: var(--tap);
    padding: 0 22px;
    border: 1.5px solid var(--cyan);
    border-radius: 999px;
    color: var(--cyan);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.showcase-link:hover {
    background: var(--cyan);
    color: #041018;
}

.showcase-link .icon,
.project-card-btn .icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.tech-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
}

.tech-group {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: clamp(18px, 2.2vw, 26px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #0c1117 0%, #080b0f 100%);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.tech-group:hover {
    border-color: color-mix(in srgb, var(--cyan) 45%, transparent);
    transform: translateY(-3px);
}

.tech-group-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.tech-group-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--orange) 12%, transparent);
    color: var(--orange);
}

.tech-group-icon .icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.tech-group h3 {
    margin-bottom: 6px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.08rem;
    font-weight: 700;
}

.tech-group p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.tech-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 16px 10px;
    margin-top: auto;
    list-style: none;
}

.tech-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.tech-logo-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.25s ease, background 0.25s ease;
}

.tech-logo:hover .tech-logo-mark {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-3px) scale(1.06);
}

.tech-logo-mark img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.tech-logo-mark img.is-invert {
    filter: invert(1);
}

.tech-logo-mark img.is-bright {
    filter: brightness(2.2) saturate(1.3);
}

.tech-logo-mark .icon {
    width: 30px;
    height: 30px;
    stroke: var(--cyan);
}

.tech-logo-name {
    color: #dbe3ea;
    font-size: 0.82rem;
    font-weight: 600;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: #0a0e13;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    border-color: color-mix(in srgb, var(--cyan) 45%, transparent);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
    transform: translateY(-4px);
}

.project-card-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #05070a;
}

.project-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card-media img {
    transform: scale(1.04);
}

.project-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: clamp(16px, 2vw, 22px);
}

.project-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
}

.project-card-titles {
    min-width: 0;
}

.project-card-category {
    margin-bottom: 4px;
    color: var(--orange);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-card-title {
    color: #fff;
    font-family: var(--font-body);
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.project-card-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--cyan);
    color: #041018;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--cyan) 30%, transparent);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card-btn:hover {
    color: #041018;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px color-mix(in srgb, var(--cyan) 45%, transparent);
}

.project-card-text {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.project-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
    list-style: none;
}

.project-card-features li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #dbe3ea;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-card-features .icon {
    width: 14px;
    height: 14px;
    stroke: var(--orange);
}

.project-card .cms-card-edit {
    top: 12px;
    right: 12px;
}

.project-carousel {
    position: relative;
}

.project-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    border-radius: 18px;
    outline: none;
}

.project-track::-webkit-scrollbar {
    display: none;
}

.project-track:focus-visible {
    box-shadow: 0 0 0 2px var(--cyan);
}

.project-slide {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.project-slide .project-card {
    height: 100%;
}

.project-slide .project-card:hover {
    transform: none;
}

.project-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
}

.project-arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1.5px solid color-mix(in srgb, var(--cyan) 55%, transparent);
    border-radius: 50%;
    background: #0a0e13;
    color: var(--cyan);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.project-arrow:hover {
    border-color: var(--cyan);
    background: var(--cyan);
    color: #041018;
}

.project-arrow:active {
    transform: scale(0.94);
}

.project-arrow .icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.project-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.project-dot.is-active {
    width: 28px;
    background: linear-gradient(90deg, var(--cyan), var(--orange));
}

@media (min-width: 900px) {
    .project-slide .project-card {
        display: grid;
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    }

    .project-slide .project-card-media {
        aspect-ratio: auto;
        min-height: 360px;
    }

    .project-slide .project-card-body {
        justify-content: center;
        gap: 16px;
        padding: clamp(24px, 3vw, 40px);
    }

    .project-slide .project-card-head {
        display: contents;
    }

    .project-slide .project-card-title {
        font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    }

    .project-slide .project-card-features {
        margin-top: 0;
    }

    .project-slide .project-card-btn {
        order: 1;
        align-self: flex-start;
        margin-top: 6px;
    }
}

@media (max-width: 1024px) {
    .tech-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tech-groups .tech-group:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .tech-groups,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .showcase-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .tech-logos {
        grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    }

    .tech-logo-mark {
        width: 50px;
        height: 50px;
    }

    .project-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-card-btn {
        width: 100%;
        justify-content: center;
    }
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    color: var(--orange);
}

.stars .icon {
    fill: var(--orange);
    stroke: var(--orange);
}

.testimonial-author {
    margin-top: 16px;
    color: var(--orange);
    font-weight: 700;
}

.cta-band {
    margin: 0 var(--page-pad) var(--section-y);
    padding: 56px 28px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 36px;
}

.cta-band h2 {
    margin-bottom: 10px;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.cta-band p {
    margin-bottom: 24px;
    color: var(--muted);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tech-list span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 132, 0, 0.12);
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 700;
}

#proyectos {
    overflow: visible;
}

.electric-svg {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.home-project-card {
    --electric-w: min(350px, calc(100vw - 32px));
    position: relative;
    isolation: isolate;
    flex: 0 0 var(--electric-w);
    width: var(--electric-w);
    aspect-ratio: 350 / 500;
    height: auto;
    border: 0;
    border-radius: 24px;
    background: #0d0d0d;
    padding: 0;
    box-shadow: none;
    filter: none;
    scroll-snap-align: center;
}

.electric-inner {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.electric-stroke {
    position: absolute;
    inset: 0;
    border: 3px solid var(--electric-border-color);
    border-radius: 24px;
    pointer-events: none;
    box-shadow: none;
    filter: url("#electric-border");
}

.electric-glow {
    position: absolute;
    inset: 0;
    border: 3px solid color-mix(in srgb, var(--electric-border-color) 80%, transparent);
    border-radius: 24px;
    pointer-events: none;
    box-shadow: none;
    filter: blur(6px);
}

.home-project-content {
    position: absolute;
    inset: 14px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    background: #0d0d0d;
    box-shadow: none;
    filter: none;
}

.home-project-media {
    position: absolute;
    inset: 10px 10px auto;
    height: 46%;
    z-index: 0;
    overflow: hidden;
    border-radius: 12px;
}

.home-project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.home-project-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, #0d0d0d 100%);
}

.home-project-top,
.home-project-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.home-project-top {
    padding: clamp(28px, 8%, 48px) clamp(22px, 8%, 48px) 16px;
    height: 100%;
}

.home-project-bottom {
    padding: 16px clamp(22px, 8%, 48px) clamp(28px, 8%, 48px);
    gap: 16px;
}

.scrollbar-glass {
    background:
        radial-gradient(47.2% 50% at 50.39% 88.37%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%),
        rgba(255, 255, 255, 0.04);
    position: relative;
    border-radius: 14px;
    width: fit-content;
    padding: 8px 16px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
}

.scrollbar-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    background: linear-gradient(
        150deg,
        rgba(255, 255, 255, 0.48) 16.73%,
        rgba(255, 255, 255, 0.08) 30.2%,
        rgba(255, 255, 255, 0.08) 68.2%,
        rgba(255, 255, 255, 0.6) 81.89%
    );
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.home-project-title {
    margin: auto 0 0;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 4vw, 2.15rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.home-project-divider {
    position: relative;
    z-index: 1;
    margin: 0;
    border: 0;
    height: 1px;
    background-color: currentColor;
    opacity: 0.18;
    mask-image: linear-gradient(to right, transparent, black, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black, transparent);
}

.home-project-copy {
    margin: 0;
    opacity: 0.55;
    font-size: 0.95rem;
    line-height: 1.45;
}

.home-project-bottom .btn {
    align-self: flex-start;
}

.electric-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
}

.electric-grid .home-project-card {
    scroll-snap-align: unset;
}

.home-project-bottom .tech-list {
    margin-top: 0;
}

.about-copy {
    max-width: 780px;
    margin: 0 auto 36px;
    text-align: center;
    color: var(--muted);
}

.about-copy h2 {
    margin-bottom: 14px;
    color: var(--text);
}

.contact-layout {
    display: grid;
    gap: 28px;
}

.contact-form-wrap {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 36px;
}

.contact-form-wrap h2 {
    margin-bottom: 22px;
    text-align: center;
    font-family: var(--font-display);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.92rem;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.45);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(56, 189, 248, 0.45);
    border-color: var(--cyan);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox input {
    width: 18px;
    height: 18px;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.btn-enviar {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.mensaje-formulario {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
}

.mensaje-formulario.exito {
    color: #d8ffe8;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.mensaje-formulario.error {
    color: #ffd1c8;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.site-footer {
    padding: 48px var(--page-pad) max(24px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: #050505;
}

.site-footer .logo-container {
    margin-bottom: 14px;
    width: fit-content;
}

.site-footer .word-lead {
    color: var(--orange);
}

.site-footer .word-tail {
    color: var(--cyan);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}

.site-footer h4 {
    margin-bottom: 12px;
    color: var(--cyan);
    font-family: var(--font-display);
}

.site-footer p,
.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.site-footer ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer-contact {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.footer-contact li,
.footer-contact a {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--muted);
}

.footer-contact .icon,
.footer-contact .icon-brand {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--cyan);
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 999px;
    transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.socials a:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    transform: translateY(-3px);
}

.socials .icon,
.socials .icon-brand {
    width: 18px;
    height: 18px;
}

.site-footer a:hover {
    color: var(--cyan);
}

.footer-copy {
    padding-top: 18px;
    border-top: 1px solid rgba(56, 189, 248, 0.12);
    text-align: center;
    color: #6d7782;
    font-size: 0.9rem;
}

.whatsapp-float {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 1102;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38);
    animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.48);
}

.whatsapp-float .icon,
.whatsapp-float .icon-brand {
    width: 30px;
    height: 30px;
    fill: currentColor;
    stroke: none;
}

@keyframes whatsappPulse {
    0%,
    100% {
        box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38);
    }
    50% {
        box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38), 0 0 0 10px rgba(37, 211, 102, 0.16);
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
    }
}

.tpl-section {
    padding-top: 12px;
}

.tpl-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px 220px;
    gap: 12px;
    margin-bottom: 28px;
}

.tpl-filters-toggle,
.tpl-filters-head,
.tpl-filters-overlay {
    display: none;
}

.tpl-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(255, 132, 0, 0.28);
    border-radius: 999px;
    background: #0a0d11;
}

.tpl-search .icon {
    width: 18px;
    height: 18px;
    stroke: var(--orange);
}

.tpl-search input,
.tpl-toolbar select {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    outline: none;
}

.tpl-toolbar select {
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(255, 132, 0, 0.28);
    border-radius: 999px;
    background: #0a0d11;
}

.tpl-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.tpl-filters {
    display: grid;
    gap: 18px;
    position: sticky;
    top: calc(var(--nav-h) + 16px);
}

.tpl-filter-block {
    padding: 18px 16px;
    border: 1px solid rgba(255, 132, 0, 0.18);
    border-radius: 18px;
    background: #0a0d11;
}

.tpl-filter-block h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--orange);
    font-size: 0.92rem;
}

.tpl-cat {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 38px;
    margin-bottom: 4px;
    padding: 0 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    text-align: left;
    cursor: pointer;
}

.tpl-cat.is-active,
.tpl-cat:hover {
    background: rgba(255, 132, 0, 0.12);
    color: #fff;
}

.tpl-cat span {
    color: var(--orange);
    font-size: 0.8rem;
}

.tpl-filter-block input[type="range"] {
    width: 100%;
    accent-color: var(--orange);
}

.tpl-price-row {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.85rem;
}

.tpl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tpl-chip,
.tpl-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.86rem;
    cursor: pointer;
}

.tpl-chip {
    padding: 6px 10px;
    border: 1px solid rgba(255, 132, 0, 0.2);
    border-radius: 999px;
}

.tpl-chip:has(input:checked),
.tpl-check:has(input:checked) {
    color: #fff;
    border-color: var(--orange);
}

.tpl-chip input,
.tpl-check input {
    accent-color: var(--orange);
}

.tpl-check {
    width: 100%;
    margin-bottom: 8px;
}

.tpl-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 22px;
}

.tpl-head h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: #fff;
}

.tpl-count {
    color: var(--muted);
}

.tpl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.tpl-card {
    position: relative;
    border: 5px solid var(--cyan);
    border-radius: 22px;
    background: #0b0e12;
    contain: layout paint;
}

.tpl-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #0b0e12;
}

.tpl-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.tpl-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tpl-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
}

.tpl-fav .icon {
    width: 16px;
    height: 16px;
}

.tpl-fav.is-on {
    color: var(--orange);
}

.tpl-offer {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--orange);
    color: #160b00;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tpl-sale-type {
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 700;
}

.tpl-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
}

.tpl-price {
    display: grid;
    gap: 2px;
}

.tpl-price strong,
.tpl-detail-price {
    color: var(--orange);
    font-size: 1.05rem;
}

.tpl-price-usd span {
    color: #d5dbe3;
    font-size: 0.92rem;
    font-weight: 700;
}

.tpl-price-old {
    color: #8b949e;
    font-size: 0.78rem;
    text-decoration: line-through;
}

.tpl-demo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
}

.tpl-demo .icon {
    width: 15px;
    height: 15px;
}

.tpl-card-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 16px 18px;
    flex: 1;
}

.tpl-card-copy h3 {
    font-size: 1.05rem;
    color: #fff;
}

.tpl-meta,
.tpl-desc {
    color: var(--muted);
    font-size: 0.86rem;
}

.tpl-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.tpl-techs li {
    padding: 6px 14px;
    border: 1.5px solid var(--orange);
    border-radius: 999px;
    background: #05070a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.1;
}

.tpl-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tpl-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

.tpl-card-foot strong {
    color: var(--orange);
    font-size: 1.05rem;
}

.tpl-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tpl-ghost,
.tpl-buy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    border: 1px solid rgba(255, 132, 0, 0.35);
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.tpl-ghost {
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.78rem;
}

.tpl-buy {
    width: 36px;
    justify-content: center;
    border-radius: 50%;
    background: var(--orange);
    color: #160b00;
    border-color: var(--orange);
}

.tpl-ghost .icon,
.tpl-buy .icon {
    width: 15px;
    height: 15px;
}

.tpl-card.is-hidden {
    display: none;
}

.cms-tpl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    align-items: stretch;
}

.cms-add-tpl {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 280px;
    border: 2px dashed rgba(56, 189, 248, 0.35);
    border-radius: 22px;
    background: #0b0e12;
    color: var(--cyan);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.cms-add-tpl span {
    font-size: 2.4rem;
    line-height: 1;
}

.cms-add-tpl:hover {
    border-color: var(--cyan);
}

.cms-body .tpl-card[data-open-modal] {
    cursor: pointer;
}

.cms-body .tpl-card .cms-card-edit {
    top: 12px;
    right: 12px;
}

.cms-live-card .tpl-card {
    width: min(360px, 100%);
    pointer-events: none;
}

.cms-tpl-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cms-tech-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cms-tech-picks button {
    padding: 6px 12px;
    border: 1px solid rgba(255, 132, 0, 0.35);
    border-radius: 999px;
    background: #0d1014;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
}

.cms-tech-picks button.is-on {
    background: var(--orange);
    color: #160b00;
    border-color: var(--orange);
}

.cms-tpl-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}

.cms-span-2 {
    grid-column: 1 / -1;
}

.cms-tpl-form .cms-kicker {
    margin: 0 0 6px;
}

.tpl-detail .tpl-offer {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    margin: 0;
}

.tpl-detail .tpl-demo {
    margin: 4px 0 0;
}

.tpl-plan-mini {
    display: grid;
    gap: 6px;
}

.tpl-plan-mini-item {
    color: #d5dbe3;
    font-size: 0.82rem;
}

.tpl-plan-mini-item strong {
    color: var(--orange);
}

.tpl-hire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(255, 132, 0, 0.45);
    border-radius: 999px;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
}

.tpl-hire.is-code {
    border-color: rgba(56, 189, 248, 0.45);
}

.tpl-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.tpl-plan {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: #0e1116;
}

.tpl-plan .btn,
.tpl-plan .tpl-hire {
    width: 100%;
}

.tpl-bill {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tpl-bill-opt {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 132, 0, 0.28);
    border-radius: 14px;
    background: #0b0e12;
}

.tpl-plan-kicker {
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tpl-plan h3,
.tpl-plan h4 {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
}

.tpl-plan-price {
    color: var(--orange);
    font-size: 1.15rem;
    font-weight: 800;
}

.tpl-plan-sub {
    color: #d5dbe3;
    font-size: 0.86rem;
}

.tpl-plan ul {
    margin: 0;
    padding-left: 18px;
    color: #c5ced8;
    font-size: 0.84rem;
}

.tpl-hosting {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tpl-detail {
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 20px;
    border: 0;
    background: transparent;
    color: #fff;
}

.tpl-detail[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tpl-detail::backdrop {
    background: rgba(0, 0, 0, 0.78);
}

.tpl-detail[open]::backdrop {
    animation: tplBackdropIn 0.35s ease;
}

.tpl-detail-panel {
    width: min(980px, calc(100vw - 32px));
    max-height: calc(100dvh - 40px);
    overflow: auto;
    padding: 0 22px 22px;
    border: 1px solid rgba(255, 132, 0, 0.35);
    border-radius: 22px;
    background: #0b0e12;
    color: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.tpl-detail[open] .tpl-detail-panel {
    animation: tplPanelIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes tplBackdropIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes tplPanelIn {
    from {
        opacity: 0;
        transform: translateY(32px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tpl-detail[open]::backdrop,
    .tpl-detail[open] .tpl-detail-panel {
        animation: none;
    }
}

.tpl-detail-panel,
.tpl-detail-panel p,
.tpl-detail-panel li,
.tpl-detail-copy,
.tpl-detail-copy p {
    color: #f5f8fb;
}

.tpl-detail-panel .tpl-meta,
.tpl-detail-panel .tpl-sale-type,
.tpl-detail-panel .tpl-plan-sub,
.tpl-detail-panel .tpl-plan ul,
.tpl-detail-panel .tpl-plan li {
    color: #d5dbe3;
}

.tpl-detail-head .cms-kicker,
.tpl-detail-panel .cms-modal-close {
    color: var(--orange);
}

.tpl-detail-head {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0 12px;
    background: #0b0e12;
}

.tpl-detail-hero {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.tpl-detail-panel img,
.tpl-detail-hero img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0;
}

.tpl-detail-copy {
    display: grid;
    gap: 8px;
    margin: 16px 0 4px;
}

.tpl-detail-copy h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.tpl-detail-price {
    margin: 12px 0;
    color: var(--orange);
    font-size: 1.3rem;
    font-weight: 700;
}

.admin-body {
    padding-top: 0;
    background: #050505;
}

.cms-body {
    padding-top: 0;
    min-height: 100vh;
    background: #08090b;
    color: #e7ecf1;
    font-family: "Plus Jakarta Sans", sans-serif;
    color-scheme: dark;
}

.cms-body .btn-primary {
    background: var(--orange);
    color: #160b00;
    box-shadow: none;
}

.cms-body .btn-primary:hover {
    box-shadow: 0 10px 24px rgba(255, 132, 0, 0.28);
}

.cms-body .btn-secondary {
    color: #d7dde3;
    background: #1a1f26;
    border-color: rgba(255, 255, 255, 0.1);
}

.cms-body input::placeholder,
.cms-body textarea::placeholder {
    color: #6b7380;
}

.cms-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    width: 248px;
    background: #0a0a0a;
    color: #cfcfcf;
}

.cms-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 20px 18px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cms-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.cms-brand span {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.cms-nav {
    display: flex;
    flex-direction: column;
    padding: 10px 0 18px;
    overflow-y: auto;
}

.cms-nav-label {
    padding: 16px 22px 6px;
    color: #5c5c5c;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cms-nav a,
.cms-sidebar-foot a {
    padding: 9px 22px;
    color: #9a9a9a;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cms-nav a:hover,
.cms-nav a.is-active,
.cms-sidebar-foot a:hover,
.cms-sidebar-foot a.is-active {
    color: #fff;
    background: rgba(255, 132, 0, 0.12);
}

.cms-nav a.is-active,
.cms-sidebar-foot a.is-active {
    color: var(--orange);
    box-shadow: inset 3px 0 0 var(--orange);
}

.cms-sidebar-foot {
    margin-top: auto;
    padding: 12px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cms-user {
    padding: 4px 22px 10px;
}

.cms-user strong {
    display: block;
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    text-transform: none;
    word-break: break-all;
}

.cms-user span {
    color: #8a8a8a;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cms-shell {
    margin-left: 248px;
    min-height: 100vh;
}

.cms-top {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 62px;
    padding: 0 28px;
    background: #0e1116;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cms-menu {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #e7ecf1;
    cursor: pointer;
}

.cms-crumb {
    color: #8b949e;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cms-clock {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    flex: 0 0 auto;
    white-space: nowrap;
}

.cms-clock strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--cyan);
}

.cms-clock small {
    color: #8b949e;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
}

.cms-top-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cms-quick {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--orange);
    color: #160b00;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
}

.cms-web {
    color: var(--orange);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.cms-main {
    padding: 28px;
}

.cms-ok {
    margin-bottom: 18px;
    padding: 12px 14px;
    color: #86efac;
    background: rgba(22, 101, 52, 0.2);
    border: 1px solid rgba(134, 239, 172, 0.25);
    border-radius: 10px;
}

.cms-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.cms-tabs a {
    padding: 10px 16px;
    border-radius: 10px;
    background: #1a1f26;
    color: #d7dde3;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
}

.cms-tabs a.is-active {
    background: var(--orange);
    color: #160b00;
}

.cms-editor {
    display: grid;
    grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
}

.cms-editor-card {
    grid-template-columns: minmax(240px, 1fr) auto;
}

.cms-editor.cms-editor-tpl {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 360px);
    gap: 28px;
    align-items: start;
}

.cms-editor.cms-editor-tpl .cms-editor-form {
    min-width: 0;
}

.cms-modal.cms-modal-tpl {
    width: min(1480px, calc(100vw - 20px));
    max-height: calc(100dvh - 16px);
}

.cms-modal.cms-modal-tpl .cms-modal-panel {
    max-height: calc(100dvh - 16px);
}

.cms-modal.cms-modal-tpl .cms-live {
    position: sticky;
    top: 0;
}

.cms-modal.cms-modal-tpl .cms-pretty-form select,
.cms-tpl-form select {
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: #0b0d11;
    color: #e7ecf1;
}

.cms-pretty-form,
.cms-card {
    display: grid;
    gap: 12px;
}

.cms-card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: #12151a;
    margin-bottom: 16px;
}

.cms-kicker {
    color: var(--orange);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cms-pretty-form label,
.cms-card label {
    display: grid;
    gap: 6px;
    color: #9aa3ad;
    font-weight: 700;
    font-size: 0.86rem;
}

.cms-pretty-form input:not([type="file"]),
.cms-pretty-form textarea,
.cms-pretty-form select,
.cms-card input:not([type="file"]),
.cms-card textarea,
.cms-card select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: #0b0d11;
    color: #e7ecf1;
}

.cms-pretty-form .btn {
    justify-self: start;
}

.cms-card .cms-file,
.admin-crud-form .cms-file,
.cms-pretty-form .cms-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.cms-pretty-form .cms-file-input,
.cms-card .cms-file-input,
.admin-crud-form .cms-file-input,
.cms-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    border: 0;
    background: transparent;
    z-index: 2;
}

.cms-file-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--orange);
    color: #160b00;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    pointer-events: none;
}

.cms-file:hover .cms-file-btn {
    filter: brightness(1.08);
}

.cms-file-name {
    color: #9aa3ad;
    font-size: 0.82rem;
    font-weight: 600;
    pointer-events: none;
}

.cms-photo {
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    min-height: 160px;
}

.cms-photo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.cms-hint {
    color: #8b949e;
    font-size: 0.78rem;
    font-weight: 500;
}

.cms-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cms-live {
    position: sticky;
    top: 84px;
}

.cms-live-hero,
.cms-live-page {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    padding: 36px 28px;
    border-radius: 16px;
    color: #f5f8fb;
    background: #05070a;
}

.cms-live-hero .hero-media::after,
.cms-live-page .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.05) 70%);
}

.cms-live-hero > *:not(.hero-media),
.cms-live-page > *:not(.hero-media) {
    position: relative;
    z-index: 1;
}

.cms-live-hero .tag,
.cms-live-page .tag {
    color: var(--cyan);
}

.cms-live-hero h2,
.cms-live-page h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.cms-live-hero p,
.cms-live-page p {
    max-width: 36rem;
    color: #d5dee8;
}

.cms-live-hero .btn,
.cms-live-page .btn {
    pointer-events: none;
}

.cms-live-copy {
    margin-top: 16px;
    padding: 20px;
    border-radius: 14px;
    background: #12151a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e7ecf1;
}

.cms-live-copy h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.cms-live-card {
    display: flex;
    justify-content: center;
    padding: 8px 0 16px;
}

.cms-electric-grid {
    justify-content: flex-start;
    margin-top: 8px;
}

.cms-body .home-project-card {
    font-family: "Exo 2", "Plus Jakarta Sans", sans-serif;
    color: var(--text);
}

.cms-body .home-project-card[data-open-modal] {
    cursor: pointer;
}

.cms-body .home-project-card[data-open-modal] .btn {
    pointer-events: none;
}

.cms-body .home-project-card[data-open-modal] .cms-card-actions,
.cms-body .home-project-card[data-open-modal] .cms-card-actions .btn,
.cms-body .home-project-card[data-open-modal] .cms-card-actions button {
    pointer-events: auto;
}

.cms-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-self: stretch;
}

.cms-card-actions .btn {
    flex: 1 1 0;
    align-self: stretch;
    padding: 12px 14px;
    text-align: center;
}

.cms-card-delete {
    flex: 1 1 0;
    margin: 0;
}

.cms-card-delete .btn {
    width: 100%;
}

.cms-card-edit {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 4;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--orange);
    color: #160b00;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    pointer-events: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.cms-body .home-project-card[data-open-modal]:hover .cms-card-edit {
    background: #ff9d33;
}

.cms-add-electric {
    --electric-w: min(350px, calc(100vw - 32px));
    flex: 0 0 var(--electric-w);
    width: var(--electric-w);
    aspect-ratio: 350 / 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px dashed color-mix(in srgb, var(--electric-border-color) 40%, transparent);
    border-radius: 24px;
    background: #0d0d0d;
    color: var(--cyan-strong);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.cms-add-electric span {
    font-size: 2.4rem;
    line-height: 1;
    color: var(--cyan);
}

.cms-add-electric:hover {
    border-color: var(--electric-border-color);
    background: #111214;
}

.cms-add-electric.cms-add-project {
    flex: none;
    width: auto;
    min-height: 320px;
    aspect-ratio: auto;
    border-radius: 18px;
}

.cms-project-grid .project-card {
    cursor: pointer;
}

.cms-live-card .project-card {
    max-width: 520px;
}

.cms-delete-form {
    margin-top: 14px;
}

.cms-delete-form button {
    padding: 0;
    border: 0;
    background: none;
    color: #f87171;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.tech-list:empty {
    display: none;
}

.cms-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cms-page-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: #12151a;
}

.cms-page-card-media {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #0b0d11;
    cursor: pointer;
}

.cms-page-card-media img {
    width: 100%;
    height: 186px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.cms-page-card:hover .cms-page-card-media img {
    transform: scale(1.04);
}

.cms-page-card-foot {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 16px;
}

.cms-page-card h3 {
    margin: 0;
    color: #f3f6f9;
    font-size: 1rem;
    font-weight: 800;
}

.cms-page-card p {
    margin: 4px 0 0;
    color: #8b949e;
    font-size: 0.8rem;
}

.cms-page-edit,
.cms-modal-close {
    padding: 0;
    border: 0;
    background: none;
    color: var(--orange);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.cms-modal {
    width: min(1120px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: #0e1116;
    color: #e7ecf1;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.cms-modal:has(.cms-editor-card) {
    width: min(1180px, calc(100vw - 24px));
}

.cms-modal.cms-modal-tpl:has(.cms-editor-card) {
    width: min(1480px, calc(100vw - 20px));
}

.cms-modal::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.cms-modal-panel {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 32px);
}

.cms-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #0e1116;
}

.cms-modal-head h2 {
    margin: 0;
    color: #f3f6f9;
    font-size: 1.15rem;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.cms-modal-body {
    padding: 22px;
    overflow: auto;
}

.cms-modal .cms-live {
    top: 12px;
}

.cms-modal .admin-panel {
    margin-top: 8px;
}

.admin-heading h1 {
    margin: 0 0 8px;
    color: #f3f6f9;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-style: normal;
    font-weight: 800;
}

.admin-heading p,
.admin-form p {
    color: #9aa3ad;
}

.admin-stats {
    display: grid;
    gap: 16px;
}

.admin-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 22px;
}

.admin-stat,
.admin-panel,
.admin-form,
.admin-crud-form {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: #12151a;
}

.admin-stat {
    position: relative;
    text-decoration: none;
    color: inherit;
    min-height: 128px;
}

.admin-stat:hover {
    border-color: rgba(255, 132, 0, 0.45);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.admin-stat-icon {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    color: var(--orange);
}

.admin-stat-icon .icon {
    width: 22px;
    height: 22px;
}

.admin-stat span {
    display: block;
    color: #8b949e;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.admin-stat strong {
    display: block;
    margin-top: 18px;
    color: #f3f6f9;
    font-size: 2.3rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-style: normal;
    line-height: 1;
}

.admin-stat small {
    display: block;
    margin-top: 8px;
    color: #9aa3ad;
    font-size: 0.82rem;
}

.admin-panel {
    margin-bottom: 20px;
}

.admin-panel h2 {
    margin-bottom: 16px;
    color: #f3f6f9;
    font-size: 1.05rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
}

.cms-badge {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #1a1f26;
    color: #d7dde3;
}

.cms-badge.is-open,
.cms-badge.is-nueva {
    background: rgba(255, 132, 0, 0.16);
    color: #ffb45c;
}

.cms-badge.is-unread {
    background: rgba(255, 132, 0, 0.16);
    color: #ffb45c;
}

.cms-badge.is-en_proceso {
    background: rgba(56, 189, 248, 0.12);
    color: #7dd3fc;
}

.cms-badge.is-ganada {
    background: rgba(22, 101, 52, 0.28);
    color: #86efac;
}

.cms-badge.is-perdida {
    background: #1a1f26;
    color: #8b949e;
}

.admin-login {
    width: min(460px, 92%);
    margin: 0 auto;
    padding: 10vh 0;
    text-align: center;
}

.admin-login .logo-container {
    display: inline-flex;
    margin-bottom: 28px;
}

.admin-login .admin-form {
    grid-template-columns: minmax(0, 1fr);
}

.admin-login h1 {
    margin: 0;
    font-size: clamp(1.25rem, 6.4vw, 2rem);
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
}

.admin-form,
.admin-crud-form {
    display: grid;
    gap: 14px;
    text-align: left;
}

.admin-form.two-col,
.admin-crud-form.two-col {
    grid-template-columns: 1fr 1fr;
}

.admin-form.two-col .full,
.admin-crud-form.two-col .full,
.admin-form.two-col button,
.admin-crud-form.two-col button,
.admin-form.two-col .admin-back,
.admin-crud-form.two-col .admin-back,
.admin-crud-form.two-col .cms-photo,
.admin-crud-form.two-col .cms-hint,
.admin-crud-form.two-col .cms-file {
    grid-column: 1 / -1;
}

.admin-form label,
.admin-crud-form label {
    display: grid;
    gap: 6px;
    color: #9aa3ad;
    font-weight: 700;
    font-size: 0.86rem;
}

.cms-check {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.cms-check input {
    width: auto;
}

.admin-form input:not([type="file"]):not([type="checkbox"]),
.admin-crud-form input:not([type="file"]):not([type="checkbox"]),
.admin-crud-form textarea,
.admin-crud-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: #0b0d11;
    color: #e7ecf1;
}

.admin-login .admin-form input {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--line);
    color: var(--text);
}

.admin-login .admin-form,
.admin-login .admin-form label {
    color: var(--muted);
}

.admin-login .admin-form,
.admin-login h1,
.admin-login p {
    color: var(--text);
}

.totp-box {
    display: grid;
    gap: 12px;
    justify-items: center;
    padding: 16px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    background: rgba(8, 12, 16, 0.7);
}

.totp-qr {
    width: min(220px, 100%);
    height: auto;
    aspect-ratio: 1;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
}

.totp-secret code,
.totp-account strong {
    color: #fff;
    word-break: break-all;
}

.totp-input {
    letter-spacing: 0.4em;
    text-align: center;
    font-size: 1.35rem !important;
    font-variant-numeric: tabular-nums;
}

.admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    color: #c5cdd6;
}

.admin-table th,
.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: #8b949e;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-table tr.is-unread td {
    color: #f3f6f9;
    background: rgba(255, 132, 0, 0.1);
}

.admin-back,
.admin-table a {
    color: #d7dde3;
    text-decoration: none;
    font-weight: 700;
}

.admin-table a.cms-reply {
    color: var(--orange);
}

.crm-dash {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}

.crm-search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.crm-search input {
    flex: 1 1 220px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: #0d1014;
    color: #fff;
}

.crm-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.crm-col {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: #0e1116;
    min-height: 240px;
}

.crm-col header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.crm-col h2 {
    font-size: 0.92rem;
    color: #fff;
}

.crm-col header span,
.crm-empty {
    color: #8b949e;
    font-size: 0.8rem;
}

.crm-card {
    display: grid;
    gap: 6px;
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 132, 0, 0.2);
    border-radius: 12px;
    background: #161a20;
}

.crm-card a {
    color: inherit;
    text-decoration: none;
}

.crm-card strong {
    color: #fff;
}

.crm-card small {
    color: #9aa3ad;
}

.crm-follow.is-due {
    color: var(--orange);
    font-weight: 700;
}

.crm-card select {
    width: 100%;
    min-height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #0d1014;
    color: #fff;
}

.crm-new-contact {
    display: contents;
    margin: 0;
    padding: 0;
    border: 0;
}

.crm-new-contact[hidden] {
    display: none;
}

.crm-new-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.crm-card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.crm-card-actions form:first-child {
    flex: 1;
    min-width: 0;
}

.crm-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1px solid rgba(248, 81, 73, 0.35);
    border-radius: 8px;
    background: transparent;
    color: #f85149;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.crm-delete:hover,
.crm-delete:focus-visible {
    background: rgba(248, 81, 73, 0.12);
    border-color: #f85149;
}

.crm-delete .icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.crm-ficha {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.crm-ficha-main,
.crm-deal {
    display: grid;
    gap: 16px;
}

.crm-deal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.crm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.crm-timeline {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding: 0;
    list-style: none;
}

.crm-timeline p {
    margin: 6px 0 0;
    color: #d5dbe3;
}

.crm-timeline small {
    color: #8b949e;
}

@media (max-width: 1100px) {
    .crm-board,
    .crm-dash,
    .crm-ficha {
        grid-template-columns: minmax(0, 1fr);
    }
}

.crm-timeline li {
    overflow-wrap: anywhere;
}

@media (max-width: 860px) {
    .admin-table-wrap {
        overflow: visible;
    }

    .admin-table {
        min-width: 0;
    }

    .admin-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table tbody {
        display: grid;
        gap: 12px;
    }

    .admin-table tr {
        padding: 6px 14px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        background: #0d1014;
    }

    .admin-table tr.is-unread {
        border-color: rgba(255, 132, 0, 0.45);
        background: rgba(255, 132, 0, 0.08);
    }

    .admin-table tr.is-unread td {
        background: transparent;
    }

    .admin-table td {
        position: relative;
        padding: 10px 0 10px calc(36% + 10px);
        overflow-wrap: anywhere;
    }

    .admin-table tr td:last-child {
        border-bottom: 0;
    }

    .admin-table td[data-label]::before {
        content: attr(data-label);
        position: absolute;
        top: 12px;
        left: 0;
        width: 36%;
        color: #8b949e;
        font-size: 0.66rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        overflow-wrap: normal;
        hyphens: auto;
    }

    .admin-table td.admin-cell-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding: 12px 0 10px;
    }

    .admin-table td.admin-cell-actions .inline-form {
        margin-left: 0;
    }

    .admin-table tr.admin-row-empty {
        padding: 14px;
        color: #8b949e;
    }

    .admin-table tr.admin-row-empty td {
        display: block;
        padding: 0;
        border: 0;
    }
}

.admin-table button,
.inline-form button {
    padding: 7px 10px;
    color: #b42318;
    background: transparent;
    border: 1px solid rgba(180, 35, 24, 0.28);
    border-radius: 6px;
    cursor: pointer;
}

.admin-table .inline-form:first-child {
    margin-left: 0;
}

.admin-table .inline-form button[type="submit"] {
    margin-bottom: 6px;
}

.inline-form select {
    margin-top: 6px;
    max-width: 140px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #0b0d11;
    color: #e7ecf1;
}

.admin-alert {
    padding: 12px 14px;
    border-radius: 10px;
}

.admin-alert.error {
    color: #fecaca;
    background: rgba(122, 31, 43, 0.28);
    border: 1px solid rgba(254, 202, 202, 0.28);
}

.cms-overlay {
    display: none;
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px);
    animation: letterIn 0.55s ease forwards;
}

.word {
    display: inline-block;
    white-space: nowrap;
}

.hero-lead.is-typing::after {
    content: "|";
    margin-left: 2px;
    color: var(--cyan);
    animation: blink 0.7s step-end infinite;
}

.page-hero p {
    animation: fadeUp 0.8s ease 0.45s both;
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.price-card.is-featured.reveal.is-visible {
    transform: scale(1.04);
}

.tpl-card.reveal {
    transform: translateY(60px) scale(0.92);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.tpl-card.reveal .tpl-card-media img {
    transform: scale(1.18);
    transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: inherit;
}

.tpl-card.reveal.is-visible,
.tpl-card.reveal.is-visible .tpl-card-media img {
    transform: none;
}

.tpl-filter-block.reveal {
    transform: translateX(-40px);
}

.tpl-filter-block.reveal.is-visible {
    transform: none;
}

@keyframes letterIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImgIn {
    from {
        opacity: 0;
        transform: scale(1.08);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroMediaFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heroMediaZoom {
    from {
        opacity: 0.35;
        transform: scale(1.08);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pageLeave {
    from {
        opacity: 1;
        transform: none;
    }
    to {
        opacity: 0;
        transform: translateY(-16px);
    }
}

@keyframes appMoreIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes blink {
    50% { opacity: 0; }
}

@media (max-width: 1180px) {
    :root {
        --tabbar-h: 68px;
        --tabbar-gap: max(10px, env(safe-area-inset-bottom));
    }

    body {
        padding-bottom: calc(var(--tabbar-h) + var(--tabbar-gap) + 16px);
    }

    .hero {
        padding-bottom: calc(var(--tabbar-h) + var(--tabbar-gap) + 64px);
    }

    .nav-links {
        display: none;
    }

    .whatsapp-float {
        bottom: calc(var(--tabbar-h) + var(--tabbar-gap) + 22px);
        width: 52px;
        height: 52px;
    }

    .app-tabbar {
        position: fixed;
        left: 50%;
        bottom: var(--tabbar-gap);
        z-index: 1103;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: end;
        width: min(calc(100% - 20px), 560px);
        height: var(--tabbar-h);
        padding: 0 6px 8px;
        border-radius: 26px;
        background: rgba(10, 14, 19, 0.92);
        backdrop-filter: blur(16px) saturate(1.4);
        -webkit-backdrop-filter: blur(16px) saturate(1.4);
        box-shadow:
            0 18px 40px rgba(0, 0, 0, 0.55),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
        transform: translateX(-50%);
    }

    .app-tabbar::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 1.5px;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--cyan), color-mix(in srgb, var(--cyan) 20%, transparent) 45%, color-mix(in srgb, var(--orange) 20%, transparent) 55%, var(--orange));
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

    .app-tab {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        min-width: 0;
        height: 100%;
        color: #8d99a6;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.25s ease;
    }

    .app-tab-icon {
        display: grid;
        place-items: center;
        width: 26px;
        height: 26px;
        transition: transform 0.25s ease;
    }

    .app-tab-icon .icon {
        width: 23px;
        height: 23px;
        stroke: currentColor;
        stroke-width: 2;
    }

    .app-tab-label {
        max-width: 100%;
        overflow: hidden;
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .app-tab:hover {
        color: var(--text);
    }

    .app-tab.is-active {
        color: var(--cyan);
    }

    .app-tab.is-active::before {
        content: "";
        position: absolute;
        top: 6px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--orange);
        box-shadow: 0 0 8px var(--orange);
    }

    .app-tab.is-active .app-tab-icon {
        transform: translateY(-2px);
    }

    .app-tab-main {
        color: var(--text);
    }

    .app-tab-main .app-tab-icon {
        position: absolute;
        top: -26px;
        left: 50%;
        width: 62px;
        height: 62px;
        border: 4px solid #0a0e13;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan) 38%, var(--orange) 62%, var(--orange) 100%);
        color: #fff;
        box-shadow:
            0 10px 24px color-mix(in srgb, var(--cyan) 35%, transparent),
            0 6px 18px color-mix(in srgb, var(--orange) 30%, transparent);
        transform: translateX(-50%);
    }

    .app-tab-main .app-tab-icon .icon {
        width: 26px;
        height: 26px;
    }

    .app-tab-main:hover .app-tab-icon,
    .app-tab-main.is-active .app-tab-icon {
        transform: translateX(-50%) translateY(-3px);
    }

    .app-tab-main.is-active {
        color: var(--orange);
    }

    .app-tab-main.is-active::before {
        display: none;
    }

    .app-tab-main.is-active .app-tab-icon {
        box-shadow:
            0 0 0 3px color-mix(in srgb, var(--orange) 45%, transparent),
            0 10px 26px color-mix(in srgb, var(--orange) 40%, transparent);
    }

    .app-tab-more {
        border: 0;
        background: none;
        font: inherit;
        cursor: pointer;
    }

    .app-tab-more[aria-expanded="true"] {
        color: var(--orange);
    }

    .app-more-menu {
        position: absolute;
        right: 8px;
        bottom: calc(100% + 12px);
        display: grid;
        gap: 4px;
        width: min(240px, calc(100vw - 36px));
        padding: 8px;
        border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent);
        border-radius: 20px;
        background: #0a0e13;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
        transform-origin: bottom right;
        animation: appMoreIn 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .app-more-menu[hidden] {
        display: none;
    }

    .app-more-link {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 48px;
        padding: 0 12px;
        border-radius: 14px;
        color: var(--text);
        font-size: 0.95rem;
        font-weight: 600;
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .app-more-link:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .app-more-link.is-active {
        background: color-mix(in srgb, var(--cyan) 12%, transparent);
        color: var(--cyan);
    }

    .app-more-icon {
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: linear-gradient(135deg, color-mix(in srgb, var(--cyan) 22%, transparent), color-mix(in srgb, var(--orange) 22%, transparent));
        color: var(--orange);
    }

    .app-more-icon .icon {
        width: 18px;
        height: 18px;
        stroke: currentColor;
    }

    .app-more-arrow {
        width: 16px;
        height: 16px;
        margin-left: auto;
        stroke: var(--muted);
    }

    .hero-copy {
        margin-inline: auto;
        text-align: center;
    }

    .hero p {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .hero > .hero-media img {
        object-position: center center;
    }

    .services-grid,
    .method-grid,
    .contact-cards,
    .admin-stats,
    .cms-page-grid,
    .values-grid,
    .prices-grid,
    .testimonials-grid,
    .tpl-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tpl-toolbar {
        grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
    }

    .tpl-search {
        grid-column: 1 / -1;
    }

    .tpl-filters-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 48px;
        padding: 0 16px;
        border: 1px solid rgba(56, 189, 248, 0.35);
        border-radius: 999px;
        background: #0a0d11;
        color: #fff;
        cursor: pointer;
    }

    .tpl-filters-toggle .icon {
        width: 18px;
        height: 18px;
        stroke: var(--cyan);
    }

    .tpl-filters-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 8px;
    }

    .tpl-filters-head h3 {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #fff;
        font-size: 1.05rem;
    }

    .tpl-filters-close {
        width: var(--tap);
        height: var(--tap);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
        cursor: pointer;
    }

    .tpl-filters-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1090;
        background: rgba(0, 0, 0, 0.58);
    }

    .tpl-filters-overlay.is-on {
        display: block;
    }

    .tpl-layout {
        grid-template-columns: 1fr;
    }

    .tpl-filters {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1100;
        width: min(360px, 92vw);
        display: grid;
        align-content: start;
        gap: 16px;
        overflow: auto;
        padding: 18px 16px calc(24px + env(safe-area-inset-bottom));
        border: 0;
        border-right: 1px solid rgba(56, 189, 248, 0.28);
        background: #07090c;
        transform: translateX(-105%);
        transition: transform 0.28s ease;
    }

    .tpl-filters.is-open {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {

    .hero {
        padding: calc(var(--nav-h) + 8px) var(--page-pad) calc(var(--tabbar-h) + var(--tabbar-gap) + 64px);
        background: #000000;
    }

    .hero-copy {
        z-index: 3;
    }

    .hero h1,
    .hero-lead {
        text-shadow: 0 4px 22px rgba(0, 0, 0, 0.55);
    }

    .hero-actions,
    .cta-actions,
    .admin-stats,
    .admin-form.two-col,
    .admin-crud-form.two-col,
    .cms-editor,
    .cms-editor-card,
    .cms-editor.cms-editor-tpl,
    .cms-tpl-form,
    .cms-tpl-fields,
    .cms-two,
    .cms-page-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .cms-modal,
    .cms-modal-tpl {
        width: calc(100vw - 12px);
        max-height: calc(100dvh - 12px);
    }

    .cms-modal-body {
        padding: 14px;
    }

    .cms-live-card .tpl-card {
        width: 100%;
    }

    .cms-live {
        position: static;
    }

    .cms-sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .cms-nav-open .cms-sidebar {
        transform: none;
    }

    .cms-shell {
        margin-left: 0;
    }

    .cms-top {
        flex-wrap: wrap;
        row-gap: 10px;
        padding: 10px 16px;
    }

    .cms-clock {
        margin-left: 0;
    }

    .cms-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: var(--tap);
        height: var(--tap);
    }

    .cms-top-meta span {
        display: none;
    }

    .cms-clock small {
        display: none;
    }

    .cms-clock strong {
        font-size: 0.92rem;
    }

    .cms-nav-open .cms-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 30;
        background: rgba(0, 0, 0, 0.45);
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .title-electric-line {
        max-width: 64px;
        flex-basis: 40px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .section,
    .page-hero,
    .cta-band {
        padding-left: var(--page-pad);
        padding-right: var(--page-pad);
    }

    .cta-band {
        margin-left: var(--page-pad);
        margin-right: var(--page-pad);
    }

    .contact-form-wrap {
        padding: 22px 18px;
    }

    .price-card.is-featured {
        transform: none;
    }

}

@media (max-width: 640px) {
    :root {
        --page-pad: 16px;
        --section-y: 48px;
        --nav-h: 68px;
        --radius: 24px;
    }

    .logo-img {
        width: 48px;
    }

    .logo-text {
        font-size: 1.08rem;
    }

    .hero h1 {
        font-size: clamp(1.7rem, 8vw, 2.3rem);
    }

    .hero p,
    .section-lead {
        font-size: 0.98rem;
    }

    .tpl-toolbar {
        grid-template-columns: 1fr;
    }

    .tpl-filters-toggle {
        width: 100%;
    }

    .tpl-grid,
    .tpl-plans,
    .tpl-bill {
        grid-template-columns: 1fr;
    }

    .tpl-detail,
    .tpl-detail[open] {
        padding: 10px;
        align-items: flex-start;
    }

    .tpl-detail-panel {
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
    }

    .form-grid,
    .footer-grid,
    .values-grid,
    .prices-grid,
    .testimonials-grid,
    .services-grid,
    .method-grid,
    .contact-cards,
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .electric-grid {
        justify-content: center;
        gap: 20px;
    }

    .title-electric-line {
        max-width: 40px;
        flex-basis: 28px;
    }

    .contact-form-wrap,
    .cta-band {
        padding: 22px 16px;
        border-radius: 24px;
    }

    .tag {
        font-size: 0.7rem;
        padding: 8px 12px;
    }
}

@media (max-width: 400px) {
    :root {
        --page-pad: 12px;
        --section-y: 40px;
        --nav-h: 62px;
    }

    .logo-img {
        width: 44px;
    }

    .logo-text {
        font-size: 0.92rem;
        letter-spacing: 0.04em;
        max-width: 14ch;
        line-height: 1.2;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 1.55rem;
    }

    .section-title,
    .cta-band h2 {
        font-size: 1.35rem;
    }

    .btn,
    a.btn {
        width: 100%;
        padding: 12px 16px;
    }

    .home-project-card,
    .cms-add-electric {
        --electric-w: min(350px, calc(100vw - 24px));
    }

    .cms-quick {
        padding: 8px 10px;
        font-size: 0.7rem;
    }

    .cms-web {
        letter-spacing: 0.08em;
        font-size: 0.68rem;
    }

    .admin-login {
        padding: 20px 12px;
    }
}

@media (max-width: 320px) {
    :root {
        --page-pad: 10px;
        --tap: 40px;
    }

    body {
        font-size: 15px;
    }

    .logo-text {
        font-size: 0.72rem;
        max-width: 11ch;
    }

    .hero h1 {
        font-size: 1.35rem;
    }

    .title-electric-line {
        display: none;
    }

    .price-value {
        font-size: 2rem;
    }
}

@media (max-height: 480px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-h) + 12px);
        padding-bottom: 28px;
    }
}

@media (min-width: 1280px) {
    .testimonials-grid,
    .services-grid,
    .method-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1440px) {
    :root {
        --nav-h: 84px;
        --page-pad: clamp(48px, 7vw, 120px);
    }

    body {
        font-size: 17px;
    }

    .logo-img {
        width: 60px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .nav-links {
        gap: 36px;
    }

    .electric-grid {
        gap: 44px;
    }
}

@media (min-width: 1920px) {
    :root {
        --page-pad: max(80px, calc((100vw - 1560px) / 2));
        --section-y: 110px;
    }

    body {
        font-size: 18px;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 4.4vw, 5.4rem);
    }

    .home-project-card,
    .cms-add-electric {
        --electric-w: 350px;
    }
}

.error-404-main {
    min-height: calc(100dvh - var(--nav-h));
    display: grid;
    place-items: center;
    padding: calc(var(--nav-h) + 24px) var(--page-pad) var(--section-y);
}

.error-404 {
    position: relative;
    width: min(720px, 100%);
    text-align: center;
    z-index: 1;
}

.error-404-code {
    font-family: var(--font-display);
    font-size: clamp(5.4rem, 22vw, 10rem);
    line-height: 0.85;
    letter-spacing: 0.08em;
    color: transparent;
    background: linear-gradient(100deg, var(--cyan) 15%, #fff 45%, var(--orange) 80%);
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 0 0 28px color-mix(in srgb, var(--cyan) 40%, transparent);
    animation: error404Flicker 2.8s steps(2, end) infinite;
    user-select: none;
}

.error-404 .tag {
    justify-content: center;
    margin: 18px auto 10px;
}

.error-404 h1 {
    margin-bottom: 12px;
}

.error-404-lead {
    color: var(--muted);
    max-width: 38rem;
    margin: 0 auto 18px;
}

.error-404-path {
    font-size: 0.92rem;
    color: #7d8b98;
    margin-bottom: 28px;
    word-break: break-all;
}

.error-404-path code {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    border: 1px solid color-mix(in srgb, var(--cyan) 35%, transparent);
    border-radius: 999px;
    color: var(--cyan-strong);
    background: color-mix(in srgb, var(--cyan) 8%, #000);
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

@keyframes error404Flicker {
    0%,
    86%,
    100% {
        opacity: 1;
        filter: none;
    }

    88% {
        opacity: 0.72;
        filter: hue-rotate(18deg);
    }

    92% {
        opacity: 1;
    }
}

@media (max-width: 420px) {
    .app-tab-label {
        font-size: 0.6rem;
        letter-spacing: 0;
    }

    .app-tab-icon .icon {
        width: 21px;
        height: 21px;
    }

    .app-tab-main .app-tab-icon {
        width: 56px;
        height: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .letter,
    .reveal,
    .hero-rim-line,
    .hero-rim-side,
    .hero-rim-glow,
    .error-404-code {
        opacity: 1;
        transform: none;
    }
}
