@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --ink: #112541;
  --deep: #09182c;
  --gold: #e0ad35;
  --paper: #f6f3eb;
  --warm: #ece7da;
  --mist: #d9e1e5;
  --blue: #76a4bc;
  --text: #29333c;
  --muted: #68727a;
  --line: #d9d6ce;
  --container: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.55;
}
img {
  display: block;
  width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 14px max(24px, calc((100vw - var(--container)) /2));
  background: var(--deep);
  color: white;
  position: relative;
  z-index: 5;
}
.light-header {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}
.brand strong {
  display: block;
  font-size: 25px;
  line-height: 0.86;
  letter-spacing: -1.5px;
}
.brand strong span {
  color: var(--gold);
}
.brand small {
  display: block;
  color: inherit;
  opacity: 0.67;
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.045em;
  margin-top: 7px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.brand-mark::before {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 9px #e0ad35;
}
.brand-mark i {
  position: absolute;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
  transform: rotate(var(--angle));
}
.brand-mark i:nth-child(1) {
  --angle: 28deg;
}
.brand-mark i:nth-child(2) {
  --angle: 90deg;
}
.brand-mark i:nth-child(3) {
  --angle: 152deg;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
  font-weight: 500;
}
.site-nav a {
  opacity: 0.78;
  transition:
    opacity 0.2s,
    color 0.2s;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--gold);
  opacity: 1;
}
.site-nav .nav-contact {
  border: 1px solid currentColor;
  padding: 8px 13px;
  opacity: 1;
}
.site-nav .nav-contact:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}
.nav-toggle {
  display: none;
  border: 1px solid currentColor;
  padding: 7px 10px;
  color: inherit;
  background: transparent;
  font:
    500 12px 'DM Mono',
    monospace;
}
.hero {
  min-height: 650px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(
    circle at 80% 40%,
    #31546f 0%,
    var(--ink) 42%,
    var(--deep) 85%
  );
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.36;
  background: linear-gradient(115deg, rgba(5, 12, 22, 0.9), transparent 60%);
}
.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(217, 225, 229, 0.23) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 225, 229, 0.23) 1px, transparent 1px);
  background-size: 58px 58px;
  transform: perspective(500px) rotateX(58deg) translateY(220px) scale(1.9);
  transform-origin: bottom;
}
.hero-copy {
  padding-top: 112px;
}
.eyebrow {
  margin: 0 0 18px;
  font:
    500 11px 'DM Mono',
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #856921;
}
.eyebrow.light {
  color: #e9c76e;
}
.hero h1,
.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.99;
  font-size: clamp(48px, 6.5vw, 90px);
  margin: 0;
  max-width: 800px;
}
.hero h1 em,
.page-hero h1 em {
  color: var(--gold);
  font-weight: 500;
}
.hero-intro {
  font-size: 19px;
  color: #d7e0e5;
  max-width: 580px;
  margin: 28px 0;
}
.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-gold {
  background: var(--gold);
  color: var(--deep);
}
.button-gold:hover {
  background: #edc557;
}
.button-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.button-outline:hover {
  background: #fff;
  color: var(--deep);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.text-link.light {
  color: #fff;
}
.hero-orbit {
  width: 540px;
  height: 540px;
  border: 1px solid rgba(215, 233, 240, 0.3);
  border-radius: 50%;
  position: absolute;
  right: -135px;
  top: 70px;
  z-index: -1;
}
.hero-orbit::before,
.hero-orbit::after,
.hero-orbit span {
  content: '';
  position: absolute;
  border: 1px solid rgba(215, 233, 240, 0.3);
  border-radius: 50%;
  inset: 70px -102px;
  transform: rotate(51deg);
}
.hero-orbit::after {
  inset: -80px 110px;
  transform: rotate(-38deg);
}
.hero-orbit span:nth-child(2) {
  inset: 155px -65px;
  transform: rotate(-55deg);
}
.hero-orbit b {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 35px 12px rgba(224, 173, 53, 0.3);
  top: 110px;
  left: 165px;
}
.hero-caption {
  position: absolute;
  bottom: 22px;
  right: max(24px, calc((100vw - var(--container)) /2));
  margin: 0;
  font:
    10px 'DM Mono',
    monospace;
  color: #b5c5cd;
}
.intro-section {
  padding: 112px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
}
.intro-section h2,
.section-heading h2,
.study-section h2,
.closing-band h2 {
  font:
    500 clamp(35px, 4vw, 57px)/1.04 'Playfair Display',
    Georgia,
    serif;
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--ink);
}
.intro-text {
  padding-top: 25px;
  font-size: 18px;
}
.intro-text p {
  margin-top: 0;
}
.research-preview {
  padding: 94px 0 105px;
  background: #e8e4da;
}
.section-heading {
  margin-bottom: 42px;
}
.section-heading h2 {
  max-width: 700px;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}
.topic-card {
  position: relative;
  min-height: 338px;
  padding: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #fff;
  transition: transform 0.25s;
}
.topic-card:hover {
  transform: translateY(-6px);
}
.topic-higgs {
  background: var(--ink);
}
.topic-bsm {
  background: #8c672e;
}
.topic-neutrino {
  background: #315e6c;
}
.topic-cosmos {
  background: #4e5667;
}
.topic-card::before {
  content: '';
  position: absolute;
  width: 230px;
  height: 230px;
  right: -75px;
  top: 61px;
  opacity: 0.5;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow:
    0 0 0 35px transparent,
    0 0 0 36px currentColor,
    0 0 0 71px transparent,
    0 0 0 72px currentColor;
}
.topic-bsm::before {
  border-radius: 10px;
  transform: rotate(45deg);
}
.topic-neutrino::before {
  width: 140px;
  height: 280px;
  border-radius: 50%;
  transform: rotate(64deg);
}
.topic-cosmos::before {
  width: 310px;
  height: 80px;
  top: 135px;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.topic-number {
  font:
    500 11px 'DM Mono',
    monospace;
  opacity: 0.7;
}
.topic-icon {
  margin: auto 0 14px;
  position: relative;
  font:
    500 67px/1 'Playfair Display',
    serif;
  color: #f4df94;
}
.topic-card h3 {
  position: relative;
  font-size: 20px;
  line-height: 1.15;
  margin: 0 0 9px;
}
.topic-card p {
  position: relative;
  font-size: 14px;
  margin: 0;
  opacity: 0.86;
  line-height: 1.4;
}
.card-arrow {
  position: absolute;
  right: 20px;
  top: 17px;
  font-size: 22px;
}
.study-section,
.closing-band {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: white;
  padding: 110px 0;
}
.study-section::after {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  right: -220px;
  top: -230px;
  border: 1px solid rgba(207, 225, 233, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 75px transparent,
    0 0 0 76px rgba(207, 225, 233, 0.18),
    0 0 0 152px transparent,
    0 0 0 153px rgba(207, 225, 233, 0.11);
}
.study-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.study-section h2,
.closing-band h2 {
  color: white;
  max-width: 850px;
}
.study-content > p:not(.eyebrow) {
  font-size: 18px;
  max-width: 690px;
  color: #d0dbe1;
  margin: 26px 0 35px;
}
.study-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  margin: 35px 0;
}
.study-points div {
  padding: 17px 18px 17px 0;
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 13px;
}
.study-points div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  padding-left: 18px;
}
.study-points strong {
  color: var(--gold);
  font:
    500 12px 'DM Mono',
    monospace;
}
.people-preview {
  padding: 108px 0;
}
.inline-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}
.people-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.person-teaser {
  background: #fff;
  border: 1px solid var(--line);
}
.person-teaser img {
  aspect-ratio: 1.35;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(0.82);
}
.person-teaser:nth-child(2) img {
  object-position: center 30%;
}
.person-teaser div {
  padding: 20px;
}
.person-teaser h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 19px;
}
.person-teaser p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}
.site-footer {
  background: #081525;
  color: #d9e1e5;
  padding: 60px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 45px;
}
.footer-brand {
  color: #fff;
}
.site-footer p {
  margin: 16px 0 0;
  color: #aebdc4;
  font-size: 14px;
}
.footer-label {
  color: #e9c76e !important;
  font:
    500 10px 'DM Mono',
    monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.site-footer a:not(.brand) {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-top: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 46px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  color: #8ba0aa;
  font:
    10px 'DM Mono',
    monospace;
}
.page-hero {
  padding: 105px 0 88px;
  background: linear-gradient(180deg, #f3f0e8, #e8e4da);
}
.page-hero h1 {
  color: var(--ink);
  max-width: 900px;
}
.page-hero h1 em {
  color: #967327;
}
.page-hero p:last-child {
  max-width: 700px;
  margin: 26px 0 0;
  font-size: 18px;
}
.research-list {
  padding: 40px 0 105px;
}
.research-entry {
  display: grid;
  grid-template-columns: 60px 310px 1fr;
  gap: 48px;
  align-items: center;
  padding: 65px 0;
  border-bottom: 1px solid var(--line);
}
.research-entry.reverse {
  grid-template-columns: 60px 1fr 310px;
}
.research-entry.reverse .entry-visual {
  grid-column: 3;
}
.research-entry.reverse > div:last-child {
  grid-column: 2;
  grid-row: 1;
}
.entry-index {
  color: #8b722b;
  font:
    500 11px 'DM Mono',
    monospace;
  align-self: start;
  padding-top: 7px;
}
.entry-visual {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  background: var(--ink);
  color: var(--gold);
}
.entry-visual span {
  position: relative;
  z-index: 1;
  font:
    500 142px/1 'Playfair Display',
    serif;
}
.entry-visual::before,
.entry-visual::after {
  content: '';
  position: absolute;
  border: 1px solid currentColor;
  opacity: 0.72;
}
.visual-higgs::before {
  width: 68%;
  height: 68%;
  border-radius: 50%;
  box-shadow:
    0 0 0 26px transparent,
    0 0 0 27px currentColor;
}
.visual-higgs::after {
  width: 150%;
  border-top: 1px solid currentColor;
  transform: rotate(-33deg);
}
.visual-bsm {
  background: #80602d;
}
.visual-bsm::before {
  width: 65%;
  height: 65%;
  transform: rotate(45deg);
}
.visual-bsm::after {
  width: 135%;
  height: 40%;
  border-radius: 50%;
  transform: rotate(-30deg);
}
.visual-neutrino {
  background: #2c5c6b;
}
.visual-neutrino::before {
  width: 105%;
  height: 42%;
  border-radius: 50%;
  transform: rotate(-37deg);
  box-shadow:
    0 0 0 35px transparent,
    0 0 0 36px currentColor;
}
.visual-cosmos {
  background: #454f66;
}
.visual-cosmos::before {
  width: 175%;
  height: 55%;
  border-radius: 50%;
  transform: rotate(30deg);
  box-shadow:
    0 0 0 32px transparent,
    0 0 0 33px currentColor;
}
.research-entry h2 {
  margin: 0 0 15px;
  color: var(--ink);
  font:
    500 35px/1.05 'Playfair Display',
    serif;
  letter-spacing: -0.04em;
}
.research-entry p {
  margin: 0;
  font-size: 16px;
}
.research-entry ul {
  display: flex;
  gap: 8px 15px;
  flex-wrap: wrap;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #59636a;
}
.research-entry li::before {
  content: '•';
  color: var(--gold);
  margin-right: 6px;
}
.closing-band {
  padding: 90px 0;
}
.closing-band h2 {
  font-size: clamp(35px, 4vw, 57px);
  margin-bottom: 30px;
}
.people-hero {
  padding-bottom: 72px;
}
.team-section {
  padding: 64px 0 108px;
}
.team-note {
  margin: 0 0 45px;
  padding: 16px 19px;
  background: #e9e2d0;
  border-left: 3px solid var(--gold);
  color: #5b5c56;
  font-size: 14px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.profile-card {
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 37% 1fr;
  min-height: 310px;
}
.profile-card.profile-featured {
  grid-column: span 2;
  grid-template-columns: 31% 1fr;
  background: #eef2f2;
}
.profile-card img,
.photo-placeholder {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
}
.profile-card.profile-featured img {
  object-position: center 24%;
}
.profile-card:nth-child(2) img {
  object-position: center 35%;
}
.photo-placeholder {
  background: linear-gradient(150deg, #1d4358, #183047);
  color: #f0cf69;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.photo-placeholder span {
  font:
    500 58px/1 'Playfair Display',
    serif;
}
.photo-placeholder small {
  color: #d4e1e6;
  font:
    10px 'DM Mono',
    monospace;
}
.gold-placeholder {
  background: linear-gradient(150deg, #8d6b2b, #5b431d);
}
.profile-content {
  padding: 29px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.profile-role {
  margin: 0 0 8px;
  color: #8a6a24;
  font:
    500 10px 'DM Mono',
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.profile-content h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font:
    500 31px/1 'Playfair Display',
    serif;
  letter-spacing: -0.04em;
}
.profile-content > p:not(.profile-role) {
  margin: 0;
  font-size: 14px;
  color: #4e5b62;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0;
}
.profile-tags span {
  background: #e6edf0;
  color: #27485b;
  padding: 4px 8px;
  font:
    10px 'DM Mono',
    monospace;
}
.profile-content .text-link {
  margin-top: auto;
  font-size: 12px;
  color: var(--ink);
}
@media (max-width: 850px) {
  .site-header {
    padding-inline: 24px;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    padding: 22px 24px;
    background: inherit;
    border-top: 1px solid rgba(128, 128, 128, 0.25);
    box-shadow: 0 14px 25px rgba(0, 0, 0, 0.13);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav .nav-contact {
    text-align: center;
  }
  .intro-section,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .research-entry,
  .research-entry.reverse {
    grid-template-columns: 40px 220px 1fr;
    gap: 24px;
  }
  .research-entry.reverse .entry-visual {
    grid-column: 2;
  }
  .research-entry.reverse > div:last-child {
    grid-column: 3;
  }
  .profile-card,
  .profile-card.profile-featured {
    grid-template-columns: 36% 1fr;
    grid-column: auto;
  }
  .profile-card.profile-featured {
    grid-column: span 2;
  }
  .people-strip {
    gap: 12px;
  }
  .people-preview {
    padding-block: 78px;
  }
}
@media (max-width: 610px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }
  .site-header {
    min-height: 72px;
    padding-inline: 16px;
  }
  .brand strong {
    font-size: 22px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .site-nav {
    top: 72px;
  }
  .hero {
    min-height: 590px;
  }
  .hero-copy {
    padding-top: 85px;
  }
  .hero-intro {
    font-size: 16px;
  }
  .hero-orbit {
    width: 390px;
    height: 390px;
    top: 180px;
    right: -230px;
  }
  .hero-caption {
    display: none;
  }
  .intro-section {
    padding: 72px 0;
  }
  .intro-text {
    padding-top: 0;
    font-size: 16px;
  }
  .topic-grid,
  .people-strip,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .topic-card {
    min-height: 255px;
  }
  .study-section,
  .closing-band {
    padding: 75px 0;
  }
  .study-points {
    grid-template-columns: 1fr;
  }
  .study-points div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    padding-left: 0;
  }
  .inline-heading {
    display: block;
  }
  .inline-heading .text-link {
    margin-top: 22px;
  }
  .people-strip {
    gap: 15px;
  }
  .person-teaser {
    display: grid;
    grid-template-columns: 115px 1fr;
  }
  .person-teaser img {
    height: 100%;
    aspect-ratio: auto;
  }
  .page-hero {
    padding: 76px 0 60px;
  }
  .page-hero p:last-child {
    font-size: 16px;
  }
  .research-list {
    padding: 22px 0 65px;
  }
  .research-entry,
  .research-entry.reverse {
    grid-template-columns: 32px 1fr;
    gap: 18px;
    padding: 43px 0;
  }
  .entry-index {
    grid-row: 1;
  }
  .entry-visual,
  .research-entry.reverse .entry-visual {
    grid-row: 1;
    grid-column: 2;
    width: 150px;
  }
  .research-entry > div:last-child,
  .research-entry.reverse > div:last-child {
    grid-column: 2;
    grid-row: 2;
  }
  .research-entry h2 {
    font-size: 29px;
  }
  .profile-card,
  .profile-card.profile-featured {
    grid-template-columns: 1fr;
    grid-column: auto;
  }
  .profile-card.profile-featured {
    grid-column: auto;
  }
  .profile-card img,
  .photo-placeholder {
    min-height: 250px;
    max-height: 330px;
  }
  .profile-content {
    padding: 24px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin-top: 7px;
  }
}

/* Logo oficial del grupo: la fuente tiene resolución suficiente para este uso web. */
.brand-mark {
  border: 0;
  border-radius: 0;
  background: url('assets/LogoShort.png?v=20260901') center/contain no-repeat;
}
.brand-mark::before,
.brand-mark i {
  display: none;
}

/* Versiones y líneas temáticas */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid currentColor;
  color: inherit;
  font:
    500 10px 'DM Mono',
    monospace;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0.8;
}
.lang-switch a {
  padding: 4px 6px;
  opacity: 0.62;
  transition:
    background 0.2s,
    color 0.2s,
    opacity 0.2s;
}
.lang-switch a:hover,
.lang-switch a:focus-visible {
  opacity: 1;
  color: var(--gold);
}
.lang-switch a.active {
  background: var(--gold);
  color: var(--deep);
  opacity: 1;
}
.lang-switch span {
  opacity: 0.45;
}
.topic-heart {
  background: #962c39;
}
.topic-diamond {
  background: #b45b31;
}
.topic-club {
  background: #285e54;
}
.topic-spade {
  background: #273550;
}
.topic-card::before {
  display: none;
}
.topic-number {
  position: relative;
  z-index: 1;
}
.topic-background-number {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 0;
  color: rgba(255, 255, 255, 0.15);
  font:
    600 190px/0.8 'DM Sans',
    Arial,
    sans-serif;
  pointer-events: none;
}

/* Investigación: las mismas cuatro cartas, ampliadas */
.research-cards-section {
  padding: 62px 0 104px;
}
.research-page-intro {
  max-width: 690px;
  margin-bottom: 34px;
  font-size: 17px;
}
.research-page-intro p:last-child {
  margin: 0;
}
.research-topic-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.research-detail {
  min-height: 490px;
  padding: 28px;
}
.research-detail .topic-background-number {
  right: 16px;
  bottom: 12px;
  font-size: 230px;
}
.research-detail .detail-kicker {
  margin: 29px 0 8px;
  font:
    500 10px 'DM Mono',
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.research-detail h2 {
  position: relative;
  margin: 0 0 14px;
  font:
    500 31px/1.03 'Playfair Display',
    Georgia,
    serif;
  letter-spacing: -0.035em;
}
.detail-copy {
  position: relative;
  max-width: 485px;
  font-size: 15px;
  line-height: 1.48;
}
.detail-copy p + p {
  margin-top: 10px;
}
.research-detail ul {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  font-size: 12px;
}
.research-detail li::before {
  content: '•';
  margin-right: 6px;
  color: #f4df94;
}

/* Personas y propuesta formativa */
.attention-note {
  background: #090909;
  border: 2px solid #e84242;
  color: #ff5757;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.study-page-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  padding: 98px 0;
}
.study-page-lead h2 {
  color: var(--ink);
  font:
    500 45px/1.04 'Playfair Display',
    Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
}
.study-page-lead > p:last-child {
  margin: 0;
  font-size: 17px;
}
.study-route-grid {
  border-top: 1px solid var(--line);
}
.study-route-grid article {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.study-route-grid span {
  grid-row: span 2;
  color: #987329;
  font:
    500 11px 'DM Mono',
    monospace;
}
.study-route-grid h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 19px;
}
.study-route-grid p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.project-types {
  padding: 88px 0;
  background: #e8e4da;
}
.project-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.project-type-grid article {
  min-height: 280px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  background: #f7f5ef;
  border-top: 3px solid var(--gold);
}
.project-type-grid p {
  margin: 0;
  color: #8b6c28;
  font:
    500 12px 'DM Mono',
    monospace;
}
.project-type-grid h2 {
  margin: 31px 0 auto;
  color: var(--ink);
  font:
    500 29px/1.05 'Playfair Display',
    Georgia,
    serif;
  letter-spacing: -0.035em;
}
.project-type-grid span {
  font-size: 14px;
  color: var(--muted);
}
.direct-contact {
  padding: 96px 0;
  color: #fff;
  background: var(--ink);
}
.direct-contact > .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.direct-contact h2 {
  margin: 0;
  font:
    500 50px/1.04 'Playfair Display',
    Georgia,
    serif;
  letter-spacing: -0.04em;
}
.direct-contact p:not(.eyebrow) {
  margin: 22px 0 0;
  max-width: 510px;
  color: #d2dde2;
  font-size: 17px;
}
.contact-list {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.contact-list a {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 15px;
  transition: color 0.2s;
}
.contact-list a:hover {
  color: #f0cc71;
}
.contact-list span {
  color: #a9bdc6;
  font:
    10px 'DM Mono',
    monospace;
  align-self: center;
}

@media (max-width: 850px) {
  .research-topic-grid {
    grid-template-columns: 1fr;
  }
  .study-page-section,
  .direct-contact > .container {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .project-type-grid {
    grid-template-columns: 1fr;
  }
  .project-type-grid article {
    min-height: 200px;
  }
  .project-type-grid h2 {
    margin: 20px 0;
  }
  .direct-contact h2 {
    font-size: 42px;
  }
}
@media (max-width: 610px) {
  .lang-switch {
    margin-top: 7px;
  }
  .research-cards-section {
    padding: 48px 0 68px;
  }
  .research-detail {
    min-height: 0;
    padding: 23px;
  }
  .research-detail h2 {
    font-size: 28px;
  }
  .study-page-section {
    padding: 65px 0;
  }
  .study-page-lead h2 {
    font-size: 36px;
  }
  .project-types {
    padding: 65px 0;
  }
  .direct-contact {
    padding: 65px 0;
  }
  .direct-contact h2 {
    font-size: 37px;
  }
  .contact-list a {
    display: block;
  }
  .contact-list span {
    display: block;
    margin-top: 3px;
  }
}

.profile-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.profile-links .text-link {
  margin-top: 0;
}

.people-preview .team-note {
  margin: 0 0 24px;
}
.person-teaser-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.person-teaser-tags li {
  padding: 4px 7px;
  background: #e6edf0;
  color: #27485b;
  font:
    10px 'DM Mono',
    monospace;
}

/* Vista previa completa del equipo */
.people-strip {
  grid-template-columns: repeat(5, 1fr);
}
.person-teaser-placeholder {
  aspect-ratio: 1.35;
  padding: 0 !important;
  background: linear-gradient(150deg, #8d6b2b, #5b431d);
  color: #f0cf69;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.person-teaser-placeholder span {
  font:
    500 48px/1 'Playfair Display',
    serif;
}
.person-teaser-placeholder small {
  color: #f4e4b8;
  font:
    10px 'DM Mono',
    monospace;
}
@media (max-width: 850px) {
  .people-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Lockup LogoShort: símbolo oficial, nombre y afiliación. */
.site-header {
  min-height: 104px;
}
.brand {
  gap: 14px;
}
.brand-mark {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
}
.brand strong {
  font-size: 38px;
  line-height: 0.82;
  letter-spacing: -2px;
}
.brand small {
  font-size: 10px;
  letter-spacing: 0.07em;
  margin-top: 9px;
}
@media (max-width: 610px) {
  .site-header {
    min-height: 86px;
  }
  .brand {
    gap: 10px;
  }
  .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
  .brand strong {
    font-size: 31px;
  }
  .brand small {
    font-size: 8px;
    margin-top: 7px;
  }
}

.team-grid {
  grid-template-columns: 1fr;
}
.profile-card,
.profile-card.profile-featured {
  grid-template-columns: 28% 1fr;
  grid-column: auto;
  height: 440px;
  min-height: 0;
  background: #fff;
}
@media (max-width: 850px) {
  .profile-card,
  .profile-card.profile-featured {
    grid-template-columns: 36% 1fr;
  }
}
@media (max-width: 610px) {
  .profile-card,
  .profile-card.profile-featured {
    grid-template-columns: 1fr;
    height: 740px;
    min-height: 0;
  }
}

/* Encuadres específicos: Inicio y Personas emplean proporciones diferentes. */
.person-teaser img[src*="ernesto-arganda"] { object-position: 72% 45%; }
.person-teaser img[src*="pier-paolo-giardino"] { object-position: center 8%; }
.person-teaser img[src*="luca-merlo"] { object-position: center 12%; }
.person-teaser img[src*="ivan-martinez-soler"] { object-position: center top; }
.person-teaser img[src*="jose-miguel-no"] { object-position: 35% 14%; }

.profile-card img[src*="ernesto-arganda"] { object-position: 78% 42%; }
.profile-card img[src*="pier-paolo-giardino"] { object-position: center 30%; }
.profile-card img[src*="luca-merlo"] { object-position: center 32%; }
.profile-card img[src*="ivan-martinez-soler"] { object-position: center 37%; }
.profile-card img[src*="jose-miguel-no"] { object-position: 34% 35%; }
