        :root {
            --color-bg-dark: #0b0c10;
            --color-bg-darker: #050608;
            --color-bg-light: #f5f7fa;
            --color-bg-mid: #1a1d21;

            --color-primary: #ff8800;
            --color-accent: #E6FF00;

            --color-text-main: #111111;
            --color-text-soft: #666666;
            --color-text-on-dark: #f3f5f7;

            --color-border-soft: #e1e4ea;

            --max-width: 1140px;
            --radius-lg: 18px;
            --radius-md: 12px;
            --radius-pill: 999px;
            --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.32);

            --header-height: 68px;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            color: var(--color-text-main);
            background-color: #ffffff;
            line-height: 1.6;
        }

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

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

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 1.25rem;
        }

        /* Header */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(5, 6, 8, 0.92);
            color: var(--color-text-on-dark);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: var(--header-height);
        }

        .logo {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.05rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .logo img {
            height: 34px;
            width: auto;
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            font-size: 0.9rem;
        }

        .nav a {
            position: relative;
            padding-bottom: 0.15rem;
            opacity: 0.82;
        }

        .nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
            transition: width 0.18s ease-out;
        }

        .nav a:hover::after {
            width: 100%;
        }

        .nav a:hover {
            opacity: 1;
        }

        .nav-cta {
            padding: 0.45rem 0.9rem;
            border-radius: var(--radius-pill);
            border: 1px solid rgba(255, 255, 255, 0.2);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        /* Language switch (EN | ES) */
        .lang-switch {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.35rem 0.6rem;
            border-radius: var(--radius-pill);
            border: 1px solid rgba(255, 255, 255, 0.18);
            background: rgba(5, 6, 8, 0.55);
            margin-left: 0.25rem;
        }

        .lang-link {
            font-size: 0.78rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            opacity: 0.82;
            padding: 0.1rem 0.25rem;
        }

        .lang-link:hover {
            opacity: 1;
        }

        .lang-sep {
            opacity: 0.45;
        }

        body[data-lang="es"] .lang-link[hreflang="es"],
        body[data-lang="en"] .lang-link[hreflang="en"] {
            opacity: 1;
            font-weight: 650;
            text-decoration: underline;
            text-underline-offset: 0.22rem;
        }

        /* Hero */
        .hero {
            position: relative;
            padding: 4.5rem 0 4rem;
            background: radial-gradient(circle at top left, #111 0, #141414 48%, #181818 100%);
            color: var(--color-text-on-dark);
            overflow: hidden;
        }

        .hero-kicker {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: rgba(243, 245, 247, 0.75);
            margin-bottom: 0.8rem;
        }

        .hero-kicker span {
            padding: 0.1rem 0.65rem;
            border-radius: var(--radius-pill);
            border: 1px solid rgba(248, 249, 252, 0.25);
            background-color: rgba(10, 12, 15, 0.55);
        }

        .hero-title {
            font-size: 2.2rem;
            line-height: 1.1;
            letter-spacing: -0.03em;
            margin: 0 0 1.1rem;
        }

        @media (min-width: 720px) {
            .hero-title {
                font-size: 2.8rem;
            }
        }

        .hero-title span.emphasis {
            background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero-subtitle {
            max-width: 32rem;
            font-size: 0.98rem;
            color: rgba(233, 236, 239, 0.9);
            margin-bottom: 1.6rem;
        }

        .hero-cta-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            align-items: center;
            margin-bottom: 1.4rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.85rem 1.4rem;
            border-radius: var(--radius-pill);
            border: 1px solid transparent;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background-color 0.12s ease-out, border-color 0.12s ease-out;
            text-decoration: none;
            white-space: nowrap;
        }

        .btn-primary {
            background: linear-gradient(120deg, #E6FF00, #FF8800);
            color: #000;
            border: none;
            font-weight: 600;
            box-shadow: 0 12px 28px rgba(255, 136, 0, 0.35);
        }

        .btn-primary:hover {
            background: linear-gradient(120deg, #FFFF33, #FF9900);
            transform: translateY(-1px);
            box-shadow: 0 14px 32px rgba(255, 136, 0, 0.45);
        }

        .btn-secondary {
            background: transparent;
            color: var(--color-text-on-dark);
            border-color: rgba(248, 249, 252, 0.4);
        }

        .btn-secondary:hover {
            background-color: rgba(248, 249, 252, 0.08);
            transform: translateY(-1px);
        }

        .hero-note {
            font-size: 0.8rem;
            color: rgba(233, 236, 239, 0.7);
        }

        .hero-metric-card {
            position: relative;
            padding: 1.4rem 1.3rem;
            border-radius: var(--radius-lg);
            background: radial-gradient(circle at 0 0, rgba(70, 70, 70, 0.5), transparent 55%),
                radial-gradient(circle at 100% 0, rgba(90, 90, 90, 0.1), transparent 55%),
                rgba(8, 10, 14, 0.7);
            border: 1px solid rgba(163, 177, 197, 0.35);
            box-shadow: var(--shadow-soft);
        }

        .hero-metric-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.25rem 0.7rem;
            border-radius: var(--radius-pill);
            background-color: rgba(5, 6, 8, 0.7);
            border: 1px solid rgba(248, 249, 252, 0.18);
            font-size: 0.76rem;
            margin-bottom: 0.7rem;
        }

        .hero-metric-badge-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, #ffffff, var(--color-primary));
            box-shadow: 0 0 10px rgba(255, 136, 0, 0.55);
        }

        .hero-metric-main {
            display: flex;
            gap: 1.6rem;
            margin-bottom: 0.9rem;
        }

        .metric-block {
            flex: 1;
        }

        .metric-value {
            font-size: 1.6rem;
            font-weight: 600;
            letter-spacing: -0.03em;
        }

        .metric-label {
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            color: rgba(233, 236, 239, 0.8);
        }

        .hero-metric-divider {
            height: 1px;
            background: linear-gradient(90deg, rgba(248, 249, 252, 0.18), rgba(248, 249, 252, 0.04));
            margin: 0.75rem 0 0.7rem;
        }

        .hero-metric-footnote {
            font-size: 0.78rem;
            color: rgba(225, 229, 234, 0.85);
        }

        /* Sections */
        section {
            padding: 3.5rem 0;
        }

        .section-heading {
            text-align: center;
            margin-bottom: 2rem;
        }

        .section-kicker {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: var(--color-text-soft);
            margin-bottom: 0.4rem;
        }

        .section-title {
            font-size: 1.5rem;
            letter-spacing: -0.02em;
            margin: 0;
        }

        .section-subtitle {
            font-size: 0.9rem;
            color: var(--color-text-soft);
            max-width: 32rem;
            margin: 0.35rem auto 0;
        }

        /* About */
        .about {
            background-color: var(--color-bg-light);
        }

        .about-grid {
            display: grid;
            gap: 1.8rem;
        }

        @media (min-width: 860px) {
            .about-grid {
                grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
                align-items: center;
            }
        }

        .about-text h3 {
            font-size: 1.1rem;
            margin-top: 0;
            margin-bottom: 0.75rem;
        }

        .about-text p {
            font-size: 0.92rem;
            color: var(--color-text-soft);
            margin: 0 0 0.6rem;
        }

        .about-pill-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            margin-top: 0.5rem;
        }

        .pill {
            padding: 0.25rem 0.7rem;
            border-radius: var(--radius-pill);
            border: 1px solid rgba(0, 0, 0, 0.04);
            background-color: #ffffff;
            font-size: 0.75rem;
            color: #333;
        }

        .about-card {
            padding: 1.3rem 1.2rem;
            border-radius: var(--radius-lg);
            background-color: #ffffff;
            border: 1px solid var(--color-border-soft);
            box-shadow: 0 10px 32px rgba(15, 22, 33, 0.06);
            font-size: 0.85rem;
            color: var(--color-text-soft);
        }

        .about-card h4 {
            margin: 0 0 0.5rem;
            font-size: 0.95rem;
            color: var(--color-text-main);
        }

        .about-metadata {
            font-size: 0.78rem;
            color: var(--color-text-soft);
            margin-top: 0.7rem;
        }

        /* Philosophy */
        .philosophy {
            background-color: var(--color-bg-mid);
            color: var(--color-text-on-dark);
        }

        .philosophy .section-heading .section-kicker,
        .philosophy .section-heading .section-subtitle {
            color: rgba(226, 231, 238, 0.75);
        }

        .philosophy-cards {
            display: grid;
            gap: 1rem;
        }

        @media (min-width: 860px) {
            .philosophy-cards {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        .philosophy-card {
            border-radius: var(--radius-md);
            border: 1px solid rgba(197, 206, 218, 0.3);
            padding: 1.1rem 1.05rem;
            background: radial-gradient(circle at 0 0, rgba(70, 70, 70, 0.5), transparent 55%), rgba(7, 9, 13, 0.8);
        }

        .philosophy-card h3 {
            margin: 0 0 0.55rem;
            font-size: 0.98rem;
        }

        .philosophy-card p {
            margin: 0;
            font-size: 0.85rem;
            color: rgba(227, 232, 239, 0.84);
        }

        /* Projects */
        .projects {
            background-color: #ffffff;
        }

        .projects-grid {
            display: grid;
            gap: 1.25rem;
        }

        @media (min-width: 880px) {
            .projects-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        .project-card {
            border-radius: var(--radius-lg);
            border: 1px solid var(--color-border-soft);
            padding: 1.1rem 1rem 1rem;
            background-color: #ffffff;
            box-shadow: 0 14px 32px rgba(15, 22, 33, 0.04);
            display: flex;
            flex-direction: column;
            gap: 0.55rem;
            min-height: 180px;
        }

        .project-tag {
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: var(--color-text-soft);
        }

        .project-title {
            font-size: 0.98rem;
            font-weight: 600;
            margin: 0;
        }

        .project-desc {
            font-size: 0.85rem;
            color: var(--color-text-soft);
            flex: 1;
        }

        .project-meta {
            font-size: 0.78rem;
            color: #999;
        }

        /* Services */
        .services {
            background-color: var(--color-bg-light);
        }

        .services-grid {
            display: grid;
            gap: 1rem;
        }

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

        .service-card {
            border-radius: var(--radius-md);
            padding: 1.05rem 1rem;
            background-color: #ffffff;
            border: 1px solid var(--color-border-soft);
            font-size: 0.86rem;
        }

        .service-card h3 {
            margin: 0 0 0.4rem;
            font-size: 0.96rem;
        }

        .service-card p {
            margin: 0;
            color: var(--color-text-soft);
        }

        /* StrictSphere */
        .strictsphere {
            background: radial-gradient(circle at 0 0, #222 0, #222 52%, #222 100%);
            color: var(--color-text-on-dark);
        }

        .strictsphere-inner {
            display: grid;
            gap: 1.8rem;
        }

        @media (min-width: 860px) {
            .strictsphere-inner {
                grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
                align-items: center;
            }
        }

        .strictsphere-badge {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: rgba(229, 233, 238, 0.8);
            margin-bottom: 0.4rem;
        }

        .strictsphere-title {
            font-size: 1.5rem;
            letter-spacing: -0.02em;
            margin: 0 0 0.65rem;
        }

        .strictsphere-text {
            font-size: 0.9rem;
            color: rgba(229, 233, 238, 0.9);
            margin-bottom: 1.1rem;
        }

        .strictsphere-link {
            font-size: 0.9rem;
            margin-top: 0.6rem;
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            color: rgba(229, 233, 238, 0.9);
        }

        .strictsphere-link span {
            font-size: 1.1rem;
        }

        .strictsphere-card {
            border-radius: var(--radius-lg);
            padding: 1.4rem 1.25rem;
            border: 1px solid rgba(182, 198, 216, 0.4);
            background: radial-gradient(circle at 10% 10%, rgba(70, 70, 70, 0.5), transparent 60%), rgba(9, 11, 15, 0.9);
            box-shadow: var(--shadow-soft);
            font-size: 0.85rem;
        }

        .strictsphere-card h4 {
            margin: 0 0 0.5rem;
            font-size: 0.96rem;
        }

        .strictsphere-pill-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            margin-top: 0.6rem;
        }

        .strictsphere-pill {
            padding: 0.2rem 0.6rem;
            border-radius: var(--radius-pill);
            border: 1px solid rgba(219, 233, 248, 0.4);
            font-size: 0.72rem;
        }

        /* Clients */
        .clients {
            background-color: #ffffff;
        }

        .clients-logos {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: center;
            font-size: 0.85rem;
            color: var(--color-text-soft);
        }

        .client-pill {
            padding: 0.45rem 0.9rem;
            border-radius: var(--radius-pill);
            border: 1px solid var(--color-border-soft);
            background-color: #fafbff;
        }

        /* Contact */
        .contact {
            background-color: var(--color-bg-light);
        }

        .contact-grid {
            display: grid;
            gap: 1.5rem;
        }

        @media (min-width: 820px) {
            .contact-grid {
                grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
            }
        }

        .contact-text p {
            font-size: 0.92rem;
            color: var(--color-text-soft);
            margin: 0 0 0.6rem;
        }

        .contact-meta {
            font-size: 0.86rem;
            color: var(--color-text-soft);
        }

        .contact-meta strong {
            color: var(--color-text-main);
        }

        .contact-form {
            padding: 1.25rem 1.1rem;
            border-radius: var(--radius-lg);
            background-color: #ffffff;
            border: 1px solid var(--color-border-soft);
            box-shadow: 0 14px 32px rgba(9, 13, 22, 0.08);
        }

        .form-row {
            margin-bottom: 0.75rem;
        }

        .form-row label {
            display: block;
            font-size: 0.8rem;
            margin-bottom: 0.25rem;
            color: var(--color-text-soft);
        }

        .form-row input,
        .form-row textarea {
            width: 100%;
            border-radius: 9px;
            border: 1px solid #d5d8df;
            padding: 0.55rem 0.65rem;
            font-family: inherit;
            font-size: 0.88rem;
            outline: none;
            transition: border-color 0.12s ease-out, box-shadow 0.12s ease-out, background-color 0.12s ease-out;
        }

        .form-row textarea {
            resize: vertical;
            min-height: 90px;
        }

        .form-row input:focus,
        .form-row textarea:focus {
            border-color: var(--color-primary);
            box-shadow: 0 0 0 1px rgba(255, 136, 0, 0.18);
            background-color: #ffffff;
        }

        .btn-submit {
            width: 100%;
            margin-top: 0.35rem;
            border: none;
        }

        /* Status message */
        .form-status {
            border-radius: 12px;
            padding: 0.75rem 0.85rem;
            margin: 0 0 0.85rem;
            font-size: 0.86rem;
            line-height: 1.35;
            border: 1px solid transparent;
        }

        .form-status.is-success {
            background: rgba(46, 204, 143, 0.12);
            border-color: rgba(46, 204, 143, 0.35);
            color: #0b3b28;
        }

        .form-status.is-error {
            background: rgba(255, 136, 0, 0.10);
            border-color: rgba(255, 136, 0, 0.35);
            color: #4a2a00;
        }

        /* Footer */
        .site-footer {
            background-color: var(--color-bg-darker);
            color: rgba(232, 236, 241, 0.8);
            padding: 1.8rem 0 1.4rem;
            font-size: 0.8rem;
        }

        .footer-grid {
            display: grid;
            gap: 1.2rem;
        }

        @media (min-width: 820px) {
            .footer-grid {
                grid-template-columns: 2fr 1fr 1fr;
            }
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            margin-bottom: 0.4rem;
        }

        .footer-logo img {
            height: 28px;
            width: auto;
        }

        .footer-nav {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .footer-nav a {
            opacity: 0.85;
        }

        .footer-nav a:hover {
            opacity: 1;
        }

        .footer-bottom {
            margin-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 0.7rem;
            text-align: center;
            font-size: 0.76rem;
            color: rgba(213, 219, 229, 0.75);
        }

        /* Responsive nav */
        @media (max-width: 720px) {
            .header-inner {
                gap: 0.75rem;
            }

            .nav {
                gap: 0.9rem;
                font-size: 0.82rem;
            }

            .nav-cta {
                display: none;
            }

            .lang-switch {
                padding: 0.3rem 0.55rem;
                border-color: rgba(255, 255, 255, 0.22);
            }

            .lang-link {
                font-size: 0.74rem;
            }
        }

        /* HERO carousel (crossfade) */
        .hero-inner {
            position: relative;
            display: block;
        }

        .hero-slides {
            position: relative;
            min-height: 450px;
            margin-bottom: 0.25rem;
            /* spacing tighter with dots */
        }

.lab-notes-strip {
    margin: 0.8rem 0 0.8rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.lab-notes-label {
    font-size: 0.72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9fb4c8;
    white-space: nowrap;
}

.lab-notes-text {
    flex: 1;
    font-size: 0.95rem;
    color: #a5b0bd;
    margin: 0;
}

.lab-notes-link {
    font-size: 0.9rem;
    color: #7dd3fc;
    text-decoration: none;
}

.lab-notes-link:hover {
    text-decoration: underline;
}

.lab-notes-presence {
    padding:1.5rem;
}

        @media (max-width: 859px) {
            .hero-slides {
                min-height: 760px;
            }
        }

        .hero-slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            pointer-events: none;
            transition: opacity 700ms ease;
        }

        .hero-slide.is-active {
            opacity: 1;
            pointer-events: auto;
        }

        .hero-slide-grid {
            display: grid;
            gap: 2.5rem;
            transform: translateY(6px);
            transition: transform 700ms ease;
        }

        .hero-slide.is-active .hero-slide-grid {
            transform: translateY(0);
        }

        @media (min-width: 860px) {
            .hero-slide-grid {
                grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
                align-items: center;
            }
        }

        .hero-carousel-controls {
            display: flex;
            justify-content: center;
            gap: 0.4rem;
            margin-top: 0.45rem;
            opacity: 0.85;
        }

        .hero-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: 1px solid rgba(243, 245, 247, 0.6);
            background-color: transparent;
            padding: 0;
            cursor: pointer;
            transition: background-color 0.15s ease-out, transform 0.15s ease-out, border-color 0.15s ease-out;
        }

        .hero-dot.is-active {
            background-color: #f3f5f7;
            border-color: #f3f5f7;
            transform: scale(1.15);
        }

        .hero-dot:hover {
            border-color: #ffffff;
        }

        .hero-news-list {
            list-style: none;
            margin: 0 0 1rem;
            padding: 0;
            font-size: 0.85rem;
            color: rgba(233, 236, 239, 0.9);
        }

        .hero-news-list li {
            margin-bottom: 0.3rem;
        }

        /* Accesibilidad: reduce motion */
        @media (prefers-reduced-motion: reduce) {

            .hero-slide,
            .hero-slide-grid {
                transition: none !important;
                transform: none !important;
            }
        }

        /* External / brand button */
        .btn-external {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            padding: 0.75rem 1.25rem;
            border-radius: var(--radius-pill);
            font-size: 0.88rem;
            font-weight: 500;
            color: var(--color-text-on-dark);
            border: 1px solid rgba(248, 249, 252, 0.35);
            background: linear-gradient(120deg,
                    rgba(255, 255, 255, 0.06),
                    rgba(255, 255, 255, 0.02));
            backdrop-filter: blur(6px);
            transition:
                background-color 0.15s ease,
                border-color 0.15s ease,
                transform 0.12s ease;
        }

        .btn-external:hover {
            background: linear-gradient(120deg,
                    rgba(255, 255, 255, 0.12),
                    rgba(255, 255, 255, 0.04));
            border-color: rgba(255, 255, 255, 0.55);
            transform: translateY(-1px);
        }

        .btn-external-icon {
            font-size: 0.95rem;
            opacity: 0.8;
            transition: transform 0.15s ease, opacity 0.15s ease;
        }

        .btn-external:hover .btn-external-icon {
            transform: translate(2px, -2px);
            opacity: 1;
        }