/* =========================================================
   CYPRESS CRAFT STUDIO
   Portal principal
========================================================= */

:root {
    --background: #0b0f0e;
    --background-soft: #101614;
    --surface: #151c19;
    --surface-light: #1b2521;
    --surface-hover: #202d28;

    --text: #f3f6f4;
    --text-soft: #c9d2cd;
    --muted: #8f9c95;

    --green: #9ed83d;
    --green-light: #b9ee61;
    --green-dark: #66a92d;

    --cyan: #55d4be;
    --yellow: #f0c65c;
    --red: #ee7f74;
    --blue: #71a9ff;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --shadow-small: 0 12px 30px rgba(0, 0, 0, 0.18);
    --shadow-large: 0 35px 90px rgba(0, 0, 0, 0.32);

    --topbar-height: 72px;
    --sidebar-width: 292px;
    --content-max-width: 1260px;

    --radius-small: 12px;
    --radius-medium: 18px;
    --radius-large: 26px;
    --radius-extra-large: 34px;

    --transition: 0.25s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    min-height: 100vh;

    color: var(--text);

    background:
        radial-gradient(
            circle at 75% 4%,
            rgba(85, 212, 190, 0.06),
            transparent 25%
        ),
        radial-gradient(
            circle at 20% 0%,
            rgba(158, 216, 61, 0.08),
            transparent 28%
        ),
        var(--background);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

h1,
h2,
h3,
h4,
p,
blockquote {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    line-height: 1.1;
}

::selection {
    color: #10140f;
    background: var(--green);
}


/* =========================================================
   BARRA SUPERIOR
========================================================= */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 100;

    height: var(--topbar-height);

    border-bottom: 1px solid var(--border);

    background: rgba(11, 15, 14, 0.88);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.topbar__content {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 24px;
}

.brand {
    display: inline-flex;
    align-items: center;

    gap: 13px;

    min-width: 0;
}

.brand__logo {
    width: 47px;
    height: 47px;

    object-fit: contain;

    flex-shrink: 0;

    filter:
        drop-shadow(
            0 8px 18px rgba(0, 0, 0, 0.28)
        );
}

.brand__text {
    min-width: 0;
}

.brand__text strong {
    display: block;

    overflow: hidden;

    color: var(--text);

    font-size: 0.96rem;
    font-weight: 800;

    letter-spacing: 0.01em;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand__text span {
    display: block;

    margin-top: 1px;

    overflow: hidden;

    color: var(--muted);

    font-size: 0.73rem;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar__actions {
    display: flex;
    align-items: center;

    gap: 16px;
}

.project-status {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 8px 12px;

    border: 1px solid rgba(158, 216, 61, 0.2);
    border-radius: 999px;

    color: var(--text-soft);
    background: rgba(158, 216, 61, 0.06);

    font-size: 0.78rem;
    font-weight: 700;
}

.project-status__dot,
.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 0 5px rgba(158, 216, 61, 0.09),
        0 0 16px rgba(158, 216, 61, 0.75);
}

.menu-button {
    width: 44px;
    height: 44px;

    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    padding: 0;

    border: 1px solid var(--border);
    border-radius: 13px;

    background: var(--surface);

    cursor: pointer;

    transition:
        background var(--transition),
        border-color var(--transition);
}

.menu-button:hover {
    background: var(--surface-light);
    border-color: var(--border-strong);
}

.menu-button span {
    width: 18px;
    height: 2px;

    border-radius: 999px;

    background: var(--text);

    transition:
        transform var(--transition),
        opacity var(--transition);
}

body.menu-open .menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-button span:nth-child(2) {
    opacity: 0;
}

body.menu-open .menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   DISTRIBUCIÓN GENERAL
========================================================= */

.app-layout {
    min-height: 100vh;

    padding-top: var(--topbar-height);
}


/* =========================================================
   MENÚ LATERAL
========================================================= */

.sidebar {
    position: fixed;
    top: var(--topbar-height);
    bottom: 0;
    left: 0;

    z-index: 80;

    width: var(--sidebar-width);

    border-right: 1px solid var(--border);

    background: rgba(13, 18, 16, 0.96);

    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: var(--surface-hover) transparent;
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;

    background: var(--surface-hover);
}

.sidebar__content {
    min-height: 100%;

    display: flex;
    flex-direction: column;

    padding: 26px 18px 24px;
}

.sidebar__project {
    padding: 0 8px 23px;

    border-bottom: 1px solid var(--border);
}

.sidebar__eyebrow,
.eyebrow {
    display: inline-block;

    color: var(--green);

    font-size: 0.72rem;
    font-weight: 850;

    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.sidebar__project h2 {
    margin: 8px 0 8px;

    color: var(--text);

    font-size: 1.4rem;
    letter-spacing: -0.025em;
}

.sidebar__project p {
    margin: 0;

    color: var(--muted);

    font-size: 0.82rem;
    line-height: 1.55;
}

.sidebar__navigation {
    padding-top: 24px;
}

.navigation-group {
    margin-bottom: 26px;
}

.navigation-group__title {
    display: block;

    margin: 0 10px 9px;

    color: #66716b;

    font-size: 0.68rem;
    font-weight: 850;

    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.navigation-link {
    min-height: 42px;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;

    gap: 10px;

    margin-bottom: 4px;
    padding: 9px 10px;

    border: 1px solid transparent;
    border-radius: 11px;

    color: var(--muted);

    font-size: 0.84rem;
    font-weight: 650;

    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.navigation-link:hover {
    color: var(--text);

    background: rgba(255, 255, 255, 0.04);

    transform: translateX(2px);
}

.navigation-link.active {
    color: var(--text);

    border-color: rgba(158, 216, 61, 0.18);

    background:
        linear-gradient(
            90deg,
            rgba(158, 216, 61, 0.11),
            rgba(158, 216, 61, 0.02)
        );
}

.navigation-link.disabled {
    opacity: 0.47;

    cursor: default;
    pointer-events: none;
}

.navigation-link__number,
.navigation-link__icon {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: #aeb8b2;

    background: rgba(255, 255, 255, 0.035);

    font-size: 0.68rem;
    font-weight: 850;
}

.navigation-link.active .navigation-link__number,
.navigation-link.active .navigation-link__icon {
    color: #11160f;

    border-color: transparent;

    background: var(--green);
}

.navigation-link__status {
    padding: 4px 7px;

    border-radius: 999px;

    color: #748079;

    background: rgba(255, 255, 255, 0.035);

    font-size: 0.58rem;
    font-weight: 800;

    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.navigation-link__status.completed {
    color: var(--green-light);

    background: rgba(158, 216, 61, 0.1);
}

.navigation-link__status.active {
    color: var(--cyan);

    background: rgba(85, 212, 190, 0.1);
}

.sidebar__footer {
    margin-top: auto;
    padding: 20px 8px 0;

    border-top: 1px solid var(--border);
}

.studio-member + .studio-member {
    margin-top: 15px;
}

.studio-member span {
    display: block;

    color: var(--muted);

    font-size: 0.67rem;

    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.studio-member strong {
    display: block;

    margin-top: 2px;

    color: var(--text-soft);

    font-size: 0.82rem;
}

.sidebar-overlay {
    display: none;
}


/* =========================================================
   CONTENIDO PRINCIPAL
========================================================= */

.main-content {
    min-height: calc(100vh - var(--topbar-height));

    margin-left: var(--sidebar-width);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    padding: 92px 52px 74px;

    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: "";

    position: absolute;
    top: -260px;
    right: -220px;

    width: 680px;
    height: 680px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(158, 216, 61, 0.12),
            transparent 67%
        );

    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;

    width: min(100%, var(--content-max-width));

    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;

    gap: 68px;

    margin: 0 auto;
}

.hero__information {
    min-width: 0;
}

.hero__status {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 26px;
    padding: 9px 13px;

    border: 1px solid rgba(158, 216, 61, 0.17);
    border-radius: 999px;

    color: var(--text-soft);
    background: rgba(158, 216, 61, 0.055);

    font-size: 0.76rem;
    font-weight: 750;
}

.hero h1 {
    margin: 12px 0 18px;

    color: var(--text);

    font-size: clamp(4rem, 8vw, 7.9rem);
    font-weight: 900;

    letter-spacing: -0.075em;
    line-height: 0.87;
}

.hero__subtitle {
    max-width: 790px;

    margin-bottom: 16px;

    color: var(--text-soft);

    font-size: clamp(1.2rem, 2.3vw, 1.72rem);
    line-height: 1.35;
}

.hero__subtitle strong {
    color: var(--green-light);
}

.hero__description {
    max-width: 720px;

    margin-bottom: 30px;

    color: var(--muted);

    font-size: 1rem;
    line-height: 1.75;
}

.hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 35px;
}

.button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border: 1px solid transparent;
    border-radius: 13px;

    font-size: 0.86rem;
    font-weight: 800;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #10140e;

    background:
        linear-gradient(
            135deg,
            var(--green-light),
            var(--green)
        );

    box-shadow:
        0 13px 30px rgba(158, 216, 61, 0.16);
}

.button--primary:hover {
    box-shadow:
        0 17px 36px rgba(158, 216, 61, 0.25);
}

.button--secondary {
    color: var(--text-soft);

    border-color: var(--border-strong);

    background: rgba(255, 255, 255, 0.035);
}

.button--secondary:hover {
    border-color: rgba(158, 216, 61, 0.25);

    background: rgba(255, 255, 255, 0.06);
}

.hero__metadata {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.metadata-card {
    min-width: 0;

    padding: 15px 16px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.025);
}

.metadata-card span {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-size: 0.69rem;
    font-weight: 700;

    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.metadata-card strong {
    display: block;

    overflow: hidden;

    color: var(--text-soft);

    font-size: 0.87rem;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-logo-card {
    position: relative;

    width: 100%;
    min-height: 470px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    padding: 48px 36px 34px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-extra-large);

    background:
        linear-gradient(
            150deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow: var(--shadow-large);
}

.studio-logo-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            115deg,
            transparent 15%,
            rgba(255, 255, 255, 0.025) 50%,
            transparent 75%
        );

    pointer-events: none;
}

.studio-logo-card__glow {
    position: absolute;
    top: 18%;
    left: 50%;

    width: 310px;
    height: 310px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(158, 216, 61, 0.22),
            transparent 67%
        );

    transform: translateX(-50%);

    filter: blur(8px);
}

.studio-logo {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 390px;
    max-height: 305px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 24px 42px rgba(0, 0, 0, 0.38)
        );

    transition: transform 0.4s ease;
}

.studio-logo-card:hover .studio-logo {
    transform: scale(1.035);
}

.studio-logo-card__caption {
    position: relative;
    z-index: 2;

    margin-top: 28px;

    text-align: center;
}

.studio-logo-card__caption span {
    display: block;

    color: var(--green);

    font-size: 0.7rem;
    font-weight: 850;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.studio-logo-card__caption strong {
    display: block;

    margin-top: 5px;

    color: var(--text-soft);

    font-size: 1rem;
}


/* =========================================================
   DECLARACIÓN DEL ESTUDIO
========================================================= */

.studio-statement {
    padding: 58px 52px;

    border-bottom: 1px solid var(--border);

    text-align: center;

    background:
        linear-gradient(
            90deg,
            rgba(158, 216, 61, 0.055),
            rgba(85, 212, 190, 0.025),
            rgba(158, 216, 61, 0.055)
        );
}

.studio-statement__label {
    display: block;

    color: var(--green);

    font-size: 0.71rem;
    font-weight: 850;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.studio-statement blockquote {
    margin: 13px auto 10px;

    color: var(--text);

    font-size: clamp(1.8rem, 4vw, 3.4rem);
    font-weight: 850;

    letter-spacing: -0.045em;
    line-height: 1.08;
}

.studio-statement p {
    max-width: 790px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 0.95rem;
}


/* =========================================================
   SECCIONES DEL DASHBOARD
========================================================= */

.dashboard-section {
    padding: 82px 52px;

    border-bottom: 1px solid var(--border);
}

.dashboard-section > * {
    width: min(100%, var(--content-max-width));

    margin-left: auto;
    margin-right: auto;
}

.dashboard-section--dark {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.018),
            rgba(255, 255, 255, 0)
        );
}

.dashboard-section--compact {
    padding-top: 70px;
    padding-bottom: 70px;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr);
    align-items: start;

    gap: 48px;

    margin-bottom: 38px;
}

.section-heading > div {
    min-width: 0;
}

.section-number {
    display: inline-grid;
    place-items: center;

    width: 38px;
    height: 38px;

    margin-right: 9px;

    border: 1px solid rgba(158, 216, 61, 0.21);
    border-radius: 11px;

    color: var(--green);

    background: rgba(158, 216, 61, 0.065);

    font-size: 0.76rem;
    font-weight: 900;
}

.section-heading h2 {
    margin: 13px 0 0;

    color: var(--text);

    font-size: clamp(2.1rem, 4.3vw, 4rem);
    font-weight: 880;

    letter-spacing: -0.06em;
}

.section-heading > p {
    margin: 3px 0 0;

    color: var(--muted);

    font-size: 1rem;
    line-height: 1.8;
}


/* =========================================================
   PANEL DE PROGRESO
========================================================= */

.progress-panel {
    padding: 25px;

    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow: var(--shadow-small);
}

.progress-panel__header,
.progress-panel__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.card-label {
    display: block;

    margin-bottom: 4px;

    color: var(--green);

    font-size: 0.7rem;
    font-weight: 850;

    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.progress-panel__header strong {
    color: var(--text);

    font-size: 1.06rem;
}

.progress-panel__percentage {
    color: var(--green-light);

    font-size: 1.75rem;
    font-weight: 900;
}

.progress-track {
    width: 100%;
    height: 11px;

    margin: 22px 0 14px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.07);
}

.progress-bar {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--green-dark),
            var(--green),
            var(--cyan)
        );

    box-shadow:
        0 0 22px rgba(158, 216, 61, 0.22);
}

.progress-panel__footer {
    color: var(--muted);

    font-size: 0.74rem;
}


/* =========================================================
   TARJETAS DE ESTADO
========================================================= */

.status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-top: 24px;
}

.status-card {
    position: relative;

    min-height: 255px;

    display: flex;
    flex-direction: column;

    padding: 23px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    background: var(--surface);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.status-card:hover {
    transform: translateY(-4px);

    border-color: var(--border-strong);

    background: var(--surface-light);
}

.status-card--completed {
    border-color: rgba(158, 216, 61, 0.2);
}

.status-card--active {
    border-color: rgba(85, 212, 190, 0.28);

    box-shadow:
        inset 0 0 0 1px rgba(85, 212, 190, 0.04);
}

.status-card__number {
    color: #515c56;

    font-size: 2rem;
    font-weight: 900;

    letter-spacing: -0.05em;
}

.status-card__state {
    width: fit-content;

    margin: 15px 0 11px;
    padding: 5px 8px;

    border-radius: 999px;

    color: #829089;

    background: rgba(255, 255, 255, 0.04);

    font-size: 0.61rem;
    font-weight: 850;

    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.status-card--completed .status-card__state {
    color: var(--green-light);

    background: rgba(158, 216, 61, 0.09);
}

.status-card--active .status-card__state {
    color: var(--cyan);

    background: rgba(85, 212, 190, 0.09);
}

.status-card h3 {
    margin: 0 0 9px;

    color: var(--text);

    font-size: 1.25rem;
}

.status-card p {
    margin: 0 0 20px;

    color: var(--muted);

    font-size: 0.83rem;
    line-height: 1.65;
}

.text-link {
    width: fit-content;

    margin-top: auto;

    color: var(--green);

    font-size: 0.8rem;
    font-weight: 800;
}

.text-link::after {
    content: " →";

    transition: margin-left var(--transition);
}

.text-link:hover::after {
    margin-left: 4px;
}


/* =========================================================
   ROADMAP
========================================================= */

.roadmap-list {
    position: relative;
}

.roadmap-list::before {
    content: "";

    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 27px;

    width: 1px;

    background:
        linear-gradient(
            180deg,
            rgba(158, 216, 61, 0.3),
            rgba(255, 255, 255, 0.06)
        );
}

.roadmap-item {
    position: relative;

    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);

    gap: 20px;

    padding: 0 0 28px;
}

.roadmap-item:last-child {
    padding-bottom: 0;
}

.roadmap-item__marker {
    position: relative;
    z-index: 2;

    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 17px;

    color: #717e77;

    background: var(--surface);

    font-size: 0.78rem;
    font-weight: 900;
}

.roadmap-item.completed .roadmap-item__marker {
    color: #10150e;

    border-color: transparent;

    background: var(--green);
}

.roadmap-item.active .roadmap-item__marker {
    color: #0d1513;

    border-color: transparent;

    background: var(--cyan);

    box-shadow:
        0 0 0 7px rgba(85, 212, 190, 0.08);
}

.roadmap-item__content {
    padding: 19px 22px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.025);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.roadmap-item__content:hover {
    transform: translateX(4px);

    border-color: var(--border-strong);

    background: rgba(255, 255, 255, 0.04);
}

.roadmap-item.completed .roadmap-item__content {
    border-color: rgba(158, 216, 61, 0.16);
}

.roadmap-item.active .roadmap-item__content {
    border-color: rgba(85, 212, 190, 0.25);

    background:
        linear-gradient(
            90deg,
            rgba(85, 212, 190, 0.065),
            rgba(255, 255, 255, 0.02)
        );
}

.roadmap-item__status {
    display: block;

    margin-bottom: 5px;

    color: #68746e;

    font-size: 0.63rem;
    font-weight: 850;

    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.roadmap-item.completed .roadmap-item__status {
    color: var(--green);
}

.roadmap-item.active .roadmap-item__status {
    color: var(--cyan);
}

.roadmap-item h3 {
    margin: 0 0 5px;

    color: var(--text);

    font-size: 1.05rem;
}

.roadmap-item p {
    margin: 0;

    color: var(--muted);

    font-size: 0.83rem;
}


/* =========================================================
   PILARES
========================================================= */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 14px;
}

.pillar-card {
    min-height: 230px;

    padding: 22px;

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.015)
        );

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.pillar-card:hover {
    transform: translateY(-5px);

    border-color: rgba(158, 216, 61, 0.2);

    background: var(--surface-light);
}

.pillar-card__number {
    display: inline-block;

    margin-bottom: 34px;

    color: var(--green);

    font-size: 0.72rem;
    font-weight: 900;
}

.pillar-card h3 {
    margin: 0 0 9px;

    color: var(--text);

    font-size: 1.19rem;
}

.pillar-card p {
    margin: 0;

    color: var(--muted);

    font-size: 0.8rem;
    line-height: 1.65;
}


/* =========================================================
   EQUIPO
========================================================= */

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.team-card {
    display: flex;
    align-items: flex-start;

    gap: 20px;

    padding: 25px;

    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    background: var(--surface);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.team-card:hover {
    transform: translateY(-3px);

    border-color: var(--border-strong);

    background: var(--surface-light);
}

.team-card__avatar {
    width: 57px;
    height: 57px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 17px;

    color: #10140e;

    background:
        linear-gradient(
            145deg,
            var(--green-light),
            var(--green)
        );

    font-size: 0.79rem;
    font-weight: 950;

    box-shadow:
        0 12px 26px rgba(158, 216, 61, 0.11);
}

.team-card:nth-child(2) .team-card__avatar {
    background:
        linear-gradient(
            145deg,
            var(--cyan),
            #3eaa99
        );
}

.team-card__information span {
    display: block;

    color: var(--green);

    font-size: 0.66rem;
    font-weight: 850;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.team-card:nth-child(2) .team-card__information span {
    color: var(--cyan);
}

.team-card h3 {
    margin: 5px 0 8px;

    color: var(--text);

    font-size: 1.2rem;
}

.team-card p {
    margin: 0;

    color: var(--muted);

    font-size: 0.84rem;
    line-height: 1.7;
}


/* =========================================================
   SIGUIENTE MISIÓN
========================================================= */

.next-mission {
    width: min(
        calc(100% - 104px),
        var(--content-max-width)
    );

    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;

    gap: 40px;

    margin: 82px auto;
    padding: 44px;

    overflow: hidden;

    border: 1px solid rgba(158, 216, 61, 0.2);
    border-radius: var(--radius-extra-large);

    background:
        linear-gradient(
            120deg,
            rgba(158, 216, 61, 0.11),
            rgba(85, 212, 190, 0.045),
            rgba(255, 255, 255, 0.02)
        );

    box-shadow: var(--shadow-large);
}

.next-mission::before {
    content: "";

    position: absolute;
    top: -150px;
    right: 60px;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(158, 216, 61, 0.17),
            transparent 68%
        );

    pointer-events: none;
}

.next-mission__content {
    position: relative;
    z-index: 2;
}

.next-mission h2 {
    margin: 11px 0 12px;

    color: var(--text);

    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 900;

    letter-spacing: -0.06em;
}

.next-mission p {
    max-width: 710px;

    margin: 0 0 24px;

    color: var(--text-soft);

    line-height: 1.75;
}

.next-mission__number {
    position: relative;
    z-index: 2;

    color: rgba(255, 255, 255, 0.085);

    font-size: clamp(6rem, 14vw, 11rem);
    font-weight: 950;

    letter-spacing: -0.09em;
    line-height: 0.8;
}


/* =========================================================
   PIE DE PÁGINA
========================================================= */

.footer {
    min-height: 120px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 35px 52px;

    border-top: 1px solid var(--border);

    color: var(--muted);

    background: rgba(255, 255, 255, 0.012);
}

.footer strong {
    color: var(--text-soft);
}

.footer p {
    margin: 3px 0 0;

    font-size: 0.77rem;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer__project {
    text-align: right;
}

.footer__project span {
    display: block;

    font-size: 0.67rem;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer__project strong {
    display: block;

    margin-top: 2px;
}


/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 1180px) {
    :root {
        --sidebar-width: 260px;
    }

    .hero,
    .dashboard-section {
        padding-left: 38px;
        padding-right: 38px;
    }

    .hero__content {
        gap: 42px;
    }

    .hero h1 {
        font-size: clamp(3.8rem, 7vw, 6.5rem);
    }

    .status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pillars-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .next-mission {
        width: min(
            calc(100% - 76px),
            var(--content-max-width)
        );
    }
}


/* =========================================================
   TABLETS Y MÓVILES
========================================================= */

@media (max-width: 920px) {
    :root {
        --sidebar-width: 292px;
    }

    .project-status {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    .sidebar {
        transform: translateX(-105%);

        box-shadow:
            30px 0 80px rgba(0, 0, 0, 0.45);

        transition: transform 0.3s ease;
    }

    body.menu-open .sidebar {
        transform: translateX(0);
    }

    .sidebar-overlay {
        position: fixed;
        inset: var(--topbar-height) 0 0 0;

        z-index: 70;

        display: block;

        padding: 0;

        border: none;

        background: rgba(0, 0, 0, 0.62);

        opacity: 0;
        visibility: hidden;

        cursor: pointer;

        transition:
            opacity var(--transition),
            visibility var(--transition);
    }

    body.menu-open .sidebar-overlay {
        opacity: 1;
        visibility: visible;
    }

    .main-content {
        margin-left: 0;
    }

    .hero__content {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        max-width: 620px;
    }

    .studio-logo-card {
        min-height: 410px;
    }

    .section-heading {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MÓVILES
========================================================= */

@media (max-width: 680px) {
    :root {
        --topbar-height: 66px;
    }

    .topbar__content {
        padding: 0 15px;
    }

    .brand {
        gap: 9px;
    }

    .brand__logo {
        width: 40px;
        height: 40px;
    }

    .brand__text strong {
        max-width: 205px;

        font-size: 0.82rem;
    }

    .brand__text span {
        max-width: 205px;

        font-size: 0.61rem;
    }

    .menu-button {
        width: 40px;
        height: 40px;
    }

    .sidebar {
        top: var(--topbar-height);

        width: min(88vw, 310px);
    }

    .hero {
        padding: 58px 20px 48px;
    }

    .hero h1 {
        font-size: clamp(3.1rem, 17vw, 5.4rem);
    }

    .hero__subtitle {
        font-size: 1.12rem;
    }

    .hero__description {
        font-size: 0.92rem;
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero__metadata {
        grid-template-columns: 1fr;
    }

    .studio-logo-card {
        min-height: 340px;

        padding: 35px 24px 27px;

        border-radius: 25px;
    }

    .studio-logo {
        max-width: 290px;
        max-height: 230px;
    }

    .studio-logo-card__caption {
        margin-top: 21px;
    }

    .studio-statement {
        padding: 48px 20px;
    }

    .studio-statement blockquote {
        font-size: 2rem;
    }

    .dashboard-section {
        padding: 62px 20px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 2.4rem;
    }

    .progress-panel__header {
        align-items: flex-start;
    }

    .progress-panel__percentage {
        font-size: 1.35rem;
    }

    .progress-panel__footer {
        align-items: flex-start;
        flex-direction: column;

        gap: 5px;
    }

    .status-grid,
    .pillars-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .status-card {
        min-height: 225px;
    }

    .roadmap-list::before {
        left: 21px;
    }

    .roadmap-item {
        grid-template-columns: 44px minmax(0, 1fr);

        gap: 13px;
    }

    .roadmap-item__marker {
        width: 44px;
        height: 44px;

        border-radius: 13px;
    }

    .roadmap-item__content {
        padding: 17px;
    }

    .pillar-card {
        min-height: auto;
    }

    .pillar-card__number {
        margin-bottom: 22px;
    }

    .team-card {
        flex-direction: column;

        gap: 15px;
    }

    .next-mission {
        width: calc(100% - 40px);

        grid-template-columns: 1fr;

        margin: 62px auto;
        padding: 30px 25px;
    }

    .next-mission__number {
        position: absolute;
        right: 20px;
        bottom: 15px;

        opacity: 0.55;

        font-size: 7rem;
    }

    .next-mission__content {
        padding-right: 5px;
    }

    .next-mission h2 {
        font-size: 2.45rem;
    }

    .footer {
        align-items: flex-start;
        flex-direction: column;

        padding: 30px 20px;
    }

    .footer__project {
        text-align: left;
    }
}


/* =========================================================
   MÓVILES MUY PEQUEÑOS
========================================================= */

@media (max-width: 410px) {
    .brand__text span {
        display: none;
    }

    .brand__text strong {
        max-width: 175px;
    }

    .hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .dashboard-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .next-mission {
        width: calc(100% - 32px);
    }
}


/* =========================================================
   IMPRESIÓN
========================================================= */

@media print {
    .topbar,
    .sidebar,
    .sidebar-overlay,
    .hero__actions,
    .next-mission .button {
        display: none !important;
    }

    body {
        color: #111111;
        background: #ffffff;
    }

    .app-layout {
        padding-top: 0;
    }

    .main-content {
        margin-left: 0;
    }

    .hero,
    .dashboard-section,
    .studio-statement,
    .next-mission,
    .footer {
        color: #111111;
        background: #ffffff;

        border-color: #dddddd;
    }

    .status-card,
    .progress-panel,
    .roadmap-item__content,
    .pillar-card,
    .team-card,
    .studio-logo-card {
        color: #111111;
        background: #ffffff;

        border-color: #dddddd;

        box-shadow: none;
    }

    .hero h1,
    .section-heading h2,
    .status-card h3,
    .roadmap-item h3,
    .pillar-card h3,
    .team-card h3,
    .next-mission h2 {
        color: #111111;
    }

    .hero__description,
    .section-heading > p,
    .status-card p,
    .roadmap-item p,
    .pillar-card p,
    .team-card p,
    .next-mission p,
    .footer,
    .studio-statement p {
        color: #555555;
    }

    .dashboard-section,
    .status-card,
    .roadmap-item,
    .team-card,
    .next-mission {
        break-inside: avoid;
    }
}