:root {
      --bg: #f6fbfe;
      --bg-soft: #eaf5fb;
      --panel: rgba(255, 255, 255, 0.74);
      --panel-solid: #ffffff;
      --line: rgba(69, 118, 145, 0.18);
      --text: #163143;
      --muted: #627c8d;
      --blue: #7fb8d7;
      --blue-2: #b9dced;
      --blue-3: #dceff8;
      --mint: #cce7e1;
      --lavender: #dcdaf0;
      --sand: #f0e3cc;
      --shadow: 0 22px 55px rgba(45, 89, 116, 0.14);
      --radius-xl: 34px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --max: 1240px;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      min-height: 100vh;
      color: var(--text);
      background:
        radial-gradient(circle at 10% 10%, rgba(185, 220, 237, .75), transparent 28%),
        radial-gradient(circle at 90% 15%, rgba(220, 218, 240, .55), transparent 26%),
        linear-gradient(180deg, #f9fdff 0%, #eff8fc 45%, #f8fbfd 100%);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.5;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button { font: inherit; }

    .page-shell {
      width: min(calc(100% - 34px), var(--max));
      margin: 0 auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      padding: 16px 0;
      backdrop-filter: blur(18px);
      background: linear-gradient(to bottom, rgba(246, 251, 254, .92), rgba(246, 251, 254, .62));
      border-bottom: 1px solid rgba(103, 150, 175, .12);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .brand-logo {
      width: 48px;
      height: 48px;
      flex: 0 0 auto;
      display: block;
      object-fit: contain;
      border-radius: 14px;
      padding: 2px;
      background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(222,239,248,.88));
      border: 1px solid rgba(77, 127, 153, .16);
      box-shadow: 0 14px 32px rgba(51, 102, 129, .14);
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .brand-copy { min-width: 0; }
    .brand-title { font-size: .98rem; font-weight: 820; letter-spacing: -.02em; }
    .brand-subtitle { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


    .brand:hover .brand-logo,
    .brand:focus-visible .brand-logo {
      transform: translateY(-1px) scale(1.02);
      box-shadow: 0 16px 38px rgba(51, 102, 129, .18);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .nav-links a {
      padding: 9px 13px;
      border-radius: 999px;
      color: #527083;
      font-size: .88rem;
      transition: .2s ease;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
      color: var(--text);
      background: rgba(255,255,255,.75);
      outline: none;
    }

    .hero {
      padding: 72px 0 28px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 26px;
      align-items: stretch;
    }

    .hero-copy {
      position: relative;
      overflow: hidden;
      padding: clamp(32px, 5vw, 64px);
      min-height: 560px;
      border-radius: var(--radius-xl);
      background:
        linear-gradient(145deg, rgba(255,255,255,.94), rgba(231,245,251,.84)),
        var(--panel-solid);
      border: 1px solid rgba(85, 134, 160, .17);
      box-shadow: var(--shadow);
    }

    .hero-copy::before,
    .hero-copy::after {
      content: "";
      position: absolute;
      border-radius: 999px;
      filter: blur(4px);
      pointer-events: none;
    }

    .hero-copy::before {
      width: 260px;
      height: 260px;
      right: -70px;
      bottom: -90px;
      background: rgba(127, 184, 215, .25);
    }

    .hero-copy::after {
      width: 150px;
      height: 150px;
      right: 80px;
      top: -55px;
      background: rgba(204, 231, 225, .45);
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(127, 184, 215, .16);
      color: #35647e;
      font-size: .79rem;
      font-weight: 800;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #79afca;
      box-shadow: 0 0 0 5px rgba(121, 175, 202, .16);
    }

    h1 {
      max-width: 780px;
      margin: 24px 0 20px;
      font-size: clamp(3.15rem, 7vw, 6.6rem);
      line-height: .92;
      letter-spacing: -.075em;
      font-weight: 860;
    }

    h1 span {
      display: block;
      color: #5e90aa;
    }

    .hero-copy p {
      max-width: 670px;
      margin: 0;
      color: var(--muted);
      font-size: clamp(1rem, 2vw, 1.2rem);
    }

    .hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 34px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 48px;
      padding: 12px 18px;
      border-radius: 15px;
      font-weight: 800;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }

    .button:hover { transform: translateY(-2px); }

    .button-primary {
      color: #ffffff;
      background: linear-gradient(135deg, #3f7898, #5d98b6);
      border: 1px solid rgba(42, 96, 126, .24);
      box-shadow: 0 12px 28px rgba(58, 112, 143, .30);
    }

    .button-primary:hover,
    .button-primary:focus-visible {
      color: #ffffff;
      background: linear-gradient(135deg, #326b8b, #4e8eae);
      box-shadow: 0 16px 34px rgba(58, 112, 143, .38);
      outline: none;
    }

    .nav-links a.button-primary {
      color: #ffffff;
      padding-inline: 18px;
      white-space: nowrap;
      background: linear-gradient(135deg, #3f7898, #5d98b6);
    }

    .nav-links a.button-primary:hover,
    .nav-links a.button-primary:focus-visible {
      color: #ffffff;
      background: linear-gradient(135deg, #326b8b, #4e8eae);
    }

    .nav-links a.button-primary::after {
      content: "→";
      font-size: 1.05em;
      transition: transform .2s ease;
    }

    .nav-links a.button-primary:hover::after,
    .nav-links a.button-primary:focus-visible::after {
      transform: translateX(3px);
    }

    .button-secondary {
      color: #41657a;
      background: rgba(255,255,255,.82);
      border: 1px solid rgba(69, 118, 145, .16);
    }

    .hero-note {
      position: absolute;
      left: clamp(32px, 5vw, 64px);
      bottom: 32px;
      display: flex;
      align-items: center;
      gap: 10px;
      color: #6f8695;
      font-size: .83rem;
    }

    .hero-note svg { width: 18px; height: 18px; }

    .hero-visual {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1.1fr .9fr;
      gap: 16px;
      min-height: 560px;
    }

    .visual-card {
      position: relative;
      display: block;
      overflow: hidden;
      min-height: 220px;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      isolation: isolate;
      color: inherit;
      text-decoration: none;
    }

    a.visual-card { cursor: pointer; }

    a.visual-card:focus-visible {
      outline: 3px solid rgba(77, 140, 168, .72);
      outline-offset: 4px;
    }

    .visual-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .7s cubic-bezier(.2,.8,.2,1);
    }

    .visual-card:hover img { transform: scale(1.055); }

    .visual-card::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      background: linear-gradient(to top, rgba(14, 42, 57, .72), rgba(14,42,57,.03) 65%);
    }

    .visual-card-large { grid-row: 1 / span 2; }

    .visual-label {
      position: absolute;
      z-index: 2;
      left: 20px;
      right: 20px;
      bottom: 18px;
      color: white;
    }

    .visual-label small {
      display: block;
      margin-bottom: 4px;
      opacity: .78;
      font-size: .72rem;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .visual-label strong { font-size: 1.05rem; }

    section { padding: 62px 0; }

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

    .section-heading h2 {
      margin: 0;
      font-size: clamp(2rem, 4vw, 3.3rem);
      line-height: 1;
      letter-spacing: -.045em;
    }

    .section-heading p {
      max-width: 590px;
      margin: 0;
      color: var(--muted);
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
    }

    .project-card {
      position: relative;
      overflow: hidden;
      min-height: 550px;
      border-radius: var(--radius-xl);
      background: var(--panel-solid);
      box-shadow: var(--shadow);
      border: 1px solid rgba(67, 112, 137, .15);
      transition: transform .25s ease, box-shadow .25s ease;
    }

    .project-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 28px 65px rgba(45, 89, 116, 0.19);
    }

    .project-image { height: 330px; overflow: hidden; }
    .project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
    .project-card:hover .project-image img { transform: scale(1.045); }

    .project-content { padding: 25px 26px 28px; }

    .meta-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 18px;
    }

    .status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 10px;
      border-radius: 999px;
      background: #eef7fa;
      color: #52788c;
      font-size: .74rem;
      font-weight: 800;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    .status::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #77afc8;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(119,175,200,.3); }
      50% { box-shadow: 0 0 0 7px rgba(119,175,200,0); }
    }

    .folder {
      color: #8396a3;
      font-size: .78rem;
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    }

    .project-content h3 {
      margin: 0 0 10px;
      font-size: clamp(1.5rem, 3vw, 2.15rem);
      line-height: 1.05;
      letter-spacing: -.035em;
    }

    .project-content p { margin: 0; color: var(--muted); }

    .project-link {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-top: 22px;
      color: #3f6f88;
      font-weight: 820;
    }

    .project-link span { transition: transform .2s ease; }
    .project-link:hover span { transform: translateX(4px); }

    .future-section {
      position: relative;
      overflow: hidden;
      padding: clamp(30px, 5vw, 60px);
      border-radius: var(--radius-xl);
      background: rgba(255, 255, 255, .66);
      border: 1px solid rgba(69, 118, 145, .14);
      box-shadow: var(--shadow);
      backdrop-filter: blur(16px);
    }

    .filters {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin: 24px 0 26px;
    }

    .filter-btn {
      appearance: none;
      border: 1px solid rgba(69, 118, 145, .15);
      background: rgba(255,255,255,.72);
      color: #5c7788;
      padding: 9px 13px;
      border-radius: 999px;
      cursor: pointer;
      font-weight: 760;
      transition: .2s ease;
    }

    .filter-btn:hover,
    .filter-btn.active {
      color: #31576e;
      background: #dceff8;
      border-color: #bad8e8;
    }

    .ideas-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 16px;
    }

    .idea-card {
      grid-column: span 4;
      min-height: 290px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border-radius: var(--radius-lg);
      background: rgba(255,255,255,.82);
      border: 1px solid rgba(69, 118, 145, .12);
      transition: transform .22s ease, opacity .25s ease;
    }

    .idea-card:hover { transform: translateY(-4px); }
    .idea-card[hidden] { display: none; }

    .idea-image { height: 160px; overflow: hidden; }
    .idea-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
    .idea-card:hover img { transform: scale(1.05); }

    .idea-content { padding: 19px 20px 22px; display: flex; flex-direction: column; flex: 1; }
    .idea-content small { color: #7090a1; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
    .idea-content h3 { margin: 7px 0 8px; font-size: 1.22rem; letter-spacing: -.025em; }
    .idea-content p { margin: 0; color: var(--muted); font-size: .92rem; }

    .idea-icon {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      margin-bottom: 10px;
      border-radius: 14px;
      background: var(--blue-3);
      color: #4f7b92;
      font-weight: 900;
    }

    .wide { grid-column: span 6; }

    .manifesto {
      display: grid;
      grid-template-columns: .85fr 1.15fr;
      gap: 22px;
      align-items: stretch;
    }

    .manifesto-image,
    .manifesto-copy {
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid rgba(69, 118, 145, .13);
    }

    .manifesto-image { min-height: 430px; }
    .manifesto-image img { width: 100%; height: 100%; object-fit: cover; }

    .manifesto-copy {
      padding: clamp(30px, 5vw, 62px);
      background: linear-gradient(145deg, rgba(220,239,248,.88), rgba(255,255,255,.92));
    }

    .manifesto-copy h2 {
      margin: 0 0 18px;
      font-size: clamp(2.1rem, 5vw, 4rem);
      line-height: .98;
      letter-spacing: -.05em;
    }

    .manifesto-copy p { color: var(--muted); font-size: 1.05rem; }

    .manifesto-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 28px;
    }

    .manifesto-list div {
      padding: 14px 15px;
      border-radius: 15px;
      background: rgba(255,255,255,.62);
      border: 1px solid rgba(69,118,145,.1);
      color: #526f80;
      font-weight: 750;
    }

    footer { padding: 34px 0 48px; }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding-top: 22px;
      border-top: 1px solid rgba(69, 118, 145, .16);
      color: #6a8291;
      font-size: .9rem;
    }

    .footer-inner strong { color: #33586e; }

    .footer-inner a {
      color: #426f88;
      font-weight: 750;
      text-decoration: underline;
      text-decoration-color: rgba(66, 111, 136, .35);
      text-underline-offset: 3px;
    }

    .footer-inner a:hover,
    .footer-inner a:focus-visible {
      color: #285a76;
      text-decoration-color: currentColor;
      outline: none;
    }

    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity .65s ease, transform .65s ease;
    }

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

    @media (max-width: 980px) {
      .hero-grid,
      .manifesto { grid-template-columns: 1fr; }
      .hero-copy { min-height: 500px; }
      .hero-visual { min-height: 520px; }
      .idea-card { grid-column: span 6; }
      .wide { grid-column: span 6; }
      .nav-links a:not(:last-child) { display: none; }
    }

    @media (max-width: 760px) {
      .page-shell { width: min(calc(100% - 22px), var(--max)); }
      .brand-logo { width: 42px; height: 42px; }
      .hero { padding-top: 38px; }
      .hero-copy { min-height: 540px; padding: 30px 24px; }
      .hero-note { left: 24px; right: 24px; }
      .hero-visual { grid-template-columns: 1fr; grid-template-rows: 280px 220px 220px; }
      .visual-card-large { grid-row: auto; }
      .projects-grid { grid-template-columns: 1fr; }
      .project-card { min-height: auto; }
      .project-image { height: 270px; }
      .section-heading { align-items: flex-start; flex-direction: column; }
      .idea-card, .wide { grid-column: span 12; }
      .manifesto-list { grid-template-columns: 1fr; }
      .footer-inner { align-items: flex-start; flex-direction: column; }
      h1 { font-size: clamp(3rem, 17vw, 5rem); }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
      .reveal { opacity: 1; transform: none; }
    }
/* Protección disuasoria para imágenes; no reemplaza la protección del servidor. */
img {
  -webkit-user-drag: none;
  user-select: none;
}
