@font-face {
        font-family: "BwModelicaSS01";
        src: url("../fonts/BwModelicaSS01-Thin.otf") format("opentype");
        font-weight: 100;
        font-style: normal;
      }
      @font-face {
        font-family: "BwModelicaSS01";
        src: url("../fonts/BwModelicaSS01-Black.otf") format("opentype");
        font-weight: 900;
        font-style: normal;
      }
      @font-face {
        font-family: "BwModelicaSS01";
        src: url("../fonts/BwModelicaSS01-Bold.otf") format("opentype");
        font-weight: 700;
        font-style: normal;
      }
      @font-face {
        font-family: "Valen Valentine Script";
        src: url("../fonts/Valen Valentine Script.otf") format("opentype");
        font-weight: normal;
        font-style: normal;
      }
      /* ═══════════════════════════════════════
       DESIGN SYSTEM — ENNTROPY BRAND
    ═══════════════════════════════════════ */
      :root {
        /* Base — igual en ambos temas (ver DESIGN-SYSTEM.md) */
        --black: #010101;
        --black-1: #070808;
        --black-2: #0A0B0B;
        --black-3: #0D0E0E;
        --black-4: #121414;
        --black-5: #1C1F1F;
        --gray-dark-3: #262929;
        --gray-dark-2: #3A3E3E;
        --gray-dark-1: #4E5353;
        --gray: #616867;
        --gray-light-1: #8A9094;
        --gray-light-2: #9BA1A0;
        --gray-light-3: #AEB3B3;
        --white-5: #C1C6C6;
        --white-4: #D4D8D9;
        --white-3: #DEE2E3;
        --white-2: #E7EBEC;
        --white-1: #F1F4F6;
        --white: #FAFDFF;
        --accent-1: #11cbb8;
        --accent-1-dark: #0EAA9A;
        --accent-1-light: #1DEDD8;
        --accent-2: #e64a3b;
        --accent-2-dark: #E33626;
        --accent-2-light: #EC796F;
        --accent-3: #feee22;
        --accent-3-dark: #F4E301;
        --accent-3-light: #FEF248;
        /* Modo oscuro: fondos y texto */
        --bg: var(--black);
        --bg-2: var(--black-3);
        --bg-3: var(--black-4);
        --bg-card: var(--black-2);
        --bg-card-hover: var(--black-1);
        --text: var(--gray-light-1);
        --text-light: var(--gray-light-3);
        --text-dark: var(--white-4);
        --border: var(--black-4);
        --radius: 12px;
        --radius-sm: 8px;
        --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      }

      .accent-2 {
        color: var(--accent-2);
      }
      .link-accent-1-dark {
        color: var(--accent-1-dark);
        text-decoration: none;
      }

      /* ═══ LIGHT THEME ═══ */
      html[data-theme="light"] {
        --bg: var(--white);
        --bg-2: var(--white-1);
        --bg-card: var(--white-2);
        --bg-card-hover: var(--white-3);
        --text: var(--gray);
        --text-light: var(--gray-dark-1);
        --text-dark: var(--gray-dark-3);
        --border: var(--white-3);
      }
      /* En modo claro el header no cambia sobre el hero; solo al bajar del hero el texto pasa a --gray-dark-1 */
      html[data-theme="light"] .nav .nav-links a,
      html[data-theme="light"] .nav .nav-contact__item,
      html[data-theme="light"] .nav .nav-contact a,
      html[data-theme="light"] .nav .nav-logo {
        color: var(--gray-dark-3);
      }
      html[data-theme="light"] .nav .nav-hamburger span {
        background: var(--gray-dark-3);
      }
      html[data-theme="light"] .nav.nav-past-hero .nav-links a,
      html[data-theme="light"] .nav.nav-past-hero .nav-contact__item,
      html[data-theme="light"] .nav.nav-past-hero .nav-contact a,
      html[data-theme="light"] .nav.nav-past-hero .nav-logo,
      html[data-theme="light"] .nav.nav-past-hero .nav-hamburger span {
        color: var(--gray-dark-3);
      }
      html[data-theme="light"] .nav.nav-past-hero .nav-hamburger span {
        background: var(--gray-dark-3);
      }
      html[data-theme="light"] .nav .nav-links a:hover {
        color: var(--accent-1-dark);
      }
      html[data-theme="light"] .nav .nav-contact a:hover {
        color: var(--accent-2-dark);
      }
      html[data-theme="light"] .nav.nav-past-hero .nav-links a:hover {
        color: var(--accent-1-dark);
      }
      html[data-theme="light"] .nav.nav-past-hero .nav-contact a:hover {
        color: var(--accent-2-dark);
      }
      html[data-theme="light"] .nav-download-cv {
        border-color: var(--accent-1-dark);
        color: var(--accent-1-dark);
      }
      html[data-theme="light"] .nav-download-option:hover {
        color: var(--accent-1-dark);
      }
      html[data-theme="light"] .nav .nav-contact a[href="en.html"] {
        color: var(--accent-1-dark) !important;
      }
      html[data-theme="light"] .nav-mobile-drawer a[href="en.html"] {
        color: var(--accent-1-dark) !important;
      }
      html[data-theme="light"] .hero {
        background: var(--white-2);
        --text: var(--gray);
        --text-light: var(--gray-dark-1);
        --text-dark: var(--gray);
      }
      /* En modo claro, las secciones con fondo hero también cambian */
      html[data-theme="light"] #competencias.section-bg,
      html[data-theme="light"] #formacion.section-bg {
        background: var(--white-2);
        --text: var(--gray);
        --text-light: var(--gray-dark-1);
        --text-dark: var(--gray);
        --bg: var(--white-2);
        --border: var(--white-5);
      }
      html[data-theme="light"] #trayectoria.section-bg-2 {
        --border: var(--white-5);
      }
      html[data-theme="light"] .hero h1.gradient {
        color: var(--accent-1-dark);
      }
      html[data-theme="light"] .hero h2.hero-subline {
        color: var(--accent-2-dark);
      }
      html[data-theme="light"] .hero .accent-2 {
        color: var(--accent-2-dark);
      }
      html[data-theme="light"] .hero-contact a:hover {
        color: var(--accent-2-dark);
      }
      html[data-theme="light"] #trayectoria .timeline-item::before,
      html[data-theme="light"] #formacion .timeline-item::before {
        background: var(--bg);
        border-color: var(--accent-2-dark);
      }
      html[data-theme="light"] #trayectoria .timeline-item:hover::before,
      html[data-theme="light"] #formacion .timeline-item:hover::before {
        background: var(--accent-2-dark);
        box-shadow: 0 0 20px rgba(227, 54, 38, 0.35);
      }
      html[data-theme="light"] #trayectoria .timeline-company,
      html[data-theme="light"] #formacion .timeline-company {
        color: var(--accent-1-dark);
      }
      html[data-theme="light"] #trayectoria .timeline-date,
      html[data-theme="light"] #formacion .timeline-date {
        color: var(--accent-2-dark);
      }
      html[data-theme="light"] #trayectoria .timeline-achievements li::before,
      html[data-theme="light"] #formacion .timeline-achievements li::before {
        color: var(--accent-2-dark);
      }
      html[data-theme="light"] .timeline-item::before {
        background: var(--bg);
      }
      html[data-theme="light"] .timeline-item:hover::before {
        background: var(--accent-2);
        box-shadow: 0 0 20px rgba(230, 74, 59, 0.4);
      }
      html[data-theme="light"] .timeline-role {
        color: var(--text);
      }
      html[data-theme="light"] .nav-mobile-drawer {
        background: rgba(248,249,250,0.97);
      }
      html[data-theme="light"] .tree-trunk {
        opacity: 0.2;
      }
      html[data-theme="light"] .section-resultados {
        background: var(--white-1);
      }
      html[data-theme="light"] .metric-card--accent-1 .metric-card-header {
        background: var(--accent-1);
      }
      html[data-theme="light"] .metric-card--accent-2 .metric-card-header {
        background: var(--accent-2);
      }
      html[data-theme="light"] .metric-card-header .metric-value,
      html[data-theme="light"] .metric-card-header .metric-card-title {
        color: white;
      }
      /* ═══ RESET & BASE ═══ */
      *,
      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      html {
        scroll-behavior: smooth;
        font-size: 16px;
      }

      body {
        font-family:
          "Outfit",
          system-ui,
          -apple-system,
          sans-serif;
        background: var(--bg);
        color: var(--text);
        line-height: 1.6;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
      }

      /* ═══ SCROLL PROGRESS BAR ═══ */
      .scroll-progress {
        display: none;
      }

      /* ═══ NAVIGATION ═══ */
      .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 1rem 2rem;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        z-index: 100;
        background: transparent;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
      }
      .nav-brand {
        display: flex;
        align-items: center;
        width: 100%;
      }
      .nav-download-wrapper {
        flex-grow: 1;
        display: flex;
        justify-content: center;
        position: relative;
      }
      .nav-download-details > summary {
        list-style: none;
        cursor: pointer;
      }
      .nav-download-details > summary::-webkit-details-marker {
        display: none;
      }
      .nav-download-popover {
        position: absolute;
        top: calc(100% + 12px);
        left: 50%;
        transform: translateX(-50%);
        background: var(--bg);
        border: 2px solid var(--border);
        border-radius: 8px;
        padding: 0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        z-index: 200;
        display: flex;
        flex-direction: column;
        min-width: max-content;
        overflow: hidden;
      }
      .nav-download-option {
        padding: 0.75rem 1.25rem;
        color: var(--text);
        text-decoration: none;
        font-size: 0.85rem;
        transition: all var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .nav-download-option:not(:last-child) {
        border-bottom: 1px solid var(--border);
      }
      .nav-download-option:hover {
        background: rgba(17, 203, 184, 0.1);
        color: var(--accent-1);
      }
      .nav-download-cv {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.4rem 0.8rem;
        border: 1px solid var(--accent-1);
        border-radius: 50px;
        color: var(--accent-1);
        text-decoration: none;
        font-size: 0.8rem;
        font-family: "Outfit", sans-serif;
        font-weight: 600;
        letter-spacing: 0.05em;
        line-height: 1;
        transition: all var(--transition);
      }
      .nav-download-cv span {
        position: relative;
        top: 1px;
      }
      .nav-links {
        display: flex;
        gap: 1.5rem;
        justify-self: center;
      }
      .nav-links a {
        color: var(--text);
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 400;
        transition: color var(--transition);
        letter-spacing: 0.02em;
      }
      .nav-links a:hover {
        color: var(--accent-1);
      }
      .nav-contact {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem 1.25rem;
        justify-self: end;
      }
      .nav-contact__item {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        color: var(--text);
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 400;
        transition: color var(--transition);
      }
      .nav-contact a:hover {
        color: var(--accent-2);
      }
      .nav-contact__icon {
        flex-shrink: 0;
        opacity: 0.9;
      }

      /* ═══ LAYOUT ═══ */
      .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
      }

      .content-after-hero {
        position: relative;
      }

      /* Fondos alternos por sección (--bg y --bg-2), sin contar el hero */
      .section-bg {
        background: var(--black-4);
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        box-sizing: border-box;
        padding-left: calc(50vw - 50%);
        padding-right: calc(50vw - 50%);
        
        /* Asegurar que el texto contraste bien sobre este fondo en ambos temas */
        --text: var(--gray-light-1);
        --text-light: var(--gray-light-3);
        --text-dark: var(--gray-light-1);
      }
      .section-bg-2 {
        background: var(--bg-2);
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        box-sizing: border-box;
        padding-left: calc(50vw - 50%);
        padding-right: calc(50vw - 50%);
      }

      /* Línea de tiempo: mismo fondo que .section-bg-2 (los círculos usan var(--bg)) */
      #trayectoria.section-bg-2 {
        --border: var(--gray-dark-3);
        --bg: var(--bg-2);
      }

      #competencias.section-bg {
        min-height: 100vh;
        background: var(--black-4);
        /* Asegurar contraste de texto igual que en hero */
        --text: var(--gray-light-1);
        --text-light: var(--gray-light-3);
        --text-dark: var(--gray-light-1);
        --bg: var(--black-4); /* Para componentes que usen el fondo */
        --border: var(--gray-dark-3); /* Para que el borde resalte sobre black-4 */
      }

      section {
        padding: 6rem 0;
      }
      /* Animamos el contenido interno de las secciones (excepto el hero)
         para que el fondo de la sección no se desplace dejando huecos */
      section:not(.hero) > * {
        opacity: 0;
        transform: translateY(40px);
        transition:
          opacity 0.8s ease,
          transform 0.8s ease;
      }
      section.visible > * {
        opacity: 1;
        transform: translateY(0);
      }

      /* ═══ HERO ═══ */
      .hero {
        --text: var(--gray-light-1); /* Fondo siempre oscuro: texto no cambia con el tema */
        --text-light: var(--gray-light-3);
        --text-dark: var(--gray-light-1);
        position: relative;
        min-height: 100vh;
        background: var(--black-4);
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: calc(50vw - 50%);
        padding-right: calc(50vw - 50%);
        box-sizing: border-box;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        align-items: start;
        gap: 0.25rem;
        padding-top: 120px;
        padding-bottom: 40px;
        opacity: 1;
        transform: none;
      }
      .hero-content {
        position: relative;
        z-index: 1;
        grid-column: 1;
        grid-row: 1;
        align-self: end;
      }
      .hero-subtitles {
        grid-column: 1;
        grid-row: 2;
      }
      .hero-intro {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
      }
      .hero-intro .hero-photo {
        margin-bottom: 0;
      }
      .hero-logo {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 0;
      }
      .hero-logo img {
        display: block;
        width: 128px;
        height: 128px;
        object-fit: contain;
      }
      .hero-logo-text {
        width: 128px;
        height: 128px;
        display: flex;
        align-items: flex-end;
        padding-left: 0;
        font-family: "Valen Valentine Script", cursive;
        font-weight: normal;
        font-size: 7rem;
        line-height: 1.1;
        letter-spacing: -0.03em;
        word-spacing: -0.2em;
        color: var(--text);
        white-space: nowrap;
        transform: translateY(0.6rem);
      }
      @keyframes fadeUp {
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .hero-photo {
        width: 128px;
        height: 128px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--text);
        margin-bottom: 1.5rem;
        margin-top: 2rem;
        flex-shrink: 0;
      }
      .hero h1 {
        font-family: "BwModelicaSS01", sans-serif;
        font-size: clamp(2rem, 4.5vw, 3.5rem);
        font-weight: 700;
        line-height: 1.1;
        letter-spacing: -0.03em;
        margin-bottom: 0.5rem;
        color: var(--accent-1);
      }
      .hero h2.hero-subline {
        font-family: "Outfit", sans-serif;
        font-weight: 100;
        font-size: clamp(1rem, 2.5vw, 1.5rem);
        letter-spacing: 0.04em;
        color: var(--accent-2);
        margin-top: 0;
        margin-bottom: 1rem;
        transform: translateY(-0.5rem);
      }
      .hero-subtitle {
        font-size: 28px;
        font-weight: 300;
        color: var(--text-dark);
        line-height: 1.7;
        margin-top: 0.25rem;
        margin-bottom: 2.5rem;
      }
      .hero-subtitle:has(+ .hero-subtitle) {
        margin-bottom: 0.25rem;
      }
      .hero-subtitle + .hero-subtitle {
        margin-top: 0.25rem;
      }
      .hero-contact {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
      }
      .hero-contact a,
      .hero-contact span {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        color: var(--text);
        text-decoration: none;
        font-size: 0.9rem;
        transition: color var(--transition);
      }
      .hero-contact a:hover {
        color: var(--accent-2);
      }
      .hero-contact .separator {
        width: 1px;
        height: 16px;
        background: var(--border);
      }

      /* ═══ SECTION HEADERS ═══ */
      .section-label {
        font-family: "Outfit", sans-serif;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--text);
        margin-bottom: 0.75rem;
      }
      .section-title {
        font-family: "Outfit", sans-serif;
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        font-weight: 700;
        letter-spacing: -0.02em;
        margin-bottom: 1rem;
        line-height: 1.2;
      }
      .section-desc {
        color: var(--text);
        font-size: 1.05rem;
        max-width: 600px;
        margin-bottom: 3rem;
        line-height: 1.7;
      }

      /* ═══ RESULTADOS EN INNOVACIÓN (sección tras hero) ═══ */
      .section-resultados {
        background: var(--bg-2);
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        box-sizing: border-box;
        padding-left: calc(50vw - 50%);
        padding-right: calc(50vw - 50%);
      }
      .section-resultados__title {
        font-family: "BwModelicaSS01", sans-serif;
        font-size: clamp(2rem, 4.5vw, 3.5rem);
        font-weight: 700;
        line-height: 1.1;
        letter-spacing: -0.03em;
        margin-bottom: 2rem;
        color: var(--text);
      }
      .tree-section__header {
        display: flex;
        align-items: baseline;
        gap: 0.75rem;
        flex-wrap: wrap;
        margin-bottom: 2rem;
      }
      .tree-section__header .tree-section__title {
        margin-bottom: 0;
      }
      .tree-section__subtitle {
        font-family: "Outfit", sans-serif;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--text);
      }
      .section-resultados .metric-card {
        background: transparent;
        border-color: var(--text);
      }
      /* ═══ METRICS ═══ */
      .metrics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.25rem;
        margin-bottom: 2rem;
      }
      .metrics-grid--2rows {
        grid-template-columns: repeat(2, 1fr);
      }
      .metric-card {
        display: flex;
        flex-direction: column;
        background: transparent;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 0;
        transition: all var(--transition);
        cursor: default;
        overflow: hidden;
        color: var(--text);
      }
      .metric-card-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 0.5rem 1.5rem;
        flex-wrap: nowrap;
      }
      .metric-card--accent-1 .metric-card-header {
        background: color-mix(in srgb, var(--accent-1) 10%, transparent);
      }
      .metric-card--accent-1 .metric-value,
      .metric-card--accent-1 .metric-card-title {
        color: var(--accent-1);
      }
      .metric-card--accent-2 .metric-card-header {
        background: color-mix(in srgb, var(--accent-2) 10%, transparent);
      }
      .metric-card--accent-2 .metric-value,
      .metric-card--accent-2 .metric-card-title {
        color: var(--accent-2);
      }
      .metric-value {
        flex-shrink: 0;
        font-family: "Outfit", sans-serif;
        font-size: 3rem;
        font-weight: 700;
        margin: 0;
      }
      .metric-card-title {
        font-family: "BwModelicaSS01", sans-serif;
        font-size: 1.25rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.45;
        min-width: 0;
        text-transform: none;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
      }
      .metric-card-body {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        padding: 1rem;
      }
      .metric-label {
        font-size: 0.85rem;
        color: var(--text);
        line-height: 1.4;
      }
      .metric-label-note {
        font-size: 0.75rem;
        color: var(--text);
      }
      .metric-card-desc {
        color: var(--text);
        font-size: 1.05rem;
        line-height: 1.7;
        margin: 0.5rem 0 0;
      }
      .metric-card-accent {
        font-size: 0.8rem;
        font-weight: 500;
        margin-top: 0.5rem;
      }
      .metric-card--accent-1 .metric-card-accent {
        color: var(--accent-1);
      }
      .metric-card--accent-2 .metric-card-accent {
        color: var(--accent-2);
      }

      /* ═══ TREE VISUALIZATION ═══ */
      .tree-section {
        padding-bottom: 2rem;
      }
      #formacion {
        padding-bottom: 6rem;
      }

      .tree-container {
        position: relative;
        padding: 3rem 0;
      }

      /* Trunk line */
      .tree-trunk {
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(
          to bottom,
          var(--accent-1) 0%,
          var(--accent-2) 30%,
          var(--accent-3) 60%,
          var(--accent-1) 100%
        );
        transform: translateX(-50%);
        border-radius: 2px;
        opacity: 0.4;
      }

      /* Tree layer */
      .tree-layer {
        position: relative;
        margin-bottom: 4rem;
      }
      .tree-layer:last-child {
        margin-bottom: 0;
      }

      .tree-layer-label {
        text-align: center;
        margin-bottom: 2rem;
      }
      .tree-layer-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        position: relative;
        z-index: 2;
      }
      .tree-layer-icon.roots {
        background: rgba(17, 203, 184, 0.15);
        border: 2px solid rgba(17, 203, 184, 0.3);
      }
      .tree-layer-icon.trunk {
        background: rgba(230, 74, 59, 0.15);
        border: 2px solid rgba(230, 74, 59, 0.3);
      }
      .tree-layer-icon.branches {
        background: rgba(254, 238, 34, 0.15);
        border: 2px solid rgba(254, 238, 34, 0.3);
      }
      .tree-layer-icon.crown {
        background: rgba(17, 203, 184, 0.15);
        border: 2px solid rgba(17, 203, 184, 0.3);
      }
      .tree-layer-icon.fruits {
        background: rgba(230, 74, 59, 0.15);
        border: 2px solid rgba(230, 74, 59, 0.3);
      }

      .tree-layer-name {
        font-family: "Outfit", sans-serif;
        font-size: 1.1rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--text);
        margin: 0;
      }
      .tree-layer-label-left {
        text-align: left;
        margin-bottom: 2rem;
      }
      .tree-layer-label-tight {
        margin-bottom: 0.5rem;
      }
      .tree-layer-icon-inline {
        display: inline-flex;
      }

      /* Tree items grid */
      .tree-items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
      }
      .tree-items.single {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
      }

      .tree-item {
        background: transparent;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 1.25rem 1.5rem;
        transition: all var(--transition);
      }
      .tree-item-title {
        font-weight: 600;
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
      }
      .tree-item-sub {
        font-size: 0.8rem;
        color: var(--text);
      }

      /* ═══ TIMELINE (Branches) ═══ */
      .timeline {
        position: relative;
        /* La línea en el borde izquierdo del contenedor (alineada con el título) */
      }
      .timeline::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--border);
      }

      .timeline-item {
        position: relative;
        margin-bottom: 2.5rem;
        padding-left: 1.5rem; /* Espacio desde la línea al contenido */
      }
      .timeline-item:last-child {
        margin-bottom: 0;
      }
      .timeline-date {
        position: absolute;
        right: 100%;
        margin-right: 1.5rem; /* Distancia entre fecha y línea */
        top: 0.2rem; /* Baja un poco para alinear el centro con el círculo */
        text-align: right;
        line-height: 1.4;
        white-space: nowrap;
        font-size: 0.85rem;
        color: var(--accent-2);
        font-weight: 500;
      }
      .timeline-item::before {
        content: "";
        position: absolute;
        left: -8px; /* Centrado sobre la línea de 2px (left: 0) -> -8px para un ancho de 18px */
        top: 0.25rem; /* Ajuste para alinear con el texto del rol */
        width: 18px;
        height: 18px;
        border-radius: 50%;
        border: 2px solid var(--accent-2);
        background: var(--bg);
        z-index: 2;
        transition: all var(--transition);
      }
      .timeline-item:hover::before {
        background: var(--accent-2);
        box-shadow: 0 0 20px rgba(230, 74, 59, 0.4);
      }
      .timeline-item-content {
        min-width: 0;
      }

      .timeline-header {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0.75rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
      }
      .timeline-role {
        font-family: "Outfit", sans-serif;
        font-weight: 600;
        font-size: 1.1rem;
        color: var(--text);
      }
      .timeline-company {
        color: var(--accent-1);
        font-weight: 500;
        font-size: 1.1rem;
      }
      .timeline-company::before {
        content: "|";
        color: var(--text);
        opacity: 0.6;
        margin-right: 0.55rem;
      }
      .timeline-sector {
        display: inline-block;
        padding: 0.15rem 0.6rem;
        border-radius: 50px;
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        margin-bottom: 0.5rem;
        background: rgba(254, 238, 34, 0.15);
        border: 1px solid rgba(254, 238, 34, 0.35);
        color: var(--text);
      }

      .timeline-achievements {
        list-style: none;
        padding: 0;
        margin: 0.75rem 0 0;
      }
      .timeline-achievements li {
        position: relative;
        padding-left: 1.25rem;
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
        color: var(--text);
        line-height: 1.5;
      }
      .timeline-achievements li::before {
        content: "→";
        position: absolute;
        left: 0;
        color: var(--accent-2);
        font-weight: 600;
      }
      .timeline-achievements strong {
        color: var(--text);
        font-weight: 600;
      }
      .timeline-achievements-sublist {
        list-style: none;
        padding: 0;
        margin: 0.35rem 0 0 1rem;
      }
      .timeline-achievements-sublist li {
        position: relative;
        padding-left: 0.75rem;
        margin-bottom: 0.35rem;
        font-size: 0.9rem;
        color: var(--text);
        line-height: 1.5;
      }
      .timeline-achievements-sublist li::before {
        content: "–";
        position: absolute;
        left: 0;
        color: var(--accent-2);
        font-weight: 600;
      }

      #formacion.section-bg {
        background: var(--black-4);
        /* Asegurar contraste de texto igual que en hero */
        --text: var(--gray-light-1);
        --text-light: var(--gray-light-3);
        --text-dark: var(--gray-light-1);
        --bg: var(--black-4); /* Para componentes que usen el fondo */
        --border: var(--gray-dark-3); /* Para que el borde resalte sobre black-4 */
      }

      /* ═══ SKILLS (Crown) ═══ */
      .skills-category {
        margin-bottom: 1.5rem;
      }
      .skills-category-title {
        font-family: "Outfit", sans-serif;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text);
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin: 0 0 0.6rem 0;
      }
      #competencias .skills-category:nth-child(2) .skills-category-title,
      #competencias .skills-category:nth-child(4) .skills-category-title {
        color: var(--accent-1);
      }
      #competencias .skills-category:nth-child(3) .skills-category-title,
      #competencias .skills-category:nth-child(5) .skills-category-title {
        color: var(--accent-2);
      }
      html[data-theme="light"] #competencias .skills-category:nth-child(2) .skills-category-title,
      html[data-theme="light"] #competencias .skills-category:nth-child(4) .skills-category-title {
        color: var(--accent-1-dark);
      }
      html[data-theme="light"] #competencias .skills-category:nth-child(3) .skills-category-title,
      html[data-theme="light"] #competencias .skills-category:nth-child(5) .skills-category-title {
        color: var(--accent-2-dark);
      }
      .skills-list {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
      }
      .skill-row {
        display: grid;
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.9fr);
        align-items: baseline;
        gap: 1.5rem;
        padding: 0.3rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 0.9rem;
      }
      .skill-row:last-child {
        border-bottom: none;
      }
      .skill-name {
        color: var(--text);
        font-weight: 500;
      }
      .skill-desc {
        color: var(--text);
        font-weight: 400;
        font-size: 0.85rem;
        text-align: right;
      }

      /* Legacy: píldoras (p. ej. en.html) */
      .skills-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
      }
      .skill-tag {
        padding: 0.35rem 0.85rem;
        background: rgba(254, 238, 34, 0.12);
        border: 1px solid rgba(254, 238, 34, 0.35);
        border-radius: 50px;
        font-size: 0.82rem;
        color: var(--text);
        font-weight: 500;
        transition: all var(--transition);
        cursor: default;
      }
      .skill-tag:hover {
        color: var(--text);
        border-color: var(--accent-3);
        background: rgba(254, 238, 34, 0.2);
      }
      .skill-tag.highlight {
        border-color: var(--accent-3);
        color: var(--text);
        background: rgba(254, 238, 34, 0.18);
      }

      /* ═══ PROJECTS (Fruits) ═══ */
      .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.25rem;
      }
      .project-card {
        background: transparent;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 1.75rem;
        transition: all var(--transition);
        position: relative;
        overflow: hidden;
      }
      .project-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
        opacity: 0;
        transition: opacity var(--transition);
      }
      .project-emoji {
        font-size: 2rem;
        margin-bottom: 1rem;
      }
      .project-name {
        font-family: "Outfit", sans-serif;
        font-weight: 700;
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
      }
      .project-tagline {
        font-size: 0.85rem;
        color: var(--accent-1);
        font-weight: 500;
        margin-bottom: 0.75rem;
      }
      .project-card-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-decoration: none !important;
        margin-bottom: 1rem;
      }
      .project-card-link::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
      }
      .project-card-link:hover,
      .project-card-link:visited,
      .project-card-link:active {
        text-decoration: none;
      }
      .project-card-link .project-name {
        color: var(--gray-light-1) !important;
        margin-bottom: 0;
      }
      .project-card-link .project-logo {
        flex-shrink: 0;
        margin-bottom: 0 !important;
      }
      .project-desc {
        font-size: 0.88rem;
        color: var(--text);
        line-height: 1.6;
        margin-bottom: 1rem;
      }
      .project-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
      }
      .project-tech span {
        padding: 0.2rem 0.55rem;
        background: rgba(254, 238, 34, 0.12);
        border: 1px solid rgba(254, 238, 34, 0.35);
        border-radius: 4px;
        font-size: 0.72rem;
        color: var(--text);
        font-weight: 500;
      }

      /* ═══ EDUCATION ═══ */
      .edu-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
      }
      .edu-card {
        background: transparent;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 1.25rem 1.5rem;
        transition: all var(--transition);
      }
      .edu-degree {
        font-weight: 600;
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
      }
      .edu-school {
        font-size: 0.85rem;
        color: var(--accent-1);
      }
      .edu-year {
        font-size: 0.8rem;
        color: var(--accent-2);
      }

      /* ═══ FOOTER / CTA ═══ */
      .footer-cta {
        text-align: center;
        padding: 2rem 0 3rem;
        opacity: 0;
        transform: translateY(40px);
        transition:
          opacity 0.8s ease,
          transform 0.8s ease;
      }
      .footer-cta.visible {
        opacity: 1;
        transform: translateY(0);
      }

      .cta-title {
        font-family: "Outfit", sans-serif;
        font-size: clamp(1.5rem, 3.5vw, 2.5rem);
        font-weight: 700;
        margin-bottom: 1rem;
        letter-spacing: -0.02em;
      }
      .cta-subtitle {
        color: var(--text);
        font-size: 1.05rem;
        margin-bottom: 2rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
      }
      /* Footer: más ancho para una línea el párrafo principal; pregunta en línea aparte */
      .footer-cta .cta-subtitle {
        max-width: min(95vw, 52rem);
      }
      .cta-subtitle-line {
        display: block;
      }
      .cta-subtitle-call {
        margin-top: 0.5rem;
      }
      .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
      }
      .cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.6rem 1.5rem;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 500;
        text-decoration: none;
        transition: all var(--transition);
        border: 1px solid var(--border);
        background: transparent;
        color: var(--text);
      }
      .footer-cta .cta-btn:hover {
        border-color: var(--accent-2);
        color: var(--accent-2);
      }
      html[data-theme="light"] .footer-cta .cta-btn:hover {
        border-color: var(--accent-2-dark);
        color: var(--accent-2-dark);
      }

      .footer-bottom {
        text-align: center;
        padding: 2rem 0;
        border-top: 1px solid var(--border);
        margin-top: 1rem;
      }
      .footer-bottom p {
        font-size: 0.8rem;
        color: var(--text);
      }

      /* ═══ THEME TOGGLE (estilo Gnowy, posición y colores marca) ═══ */
      .theme-toggle {
        --icon-fill: #ffffff;
        --icon-fill-hover: #ffffff;
        --toggle-size: 36px;
        --icon-size: 18px;
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        left: auto;
        top: auto;
        z-index: 100;
        width: var(--toggle-size);
        height: var(--toggle-size);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        background: #0EAA9A;
      }
      .theme-toggle.size-md { --toggle-size: 50px; --icon-size: 24px; }
      .theme-toggle.size-lg { --toggle-size: 60px; --icon-size: 28px; }
      .theme-toggle-size-sm { --toggle-size: 36px; --icon-size: 18px; }
      .theme-toggle-bottom-right {
        bottom: 2rem;
        right: 2rem;
        left: auto;
        top: auto;
      }
      .sun-and-moon { width: var(--icon-size); height: var(--icon-size); }
      .sun-and-moon > :is(.moon, .sun, .sun-beams) { transform-origin: center; }
      .sun-and-moon > :is(.moon, .sun) { fill: var(--icon-fill); }
      .theme-toggle:is(:hover, :focus-visible) > .sun-and-moon > :is(.moon, .sun) { fill: var(--icon-fill-hover); }
      .sun-and-moon > .sun-beams { stroke: var(--icon-fill); stroke-width: 2px; }
      .theme-toggle:is(:hover, :focus-visible) .sun-and-moon > .sun-beams { stroke: var(--icon-fill-hover); }
      [data-theme="dark"] .sun-and-moon > .sun { transform: scale(1.75); }
      [data-theme="dark"] .sun-and-moon > .sun-beams { opacity: 0; }
      [data-theme="dark"] .sun-and-moon > .moon > circle { transform: translateX(-7px); }
      @supports (cx: 1) {
        [data-theme="dark"] .sun-and-moon > .moon > circle { cx: 17; transform: translateX(0); }
      }
      @media (prefers-reduced-motion: no-preference) {
        .sun-and-moon > .sun { transition: transform 0.5s ease; }
        .sun-and-moon > .sun-beams { transition: transform 0.5s ease, opacity 0.5s ease; }
        .sun-and-moon .moon > circle { transition: transform 0.25s ease-out; }
        @supports (cx: 1) { .sun-and-moon .moon > circle { transition: cx 0.25s ease-out; } }
        [data-theme="dark"] .sun-and-moon > .sun { transition-duration: 0.25s; transform: scale(1.75); }
        [data-theme="dark"] .sun-and-moon > .sun-beams { transition-duration: 0.15s; transform: rotateZ(-25deg); }
        [data-theme="dark"] .sun-and-moon > .moon > circle { transition-duration: 0.5s; transition-delay: 0.25s; }
      }
      [data-theme="dark"] .theme-toggle {
        background: var(--bg-card);
        box-shadow: 0 2px 8px rgba(255, 255, 255, 0.08);
      }
      [data-theme="dark"] .theme-toggle:hover { box-shadow: 0 4px 12px rgba(255, 255, 255, 0.12); }
      .theme-toggle:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
      }
      .theme-toggle:active { transform: translateY(0); }
      .theme-toggle:focus { outline: none; border: none; }
      .theme-toggle:focus-visible { box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 0 2px var(--accent-1); }
      [data-theme="dark"] .theme-toggle:focus-visible { box-shadow: 0 2px 8px rgba(255,255,255,0.08), 0 0 0 2px var(--text-light); }
      @media (prefers-reduced-motion: reduce) {
        .sun-and-moon > .sun, .sun-and-moon > .sun-beams, .sun-and-moon .moon > circle, .sun-and-moon, .theme-toggle { transition: none !important; }
      }
      @media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {
        .theme-toggle { width: calc(var(--toggle-size) - 4px); height: calc(var(--toggle-size) - 4px); bottom: 2rem; right: 2rem; }
        .sun-and-moon { width: calc(var(--icon-size) - 2px); height: calc(var(--icon-size) - 2px); }
      }

      /* ═══ TIMELINE COLLAPSE ═══ */
      .timeline-collapse-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.5rem 1rem;
        margin-top: 1rem;
        background: transparent;
        border: 1px solid var(--border);
        border-radius: 50px;
        color: var(--text);
        font-size: 0.8rem;
        font-weight: 500;
        cursor: pointer;
        transition: all var(--transition);
      }
      .timeline-collapse-toggle:hover {
        border-color: var(--accent-1);
        color: var(--accent-1);
      }
      .timeline-collapsible {
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.5s ease, opacity 0.4s ease;
      }
      .timeline-collapsible.expanded {
        max-height: 2000px;
        opacity: 1;
      }

      /* ═══ TIMELINE FILTERS ═══ */
      .timeline-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 2rem;
      }
      .timeline-filter-btn {
        padding: 0.3rem 0.85rem;
        border-radius: 50px;
        font-size: 0.78rem;
        font-weight: 500;
        background: transparent;
        border: 1px solid var(--border);
        color: var(--text);
        cursor: pointer;
        transition: all var(--transition);
      }
      .timeline-filter-btn:hover,
      .timeline-filter-btn.active {
        border-color: var(--accent-1);
        color: var(--accent-1);
        background: rgba(17,203,184,0.08);
      }

      /* ═══ SKILL TOOLTIPS ═══ */
      .skill-tag {
        position: relative;
      }
      .skill-tag[data-tooltip]::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%) scale(0.9);
        padding: 0.5rem 0.75rem;
        background: var(--black);
        color: #d0d4d4;
        font-size: 0.73rem;
        font-weight: 400;
        line-height: 1.4;
        border-radius: var(--radius-sm);
        white-space: nowrap;
        pointer-events: none;
        opacity: 0;
        transition: all 0.2s ease;
        z-index: 50;
        border: 1px solid var(--border);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      }
      .skill-tag[data-tooltip]:hover::after {
        opacity: 1;
        transform: translateX(-50%) scale(1);
      }

      /* ═══ ABOUT ME / PROPUESTA ═══ */
      .about-section {
        max-width: 720px;
      }
      .about-text {
        font-size: 1.05rem;
        color: var(--text);
        line-height: 1.8;
        margin-bottom: 1.5rem;
      }
      .about-text strong {
        color: var(--text-dark);
      }

      /* ═══ EXPLORING SECTION ═══ */
      .exploring-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
      }
      .exploring-card {
        background: transparent;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 1.25rem;
        transition: all var(--transition);
      }
      .exploring-card-emoji {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
      }
      .exploring-card-title {
        font-weight: 600;
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        color: var(--text-dark);
      }
      .exploring-card-desc {
        font-size: 0.8rem;
        color: var(--text);
        line-height: 1.5;
      }

      /* ═══ SKIP NAV ═══ */
      .skip-nav {
        position: absolute;
        top: -100%;
        left: 1rem;
        z-index: 200;
        padding: 0.75rem 1.5rem;
        background: var(--accent-1);
        color: var(--black);
        font-weight: 600;
        font-size: 0.9rem;
        border-radius: var(--radius-sm);
        text-decoration: none;
        transition: top 0.2s ease;
      }
      .skip-nav:focus {
        top: 1rem;
      }

      /* ═══ FOCUS STATES ═══ */
      *:focus-visible {
        outline: 2px solid var(--accent-1);
        outline-offset: 2px;
      }
      .cta-btn:focus-visible, .nav-contact__item:focus-visible {
        outline-offset: 4px;
      }

      /* ═══ RESPONSIVE ═══ */
      @media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {
        .skill-row {
          grid-template-columns: 1fr;
          gap: 0.25rem;
        }
        .skill-desc {
          text-align: left;
        }
        .container {
          padding: 0 1.25rem;
        }
        .section-resultados {
          padding-left: calc(50vw - 50%);
          padding-right: calc(50vw - 50%);
        }
        section {
          padding: 4rem 0;
        }
        
        .nav {
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 1rem;
        }
        .nav-brand {
          display: contents;
        }
        .nav-download-wrapper {
          flex-grow: 0;
        }
        .nav-links {
          display: none;
        }
        .nav-contact {
          gap: 1rem;
        }
        .nav-contact__item span {
          display: none;
        }
        .nav-contact__item[title="Switch to English"] span,
        .nav-contact__item[title="Cambiar a Español"] span {
          display: inline;
        }

        .hero {
          grid-template-columns: 1fr;
          gap: 0.5rem;
          padding-left: calc(50vw - 50%);
          padding-right: calc(50vw - 50%);
          min-height: auto;
          padding-top: 100px;
          padding-bottom: 2rem;
        }
        .hero h1.gradient {
          font-size: clamp(2rem, 8vw, 3.5rem);
        }
        .hero-subtitle {
          font-size: 1.65rem;
          line-height: 1.5;
          margin-top: 0;
          margin-bottom: 1.5rem;
        }
        .hero-intro {
          margin-bottom: 0.5rem;
        }
        .hero-photo {
          width: clamp(3.5rem, 15vw, 7rem);
          height: clamp(3.5rem, 15vw, 7rem);
          margin-top: 0;
          margin-bottom: 0;
        }
        .hero-logo-text {
          font-size: clamp(3.5rem, 15vw, 7rem);
          width: auto;
          height: auto;
          transform: translateY(0.3rem);
        }
        .hero-logo {
          gap: 1rem;
        }
        .tree-items {
          grid-template-columns: 1fr;
        }
        .metrics-grid,
        .metrics-grid--2rows {
          grid-template-columns: repeat(2, 1fr);
        }
        .metric-card-title {
          font-size: 1.1rem;
        }
        .metric-card-desc {
          font-size: 1.1rem;
        }
        .projects-grid {
          grid-template-columns: 1fr;
        }
        .hero-contact {
          flex-direction: column;
          gap: 0.5rem;
        }
        .hero-contact .separator {
          display: none;
        }
        .timeline {
          margin-left: 0;
          padding-left: 0;
        }
        .timeline::before {
          left: 0;
        }
        .timeline-item {
          margin-left: 0;
          padding-left: 1.5rem;
          display: block;
          margin-bottom: 2rem;
        }
        .timeline-date {
          position: static;
          display: inline-block;
          margin-bottom: 0.25rem;
          text-align: left;
          font-size: 0.8rem;
        }
        .timeline-item::before {
          width: 14px;
          height: 14px;
          left: -6px; /* Centrado en la línea de 2px (left: 0) -> radio 7px - 1px = 6px */
          top: 0.35rem; /* Ajuste para centrarlo visualmente con la altura de la fuente */
          margin-top: 0;
        }
        .edu-grid {
          grid-template-columns: 1fr;
        }
      }

      @media (max-width: 480px), (orientation: landscape) and (max-height: 400px) and (max-width: 750px) {
        .metrics-grid,
        .metrics-grid--2rows {
          grid-template-columns: 1fr;
        }
      }

      /* ═══ PRINT ═══ */
      @media print {
        :root {
          --bg: #fff;
          --bg-card: #f9f9f9;
          --text: #616867;
          --border: #e2e8ea;
        }
        body {
          font-size: 11pt;
        }
        .nav,
        .scroll-progress,
        .skip-nav,
        .download-btn,
        .nav-mobile-drawer {
          display: none;
        }
        section {
          opacity: 1;
          transform: none;
          padding: 1.5rem 0;
          break-inside: avoid;
        }
        .hero {
          min-height: auto;
          padding-top: 0;
        }
        .hero h1 {
          font-size: 24pt;
        }
        .hero h2.hero-subline {
          font-size: 14pt;
        }
        .metric-card,
        .project-card,
        .tree-item,
        .timeline-item,
        .edu-card {
          break-inside: avoid;
        }
        .metric-value {
          -webkit-text-fill-color: var(--accent-2);
        }
        .hero h1.gradient {
          -webkit-text-fill-color: var(--accent-1);
        }
        .footer-cta,
        .footer-bottom {
          break-inside: avoid;
        }
        .cta-btn.primary {
          background: var(--accent-2);
          -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
        }
      }