/* =====================================================
   VARIABLES
===================================================== */
:root {
  --gold: #caa378;
  --gold-light: #dfd1c2;
  --bg-text: #0e1a2b;
  --grey-background: #f7f7f9;
  --text-light: #4b5563;
  --max-width-var: 1600px;
  --projects-gap: 20px;
  --logo-font-family: 'Playfair Display';
  --logo-basic: 'Roboto';
}

/* =====================================================
   RESET & BASE
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--logo-basic), sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

input,
button,
textarea,
select {
  font: inherit;
}

body {
  color: var(--bg-text);
  line-height: 1.6;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =====================================================
   HEADER / NAVIGATION / COMMONS
===================================================== */

.content-wrapper {
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 48px;
}

.highlight {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.highlight::after {
  content: "";
  position: absolute;
  left: -2.5%;
  bottom: 0;
  width: 105%;
  border: 2px solid var(--gold);
}

.site-header {
  width: 100%;
  z-index: 50;
  padding: 10px 0px 0px 0px;
  margin: 0px 100px;
  max-width: var(--max-width-var);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  max-width: 1700px;
  margin: auto;
}

.eyebrow-logo {
  font-family: var(--logo-font-family), serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.nav a,
.current-page {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 500;
}

.nav a {
  color: var(--gold);
  transition: color 0.4s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--bg-text);
}

.current-page {
  color: var(--bg-text);
  position: relative;
  padding-bottom: 4px;
}

.current-page::after {
  content: "";
  position: absolute;
  left: -5%;
  bottom: 0;
  width: 110%;
  height: 2px;
  background: var(--bg-text);
}

.nav-links {
  display: flex;
  gap: 70px;
  z-index: 1000;
}

.content-section {
  padding: 40px 48px 40px 48px;
  background: var(--grey-background);
  border-radius: 2%;
  margin: 30px 100px;
  max-width: var(--max-width-var);
}

.content-section h2 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.8px;
  margin-bottom: 30px;
}

/* =====================================================
   MAIN PAGE
===================================================== */

body.full-reset,
body.full-reset html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

.diagonal-container {
  position: relative;
  width: 100%;
  height: 100vh;
}

.left-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background-color: var(--grey-background);
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
  box-sizing: border-box;
  z-index: 3;
  padding: clamp(2rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-content {
  max-width: 600px;
}

.name-outline {
  font-size: 7rem;
  font-weight: 900;
  margin: 0;
  line-height: 0.85;
  letter-spacing: 1.1rem;
  color: var(--bg-text);
  font-family: var(--logo-font-family), serif;
  text-align: left;
}

.name-solid {
  font-size: 7rem;
  font-weight: 900;
  margin: 0;
  line-height: 0.85;
  letter-spacing: 1rem;
  color: var(--gold);
  font-family: var(--logo-font-family), serif;
  text-align: left;
  margin-bottom: 20px;
}

.roles {
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 9rem;
}

.minimal-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 60px;
  align-items: right;
}

.minimal-nav a {
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.4s ease;
  color: var(--gold);
}

.minimal-nav a:hover {
  color: var(--bg-text);
}

.minimal-nav-mov {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--grey-background);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  z-index: 1000;
}

.minimal-nav-mov.open {
  display: flex !important;
}

.right-side {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  z-index: 1;
  background-color: var(--grey-background);
}

.slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

.slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  filter:
    saturate(0.9) contrast(1.2) brightness(1.02);
  transform: scale(1.05);
}

.slideshow img.active {
  opacity: 1;
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(0, 90, 120, 0.15),
      rgba(255, 200, 120, 0.18));
  mix-blend-mode: color;
  pointer-events: none;
}

.right-side:hover .slideshow img {
  transform: scale(1.08);
  transition: transform 8s ease;
}

.nav-links.open {
  display: flex;
}

.nav-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-header,
.mobile-footer,
.mobile-hero-monochrome {
  display: none;
}


/* =====================================================
   BIOGRAFIA
===================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 20px;
}

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse>* {
  direction: ltr;
}

.about-image {
  width: 95%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h3 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
  margin-top: 0px;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text p span {
  font-size: 1.15rem;
  color: #1a1a1a;
  font-weight: 600;
}

/* =====================================================
   PROYECTOS
===================================================== */

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card {
  background: #ffffff;
  padding: 20px 32px 10px 32px;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.card-header .icon-box {
  width: 50px;
  height: 50px;
  background: #f0f0f0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.card-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.card p {
  font-size: 1.15rem;
  color: #3a3a3a;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card p span {
  font-size: 1.15rem;
  color: #1a1a1a;
  font-weight: 600;
}

/* =====================================================
   LOGOS SLIDER
===================================================== */
.logos-section {
  padding: 20px 20px 40px 20px;
  text-align: center;
}

.logos-slider {
  overflow: hidden;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;

  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logos-track {
  display: flex;
  animation: scroll 30s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  font-size: 0;

}

.logo-item {
  flex: 0 0 auto;
  min-width: 200px;
  height: 120px;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.logo-item img {
  max-width: 180px;
  max-height: 100px;
  filter: grayscale(100%);
  transition: transform 0.4s ease, filter 0.4s ease;
  object-fit: contain;
}

.logo-item img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.logos-section h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.4;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
  font-style: italic;
}


/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.logos-track:hover {
  animation-play-state: paused;
}

/* =====================================================
   PUBLICACIONES
===================================================== */

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding-top: 5px;
}

.carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.publications-card {
  background: #ffffff;
  padding: 20px 20px;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.publications-card-header {
  display: flex;
  gap: 4rem;
  align-items: center;
  margin-bottom: 0px;
}

.publications-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.publications-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.publications-subtitle span {
  font-weight: 700;
}

.publications-image {
  width: 100%;
  height: 250px;
  margin-bottom: 18px;
  border-radius: 18px;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

.publications-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.35));
}

.publications-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.channel-badge,
.channel-badge-tall {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 90%;
  padding: 6px 6px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
}

.channel-badge-tall img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
}

.channel-badge span {
  font-size: 30px;
  line-height: 1;
  color: var(--text-light)
}

.publications-text p {
  color: #3a3a3a;
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.55;
  flex-grow: 1;
}

.publications-tags {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 10px;
  margin-top: auto;
}

.publications-btn {
  justify-content: center;
  padding: 8px 14px;
  font-size: 0.85rem;
  background: #4b5563;
  color: white;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.2s ease;
  gap: 10px;
  display: inline-flex;
}

.publications-btn i {
  line-height: 1.6;
}

.publications-btn:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

/* =====================================================
   CONTACTO
===================================================== */
.social-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: top;
}

.social-block h4 {
  margin-bottom: 20px;
}

.socials {
  display: flex;
  gap: 20px;
  margin-left: 80px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 260px;
}

.social-icon a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  background-color: #ffffff;
  border-color: var(--gold);
  border-width: 1px;
  border-style: solid;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-size: 20px;
  color: var(--gold);
}

.social-icon a:hover {
  background: var(--gold);
  color: #000;
}

.social-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.social-text strong {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-text span {
  font-size: 13px;
  opacity: 0.8;
}

.contact-left,
.contact-right {
  width: 100%;
}

.contact-right {
  display: block;
  padding-left: 12px;
  padding-right: 12px;
}

.contact-form {
  width: 100%;
  max-width: 100%;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-intro {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 50px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-family: inherit;
}

.contact-btn {
  width: 100%;
  padding: 14px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  justify-content: center;
  background: #4b5563;
  color: white;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.2s ease;
  text-align: center;
}

.contact-btn:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

/* =====================================================
   RESPONSIVE — MOBILE + SMALL PCs
===================================================== */

@media (max-width: 740px) {

  /* HEADER / NAVIGATION / COMMONS */
  .site-header {
    position: relative;
    z-index: 3000;
    width: 100%;
    padding: 12px 16px;
    margin: 0;
  }

  .nav {
    padding: 0;
    gap: 12px;
    align-items: center;
    margin: 20px 10px 0px 10px;
  }

  .eyebrow-logo {
    font-size: 1.5rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background: var(--grey-background);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    z-index: 1000;
    flex-wrap: nowrap;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    display: flex;
    z-index: 3000;
  }

  body.menu-open {
    overflow: hidden;
    height: 100dvh;
    touch-action: none;
  }

  .nav-links a,
  .nav-links .current-page {
    font-size: 1.6rem;
    letter-spacing: 0.08em;
  }

  .nav-links span::after {
    display: none;
  }

  .nav-toggle {
    position: center;

    font-size: 1.9rem;
    background: none;
    border: none;
    cursor: pointer;

    z-index: 3001;

    display: block;
    font-size: 2rem;
    color: var(--gold);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3001;
  }

  .content-section {
    border-radius: 12px;
    padding: 16px;
    margin: 20px 10px;
  }

  .content-section h2 {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
  }

  /* MAIN PAGE */
  .hero-monochrome {
    display: none !important;
  }

  .hero-monochrome {
    display: none !important;
  }

  body.full-reset {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    overflow: hidden;
    background: var(--grey-background);
  }

  /* Main Page: Header */
  .mobile-header {
    flex: 0 0 auto;
    padding: 28px 16px 20px 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 180px;
  }

  .mobile-header .text-content {
    text-align: center;
    max-width: 100%;
    gap: 8px;
    padding-left: 15px;
    padding-bottom: 0px;
  }

  .mobile-header .name-outline {
    font-size: clamp(2.6rem, 8vw, 3.6rem);
    letter-spacing: 0.15rem;
    line-height: 0.9;
  }

  .mobile-header .name-solid {
    font-size: clamp(2.6rem, 8vw, 3.6rem);
    letter-spacing: 0.12rem;
    line-height: 0.9;
    color: var(--gold);
    margin-bottom: 4px;
  }

  .mobile-header .roles {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 0px;
  }

  .mobile-header .role-group {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    color: var(--text-light);
  }

  .mobile-header .role-group span:first-child {
    justify-self: end;
  }

  .mobile-header .role-group span:last-child {
    justify-self: start;
  }

  .mobile-header .dot {
    padding: 0 0.4em;
  }

  .header-emoji {
    position: fixed;
    top: 70px;
    right: 24px;
    transform: translateY(-50%);
    font-size: clamp(4.8rem, 4vw, 6.8rem);
    z-index: 4000;
    cursor: default;
    color: var(--gold);
    pointer-events: none;
  }

  /* Main Page: Slideshow */
  .mobile-hero-monochrome {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    height: calc(100dvh - 180px - 56px);
    /* viewport menos header y footer */
    overflow: hidden;
  }

  .mobile-hero-monochrome .right-side {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: none;
  }

  .mobile-hero-monochrome .slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .mobile-hero-monochrome .slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease, transform 8s ease;
  }

  .mobile-hero-monochrome .slideshow img.active {
    opacity: 1;
    transform: scale(1.12);
  }

  .right-side:hover .slideshow {
    transform: none;
  }

  .mobile-hero-monochrome .slideshow img.active {
    transform: scale(1.12);
  }

  /* Main Page: Footer */
  .mobile-footer {
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;

    z-index: 2000;
    flex-shrink: 0;
  }

  .minimal-nav-mov {
    display: none !important;
  }

  .minimal-nav-mov.open {
    display: flex !important;
    z-index: 5000;
  }

  .minimal-nav-mov a {
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--gold);
    transition: color 0.3s;
  }

  .minimal-nav-mov a:hover {
    color: var(--bg-text);
  }

  .minimal-nav-mov a,
  .minimal-nav-mov .current-page {
    font-size: 1.6rem;
    letter-spacing: 0.08em;
  }

  .minimal-nav-mov span::after {
    display: none;
  }

  /* BIOGRAFIA */
  .about-grid,
  .about-grid.reverse {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .about-image {
    width: 100%;
    aspect-ratio: auto;
    max-height: 300px;
  }

  .about-text p {
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
  }

  .about-text p span {
    font-size: 1rem;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  /* PROYECTOS */
  .columns {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .card {
    flex: 0 0 100%;
    width: 100%;
    padding: 20px;
  }

  .card-header {
    gap: 12px;
  }

  .card-header h3 {
    margin: 0;
    font-size: 1.1rem;
  }

  .card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .card p span {
    font-size: 1rem;
  }

  .icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  /* LOGOS SLIDER */
  .logos-slider {
    max-width: 100%;
    overflow-x: auto;
    padding: 0 10px;
  }

  .logos-track {
    animation: none;
    transform: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
  }

  .logos-track>.logo-item:nth-child(n + 9) {
    display: none;
  }

  .logo-item {
    min-width: auto;
    width: auto;
    height: 48px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-item img {
    height: 100%;
    width: auto;
    max-width: min(140px, 30vw);
    object-fit: contain;
  }

  .logos-section h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .subtitle {
    font-size: 1rem;
    text-align: center;
  }

  .disclaimer {
    font-size: 0.75rem;
    padding: 0 10px;
    text-align: center;
  }

  /* PUBLICACIONES */
  .carousel-viewport {
    overflow: visible;
  }

  .carousel-track {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .publications-card {
    width: 100%;
    margin: 0;
  }

  .publications-image {
    width: 100%;
    height: 200px;
    background: none;
  }

  .publications-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .publications-tags {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .publications-title {
    font-size: 1.1rem;
  }

  .publications-subtitle {
    font-size: 1rem;
  }

  .publications-text p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .publications-btn {
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
  }

  .channel-badge,
  .channel-badge-tall {
    width: 60px;
    height: 60px;
    top: 10px;
    right: 10px;
  }

  .channel-badge img,
  .channel-badge-tall img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .channel-badge span {
    font-size: 20px;
  }

  /* CONTACTO */
  .contact-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
  }

  .contact-intro {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 50px;
  }

  .contact-form {
    width: 100%;
    padding: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    box-sizing: border-box;
  }

  .contact-btn {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 30px;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .socials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .social-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
  }

  .social-icon a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
  }

  .social-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
  }

  .social-text span {
    font-weight: 300;
    color: #555;
  }

}

/* =====================================================
   RESPONSIVE — NORMAL SIZE PCs
===================================================== */

@media (min-width: 741px) and (max-width: 1400px) {

  /* HEADER / NAVIGATION / COMMONS */
  .nav-links a,
  .nav-links .current-page {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
  }

  .nav-links {
    gap: 32px;
    flex-wrap: nowrap;
  }

  .site-header {
    margin: 0 0 0 0;
    padding: 15px 24px 0px 24px;
    width: 100%;
  }

  .nav {
    max-width: 100%;
    padding: 16px 0;
    overflow-x: hidden;
  }

  .content-section {
    border-radius: 12px;
    padding: 20px 24px 20px 24px;
    margin: 30px 50px;
  }

  .content-section h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
  }

  /* MAIN PAGE */
  body.full-reset {
    overflow: hidden;
  }

  .diagonal-container {
    height: 100svh;
    min-height: 100vh;
    overflow: hidden;
  }

  .left-side,
  .right-side {
    height: 100%;
  }

  .name-outline,
  .name-solid {
    font-size: clamp(2.1rem, 5.5vw, 2.7rem);
    letter-spacing: 0.6rem;
    line-height: 0.9;
  }

  .roles {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    letter-spacing: 0.1em;
    margin-bottom: 5rem;
  }

  .minimal-nav a {
    font-size: 1.3rem;
  }

  .text-content {
    max-width: 520px;
  }

  .btn {
    font-size: 0.8rem;
  }

  .minimal-nav-mov {
    display: none !important;
  }

  /* BIOGRAFIA */
  .about-text p {
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .about-text p span {
    font-size: 1.02rem;
  }

  .about-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
  }

  .about-image {
    width: 100%;
  }

  .about-image img {
    transform: scale(1.03);
  }

  /* PROYECTOS */
  .card-header h3 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .card p span {
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .card-header .icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .logos-section h2 {
    font-size: 2rem;
  }

  .logos-section p {
    font-size: 0.8rem;
  }

  /* PUBLICACIONES */
  .carousel-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .publications-title {
    font-size: 1.05rem;
  }

  .publications-subtitle {
    font-size: 1rem;
  }

  .publications-text p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .publications-btn {
    font-size: 1rem;
  }

  .publications-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  /* CONTACTO */
  .contact-grid {
    display: grid;
    gap: 24px;
  }

  .contact-form {
    max-width: none;
    max-width: 100%;
    min-width: 0;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    padding: 14px 16px;
  }

  .contact-btn {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .socials {
    display: flex;
    gap: 90px;
    margin-left: 20px;
  }

  .social-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 150px;
  }
}