/* =====================================================
   VARIABLES
===================================================== */
:root {
  --accent: #2CB1BC;
  --dark-accent: #1F7A8C;
  --accent-light: #dfd1c2;
  --white: #ffffff;
  --bg-text: #0e1a2b;
  --dark-grey-background: #21252A;
  --grey-background: #f7f7f9;
  --text-light: #4b5563;
  --max-width-var: 2000px;
  --projects-gap: 20px;
  --logo-font-family: 'Merriweather';
  --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
===================================================== */
.site-header,
.site-footer,
.site-footer-main {
  width: 100%;
  z-index: 50;
  margin: 0 0 0 0;
  padding-left: 100px;
  padding-right: 100px;
  padding-top: 15px;
  max-width: var(--max-width-var);
  background-color: var(--dark-grey-background);
}

.site-footer-main {
  padding-left: 100px;
  height: 5px;
  font-size: 0.8rem;
}

.site-header {
  height: 100px;
}

.site-footer {
  min-height: 50px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  max-width: var(--max-width-var);
  margin: auto;
}

.brand-group {
  display: flex !important;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
}

.site-logo,
.site-logo-main {
  height: 45px;
  width: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.site-logo-main {
  height: 100px;
}

.text-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  transform: translateY(3px);
}

.horizontal-divider,
.horizontal-divider-main {
  width: 100%;
  height: 1px;
  background-color: var(--white);
  opacity: 1;
  margin: 2px 0px -1px 0px;
}

.horizontal-divider {
  max-width: 300px;
}

.tagline,
.tagline-main {
  font-family: var(--logo-font-family), serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.04em;
  opacity: 0.9;
  margin: 0;
  white-space: nowrap;
  padding-left: 5px;
  padding-right: 5px;
}

.tagline-main {
  font-size: 1.8rem;
}

.eyebrow-logo,
.eyebrow-logo-main {
  font-family: var(--logo-font-family), serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
  white-space: nowrap;
  padding-left: 5px;
}

.eyebrow-logo-main {
  font-size: 2.5rem;
}

.nav-links,
.current-page {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 300;
}

.nav a {
  color: var(--white);
  transition: color 0.4s ease;
}

.current-page {
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
  font-weight: 500;
}

.current-page::after {
  content: "";
  position: absolute;
  left: -5%;
  bottom: 0;
  width: 110%;
  height: 2px;
  background: var(--white);
}

.nav-links {
  display: flex;
  gap: 70px;
  z-index: 1000;
  transform: translateY(3px);
}

.content-section,
.content-section-w {
  padding: 40px 48px 40px 48px;
  border-radius: 2%;
  margin: 0px 100px 20px 100px;
  max-width: var(--max-width-var);
}

.content-section {
  background: var(--grey-background);
}

.section-title {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.section-suptitle {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0px;
}

.footer-content {
  font-size: 0.95rem;
  color: var(--white);
}

/* =====================================================
   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: 70%;
  height: 100%;
  background-color: var(--dark-grey-background);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
  box-sizing: border-box;
  z-index: 3;
  padding: clamp(2rem, 6vw, 6rem);
  padding-left: clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.minimal-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
  margin-left: 150px;
  align-items: right;
}

.minimal-nav a {
  position: relative;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.4s ease;
  color: var(--accent);
}

.minimal-nav a::before {
  content: "";
  position: absolute;
  left: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background-color: var(--accent);
  transition: height 0.25s ease;
}

.minimal-nav a:hover {
  color: var(--white);
}

.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;
}

.main-citation {
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
  font-weight: 400;
  margin-top: 50px;
  margin-bottom: 20px;
  margin-left: 100px;
}

.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: 110%;
  position: relative;
}

.slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.2) brightness(1.02);
}

.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-main-content {
  display: none;
}

/* =====================================================
   SKILLS
===================================================== */

/* Biography */
.bio-wrapper {
  display: grid;
  grid-template-columns: 1fr 0.3fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 0px;
}

.bio-text p {
  font-size: 1.15rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

.bio-text p span {
  font-size: 1.15rem;
  font-weight: 600;
}

.bio-photo {
  overflow: hidden;
  border: 4px solid var(--grey-background);
  border-radius: 2%;
  width: 100%;
  aspect-ratio: 0.64;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0rem;
  margin-top: 20px;
  text-align: center;
}

.stats-main {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.2rem;
}

.stat-item {
  flex: 1 1 240px;
  min-width: 120px;
  max-width: 240px;
  text-align: center;
}

.stat-item-main {
  flex: 1 1 1 1;
  min-width: 200px;
  max-width: 200px;
  text-align: center;
  background-color: var(--grey-background);
  border-radius: 10px;
  padding: 5px;
}

.stat-number,
.stat-number-main {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark-accent);
  line-height: 1;
}

.stat-number-main {
  font-size: 2.5rem;
}

.stat-label,
.stat-label-main {
  font-size: 1.15rem;
  color: var(--gray);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.stat-label-main {
  font-size: 1rem;
  margin-top: 0rem;
  margin-bottom: 0rem;
  color: var(--bg-text);
}

/* SKILL CARDS*/
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 10px;
}

.left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.skill-card {
  background: var(--grey-background);
  padding: 20px 8px 10px 8px;
  border-radius: 24px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.skill-card:hover {
  transform: translateY(-3px);
}

.skill-card .card-header {
  grid-area: header;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.skill-card .icon-box {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.skill-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.skill-card-p {
  font-size: 1.02rem;
  line-height: 1.6;
}

.skill-card-p span {
  font-size: 1.15rem;
  font-weight: 600;
}

.tools-section {
  margin-top: 30px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--grey-background);
  padding: 10px 8px 10px 8px;
  border-radius: 18px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.tool-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.tool-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: all 0.25s ease;
}

.tool-item span {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Hover Interaction */
.tool-item:hover {
  transform: translateY(-3px);
}

.tool-item:hover img {
  filter: grayscale(0%);
}

/* =====================================================
   PROYECTOS
===================================================== */

.project-card {
  background: var(--grey-background);
  padding: 20px 16px 10px 16px;
  border-radius: 24px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.project-card:hover {
  transform: translateY(-3px);
}

.project-card .card-header {
  grid-area: header;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.project-card .icon-box {
  width: 70px;
  height: 70px;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.evidence-col {
  grid-area: evidence;
}

/* TITLE COLUMN */
.title-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.25;
  margin-top: 10px;
}

.project-meta {
  font-size: 0.95rem;
  color: #64748b;
  white-space: nowrap;
}

/* EVIDENCE COLUMN */
.evidence-col {
  display: flex;
  flex-direction: column;
  gap: 10px;

  padding-left: 16px;
  border-left: 1px solid rgba(2, 6, 23, 0.06);
}

.evidence-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 5px;
}

/* LINKS */
.project-link {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
  margin-left: 4px;
  white-space: nowrap;
}

.evidence-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  align-items: baseline;
  margin: 0 0 0 0;
}

.evidence-list dt {
  min-width: 70px;
  font-size: 0.675rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark-accent);
  background: var(--white);
  padding: 4px 5px;
  border-radius: 999px;
  width: fit-content;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.evidence-list dd {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.48;
  flex: 1;
  min-width: 0;
}

/* =====================================================
   CONTACTO
===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.4fr;
  gap: 64px;
  align-items: top;
}

.socials {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.social-item {
  display: flex;
  gap: 16px;
  min-width: 260px;
}

.social-icon a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  background-color: var(--white);
  border-color: var(--accent);
  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(--accent);
}

.social-icon a:hover {
  background: var(--accent);
  color: var(--white);
}

.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: flex;
  justify-content: flex-end;
}

.contact-form {
  padding: 24px;
  background: var(--grey-background);
  border-radius: 12px;
  margin-left: 100px;
  margin-right: 300px;
}

.contact-intro {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.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%;
  max-width: 800px;
  padding: 14px;
  font-weight: 600;
  cursor: pointer;
  justify-content: center;
  justify-items: center;
  text-align: center;
  background: #4b5563;
  color: white;
  border-radius: 15px;
  transition: background 0.25s ease, transform 0.2s ease;
  border: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.contact-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* =====================================================
   RESPONSIVE — MOBILE + SMALL PCs
===================================================== */

@media (max-width: 740px) or ((max-width: 1400px) and (orientation: portrait)) {

  body {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    margin: 0;
  }

  /* HEADER / NAVIGATION / COMMONS */
  .site-header,
  .site-footer {
    position: relative;
    z-index: 3000;
    width: 100%;
    margin: 0 0 0 0;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0;
  }

  .nav {
    padding: 0;
    gap: 12px;
    align-items: center;
    margin: 0px 10px 0px 10px;
    padding-block-start: clamp(8px, 5vw + 4px, 15px);
  }

  .site-logo {
    height: 40px;
  }

  .text-column {
    transform: translateY(0px);
  }

  .tagline {
    font-size: 0.8rem;
  }

  .eyebrow-logo {
    font-size: 1.2rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background: var(--dark-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(--white);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3001;
  }

  .content-section,
  .content-section-w {
    border-radius: 12px;
    padding: 16px;
    margin: 20px 10px 20px 10px;
  }

  .section-suptitle {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
  }

  .main-citation {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.25;
    margin-top: 15px;
    margin-bottom: 0px;
    letter-spacing: -0.5px;
    margin-left: 0px;
  }

  .section-title {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .site-footer-main {
    padding-left: 0px;
  }

  /* MAIN PAGE */
  .hero-monochrome {
    display: none !important;
  }

  body.full-reset {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    overflow: hidden;
    background: var(--dark-grey-background);
  }

  /* Main Page: Header */
  .mobile-header {
    flex: 0 0 auto;
    padding: 28px 16px 10px 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 180px;
  }

  .site-logo-main {
    height: 50px;
  }

  .tagline-main {
    font-size: 1rem;
  }

  .eyebrow-logo-main {
    font-size: 1.3rem;
  }

  .text-column-main {
    transform: translateY(2px);
  }

  /* Main Page: Slideshow */
  .mobile-main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    background: var(--grey-background);
    color: var(--bg-text);
    overflow: hidden;
    width: 100%;
    height: calc(100dvh - 180px - 56px);
  }

  .stats-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    min-width: 390px;
    max-width: 600px;
  }

  .stat-item-main {
    flex: 1 1 1 1;
    min-width: 100px;
    max-width: 100px;
    background: var(--grey-background);
    padding: 8px 8px;
    border-radius: 12px;
  }

  .stat-number-main {
    font-size: 1.3rem;
  }

  .stat-label-main {
    font-size: 0.7rem;
  }

  .mobile-main-content .right-side {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: none;
  }

  .mobile-main-content .slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .mobile-main-content .slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
  }

  /* Main Page: Footer */
  .mobile-footer {
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    max-height: 50px;

    z-index: 2000;
    flex-shrink: 0;
  }

  .minimal-nav-mov {
    display: none !important;
  }

  .minimal-nav-mov.open {
    display: flex !important;
    z-index: 5000;
    background: var(--dark-grey-background);
  }

  .minimal-nav-mov a {
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--white);
    transition: color 0.3s;
  }

  .minimal-nav-mov a,
  .minimal-nav-mov .current-page {
    font-size: 1.6rem;
    letter-spacing: 0.08em;
  }

  .minimal-nav-mov span::after {
    display: none;
  }

  /* SKILLS */
  .bio-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* 32px – comfortable breathing room */
    align-items: center;
    /* centers photo horizontally */
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .bio-text {
    width: 100%;
    order: 1;
    /* text first */
  }

  .bio-photo {
    width: 100%;
    max-width: 300px;
    /* prevents it from becoming too wide on larger phones */
    aspect-ratio: 3 / 4;
    /* or 4/5 – slightly less tall than original */
    border-width: 3px;
    /* slightly thinner border on mobile */
    border-radius: 16px;
    order: -1;
    /* photo below text */
  }

  .bio-photo img {
    object-position: top;
    /* better face positioning if it's a headshot */
  }

  /* Optional: make stats full-width and nicely spaced */
  .stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1rem 1rem;
    width: 100%;
  }

  .stat-item {
    flex: 1 1 45%;
    /* two per row on most phones */
    min-width: unset;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  .columns {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .skill-card {
    flex: 0 0 100%;
    width: 100%;
    padding: 20px;
  }

  .card-header {
    gap: 12px;
  }

  /* PROYECTOS */
  .project-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "evidence";
    gap: 20px;
    align-items: stretch;
  }

  /* Header becomes compact row */
  .card-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .project-card .icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
    flex-shrink: 0;
  }

  .title-col {
    gap: 6px;
  }

  .project-title {
    font-size: 1.1rem;
  }

  .project-meta {
    font-size: 1rem;
    white-space: normal;
  }

  .evidence-list dt {
    min-width: unset;
    font-size: 0.65rem;
  }

  .evidence-list .dd {
    font-size: 1rem;
    line-height: 1.55;
  }

  /* CONTACTO */
  .contact-grid {
    display: grid;
    gap: 0rem;
    grid-template-columns: 1fr;
  }

  .contact-intro {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 5px;
  }

  .contact-right {
    display: grid;
    grid-template-columns: 1fr;
  }

  .socials {
    display: grid;
    gap: 3rem;
    justify-items: start;
    text-align: left;
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .social-item {
    display: flex;
    align-items: left;
    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;
  }

  .contact-form {
    width: 100%;
    padding: 12px;
    margin-left: 0px;
    margin-right: 0px;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .form-group {
    margin-bottom: 1rem;
  }
}

/* =====================================================
   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,
  .site-footer {
    margin: 0 0 0 0;
    margin: 0 0 0 0;
    padding-left: 100px;
    padding-right: 100px;
    width: 100%;
  }

  .nav {
    max-width: 100%;
    padding: 16px 0;
    overflow-x: hidden;
  }

  .content-section,
  .content-section-w {
    border-radius: 12px;
    padding: 20px 24px 20px 24px;
    margin: 20px 50px 0px 50px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-suptitle {
    font-size: 1.8rem;
  }

  .main-citation {
    font-size: 1.5rem;
    margin-left: 50px;
  }

  /* MAIN PAGE */
  body.full-reset {
    overflow: hidden;
  }

  .diagonal-container {
    height: 100svh;
    min-height: 100vh;
    overflow: hidden;
  }

  .left-side,
  .right-side {
    height: 100%;
  }

  .minimal-nav a {
    font-size: 1.7rem;
  }

  .btn {
    font-size: 0.8rem;
  }

  .minimal-nav-mov {
    display: none !important;
  }

  .stat-item-main {
    min-width: 130px;
    max-width: 130px;
  }

  .stat-number-main {
    font-size: 1.5rem;
  }

  .stat-label-main {
    font-size: 0.7rem;
  }

  .site-footer-main {
    padding-left: 0px;
  }

  /* SKILLS */
  .bio-text p {
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .bio-text p span {
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .stat-label {
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .skill-card-p {
    font-size: 1.02rem;
  }

  .skill-card-p span {
    font-size: 1.02rem;
  }

  /* PROYECTOS */
  .project-title {
    font-size: 1.2rem;
    margin-top: 0px;
  }

  .project-meta {
    font-size: 0.8rem;
  }

  .card-header .icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .evidence-list dd {
    font-size: 0.9rem;
  }

  /* CONTACTO */
  .contact-grid {
    display: grid;
    gap: 24px;
  }

  .contact-form {
    max-width: 100%;
    min-width: 0;
    margin-right: 100px;
  }

  .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;
    text-align: center;
  }

  .social-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 150px;
  }
}