/*
Theme Name: LIAA Theme
Author: admin
Description: Tema a medida para el Laboratorio de IA de la UBA.
Version: 1.0
*/

:root {
      --bg: #f5f5f7;
      --bg-soft: #ffffff;
      --ink: #111111;
      --muted: #6b7280;
      --accent: #ff2d92;
      --radius-lg: 22px;
      --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.12);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
      background: var(--bg);
      color: var(--ink);
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .shell {
      max-width: 100%;
      margin: 0 auto;
      padding: 0px 0px 60px;
    }

    /* NAV */
      header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 20;
      background: linear-gradient(to bottom, rgba(0,0,0,2), rgba(0,0,0,0));
      border-bottom: none;
    }

    .nav {
      max-width: 100%;
      margin: 0 auto;
      padding: 30px 33px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      color: #f9fafb;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.92rem;
      color: #f9fafb;
    }

    .brand-logo {
      height: 40px;
      width: auto;
      display: block;
    }

    .brand-text span:first-child {
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-size: 0.70rem;
      color: #e5e7eb;
    }

    .brand-text span:last-child {
      font-weight: 600;
      font-size: 0.96rem;
      color: #f9fafb;
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 18px;
      font-size: 0.86rem;
      color: #e5e7eb;
    }

    .nav-links a {
      position: relative;
      padding: 3px 0;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.2s ease;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-cta {
      padding: 12px 36px;
      border-radius: 999px;
      border: 6px solid var(--ink);
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      background: #111;
      color: #fff;
      white-space: nowrap;
    }

    @media (max-width: 720px) {
      .nav-links {
        display: none;
      }
    }

    main {
      padding-top: 0px;
    }

    .hero {
      margin-top: 0;
      border-radius: 0;
      overflow: hidden;
      box-shadow: var(--shadow-soft);
      background: #000;
    }

    .hero-media {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      background-color: #000;
      overflow: hidden;
    }

    .hero-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(0.7) contrast(1.05);
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.80), rgba(0, 0, 0, 0.15));
    }

    .hero-content {
      position: relative;
      color: #ffffff;
      padding: 40px 40px 34px;
      max-width: 620px;
      z-index: 1;
    }

    .hero-eyebrow {
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-size: 0.75rem;
      margin-bottom: 8px;
      color: #e5e7eb;
    }

    .hero-title {
      font-size: clamp(2.2rem, 3.6vw, 3rem);
      font-weight: 700;
      line-height: 1.1;
      margin-bottom: 10px;
    }

    .hero-sub {
      font-size: 0.98rem;
      color: #e5e7eb;
      margin-bottom: 18px;
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 0.76rem;
    }

    .hero-tag {
      padding: 5px 10px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.7);
      border: 1px solid rgba(229, 231, 235, 0.5);
    }

    .hero-cta-row {
      margin-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .btn-primary {
      padding: 10px 18px;
      border-radius: 999px;
      border: none;
      background: #ffffff;
      color: #000;
      font-size: 0.88rem;
      font-weight: 600;
      cursor: pointer;
    }

    .btn-ghost {
      padding: 9px 16px;
      border-radius: 999px;
      border: 1px solid rgba(229, 231, 235, 0.7);
      background: transparent;
      color: #e5e7eb;
      font-size: 0.86rem;
      cursor: pointer;
    }

    @media (max-width: 640px) {
      .hero-content {
        padding: 28px 20px 26px;
      }
    }

    section {
      margin-top: 40px;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 16px;
      margin-bottom: 18px;
    }

    .section-title {
padding: 2px 16px;
      font-size: 1.4rem;
      font-weight: 800;
    }

    .section-kicker {
padding: 2px 16px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-size: 0.8rem;
      color: var(--accent);
      margin-bottom: 4px;
    }

    .section-description {
padding: 2px 16px;
      font-size: 0.9rem;
      color: var(--muted);
      max-width: 26rem;
    }

    @media (max-width: 720px) {
      .section-header {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    .highlights-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 0;
}
    }

    @media (max-width: 900px) {
      .highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .highlights-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }
    .link-more {
      display: inline-block;
      margin: 18px 16px 0;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--accent);
      text-decoration: none;
    }

    .link-more:hover {
      text-decoration: underline;
    }

    .highlight-card {
      border-radius: 0;
      overflow: hidden;
      background: var(--bg-soft);
      display: flex;
      flex-direction: column;
    }

    .highlight-image {
      position: relative;
      padding-top: 65%;
      background-size: cover;
      background-position: center center;
      filter: saturate(0.7) contrast(1.02);
    }

    .highlight-body {
      padding: 10px 12px 12px;
      font-size: 0.86rem;
      border-top: 1px solid #e5e7eb;
    }

    .highlight-tag {
      text-transform: uppercase;
      letter-spacing: 0.14em;
      font-size: 0.72rem;
      color: var(--accent);
      margin-bottom: 4px;
    }

    .highlight-title {
      font-weight: 600;
      font-size: 0.95rem;
    }

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

    @media (max-width: 900px) {
      .projects-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .projects-row {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .project-card {
      border-radius: 0;
      overflow: hidden;
      background: var(--bg-soft);
      display: flex;
      flex-direction: column;
    }

    .project-image {
      position: relative;
      padding-top: 70%;
      background-size: cover;
      background-position: center center;
      filter: saturate(0.7) contrast(1.02);
    }

    .project-label {
      position: absolute;
      left: 10px;
      bottom: 10px;
      background: rgba(0, 0, 0, 0.8);
      color: #fff;
      font-size: 0.72rem;
      padding: 4px 9px;
      border-radius: 999px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
    }

    .project-body {
      padding: 10px 12px 12px;
      font-size: 0.86rem;
      border-top: 1px solid #e5e7eb;
    }

    .project-title {
      font-weight: 600;
      font-size: 0.96rem;
      margin-bottom: 3px;
    }
    .project-meta {
      font-size: 0.78rem;
      color: var(--muted);
    }

.project-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.project-link:hover .project-card {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .companies-strip {
      margin-top: 40px;
      margin-left: 12px;
      margin-right: 12px;
      border-radius: var(--radius-lg);
      background: #111111;
      color: #ffffff;
      padding: 23px 30px 23px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .companies-text {
      font-size: 1rem;
    }

    .companies-text strong {
      font-weight: 600;
    }

    .companies-cta {
      padding: 13px 20px;
      border-radius: 999px;
      background: #ffffff;
      color: #111;
      font-size: 1rem;
      font-weight: 600;
      border: none;
      cursor: pointer;
    }

    @media (max-width: 720px) {
      .companies-strip {
        flex-direction: column;
        align-items: flex-start;
      }
    }
    .people-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0;
    }

    @media (max-width: 900px) {
      .people-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .people-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .person-card {
      position: relative;
      min-height: 190px;
      overflow: hidden;
      border-radius: 0;
      color: #fff;
    }
     
    .person-photo {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      filter: saturate(0.6) contrast(1.05);
    }

    .person-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.15));
    }

    .person-info {
      position: absolute;
      left: 8px;
      right: 8px;
      bottom: 8px;
      font-size: 0.78rem;
    }

    .person-name {
      font-weight: 600;
      margin-bottom: 2px;
      font-size: 0.84rem;
    }

    .person-role {
      color: #e5e7eb;
      margin-bottom: 2px;
    }

    .person-focus {
      font-size: 0.73rem;
      color: var(--accent);
    }

.social-section {
  margin-top: 50px;
}

.social-card {
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 16px;
}

.social-text {
  font-size: 0.9rem;
  color: var(--muted);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  overflow: hidden;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 720px) {
  .social-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 0;
}

.news-column {
  display: flex;
  flex-direction: column;
}

.news-column .news-card {
  flex: 1 1 50%;
  min-height: 220px;
}

.news-card--featured .news-image {
  padding-top: 80.2%;
}

.news-card--small .news-image {
  padding-top: 55%;
}

    @media (max-width: 900px) {
      .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .news-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .news-card {
      border-radius: 0;
      overflow: hidden;
      background: var(--bg-soft);
      display: flex;
      flex-direction: column;
      font-size: 0.84rem;
    }

    .news-image {
      position: relative;
      padding-top: 62%;
      background-size: cover;
      background-position: center center;
      filter: saturate(0.7) contrast(1.02);
    }

    .news-body {
      padding: 10px 12px 12px;
      border-top: 1px solid #e5e7eb;
    }

    .news-meta {
      font-size: 0.72rem;
      color: var(--muted);
      margin-bottom: 4px;
    }

    .news-title {
      font-weight: 600;
      margin-bottom: 4px;
    }

    .news-link {
      font-size: 0.78rem;
      color: var(--accent);
    }

    .contact-card {
      margin-top: 12px;
      border-radius: var(--radius-lg);
      background: var(--bg-soft);
      box-shadow: var(--shadow-soft);
      padding: 18px 18px 20px;
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
      gap: 18px;
      font-size: 0.88rem;
    }

    @media (max-width: 800px) {
      .contact-card {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    form {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
      font-size: 0.86rem;
    }

    label {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    input,
    textarea {
      border-radius: 10px;
      border: 1px solid #d1d5db;
      padding: 8px 9px;
      font: inherit;
      background: #f9fafb;
      color: var(--ink);
    }

    textarea {
      min-height: 90px;
      resize: vertical;
    }

    input::placeholder,
    textarea::placeholder {
      color: #9ca3af;
    }

    .btn-submit {
      margin-top: 4px;
      padding: 9px 16px;
      border-radius: 999px;
      border: none;
      background: #111;
      color: #fff;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      justify-self: flex-start;
    }

    .contact-extra {
      font-size: 0.82rem;
      color: var(--muted);
    }

    footer {
      margin: 26px 18px 30px;
      font-size: 0.76rem;
      color: var(--muted);
      text-align: left;
    }

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 0;
  width: 100%;
}

.highlights-grid a {
  display: flex;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.highlight-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--bg-soft);
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.highlight-image {
  width: 100%;
  padding-top: 65%; 
  background-size: cover;
  background-position: center;
}

.highlight-body {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.highlight-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}

.highlight-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);}
}
@media (max-width: 768px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);} 
  }

@media (max-width: 500px) {
  .highlights-grid {
    grid-template-columns: 1fr; }
  }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

@media (max-width: 1200px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

@media (max-width: 1200px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }

}

.project-link { display: block; height: 100%; } /* Hace todo el bloque clickeable */

.project-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  transition: transform 0.2s ease;
}

.project-link:hover .project-card { transform: translateY(-3px); }

.project-image {
  width: 100%;
  aspect-ratio: 4 / 3; /* Proporción rectangular */
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.project-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}

.project-caption {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.hero-focus {
      margin-top: 0;
      border-radius: 0;
      overflow: hidden;
      background: #000;
    }

    .hero-focus-media {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
    }

    .hero-focus-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.80), rgba(0, 0, 0, 0.10));
    }

    .hero-focus-content {
      position: relative;
      color: #ffffff;
      padding: 40px 40px 60px;
      max-width: 720px;
      z-index: 1;
    }

    .hero-eyebrow {
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-size: 0.8rem;
      margin-bottom: 8px;
      color: #e5e7eb;
    }

    .hero-title {
      font-size: clamp(2.6rem, 4vw, 3.4rem);
      font-weight: 700;
      line-height: 1.05;
      margin-bottom: 12px;
    }

    .hero-sub {
      font-size: 1.02rem;
      color: #e5e7eb;
      margin-bottom: 18px;
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 0.8rem;
      margin-bottom: 18px;
    }

    .hero-tag {
      padding: 5px 10px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.7);
      border: 1px solid rgba(229, 231, 235, 0.5);
    }

    .hero-cta-row {
      margin-top: 6px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }
.shell {
      max-width: 1200px;
      margin: 0 auto;
      padding: 50px 40px 60px;
    }

    .layout-inner {
      display: grid;
      grid-template-columns: 220px minmax(0, 1fr);
      gap: 40px;
      align-items: flex-start;
    }

    @media (max-width: 900px) {
      .layout-inner {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .side-menu {
      position: sticky;
      top: 110px;
      font-size: 0.95rem;
    }

    .side-menu-title {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--muted);
      margin-bottom: 10px;
    }

    .side-menu-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .side-menu-list a {
      font-size: 1.02rem;
      font-weight: 600;
      color: #111827;
      opacity: 0.8;
    }

    .side-menu-list a:hover {
      opacity: 1;
    }

    .side-menu-list .current {
      color: var(--accent);
      opacity: 1;
    }

    @media (max-width: 900px) {
      .side-menu {
        position: static;
        margin-bottom: 10px;
      }
      .side-menu-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
      }
    }
    .page-layout {
      max-width: var(--max-width);
      margin: 36px auto 0;
      padding: 0 20px;
      display: grid;
      grid-template-columns: 220px minmax(0, 1fr);
      gap: 40px;
    }

    @media (max-width: 880px) {
      .page-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
      }
    }
    .content-header {
      margin-bottom: 18px;
    }

    .content-kicker {
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-size: 0.8rem;
      color: var(--accent);
      margin-bottom: 6px;
    }

    .content-title {
      font-size: 1.7rem;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .content-intro {
      font-size: 1rem;
      color: var(--muted);
      max-width: 40rem;
      line-height: 1.6;
      margin-bottom: 22px;
    }

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

    @media (max-width: 1080px) {
      .projects-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    @media (max-width: 820px) {
      .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 520px) {
      .projects-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .project-card {
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-size: 0.9rem;
      border-radius: 18px;
      padding: 10px;
    }

    .project-image {
      width: 100%;
      aspect-ratio: 4 / 3;
      background-size: cover;
      background-position: center;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
    }

    .project-title {
      font-size: 0.98rem;
      font-weight: 600;
    }

    .project-caption {
      font-size: 0.86rem;
      color: var(--muted);
    }

    footer {
      max-width: var(--max-width);
      margin: 32px auto 26px;
      padding: 0 20px;
      font-size: 0.78rem;
      color: var(--muted);
      text-align: left;
    }

.page-layout > div > section:first-child {
  margin-top: 0 !important;
}

.section-intro {
  margin-bottom: 60px !important;
  max-width: 45rem;
}

.section-title {
  margin-top: 5px;
  margin-bottom: 15px;
}

.people-grid {
  margin-top: 0;
}

.section-intro {
  padding: 0 16px;
  margin-left: 0;
}

.people-grid-mini {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.people-grid-mini .person-name { font-size: 0.55rem; margin-bottom: 0; }
.people-grid-mini .person-role { font-size: 0.55rem; line-height: 1.2; display: none;  }
.people-grid-mini .person-focus { display: none; }
.people-grid-mini .person-body { padding: 6px 10px; }

@media (max-width: 1200px) { .people-grid-mini { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 800px) { .people-grid-mini { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 500px) { .people-grid-mini { grid-template-columns: repeat(3, 1fr); } }

header nav ul, 
header nav li,
.menu-principal-container ul,
.menu-principal-container li {
    list-style: none !important;
    list-style-type: none !important;
    margin-left: 0;
    padding-left: 0;
}
