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

:root {
    color-scheme: dark;
    font-family: 'DM Sans', sans-serif;
    color: #f5f5f7;
    background: #111318;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    --ink: #f5f5f7;
    --muted: #a7abb5;
    --purple: #6d16c7;
    --purple-light: #8b2be2;
    --purple-dark: #3b0870;
    --purple-soft: #c98cff;
    --lime: #c98cff;
    --paper: #111318;
    --paper-soft: #191c23;
    --surface: #222631;
    --line: rgba(255, 255, 255, 0.1);
    --white: #ffffff;
    --shadow-soft: rgba(15, 18, 22, 0.3);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    position: relative;
    isolation: isolate;
    min-width: 320px;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(109, 22, 199, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(201, 140, 255, 0.12), transparent 22%),
        var(--paper);
    color: var(--ink);
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    content: '';
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    z-index: 5;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    transform: translateY(-160%);
    border-radius: 3px;
    background: var(--ink);
    color: var(--paper);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    width: 100%;
    height: 78px;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    border-bottom: 1px solid var(--line);
    padding-inline: max(48px, calc((100% - 1240px) / 2));
    background: rgba(17, 19, 24, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.015);
    font-family: 'Manrope', sans-serif;
    font-size: 19px;
    font-weight: 800;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.brand:hover {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(201, 140, 255, 0.14);
    transform: translateY(-1px);
}

.brand-logo {
    display: block;
    width: 54px;
    height: 54px;
    padding: 8px;
    border: 1px solid rgba(109, 22, 199, 0.12);
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff 0%, #f6f3ff 100%);
    object-fit: contain;
    object-position: center;
    box-shadow: 0 12px 22px rgba(109, 22, 199, 0.1);
}

.brand-accent,
.footer-brand span {
    color: var(--purple);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 13px;
    font-weight: 600;
}

.main-nav a:not(.nav-contact) {
    position: relative;
    padding: 12px 2px;
    color: var(--muted);
    transition: color 160ms ease;
}

.main-nav a:not(.nav-contact)::after {
    position: absolute;
    right: 2px;
    bottom: 4px;
    left: 2px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--lime);
    content: '';
    transition: transform 180ms ease;
}

.main-nav a:not(.nav-contact):hover,
.main-nav a[aria-current="location"] {
    color: var(--purple);
}

.main-nav a:not(.nav-contact):hover::after,
.main-nav a[aria-current="location"]::after {
    transform: scaleX(1);
}

.main-nav a,
.site-footer a {
    text-decoration: none;
}

.main-nav a:not(.nav-contact):hover,
.site-footer a:hover {
    color: var(--purple);
}

.nav-contact {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    border: 1px solid var(--purple);
    border-radius: 3px;
    background: var(--purple);
    color: #fff;
    transition: background 160ms ease, transform 160ms ease;
}

.nav-contact:hover {
    transform: translateY(-2px);
    background: #350852;
}

.nav-contact span {
    display: grid;
    width: 22px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.hero {
    position: relative;
    display: grid;
    width: min(100% - 96px, 1240px);
    min-height: 620px;
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    gap: 50px;
    margin: 0 auto;
    padding: 60px 0 80px;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 610px;
    padding-bottom: 12px;
    animation: arrive 700ms ease both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px;
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
}

h1,
h2,
p {
    overflow-wrap: break-word;
}

h1,
h2 {
    font-family: 'Manrope', sans-serif;
}

.hero h1 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(44px, 5.4vw, 70px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.04;
}

.hero h1 span,
.section-heading h2 span,
.about h2 span {
    color: var(--purple);
}

.hero-description {
    max-width: 500px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.primary-link {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
    padding: 0 18px;
    border-radius: 3px;
    background: var(--purple);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 160ms ease, transform 160ms ease;
}

.primary-link:hover {
    transform: translateY(-2px);
    background: #3f0f63;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-stats span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(201, 140, 255, 0.28);
    border-radius: 999px;
    background: rgba(109, 22, 199, 0.08);
    color: var(--purple-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-note {
    margin: 20px 0 0;
    color: #89848d;
    font-size: 11px;
}

.hero-visual {
    position: relative;
    display: grid;
    min-height: 410px;
    place-items: center;
    isolation: isolate;
    animation: arrive 850ms 100ms ease both;
}

.hero-visual::before {
    position: absolute;
    z-index: -2;
    width: min(100%, 425px);
    aspect-ratio: 1;
    border-radius: 48% 48% 8px 48%;
    background: radial-gradient(circle at 30% 25%, rgba(201, 140, 255, 0.42), rgba(109, 22, 199, 0.14) 35%, rgba(17, 19, 24, 0) 72%);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.02);
    content: '';
}

.hero-visual::after {
    position: absolute;
    z-index: -1;
    right: 3%;
    bottom: 8%;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fef7ff 0%, var(--purple-soft) 33%, var(--purple) 100%);
    box-shadow: 0 12px 28px rgba(109, 22, 199, 0.45);
    animation: accent-float 5s ease-in-out infinite;
    content: '';
}

.title-panel {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 420px);
    aspect-ratio: 1;
    border: 1px solid rgba(109, 22, 199, 0.12);
    border-radius: 50% 50% 46% 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 244, 248, 0.94));
    box-shadow: 0 24px 48px rgba(18, 18, 28, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.title-panel::before {
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(109, 22, 199, 0.12);
    border-radius: 50%;
    content: '';
}

.title-logo {
    position: relative;
    z-index: 1;
    width: min(82%, 330px);
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(109, 22, 199, 0.12));
    mix-blend-mode: normal;
    transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 400ms ease;
}

.hero-visual:hover .title-logo {
    transform: scale(1.025) rotate(-1deg);
    filter: drop-shadow(0 22px 34px rgba(109, 22, 199, 0.2));
}

.visual-orbit {
    position: absolute;
    z-index: -1;
    width: 455px;
    aspect-ratio: 1;
    border: 1px solid rgba(102, 137, 67, 0.16);
    border-radius: 50%;
}

.orbit-two {
    width: 500px;
    border-color: rgba(102, 137, 67, 0.1);
    animation: orbit-breathe 8s ease-in-out infinite;
}

.orbit-one {
    animation: orbit-breathe 8s 1s ease-in-out infinite reverse;
}

.visual-caption {
    position: absolute;
    right: -6px;
    bottom: 41px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border: 1px solid rgba(201, 140, 255, 0.22);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(34, 38, 49, 0.92), rgba(17, 19, 24, 0.92));
    box-shadow: 0 18px 35px rgba(15, 18, 22, 0.28);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
}

.visual-caption span {
    color: var(--purple);
    font-size: 17px;
}

.visual-caption-top {
    top: 26px;
    left: -14px;
    right: auto;
    bottom: auto;
    border-color: rgba(201, 140, 255, 0.32);
    z-index: 2;
}

.visual-caption-top span {
    color: #FACC15;
    font-size: 14px;
}

.scroll-cue {
    position: absolute;
    bottom: 20px;
    left: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--purple);
    text-decoration: none;
    animation: cue-bob 2s ease-in-out infinite;
    transition: background 160ms ease, color 160ms ease;
}

.scroll-cue:hover {
    background: var(--purple);
    color: #fff;
}

.section-wrap {
    width: min(100% - 96px, 1240px);
    margin: 0 auto;
}

.services {
    padding-top: 95px;
    padding-bottom: 110px;
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 36px;
}

.section-heading .eyebrow {
    margin-bottom: 13px;
}

.section-heading h2,
.about h2 {
    margin: 0;
    font-size: clamp(31px, 3.6vw, 45px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.17;
}

.section-intro {
    max-width: 340px;
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

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

.approach {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(48px, 8vw, 120px);
    padding-top: 100px;
    padding-bottom: 108px;
    border-top: 1px solid var(--line);
}

.approach-intro .eyebrow {
    margin-bottom: 14px;
}

.approach-intro h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.12;
}

.approach-intro h2 span {
    color: var(--purple);
}

.approach-intro > p:not(.eyebrow) {
    max-width: 470px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.approach-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    color: var(--purple);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.approach-link span {
    transition: transform 160ms ease;
}

.approach-link:hover span {
    transform: translate(3px, -3px);
}

.approach-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.approach-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 17px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.step-number {
    display: grid;
    width: 36px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: #e8eedc;
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.approach-step h3 {
    margin: 3px 0 5px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 800;
}

.approach-step p {
    max-width: 410px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.service-card {
    --service-accent: #d3b745;
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 3px solid var(--service-accent);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(25, 28, 35, 0.96), rgba(17, 19, 24, 0.96));
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top right, color-mix(in srgb, var(--service-accent) 18%, transparent), transparent 40%);
    opacity: 0.9;
    pointer-events: none;
    content: '';
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover::before,
.service-card:focus-visible::before {
    opacity: 1;
}

.reveal {
    transform: translateY(24px);
    opacity: 0;
    transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 650ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

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

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--service-accent);
    box-shadow: 0 18px 34px rgba(32, 18, 40, 0.18);
}

.service-card:focus-visible,
.main-nav a:focus-visible,
.site-footer a:focus-visible,
.brand:focus-visible,
.primary-link:focus-visible,
.about-link:focus-visible,
.scroll-cue:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 4px;
}

.banana { --service-accent: #f5c542; }
.lemon { --service-accent: #a4c847; }
.orange { --service-accent: #ff7a18; }

.service-top {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.service-number {
    display: inline-block;
    margin-top: 2px;
    color: #b6a9c1;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-arrow {
    color: var(--service-accent);
    font-size: 18px;
    font-weight: 700;
}

.service-name {
    display: none;
}

.service-title-image {
    display: block;
    width: 100%;
    max-width: 210px;
    height: 135px;
    object-fit: contain;
    margin: 14px auto 0;
    filter: drop-shadow(0 10px 18px rgba(109, 22, 199, 0.12));
}

.lemon-image {
    max-width: 260px;
    filter: drop-shadow(0 8px 16px rgba(164, 200, 71, 0.22));
}

.service-description {
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.service-bottom {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
}

.service-bottom span {
    color: var(--service-accent);
    font-size: 17px;
}

.about {
    position: relative;
    display: flex;
    min-height: 345px;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 86% 45%, rgba(201, 140, 255, 0.18), transparent 28%), linear-gradient(115deg, #3b0870 0%, #6d16c7 56%, #2d0844 100%);
    color: #fff;
}

.about-inner {
    width: min(100% - 96px, 1240px);
    margin: 0 auto;
    padding: 72px 0;
}

.about .eyebrow {
    color: var(--lime);
}

.about h2 {
    position: relative;
    z-index: 1;
    max-width: 730px;
    font-size: clamp(32px, 4vw, 49px);
}

.about h2 span {
    color: var(--lime);
}

.about-inner > p:not(.eyebrow) {
    max-width: 570px;
    margin: 18px 0 0;
    color: #d0ccd1;
    font-size: 13px;
    line-height: 1.75;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration-color: var(--lime);
    text-underline-offset: 5px;
}

.about-link span {
    color: var(--lime);
}

.about-mark {
    position: absolute;
    right: max(5%, calc((100vw - 1240px) / 2));
    bottom: -100px;
    color: rgba(255, 255, 255, 0.045);
    font-family: 'Manrope', sans-serif;
    font-size: 300px;
    font-weight: 800;
    line-height: 1;
}

.about-mark span {
    color: rgba(199, 239, 84, 0.1);
}

.about-mark i {
    position: absolute;
    top: 20px;
    right: -5px;
    color: rgba(199, 239, 84, 0.18);
    font-size: 100px;
    font-style: normal;
}

.site-footer {
    display: grid;
    width: min(100% - 96px, 1240px);
    min-height: 92px;
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 11px;
}

.footer-brand {
    color: var(--ink);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 800;
}

.site-footer p {
    margin: 0;
}

.site-footer > a:nth-of-type(2) {
    justify-self: end;
}

.site-footer small {
    white-space: nowrap;
}

@keyframes arrive {
    from {
        transform: translateY(14px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes accent-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@keyframes orbit-breathe {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}

@keyframes cue-bob {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

@media (max-width: 800px) {
    .hero,
    .section-wrap,
    .about-inner,
    .site-footer {
        width: min(100% - 48px, 660px);
    }

    .site-header {
        padding-inline: 24px;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr 0.82fr;
        gap: 18px;
        padding: 75px 0 85px;
    }

    .hero h1 {
        font-size: clamp(40px, 7vw, 58px);
    }

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

    .visual-orbit {
        width: 330px;
    }

    .orbit-two {
        width: 365px;
    }

    .visual-caption {
        right: -6px;
        bottom: 20px;
        font-size: 9px;
    }

    .visual-caption-top {
        top: 10px;
        left: -6px;
        right: auto;
        bottom: auto;
        font-size: 9px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .section-intro {
        max-width: 520px;
    }

    .approach {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 76px;
        padding-bottom: 80px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-card {
        min-height: 275px;
    }

    .about-mark {
        right: -45px;
        font-size: 230px;
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
        padding: 20px 0;
    }

    .site-footer > a:nth-of-type(2) {
        justify-self: start;
    }
}

@media (max-width: 540px) {
    html {
        scroll-padding-top: 68px;
    }

    .hero,
    .section-wrap,
    .about-inner,
    .site-footer {
        width: calc(100% - 40px);
    }

    .site-header {
        height: 70px;
        padding-inline: 20px;
    }

    .brand {
        gap: 8px;
        font-size: 16px;
    }

    .brand-logo {
        width: 36px;
        height: 36px;
    }

    .main-nav {
        gap: 14px;
        font-size: 12px;
    }

    .main-nav .nav-contact {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 64px 0 60px;
    }

    .hero h1 {
        max-width: 470px;
        font-size: clamp(42px, 12vw, 56px);
    }

    .hero-description {
        margin-top: 18px;
        font-size: 14px;
    }

    .hero-visual {
        min-height: 280px;
        margin: 4px 0 0;
    }

    .hero-visual::before {
        width: min(75vw, 290px);
    }

    .hero-visual::after {
        right: 9%;
        bottom: 4%;
        width: 60px;
        height: 60px;
    }

    .title-logo {
        width: min(72vw, 260px);
    }

    .visual-orbit {
        width: min(84vw, 330px);
    }

    .orbit-two {
        width: min(92vw, 360px);
    }

    .visual-caption {
        right: 0;
        bottom: 1px;
    }

    .visual-caption-top {
        top: 0;
        left: 0;
    }

    .scroll-cue {
        display: none;
    }

    .services {
        padding-top: 66px;
        padding-bottom: 72px;
    }

    .approach {
        gap: 26px;
        padding-top: 62px;
        padding-bottom: 66px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .section-intro {
        font-size: 12px;
    }

    .service-card {
        min-height: 280px;
        padding: 18px;
    }

    .about-inner {
        padding: 62px 0;
    }

    .about h2 {
        font-size: 35px;
    }

    .about-mark {
        right: -85px;
        bottom: -45px;
        font-size: 180px;
    }

    .site-footer {
        gap: 15px 12px;
        font-size: 10px;
    }
}

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

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

/* Modo día */
:root[data-theme="light"] {
    color-scheme: light;
    color: #1b1d23;
    background: #f5f7f2;
    --ink: #1b1d23;
    --muted: #575c66;
    --purple-soft: #6d16c7;
    --lime: #6d16c7;
    --paper: #f5f7f2;
    --paper-soft: #ffffff;
    --surface: #ffffff;
    --line: rgba(27, 29, 35, 0.12);
    --shadow-soft: rgba(27, 29, 35, 0.12);
}

:root[data-theme="light"] body {
    background:
        radial-gradient(circle at top left, rgba(109, 22, 199, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(201, 140, 255, 0.1), transparent 22%),
        var(--paper);
}

:root[data-theme="light"] body::before {
    background-image: linear-gradient(rgba(27, 29, 35, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 29, 35, 0.03) 1px, transparent 1px);
}

:root[data-theme="light"] .site-header {
    background: rgba(245, 247, 242, 0.88);
    box-shadow: inset 0 -1px 0 rgba(27, 29, 35, 0.03);
}

:root[data-theme="light"] .brand {
    border-color: rgba(27, 29, 35, 0.08);
    background: rgba(255, 255, 255, 0.6);
}

:root[data-theme="light"] .brand:hover {
    background: #ffffff;
}

:root[data-theme="light"] .hero-note {
    color: #656a73;
}

:root[data-theme="light"] .visual-caption {
    background: linear-gradient(180deg, #ffffff, #f7f4fb);
    box-shadow: 0 18px 35px rgba(27, 29, 35, 0.14);
}

/* Las imágenes de cada área traen letras blancas: la tarjeta sigue oscura */
:root[data-theme="light"] .service-card {
    --ink: #f5f5f7;
    --muted: #a7abb5;
    color: #f5f5f7;
}

:root[data-theme="light"] .about {
    --lime: #c98cff;
}

/* Deja espacio al botón de modo en pantallas pequeñas */
@media (max-width: 430px) {
    .brand > span {
        display: none;
    }
}

/* Evita que la etiqueta superior se estire y tape el logo en móvil */
@media (max-width: 540px) {
    .visual-caption-top {
        right: auto;
        bottom: auto;
    }
}
