:root {
    --gt-ink: #0d1b1e;
    --gt-ink-soft: #17292d;
    --gt-paper: #f7f6f1;
    --gt-surface: #ffffff;
    --gt-gallery: #eeeae1;
    --gt-project-soft: #e9f2ed;
    --gt-white: #ffffff;
    --gt-teal: #27b7b7;
    --gt-teal-dark: #0d817d;
    --gt-blue: #1659a7;
    --gt-lime: #c9f279;
    --gt-line: rgba(13, 27, 30, 0.16);
    --gt-muted: #5f696b;
    --gt-radius: 1.5rem;
    --gt-shadow: 0 30px 80px rgba(2, 17, 20, 0.14);
    --gt-font: "Segoe UI Variable Text", "Aptos", "Avenir Next", "Segoe UI", sans-serif;
    --gt-display: "Segoe UI Variable Display", "Aptos Display", "Avenir Next", "Segoe UI", sans-serif;
    --gt-label: "Segoe UI Variable Text", "Aptos", "Segoe UI", sans-serif;
    --gt-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

html {
    scroll-behavior: smooth;
}

body.home-page {
    margin: 0;
    background: var(--gt-paper);
    color: var(--gt-ink);
    font-family: var(--gt-font);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

.home-page a {
    color: inherit;
}

.home-page img {
    display: block;
    max-width: 100%;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p {
    margin-top: 0;
}

.home-page h1,
.home-page h2,
.home-page h3 {
    font-family: var(--gt-display);
    letter-spacing: -0.032em;
    text-wrap: balance;
}

.home-page p {
    text-wrap: pretty;
}

.home-page button,
.home-page input,
.home-page textarea {
    font: inherit;
}

.gt-shell {
    width: min(1180px, calc(100% - 3rem));
    margin-inline: auto;
}

.section-grid {
    position: relative;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 52px 52px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.8rem 1rem;
    background: var(--gt-lime);
    color: var(--gt-ink);
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    color: var(--gt-white);
    border-bottom: 1px solid transparent;
    transition: background-color 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(13, 27, 30, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--gt-white);
    font-size: 1.22rem;
    font-weight: 850;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.brand img {
    width: 42px;
    height: 35px;
    object-fit: contain;
}

.brand > span > span {
    color: var(--gt-teal);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.2vw, 2rem);
}

.site-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 160ms ease;
}

.site-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -0.45rem;
    left: 0;
    height: 1px;
    background: var(--gt-teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--gt-white);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after {
    transform: scaleX(1);
}

.site-nav .nav-cta {
    padding: 0.72rem 1rem;
    color: var(--gt-ink);
    background: var(--gt-lime);
    border-radius: 999px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    color: white;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.menu-toggle > span:not(.sr-only) {
    width: 19px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
}

.hero {
    min-height: 840px;
    padding: 10.5rem 0 2rem;
    overflow: hidden;
    background-color: var(--gt-ink);
    color: var(--gt-white);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 170px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.19));
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.hero-glow-one {
    width: 620px;
    height: 620px;
    top: -230px;
    right: -140px;
    background: radial-gradient(circle, rgba(39, 183, 183, 0.2), transparent 68%);
}

.hero-glow-two {
    width: 420px;
    height: 420px;
    bottom: -210px;
    left: 7%;
    background: radial-gradient(circle, rgba(22, 89, 167, 0.25), transparent 68%);
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(480px, 0.98fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--gt-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 2rem;
    height: 1px;
    background: var(--gt-teal);
}

.eyebrow-dark {
    color: var(--gt-teal-dark);
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 1.5rem;
    font-size: clamp(3.5rem, 6.5vw, 6.6rem);
    font-weight: 760;
    line-height: 0.93;
}

.hero h1 em {
    display: block;
    color: var(--gt-teal);
    font-style: normal;
}

.hero-summary {
    max-width: 630px;
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    padding: 0.85rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 0;
    font-size: 0.92rem;
    font-weight: 760;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.home-page .button-primary {
    background: var(--gt-lime);
    color: var(--gt-ink);
}

.button-quiet {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--gt-white);
}

.button-quiet:hover {
    border-color: var(--gt-teal);
    background: rgba(39, 183, 183, 0.08);
}

.hero-principles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-principles li {
    padding: 0.46rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.68);
    font-family: var(--gt-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.system-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: rgba(6, 22, 25, 0.68);
    box-shadow: var(--gt-shadow);
    backdrop-filter: blur(16px);
    transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}

.system-card::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    z-index: -1;
    border: 1px solid rgba(39, 183, 183, 0.25);
}

.system-card-head {
    min-height: 49px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.48);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
}

.window-controls {
    display: flex;
    gap: 5px;
}

.window-controls i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.system-status {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.system-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gt-lime);
    box-shadow: 0 0 12px var(--gt-lime);
}

.system-card-body {
    padding: 2rem;
}

.system-label {
    margin-bottom: 2rem;
    color: var(--gt-teal);
    font-family: var(--gt-mono);
    font-size: 0.63rem;
    letter-spacing: 0.13em;
}

.system-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0.55rem;
}

.system-flow > i {
    color: rgba(255, 255, 255, 0.28);
    font-family: var(--gt-mono);
    font-style: normal;
}

.system-flow article {
    min-height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.025);
}

.system-flow article.is-active {
    border-color: var(--gt-teal);
    background: rgba(39, 183, 183, 0.11);
}

.system-flow article > span {
    color: var(--gt-teal);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
}

.system-flow strong {
    font-size: 0.78rem;
    letter-spacing: -0.01em;
}

.system-flow small {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.58rem;
    line-height: 1.4;
}

.system-details {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.system-details span {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.38);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
}

.system-details strong {
    font-size: 0.86rem;
}

.signal {
    height: 35px;
    display: flex;
    align-items: end;
    gap: 4px;
}

.signal i {
    width: 3px;
    background: var(--gt-teal);
    opacity: 0.7;
}

.signal i:nth-child(1), .signal i:nth-child(7) { height: 30%; }
.signal i:nth-child(2), .signal i:nth-child(6) { height: 55%; }
.signal i:nth-child(3), .signal i:nth-child(5) { height: 78%; }
.signal i:nth-child(4) { height: 100%; background: var(--gt-lime); }

.hero-footnote {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: clamp(3rem, 5vw, 4.5rem);
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-footnote i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gt-teal);
}

.projects-section,
.process-section,
.contact-section {
    padding: clamp(5.5rem, 10vw, 9rem) 0;
    background: var(--gt-paper);
}

.section-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.58fr);
    gap: 4rem;
    align-items: end;
    margin-bottom: 4rem;
}

.section-intro h2,
.capabilities-heading h2,
.about-statement h2,
.contact-copy h2 {
    margin-bottom: 0;
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 730;
    line-height: 0.98;
}

.section-intro > p {
    margin-bottom: 0.35rem;
    color: var(--gt-muted);
    font-size: 1.05rem;
}

.featured-project {
    min-height: 580px;
    display: grid;
    grid-template-columns: 0.87fr 1.13fr;
    overflow: hidden;
    background: var(--gt-ink);
    color: var(--gt-white);
}

.project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.46);
    font-family: var(--gt-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-chip {
    padding: 0.35rem 0.62rem;
    border: 1px solid rgba(201, 242, 121, 0.45);
    color: var(--gt-lime);
}

.project-content h3 {
    margin-bottom: 1.3rem;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 720;
}

.project-content > p:not(.case-note) {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.05rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.4rem 0 2rem;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 0.42rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
    text-transform: uppercase;
}

.case-note {
    margin: auto 0 0;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.44);
    font-size: 0.8rem;
}

.project-visual {
    position: relative;
    min-height: 580px;
    overflow: hidden;
    background:
        linear-gradient(rgba(13, 27, 30, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 27, 30, 0.07) 1px, transparent 1px),
        linear-gradient(135deg, #d7f5e8, #60d0cd 54%, #2f7cb3);
    background-size: 34px 34px, 34px 34px, auto;
}

.project-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(13, 27, 30, 0.16));
}

.visual-topline {
    position: absolute;
    z-index: 3;
    top: 1.5rem;
    right: 1.5rem;
    left: 1.5rem;
    display: flex;
    justify-content: space-between;
    color: rgba(13, 27, 30, 0.6);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
}

.event-core {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 210px;
    height: 210px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gt-ink);
    color: white;
    transform: translate(-50%, -50%);
    box-shadow: 0 30px 70px rgba(13, 27, 30, 0.28);
}

.event-core > div {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.event-core small,
.event-core em {
    color: var(--gt-teal);
    font-family: var(--gt-mono);
    font-size: 0.6rem;
    font-style: normal;
    letter-spacing: 0.14em;
}

.event-core strong {
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}

.core-orbit {
    position: absolute;
    border: 1px solid rgba(13, 27, 30, 0.26);
    border-radius: 50%;
}

.orbit-one { width: 340px; height: 340px; }
.orbit-two { width: 470px; height: 470px; border-style: dashed; }

.event-module {
    position: absolute;
    z-index: 3;
    min-width: 130px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.8rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(13, 27, 30, 0.16);
    box-shadow: 0 15px 30px rgba(13, 27, 30, 0.12);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
}

.event-module i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gt-teal-dark);
}

.module-one { top: 21%; left: 10%; }
.module-two { top: 20%; right: 8%; }
.module-three { right: 13%; bottom: 13%; }

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.project-card {
    position: relative;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(1.6rem, 4vw, 3.2rem);
}

.project-card-contigo {
    background: var(--gt-project-soft);
}

.project-card-ardua {
    color: var(--gt-white);
    background: #14334a;
}

.project-number {
    position: relative;
    z-index: 2;
    color: rgba(13, 27, 30, 0.45);
    font-family: var(--gt-mono);
    font-size: 0.7rem;
}

.project-symbol {
    position: absolute;
    top: -3rem;
    right: -2rem;
    width: 280px;
    height: 280px;
}

.project-symbol span {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(22, 89, 167, 0.27);
}

.project-symbol span:nth-child(1) { inset: 0; }
.project-symbol span:nth-child(2) { inset: 48px; background: rgba(255, 255, 255, 0.3); }
.project-symbol span:nth-child(3) { inset: 105px; background: var(--gt-blue); box-shadow: 0 0 0 18px rgba(22, 89, 167, 0.09); }

.health-card-preview {
    position: absolute;
    top: 2rem;
    right: -1.5rem;
    width: min(56%, 330px);
    padding: 1.1rem;
    color: #edf5ff;
    background: #0b1224;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.2rem;
    box-shadow: 0 25px 50px rgba(12, 32, 62, 0.2);
    transform: rotate(3deg);
}

.health-preview-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.7rem;
    font-weight: 700;
}

.health-preview-head i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #18c796;
}

.health-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    padding-top: 0.8rem;
}

.health-preview-grid b,
.health-preview-grid strong {
    grid-column: 1 / -1;
}

.health-preview-grid b {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.58rem;
    text-transform: uppercase;
}

.health-preview-grid strong {
    color: #18c796;
    font-size: 3rem;
    line-height: 1;
}

.health-preview-grid strong small {
    font-size: 1rem;
}

.health-preview-grid > span {
    padding: 0.55rem 0.35rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0.45rem;
    font-size: 0.55rem;
}

.ardua-card-media {
    position: absolute;
    inset: 0;
}

.ardua-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 30, 44, 0.1), rgba(10, 30, 44, 0.94) 72%);
}

.ardua-card-media > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ardua-card-media .ardua-card-logo {
    position: absolute;
    z-index: 2;
    top: 1.5rem;
    right: 1.5rem;
    width: 92px;
    height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.22));
}

.ardua-mark {
    position: absolute;
    top: 1.2rem;
    right: 2rem;
    color: rgba(13, 27, 30, 0.12);
    font-size: 12rem;
    font-weight: 800;
    letter-spacing: -0.12em;
    line-height: 1;
}

.ardua-mark span {
    color: rgba(13, 129, 125, 0.2);
}

.project-card-copy {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.project-card-copy > p:first-child {
    margin-bottom: 0.75rem;
    color: var(--gt-teal-dark);
    font-family: var(--gt-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-card-copy h3 {
    margin-bottom: 1rem;
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 740;
}

.project-card-copy > p:not(:first-child) {
    color: rgba(13, 27, 30, 0.68);
}

.project-card-ardua .project-number,
.project-card-ardua .project-card-copy > p:first-child,
.project-card-ardua .project-card-copy > p:not(:first-child) {
    color: rgba(255, 255, 255, 0.72);
}

.project-card-ardua .text-link {
    color: var(--gt-white);
    border-top-color: rgba(255, 255, 255, 0.28);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(13, 27, 30, 0.22);
    font-size: 0.8rem;
    font-weight: 750;
}

.text-link i {
    font-style: normal;
}

.project-radar {
    display: grid;
    grid-template-columns: 0.35fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    padding: 2rem;
    border: 1px solid var(--gt-line);
}

.project-radar > p {
    margin: 0;
    color: var(--gt-teal-dark);
    font-family: var(--gt-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-radar > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.project-radar a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.25rem 0.8rem;
    align-items: center;
    padding: 1rem;
    color: var(--gt-muted);
    border: 1px solid var(--gt-line);
    text-decoration: none;
    transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.project-radar a:hover {
    color: var(--gt-ink);
    border-color: var(--gt-teal);
    transform: translateY(-2px);
}

.project-radar a > span {
    grid-row: 1 / 3;
    color: var(--gt-teal-dark);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
}

.project-radar b {
    color: var(--gt-ink);
}

.project-radar small {
    grid-column: 2;
    font-size: 0.72rem;
}

.project-radar i {
    grid-column: 3;
    grid-row: 1 / 3;
    color: var(--gt-ink);
    font-style: normal;
}

.capabilities-section,
.about-section {
    padding: clamp(5.5rem, 10vw, 9rem) 0;
    background-color: var(--gt-ink);
    color: var(--gt-white);
}

.capabilities-layout,
.about-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(500px, 1.22fr);
    gap: clamp(4rem, 8vw, 8rem);
}

.capabilities-heading {
    align-self: start;
    position: sticky;
    top: 8rem;
}

.capabilities-heading h2 {
    margin-bottom: 1.7rem;
}

.capabilities-heading > p:last-child {
    max-width: 500px;
    color: rgba(255, 255, 255, 0.6);
}

.capability-list {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.capability-list article {
    display: grid;
    grid-template-columns: 45px 1fr auto;
    gap: 1.2rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.capability-list article > span {
    color: var(--gt-teal);
    font-family: var(--gt-mono);
    font-size: 0.66rem;
}

.capability-list h3 {
    margin-bottom: 0.65rem;
    font-size: 1.35rem;
    font-weight: 680;
    letter-spacing: -0.025em;
}

.capability-list p {
    max-width: 550px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.9rem;
}

.capability-list em {
    align-self: center;
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
    font-style: normal;
    white-space: nowrap;
}

.process-layout {
    display: grid;
    grid-template-columns: minmax(290px, 0.72fr) minmax(560px, 1.28fr);
    gap: clamp(3.5rem, 7vw, 7rem);
    align-items: start;
}

.process-intro {
    position: sticky;
    top: 8rem;
}

.process-intro h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    font-weight: 730;
    line-height: 0.98;
}

.process-intro > p:not(.eyebrow) {
    max-width: 480px;
    color: var(--gt-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.process-promise {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0.85rem;
    align-items: start;
    margin-top: 2.2rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--gt-line);
}

.process-promise > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--gt-ink);
    background: var(--gt-lime);
    border-radius: 50%;
    font-weight: 850;
}

.process-promise p {
    margin: 0;
    color: var(--gt-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.process-promise b {
    display: block;
    color: var(--gt-ink);
}

.process-steps {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-steps li {
    --step-accent: var(--gt-teal-dark);
    --step-soft: rgba(39, 183, 183, 0.11);
    position: relative;
    min-height: 0;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) minmax(155px, 0.42fr);
    gap: 1.25rem;
    align-items: center;
    overflow: hidden;
    padding: 1.25rem;
    background: var(--gt-surface);
    border: 1px solid var(--gt-line);
    border-radius: 1.15rem;
    box-shadow: 0 12px 30px rgba(13, 27, 30, 0.055);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.process-steps li::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--step-accent);
}

.process-steps li:nth-child(2) {
    --step-accent: #2767a7;
    --step-soft: rgba(39, 103, 167, 0.1);
}

.process-steps li:nth-child(3) {
    --step-accent: #168f78;
    --step-soft: rgba(22, 143, 120, 0.1);
}

.process-steps li:nth-child(4) {
    --step-accent: #7ca33e;
    --step-soft: rgba(124, 163, 62, 0.12);
}

.process-steps li:nth-child(5) {
    --step-accent: var(--gt-ink-soft);
    --step-soft: rgba(23, 41, 45, 0.08);
}

.process-steps li:hover {
    transform: translateX(4px);
    border-color: var(--step-accent);
    box-shadow: 0 18px 42px rgba(13, 27, 30, 0.09);
}

.process-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    color: var(--step-accent);
    background: var(--step-soft);
    border-radius: 1rem;
}

.process-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.process-step-copy > p:first-child {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.35rem;
    color: var(--step-accent);
    font-size: 0.68rem;
    font-weight: 760;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.process-step-copy > p:first-child span {
    min-width: 27px;
    padding: 0.18rem 0.35rem;
    color: var(--gt-white);
    background: var(--step-accent);
    border-radius: 999px;
    text-align: center;
    letter-spacing: 0;
}

.process-steps h3 {
    margin-bottom: 0.35rem;
    font-size: 1.45rem;
    font-weight: 720;
}

.process-step-copy > p:last-child {
    margin: 0;
    color: var(--gt-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.process-output {
    padding-left: 1.1rem;
    border-left: 1px solid var(--gt-line);
}

.process-output small,
.process-output strong {
    display: block;
}

.process-output small {
    margin-bottom: 0.3rem;
    color: var(--gt-muted);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.process-output strong {
    color: var(--gt-ink);
    font-size: 0.88rem;
    line-height: 1.35;
}

.about-statement {
    position: sticky;
    top: 8rem;
    align-self: start;
}

.about-statement h2 {
    font-size: clamp(2.6rem, 4.4vw, 4.5rem);
    line-height: 0.98;
}

.about-lead {
    max-width: 560px;
    margin: 2rem 0 1.2rem;
    color: var(--gt-white);
    font-size: clamp(1.15rem, 1.7vw, 1.48rem);
    font-weight: 560;
    letter-spacing: -0.025em;
    line-height: 1.42;
}

.about-summary {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.93rem;
    line-height: 1.7;
}

.about-promise {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 0.9rem;
    align-items: start;
    max-width: 520px;
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-promise > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: var(--gt-lime);
    color: var(--gt-ink);
    font-weight: 800;
}

.about-promise p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    line-height: 1.55;
}

.about-promise strong {
    display: block;
    margin-bottom: 0.18rem;
    color: var(--gt-white);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.criteria-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.12);
}

.criteria-panel::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--gt-teal), var(--gt-blue), var(--gt-lime));
    content: "";
}

.criteria-panel-head {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: space-between;
    gap: 2rem;
    align-items: start;
    padding: 1.75rem 1.8rem 1.55rem;
    background: rgba(255, 255, 255, 0.035);
}

.criteria-panel-head span,
.criterion-copy > span,
.criterion-result small {
    color: var(--gt-teal);
    font-family: var(--gt-mono);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.criteria-panel-head h3 {
    max-width: 500px;
    margin: 0.55rem 0 0;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.criteria-panel-head > strong {
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.68);
    font-family: var(--gt-mono);
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.criterion-row {
    --criterion-accent: var(--gt-teal);
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) minmax(135px, 0.52fr);
    gap: 1.2rem;
    align-items: center;
    padding: 1.45rem 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    transition: background-color 180ms ease;
}

.criterion-row:nth-of-type(2) { --criterion-accent: #5e9de0; }
.criterion-row:nth-of-type(3) { --criterion-accent: var(--gt-lime); }
.criterion-row:nth-of-type(4) { --criterion-accent: #e2ae68; }

.criterion-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.criterion-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--criterion-accent) 42%, transparent);
    border-radius: 0.85rem;
    background: color-mix(in srgb, var(--criterion-accent) 10%, transparent);
}

.criterion-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: var(--criterion-accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.criterion-copy > span {
    color: var(--criterion-accent);
}

.criterion-copy h3 {
    margin: 0.32rem 0 0.28rem;
    font-size: 1.2rem;
    font-weight: 680;
    letter-spacing: -0.025em;
}

.criterion-copy p {
    max-width: 430px;
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    line-height: 1.5;
}

.criterion-result {
    padding-left: 1.15rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.criterion-result small,
.criterion-result strong {
    display: block;
}

.criterion-result small {
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.38);
}

.criterion-result strong {
    color: var(--gt-white);
    font-size: 0.82rem;
    line-height: 1.35;
}

.section-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
    margin-top: clamp(3rem, 6vw, 5rem);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border: 1px solid rgba(13, 27, 30, 0.14);
    border-radius: 1.15rem;
    background: var(--gt-ink);
    color: var(--gt-white);
    box-shadow: 0 18px 45px rgba(13, 27, 30, 0.1);
}

.section-cta-on-dark {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.section-cta > div > span {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--gt-teal);
    font-family: var(--gt-mono);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-cta h3 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(1.25rem, 2.2vw, 1.85rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-cta > a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem 1.15rem;
    border: 1px solid var(--gt-lime);
    background: var(--gt-lime);
    color: var(--gt-ink);
    font-size: 0.84rem;
    font-weight: 780;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.section-cta > a:hover,
.section-cta > a:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(201, 242, 121, 0.18);
}

.contact-section {
    background: var(--gt-teal);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(480px, 1.2fr);
    gap: clamp(4rem, 8vw, 8rem);
}

.contact-copy h2 {
    margin-bottom: 1.5rem;
}

.contact-copy > p:not(.eyebrow) {
    max-width: 520px;
    color: rgba(13, 27, 30, 0.72);
    font-size: 1.03rem;
}

.contact-copy > a {
    display: inline-flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(13, 27, 30, 0.4);
    font-weight: 800;
    text-decoration: none;
}

.contact-panel {
    padding: clamp(1.5rem, 4vw, 3rem);
    background: var(--gt-surface);
    box-shadow: var(--gt-shadow);
}

.contact-panel form {
    position: relative;
    display: grid;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field {
    display: grid;
    gap: 0.5rem;
}

.field label {
    font-size: 0.82rem;
    font-weight: 760;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.9rem 0;
    color: var(--gt-ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(13, 27, 30, 0.3);
    border-radius: 0;
    outline: 0;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-bottom-color: var(--gt-teal-dark);
    box-shadow: 0 2px 0 var(--gt-teal-dark);
}

.field-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--gt-muted);
    font-size: 0.7rem;
}

.field-error {
    color: #a52d2d;
    font-size: 0.75rem;
}

.form-notice {
    margin-bottom: 1.5rem;
    padding: 0.85rem 1rem;
    border-left: 3px solid;
    font-size: 0.84rem;
}

.form-success {
    border-color: var(--gt-teal-dark);
    background: #e0f5ef;
}

.form-error {
    border-color: #a52d2d;
    background: #fae6e2;
}

.home-page .contact-panel .button-submit {
    position: static;
    width: 100%;
    height: auto;
    min-height: 56px;
    justify-content: space-between;
    margin: 0;
    padding: 0.9rem 1.1rem;
    color: var(--gt-white);
    background: var(--gt-ink);
    border: 0;
    border-radius: 0;
    font-size: 0.9rem;
    cursor: pointer;
    overflow: visible;
}

.home-page .contact-panel .button-submit:hover {
    color: var(--gt-white);
    background: var(--gt-teal-dark);
    transform: translateY(-2px);
}

.privacy-note {
    margin: -0.6rem 0 0;
    color: var(--gt-muted);
    font-size: 0.7rem;
}

.site-footer {
    padding: 5rem 0 1.5rem;
    color: var(--gt-white);
    background: #081215;
    border-top: 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.brand-light {
    margin-bottom: 1.3rem;
}

.footer-brand > p {
    max-width: 410px;
    color: rgba(255, 255, 255, 0.46);
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-nav > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
}

.footer-nav p {
    margin-bottom: 0.45rem;
    color: var(--gt-teal);
    font-family: var(--gt-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--gt-white);
}

.footer-bottom-new {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-new p {
    margin: 0;
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
}

.home-page :focus-visible {
    outline: 3px solid var(--gt-lime);
    outline-offset: 4px;
}

/* Una voz más editorial y menos técnica para el contenido principal. */
.eyebrow,
.hero-principles li,
.hero-footnote,
.project-meta,
.tag-list li,
.project-number,
.project-card-copy > p:first-child,
.project-radar > p,
.case-breadcrumb,
.case-status,
.footer-nav p {
    font-family: var(--gt-label);
}

.eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.105em;
}

.hero-summary,
.section-intro > p,
.capabilities-heading > p:last-child,
.case-hero-copy > p:not(.eyebrow) {
    line-height: 1.72;
}

#proyectos,
#capacidades,
#proceso,
#nosotros,
#contacto {
    scroll-margin-top: 76px;
}

.project-case-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin: 0.3rem 0 1.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--gt-teal);
    color: var(--gt-white);
    font-size: 0.82rem;
    font-weight: 760;
    text-decoration: none;
}

.project-case-link:hover {
    color: var(--gt-lime);
}

.project-media {
    display: block;
    isolation: isolate;
    color: var(--gt-white);
    background: #0b2427;
    text-decoration: none;
}

.project-media::after {
    z-index: 1;
    background: linear-gradient(180deg, transparent 38%, rgba(4, 16, 18, 0.82) 100%);
}

.project-media > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-media:hover > video {
    transform: scale(1.025);
}

.project-media:hover .phone-preview {
    transform: rotate(1deg) translateY(-8px);
}

.media-caption {
    position: absolute;
    z-index: 3;
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem;
    background: rgba(13, 27, 30, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.17);
    backdrop-filter: blur(16px);
}

.media-play {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gt-ink);
    background: var(--gt-lime);
    font-size: 0.7rem;
}

.media-caption b,
.media-caption small {
    display: block;
}

.media-caption b {
    font-size: 0.82rem;
}

.media-caption small {
    color: rgba(255, 255, 255, 0.53);
    font-size: 0.65rem;
}

.media-caption > i {
    font-style: normal;
}

/* Caso CONPEHT */
.case-page {
    background: var(--gt-paper);
}

.case-header {
    position: fixed;
}

.case-hero {
    min-height: 860px;
    padding: 7.5rem 0 5rem;
    overflow: hidden;
    color: var(--gt-white);
    background-color: var(--gt-ink);
}

.case-hero::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -15%;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 183, 183, 0.2), transparent 68%);
}

.case-breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 0 2.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.48);
    font-family: var(--gt-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-breadcrumb a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.case-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(340px, 0.78fr) minmax(520px, 1.22fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
    padding-top: 4.5rem;
}

.case-hero-copy h1 {
    margin-bottom: 1.8rem;
    font-size: clamp(4.2rem, 8vw, 8.2rem);
    font-weight: 780;
    line-height: 0.8;
}

.case-hero-copy h1 em {
    color: var(--gt-teal);
    font-style: normal;
}

.case-hero-copy > p:not(.eyebrow) {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 1.1rem;
}

.case-status {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 2.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.57);
    font-family: var(--gt-mono);
    font-size: 0.68rem;
}

.case-status i {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: var(--gt-lime);
    box-shadow: 0 0 16px rgba(201, 242, 121, 0.7);
}

.case-status b {
    display: block;
    color: var(--gt-white);
}

.case-video-wrap {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #071416;
    box-shadow: var(--gt-shadow);
}

.case-video-wrap video {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    background: #071416;
}

.case-video-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.case-facts {
    background: var(--gt-teal);
}

.case-facts dl {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
}

.case-facts dl > div {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    border-left: 1px solid rgba(13, 27, 30, 0.16);
}

.case-facts dl > div:last-child {
    border-right: 1px solid rgba(13, 27, 30, 0.16);
}

.case-facts dt {
    margin-bottom: 0.55rem;
    color: rgba(13, 27, 30, 0.57);
    font-family: var(--gt-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-facts dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 740;
    letter-spacing: -0.02em;
}

.case-story,
.case-gallery-section,
.case-architecture,
.case-next {
    padding: clamp(5.5rem, 10vw, 9rem) 0;
}

.case-story-grid,
.case-next-inner {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
    gap: clamp(4rem, 8vw, 8rem);
}

.case-section-title h2 {
    margin-bottom: 0;
    font-size: clamp(2.8rem, 5.5vw, 5.5rem);
    font-weight: 740;
    line-height: 0.98;
}

.case-lead {
    margin-bottom: 1.5rem;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 540;
    letter-spacing: -0.025em;
    line-height: 1.35;
}

.case-prose > p:not(.case-lead) {
    color: var(--gt-muted);
}

.case-feature-list {
    margin-top: 3rem;
    border-top: 1px solid var(--gt-line);
}

.case-feature-list article {
    display: grid;
    grid-template-columns: 40px 0.45fr 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gt-line);
}

.case-feature-list span,
.gallery-shot figcaption > span,
.decision-grid article > span {
    color: var(--gt-teal-dark);
    font-family: var(--gt-mono);
    font-size: 0.66rem;
}

.case-feature-list h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 720;
}

.case-feature-list p {
    margin: 0;
    color: var(--gt-muted);
    font-size: 0.86rem;
}

.case-gallery-section {
    background: var(--gt-gallery);
}

.case-gallery-intro {
    align-items: end;
}

.case-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.gallery-shot {
    margin: 0;
}

.gallery-shot > div {
    position: relative;
    overflow: hidden;
    padding: 1rem 1rem 0;
    background: #cddbd9;
}

.gallery-shot:nth-child(2) > div {
    background: #b7d4e7;
}

.gallery-shot:nth-child(3) > div {
    background: #e0e9c5;
}

.gallery-shot-dark > div {
    background: #0e3034;
}

.gallery-shot img {
    width: 100%;
    height: auto;
    border-radius: 1.3rem 1.3rem 0 0;
    box-shadow: 0 20px 45px rgba(13, 27, 30, 0.14);
}

.gallery-shot figcaption {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    padding: 1.1rem 0.2rem;
}

.gallery-shot figcaption p {
    margin: 0;
    color: var(--gt-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.gallery-shot figcaption b {
    display: block;
    color: var(--gt-ink);
}

.case-decisions {
    padding: clamp(5.5rem, 10vw, 9rem) 0;
    color: var(--gt-white);
    background-color: var(--gt-ink);
}

.case-section-title-light {
    max-width: 860px;
    margin-bottom: 4rem;
}

.decision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.decision-grid article {
    min-height: 300px;
    padding: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.decision-grid h3 {
    margin: 4.5rem 0 0.8rem;
    font-size: 1.5rem;
    font-weight: 680;
}

.decision-grid p {
    max-width: 470px;
    margin: 0;
    color: rgba(255, 255, 255, 0.53);
    font-size: 0.9rem;
}

.case-architecture {
    background: var(--gt-paper);
}

.architecture-figure {
    margin: 0;
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid var(--gt-line);
    background: var(--gt-white);
}

.architecture-figure img {
    width: 100%;
    height: auto;
}

.architecture-figure figcaption {
    padding-top: 1rem;
    color: var(--gt-muted);
    font-size: 0.75rem;
}

.case-next {
    background: var(--gt-teal);
}

.case-next-inner h2 {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 740;
    line-height: 0.98;
}

.case-next-inner > div:last-child > p {
    color: rgba(13, 27, 30, 0.72);
    font-size: 1.05rem;
}

.home-page .case-contact-button {
    margin-top: 1.3rem;
    color: var(--gt-white);
    background: var(--gt-ink);
}

.case-page .site-footer {
    padding-top: 1.5rem;
}

.case-page .footer-bottom-new a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

/* Variantes editoriales de casos */

.case-page--contigo .case-hero {
    background: #070b18;
}

.case-page--contigo .case-hero::before {
    background: radial-gradient(circle, rgba(45, 211, 159, 0.18), transparent 68%);
}

.case-page--contigo .case-hero-copy h1 em,
.case-page--contigo .decision-grid article > span {
    color: #2dd39f;
}

.case-page--contigo .case-feature-list span {
    color: #137a5c;
}

.case-page--contigo .case-facts {
    background: #a8ead5;
}

/* Contigo: pantallas reales del prototipo */
.app-hero-shot {
    width: min(340px, 100%);
    justify-self: center;
    margin: 0;
}

.app-hero-shot img {
    width: 100%;
    height: auto;
    border: 8px solid #0b1224;
    border-radius: 2.2rem;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}

.app-hero-shot figcaption {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.case-page--contigo .gallery-shot > div {
    background: #d4eee3;
}

.case-page--contigo .gallery-shot-alert > div {
    background: #f6d7d4;
}

.case-page--contigo .gallery-shot:nth-child(3) > div {
    background: #e6edcf;
}

.case-page--contigo .gallery-shot-dark > div {
    background: #0b1224;
}

.case-page--contigo .node-steps span {
    background: #0b1224;
    color: #2dd39f;
}

.case-page--contigo .method-cards article {
    border-top-color: #137a5c;
}

.case-page--contigo .method-cards span,
.case-page--contigo .challenge-meta dt,
.case-page--contigo .data-table th {
    color: #137a5c;
}

.case-page--contigo .scope-section-contigo {
    background: var(--gt-gallery);
}

.case-page--contigo .scope-split .scope-split-no {
    border-color: #0b1224;
    background: #0b1224;
}

.interface-gallery {
    display: grid;
    gap: 1rem;
}

.interface-gallery article {
    min-height: 430px;
    padding: 1.5rem;
    background: var(--gt-white);
    border: 1px solid var(--gt-line);
}

.interface-gallery article > span {
    color: var(--gt-teal-dark);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
    text-transform: uppercase;
}

.interface-gallery h3 {
    margin: 1.2rem 0;
    font-size: 1.55rem;
}

.interface-gallery article > p {
    color: var(--gt-muted);
    font-size: 0.82rem;
}

/* Panel de alcance (Contigo y NASA) */
.ai-scope-section {
    padding: clamp(5.5rem, 10vw, 9rem) 0;
    background: var(--gt-paper);
}

.scope-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.scope-split article {
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid var(--gt-line);
    border-radius: 1.2rem;
    background: var(--gt-white);
}

.scope-split .scope-split-no {
    border-color: #0b1224;
    background: #0b1224;
    color: var(--gt-white);
}

.scope-split h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.4rem;
    font-size: 1.5rem;
    font-weight: 720;
}

.scope-split h3 i {
    width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #d4eee3;
    color: #137a5c;
    font-size: 1rem;
    font-style: normal;
}

.scope-split-no h3 i {
    background: rgba(255, 120, 120, 0.15);
    color: #ff9c9c;
}

.scope-split ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.scope-split li {
    padding: 0.95rem 0;
    border-top: 1px solid var(--gt-line);
    color: var(--gt-muted);
    font-size: 0.95rem;
}

.scope-split-no li {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
}

/* Navegación entre casos */
.case-pager {
    background: var(--gt-ink);
}

.case-pager-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.case-pager a {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: clamp(1.8rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2.4rem);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--gt-white);
    text-decoration: none;
    transition: background 160ms ease;
}

.case-pager a:last-child {
    align-items: flex-end;
    text-align: right;
}

.case-pager a:hover,
.case-pager a:focus-visible {
    background: rgba(255, 255, 255, 0.05);
}

.case-pager small {
    color: var(--gt-teal);
    font-family: var(--gt-mono);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-pager b {
    font-family: var(--gt-display);
    font-size: clamp(1.3rem, 2.6vw, 2rem);
    font-weight: 720;
    letter-spacing: -0.03em;
}

.case-pager span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.86rem;
}

.case-page .site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 600px) {
    .scope-split,
    .case-pager-inner {
        grid-template-columns: 1fr;
    }

    .case-pager-inner {
        border-left: 0;
    }

    .case-pager a,
    .case-pager a:last-child {
        align-items: flex-start;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        text-align: left;
    }
}

/* ARDUA */
.case-hero-photo {
    isolation: isolate;
}

.case-hero-photo-bg {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-page--ardua .case-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 25, 39, 0.96) 0%, rgba(7, 25, 39, 0.78) 50%, rgba(7, 25, 39, 0.48) 100%);
}

.case-page--ardua .case-hero::before {
    display: none;
}

.case-page--ardua .case-hero-copy h1 em {
    color: #f08122;
}

.case-page--ardua .case-facts,
.case-page--ardua .case-next {
    background: #f5a044;
}

/* Marco de navegador para capturas de sitios reales */
.browser-frame {
    margin: 0;
}

.browser-frame-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.9rem 0.9rem 0 0;
    background: #e4e0d6;
}

.browser-frame-bar i {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: #c6c0b2;
}

.browser-frame-bar span {
    flex: 1;
    margin-left: 0.6rem;
    padding: 0.2rem 0.75rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--gt-muted);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browser-frame-hero {
    overflow: hidden;
    border-radius: 0.9rem;
    background: #06182a;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}

.browser-frame-hero .browser-frame-bar {
    border-radius: 0;
    background: #0d2436;
}

.browser-frame-hero .browser-frame-bar i {
    background: rgba(255, 255, 255, 0.22);
}

.browser-frame-hero .browser-frame-bar span {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
}

.browser-frame-hero > img {
    width: 100%;
    height: auto;
}

.browser-frame-hero figcaption {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.browser-frame-hero figcaption img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.browser-frame-hero figcaption span {
    flex: 1;
}

.home-page .browser-frame-hero figcaption a {
    color: #f5a044;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.browser-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.browser-frame-view {
    overflow: hidden;
    aspect-ratio: 4 / 3.4;
    border: 1px solid #e4e0d6;
    border-top: 0;
    background: var(--gt-white);
    box-shadow: 0 22px 45px rgba(13, 27, 30, 0.12);
}

.browser-frame-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.browser-gallery figcaption {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    padding: 1.1rem 0.2rem 0;
}

.browser-gallery figcaption > span {
    color: #b85600;
    font-family: var(--gt-mono);
    font-size: 0.66rem;
}

.browser-gallery figcaption p {
    margin: 0;
    color: var(--gt-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.browser-gallery figcaption b {
    display: block;
    color: var(--gt-ink);
}

.case-attribution {
    margin: 2.2rem 0 0;
    padding-top: 1.1rem;
    border-top: 1px solid var(--gt-line);
    color: var(--gt-muted);
    font-size: 0.74rem;
}

.case-gallery-section-soft {
    background: var(--gt-paper);
}

.donation-flow-section {
    padding: clamp(5.5rem, 10vw, 9rem) 0;
    background: #fdf3e7;
}

.donation-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 2px solid #1b4d6e;
    list-style: none;
}

.donation-flow li {
    position: relative;
    padding: 2rem 1.6rem 0 0;
}

.donation-flow li::before {
    content: "";
    position: absolute;
    top: -0.45rem;
    left: 0;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: #f08122;
    box-shadow: 0 0 0 4px #fdf3e7;
}

.donation-flow span {
    color: #b85600;
    font-family: var(--gt-mono);
    font-size: 0.66rem;
    font-weight: 700;
}

.donation-flow h3 {
    margin: 0.6rem 0 0.6rem;
    color: #1b4d6e;
    font-size: 1.35rem;
    font-weight: 720;
}

.donation-flow p {
    margin: 0;
    color: var(--gt-muted);
    font-size: 0.88rem;
}

.home-page .case-secondary-link {
    display: inline-block;
    margin: 1.3rem 0 0 1.4rem;
    color: var(--gt-ink);
    font-size: 0.88rem;
    font-weight: 700;
    text-underline-offset: 0.25em;
}

@media (max-width: 1050px) {
    .browser-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .donation-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .browser-gallery,
    .donation-flow {
        grid-template-columns: 1fr;
    }

    .donation-flow {
        border-top: 0;
        border-left: 2px solid #1b4d6e;
    }

    .donation-flow li {
        padding: 0 0 0 1.4rem;
    }

    .donation-flow li::before {
        top: 0.1rem;
        left: -0.5rem;
    }

    .home-page .case-secondary-link {
        display: block;
        margin-left: 0;
    }
}

.ardua-gallery {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 0.85fr;
    gap: 1rem;
    align-items: stretch;
}

.ardua-gallery figure {
    display: grid;
    grid-template-rows: minmax(420px, 1fr) auto;
    margin: 0;
}

.ardua-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ardua-gallery figcaption {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    padding: 1rem 0.2rem;
}

.ardua-gallery figcaption span {
    color: #d86508;
    font-family: var(--gt-mono);
    font-size: 0.62rem;
}

.ardua-gallery figcaption p {
    margin: 0;
    color: var(--gt-muted);
    font-size: 0.78rem;
}

.ardua-gallery figcaption b {
    display: block;
    color: var(--gt-ink);
}

/* SafeCity */
.case-page--safecity .case-hero {
    background: #080d12;
}

.case-page--safecity .case-hero::before {
    background: radial-gradient(circle, rgba(235, 78, 75, 0.16), transparent 70%);
}

.case-page--safecity .case-hero-copy h1 em,
.case-page--safecity .case-feature-list span,
.case-page--safecity .decision-grid article > span {
    color: #ff716c;
}

.case-page--safecity .case-facts,
.case-next-warning {
    background: #ff9b54;
}

.case-status-warning i {
    background: #ff716c;
    box-shadow: 0 0 16px rgba(255, 113, 108, 0.7);
}

.safecity-map {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    background: #101c25;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--gt-shadow);
}

.map-grid {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    transform: rotate(-8deg) scale(1.2);
}

.map-route {
    position: absolute;
    top: 8%;
    left: 25%;
    width: 170px;
    height: 430px;
    border-right: 5px solid rgba(56, 191, 198, 0.78);
    border-radius: 50%;
    transform: rotate(48deg);
    box-shadow: 0 0 25px rgba(56, 191, 198, 0.35);
}

.map-pin {
    position: absolute;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 50% 0;
    background: #f2f6f8;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    transform: rotate(-45deg);
}

.map-pin img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transform: rotate(45deg);
}

.pin-a { top: 18%; left: 19%; }
.pin-b { right: 16%; bottom: 22%; }
.pin-c { top: 42%; left: 47%; }

.safe-phone {
    position: absolute;
    z-index: 2;
    right: 2rem;
    top: 2rem;
    width: min(45%, 275px);
    padding: 1.2rem;
    color: var(--gt-ink);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 1.4rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.safe-phone-head {
    display: flex;
    justify-content: space-between;
    color: var(--gt-muted);
    font-size: 0.66rem;
}

.safe-phone-head i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #32b9bd;
}

.safe-phone strong {
    display: block;
    margin-top: 3rem;
    font-size: 1.5rem;
}

.safe-phone p {
    color: var(--gt-muted);
    font-size: 0.68rem;
}

.safe-phone button {
    width: 100%;
    padding: 0.75rem;
    color: white;
    background: #142f37;
    border: 0;
    border-radius: 0.55rem;
    font-size: 0.7rem;
}

.map-legend {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.48);
    font-family: var(--gt-mono);
    font-size: 0.58rem;
    text-transform: uppercase;
}

.interface-gallery-safe {
    grid-template-columns: repeat(4, 1fr);
}

.interface-gallery-safe article {
    min-height: 390px;
}

.interface-gallery-safe img {
    width: 96px;
    height: 96px;
    display: block;
    margin: 2.4rem auto;
    object-fit: contain;
}

.metro-line,
.family-nodes {
    position: relative;
    height: 100px;
    margin: 3.8rem 0 2.8rem;
}

.metro-line::before,
.family-nodes::before {
    content: "";
    position: absolute;
    top: 48px;
    right: 0;
    left: 0;
    height: 4px;
    background: #e33239;
}

.metro-line i {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    display: inline-block;
    margin: 40px 8%;
    border: 4px solid #e33239;
    border-radius: 50%;
    background: white;
}

.family-nodes::before {
    top: 50%;
    background: #32b9bd;
}

.family-nodes i {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    display: inline-block;
    margin: 30px 6%;
    border-radius: 50%;
    background: #d9edf0;
    border: 8px solid white;
    box-shadow: 0 0 0 2px #32b9bd;
}

.sos-count {
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    margin: 2.5rem auto;
    color: white;
    background: #e24545;
    border-radius: 50%;
    box-shadow: 0 0 0 14px rgba(226, 69, 69, 0.14);
    font-size: 3rem;
    font-weight: 750;
}

.sos-count small {
    font-size: 0.9rem;
}

/* NASA Space Apps */
.case-page--nasa .case-hero {
    background: #06102b;
}

.case-page--nasa .case-hero::before {
    background: radial-gradient(circle, rgba(46, 150, 245, 0.21), transparent 67%);
}

.case-page--nasa .case-hero-copy h1 em,
.case-page--nasa .case-feature-list span,
.case-page--nasa .decision-grid article > span {
    color: #eafe07;
}

.case-page--nasa .case-facts,
.case-page--nasa .case-next {
    background: #dce91d;
}

.space-stars {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: radial-gradient(circle at 20% 30%, white 0 1px, transparent 1.5px), radial-gradient(circle at 80% 20%, white 0 1px, transparent 1.5px), radial-gradient(circle at 60% 70%, white 0 1px, transparent 1.5px);
    background-size: 85px 85px, 130px 130px, 170px 170px;
}

/* NASA: método, validación y alcance */
.node-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.node-steps li {
    padding: 1.6rem 1.5rem;
    border: 1px solid var(--gt-line);
    border-radius: 1rem;
    background: var(--gt-white);
}

.node-steps span {
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
    border-radius: 50%;
    background: #06102b;
    color: #eafe07;
    font-family: var(--gt-mono);
    font-size: 0.7rem;
    font-weight: 700;
}

.node-steps h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 720;
}

.node-steps p {
    margin: 0;
    color: var(--gt-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.data-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--gt-line);
    border-radius: 1rem;
    background: var(--gt-white);
}

.data-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table caption {
    caption-side: top;
    padding: 1.1rem 1.3rem 0.4rem;
    color: var(--gt-muted);
    font-size: 0.78rem;
    text-align: left;
}

.data-table th,
.data-table td {
    padding: 0.85rem 1.3rem;
    border-bottom: 1px solid var(--gt-line);
    text-align: left;
}

.data-table th {
    color: #1b63a9;
    font-family: var(--gt-mono);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table td:first-child {
    font-weight: 700;
}

.home-page .data-note {
    margin: 1.4rem 0 0;
    max-width: 880px;
    color: var(--gt-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.data-note b {
    color: var(--gt-ink);
}

.split-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.split-two > div > h3 {
    margin: 0 0 0.6rem;
    font-size: 1.3rem;
    font-weight: 720;
}

.split-two p {
    margin: 0;
    color: var(--gt-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.challenge-brief {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background: var(--gt-white);
    border-bottom: 1px solid var(--gt-line);
}

.challenge-brief h2 {
    max-width: 980px;
    margin: 0 0 2rem;
    font-size: clamp(1.9rem, 3.8vw, 3.4rem);
    font-weight: 740;
    line-height: 1.08;
}

.challenge-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 1.8rem;
    border: 1px solid var(--gt-line);
    border-radius: 0.9rem;
}

.challenge-meta > div {
    padding: 1.2rem 1.4rem;
    border-left: 1px solid var(--gt-line);
}

.challenge-meta > div:first-child {
    border-left: 0;
}

.challenge-meta dt {
    margin-bottom: 0.4rem;
    color: #1b63a9;
    font-family: var(--gt-mono);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.challenge-meta dd {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
}

.home-page .challenge-brief > .gt-shell > p:last-child {
    max-width: 820px;
    margin: 0;
    color: var(--gt-muted);
    font-size: 1.02rem;
    line-height: 1.6;
}

@media (max-width: 820px) {
    .challenge-meta {
        grid-template-columns: 1fr;
    }

    .challenge-meta > div {
        border-left: 0;
        border-top: 1px solid var(--gt-line);
    }

    .challenge-meta > div:first-child {
        border-top: 0;
    }
}

.results-section,
.validation-section,
.reproducibility-section {
    padding: clamp(5.5rem, 10vw, 9rem) 0;
}

.results-section,
.reproducibility-section {
    background: var(--gt-paper);
}

.validation-section {
    background: var(--gt-gallery);
}

.ai-scope-section.scope-section-nasa {
    padding-top: clamp(5.5rem, 10vw, 9rem);
    background: var(--gt-paper);
}

.repro-figure-hero {
    max-width: 560px;
    justify-self: end;
}

.results-section .repro-figure-wide {
    margin-top: 2rem;
}

.results-section .repro-stats {
    margin-top: 1.2rem;
}

.results-section .split-two {
    margin-top: 1rem;
}

.scope-section-nasa .scope-split-yes h3 i {
    background: #eef5ff;
    color: #1b63a9;
}

.scope-section-nasa .scope-split .scope-split-no {
    border-color: #06102b;
    background: #06102b;
}

.scope-section-nasa .scope-split-no h3 i {
    background: rgba(234, 254, 7, 0.14);
    color: #eafe07;
}

@media (max-width: 1050px) {
    .node-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .node-steps {
        grid-template-columns: 1fr;
    }
}

/* NASA: proyecto reconstruido */
.repro-figure {
    margin: 0 0 1.2rem;
    overflow: hidden;
    border-radius: 1rem;
    background: #06102b;
    box-shadow: var(--gt-shadow);
}

.repro-figure img {
    width: 100%;
    height: auto;
}

.repro-figure figcaption {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
    align-items: baseline;
    padding: 1rem 1.3rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.repro-figure figcaption span {
    color: #eafe07;
    font-family: var(--gt-mono);
    font-size: 0.64rem;
    text-transform: uppercase;
}

.repro-figure figcaption p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.84rem;
}

.repro-figure figcaption b {
    color: var(--gt-white);
}

.repro-figure-compact {
    max-width: 880px;
    margin: 1.2rem auto 3rem;
}

.repro-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 1.2rem;
    border: 1px solid var(--gt-line);
    border-radius: 1rem;
    background: var(--gt-white);
}

.repro-stats > div {
    padding: 1.6rem 1.4rem;
    border-left: 1px solid var(--gt-line);
}

.repro-stats > div:first-child {
    border-left: 0;
}

.repro-stats dt {
    color: #06102b;
    font-family: var(--gt-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 760;
    letter-spacing: -0.04em;
    line-height: 1;
}

.repro-stats dd {
    margin: 0.6rem 0 0;
    color: var(--gt-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.method-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.method-cards article {
    padding: 1.6rem 1.5rem;
    border: 1px solid var(--gt-line);
    border-top: 4px solid #06102b;
    border-radius: 0.3rem 0.3rem 1rem 1rem;
    background: var(--gt-white);
}

.method-cards span {
    color: #1b63a9;
    font-family: var(--gt-mono);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
}

.method-cards h3 {
    margin: 0.7rem 0 0.7rem;
    font-size: 1.3rem;
    font-weight: 720;
}

.method-cards p {
    margin: 0;
    color: var(--gt-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.method-cards b {
    color: var(--gt-ink);
}

.terminal-block {
    overflow: hidden;
    border-radius: 0.9rem;
    background: #06102b;
    box-shadow: var(--gt-shadow);
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #040b20;
}

.terminal-bar i {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.terminal-bar span {
    margin-left: 0.6rem;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--gt-mono);
    font-size: 0.62rem;
}

.terminal-block pre {
    margin: 0;
    padding: 1.3rem 1.4rem;
    overflow-x: auto;
    color: #dbe6ff;
    font-family: var(--gt-mono);
    font-size: 0.78rem;
    line-height: 1.75;
}

.terminal-block code {
    font-family: inherit;
}

.terminal-block .t-muted {
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1050px) {
    .method-cards {
        grid-template-columns: 1fr;
    }

    .repro-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .repro-stats > div:nth-child(3) {
        border-left: 0;
    }

    .repro-stats > div:nth-child(n + 3) {
        border-top: 1px solid var(--gt-line);
    }
}

.repro-scroll {
    overflow-x: auto;
}

@media (max-width: 600px) {
    .repro-scroll img {
        width: 880px;
        max-width: none;
    }

    .repro-figure figcaption {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .repro-stats > div {
        padding: 1.2rem 1rem;
    }
}

.home-page .case-disclaimer {
    margin: 1.6rem 0 0;
    color: rgba(13, 27, 30, 0.62);
    font-size: 0.74rem;
}

@media (max-width: 600px) {

}

@media (max-width: 1050px) {
    .hero {
        padding-top: 9rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .system-card {
        max-width: 760px;
        transform: none;
    }

    .featured-project {
        grid-template-columns: 1fr;
    }

    .project-content {
        min-height: 500px;
    }

    .capabilities-layout,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .capabilities-heading,
    .about-statement {
        position: static;
    }

    .about-layout {
        gap: 3.5rem;
    }

    .process-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-intro {
        position: static;
        max-width: 760px;
    }

    .contact-layout {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 3rem;
    }

    .case-hero-layout,
    .case-story-grid,
    .case-next-inner {
        grid-template-columns: 1fr;
    }

    .case-hero-layout {
        gap: 3.5rem;
    }

    .case-video-wrap {
        max-width: 760px;
    }

    .case-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .interface-gallery-safe {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ardua-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .ardua-gallery figure:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .gt-shell {
        width: min(100% - 2rem, 680px);
    }

    .header-inner {
        min-height: 70px;
    }

    .menu-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        inset: 70px 0 auto;
        display: none;
        padding: 1.25rem 1rem 1.5rem;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        background: rgba(13, 27, 30, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 0.8rem 0;
        font-size: 1rem;
    }

    .site-nav .nav-cta {
        justify-content: center;
        margin-top: 0.8rem;
        padding: 0.9rem 1rem;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding: 8.5rem 0 6rem;
    }

    .hero h1 {
        font-size: clamp(3.3rem, 14vw, 5.6rem);
    }

    .hero-footnote {
        display: none;
    }

    .section-intro,
    .contact-layout,
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-radar,
    .project-radar > div {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .case-hero {
        min-height: auto;
        padding: 7.5rem 0 4rem;
    }

    .case-breadcrumb {
        margin-bottom: 3.5rem;
    }

    .case-facts dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-facts dl > div:nth-child(2) {
        border-right: 0;
    }

    .case-facts dl > div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--gt-line);
    }

    .decision-grid {
        grid-template-columns: 1fr;
    }

    .safecity-map {
        min-height: 430px;
    }
}

@media (max-width: 600px) {
    .hero-layout {
        gap: 3rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        justify-content: space-between;
    }

    .system-card::before {
        display: none;
    }

    .system-card-head {
        grid-template-columns: auto 1fr;
        gap: 0.8rem;
    }

    .system-card-head > span:nth-child(2) {
        text-align: right;
    }

    .system-status {
        display: none;
    }

    .system-card-body {
        padding: 1.2rem;
    }

    .system-flow {
        grid-template-columns: 1fr 1fr;
    }

    .system-flow > i {
        display: none;
    }

    .system-flow article {
        min-height: 110px;
    }

    .system-details {
        grid-template-columns: 1fr;
    }

    .signal {
        display: none;
    }

    .projects-section,
    .process-section,
    .contact-section,
    .capabilities-section,
    .about-section {
        padding: 5rem 0;
    }

    .featured-project,
    .project-visual {
        min-height: auto;
    }

    .project-content {
        min-height: 530px;
    }

    .project-visual {
        height: 500px;
    }

    .event-core {
        width: 160px;
        height: 160px;
    }

    .orbit-one { width: 260px; height: 260px; }
    .orbit-two { width: 350px; height: 350px; }
    .module-one { top: 20%; left: 5%; }
    .module-two { top: auto; right: 5%; bottom: 19%; }
    .module-three { display: none; }

    .project-card {
        min-height: 480px;
    }

    .capability-list article {
        grid-template-columns: 35px 1fr;
    }

    .capability-list em {
        display: none;
    }

    .process-steps li {
        grid-template-columns: 52px 1fr;
        gap: 1rem;
        min-height: 0;
        padding: 1.1rem;
    }

    .process-icon {
        width: 52px;
        height: 52px;
    }

    .process-icon svg {
        width: 26px;
        height: 26px;
    }

    .process-output {
        grid-column: 2;
        padding: 0.8rem 0 0;
        border-top: 1px solid var(--gt-line);
        border-left: 0;
    }

    .criteria-panel-head {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.4rem;
    }

    .criteria-panel-head > strong {
        justify-self: start;
    }

    .criterion-row {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 0.9rem;
        padding: 1.25rem 1.4rem;
    }

    .criterion-icon {
        width: 46px;
        height: 46px;
    }

    .criterion-icon svg {
        width: 23px;
        height: 23px;
    }

    .criterion-result {
        grid-column: 2;
        padding: 0.8rem 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .section-cta {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .section-cta > a {
        width: 100%;
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }

    .footer-bottom-new {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-media {
        height: 500px;
    }

    .project-media > video {
        object-position: 42% center;
    }

    .media-caption {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
    }

    .case-hero-copy h1 {
        font-size: clamp(3.7rem, 19vw, 5.5rem);
    }

    .case-breadcrumb {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .case-video-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .case-facts dl,
    .case-gallery {
        grid-template-columns: 1fr;
    }

    .case-facts dl > div {
        border-right: 0;
        border-bottom: 1px solid var(--gt-line);
    }

    .case-facts dl > div:last-child {
        border-bottom: 0;
    }

    .case-feature-list article {
        grid-template-columns: 34px 1fr;
    }

    .case-feature-list article p {
        grid-column: 2;
    }

    .case-story,
    .case-gallery-section,
    .case-architecture,
    .case-next {
        padding-block: 5rem;
    }

    .architecture-figure {
        padding: 0.65rem;
    }

    .health-card-preview {
        top: 1.2rem;
        right: -4rem;
        width: 245px;
        opacity: 0.48;
    }

    .ardua-card-media .ardua-card-logo {
        width: 72px;
        height: 72px;
    }

    .interface-gallery-safe,
    .ardua-gallery {
        grid-template-columns: 1fr;
    }

    .ardua-gallery figure:first-child {
        grid-column: auto;
    }

    .interface-gallery article {
        min-height: 360px;
    }

    .ardua-gallery figure {
        grid-template-rows: minmax(360px, 1fr) auto;
    }

    .safe-phone {
        right: 1rem;
        top: 1rem;
        width: 58%;
    }

    .map-pin {
        width: 46px;
        height: 46px;
    }

    .map-pin img {
        width: 28px;
        height: 28px;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Portada: bloque de un solo caso adicional en "Más casos" */
.project-radar-single > div {
    grid-template-columns: 1fr;
}

/* Contacto: el formulario ocupa todo el panel (anula form { justify-content: center } de styleGenereal.css) */
.contact-panel form {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
}

/* Nosotros: separa el párrafo principal del título (.home-page p anulaba el margen superior) */
.home-page .about-lead {
    margin-top: 2rem;
}
.home-page .case-attribution {
    margin-top: 2.2rem;
}
