@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  font-family: var(--font-body);
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

:root {
  --dark: #2b3a47;
  --primary: #128793;
  --light-blue: #c7dee1;
  --background-soft: #eef4f4;

  --font-title: "Merriweather", serif;
  --font-body: "Montserrat", sans-serif;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, var(--light-blue) 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.hero-content {
  min-width: 0;
}

.hero-subtitle {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--dark);
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
}

.hero-description {
  max-width: 650px;
  margin: 0 0 36px;
  color: rgba(43, 58, 71, 0.78);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-brand {
  margin-top: 48px;
}

.hero-brand img {
  display: block;
  width: min(100%, 430px);
  height: auto;
}

.hero-visual {
  width: 100%;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(43, 58, 71, 0.14);
}

.btn {
  display: inline-block;

  padding: 16px 32px;

  border-radius: 999px;

  text-decoration: none;

  transition: 0.3s;

  font-weight: 600;
}

.btn-primary {
  background: var(--primary);

  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-outline {
  border: 2px solid var(--primary);

  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);

  color: white;
}

/* =========================
   SOBRE EL NÚCLEO
========================= */

.about {
  padding: 110px 0;
  background: #ffffff;
}

.about-container {
  display: grid;
  gap: 64px;
}

.about-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: clamp(50px, 7vw, 90px);
}

.about-heading {
  max-width: 780px;
}

.about-heading .section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-heading h2 {
  max-width: 850px;
  margin: 0;
  color: var(--dark);
  font-family: var(--font-title);
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.2;
}

.about-intro > p {
  max-width: 560px;
  margin: 0;
  color: rgba(43, 58, 71, 0.74);
  font-size: 1.06rem;
  line-height: 1.85;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.about-card {
  min-height: 280px;
  padding: 32px;
  border: 1px solid rgba(43, 58, 71, 0.1);
  border-radius: 22px;
  background: var(--background-soft);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 135, 147, 0.28);
  box-shadow: 0 20px 45px rgba(43, 58, 71, 0.08);
}

.about-card-number {
  display: block;
  margin-bottom: 46px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-card h3 {
  margin: 0 0 16px;
  color: var(--dark);
  font-family: var(--font-title);
  font-size: 1.35rem;
  line-height: 1.35;
}

.about-card p {
  margin: 0;
  color: rgba(43, 58, 71, 0.72);
  line-height: 1.75;
}

/* =========================
   INVESTIGACIÓN
========================= */

.research {
  padding: 110px 0;
  background: var(--dark);
}

/* HEADER */

.research-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: clamp(50px, 7vw, 90px);
  margin-bottom: 55px;
}

.research-heading .section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--light-blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-heading h2 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
}

.research-header > p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* GRID */

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

/* TARJETAS */

.research-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 30px;

  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);

  transition: background-color 0.25s ease;
}

.research-card:hover {
  background: rgba(199, 222, 225, 0.08);
}

/* NÚMERO */

.research-card-number {
  display: block;
  margin-bottom: 28px;

  color: var(--light-blue);

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* TÍTULO */

.research-card h3 {
  max-width: 430px;
  margin: 0 0 14px;

  color: #ffffff;

  font-family: var(--font-title);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.3;
}

/* DESCRIPCIÓN */

.research-card p {
  max-width: 500px;
  margin: 0 0 22px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 0.96rem;
  line-height: 1.7;
}

/* ENLACE */

.research-link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: auto;
  padding-top: 17px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);

  color: var(--light-blue);

  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.research-link span {
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

.research-link:hover span {
  transform: translateX(6px);
}

/* =========================
   INTEGRANTES
========================= */

/* =========================
   INTEGRANTES
========================= */

.team {
  padding: 110px 0;
  background: #ffffff;
}

.team-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: clamp(50px, 7vw, 90px);
  margin-bottom: 55px;
}

.team-heading .section-kicker {
  display: inline-block;
  margin-bottom: 18px;

  color: var(--primary);

  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-heading h2 {
  margin: 0;

  color: var(--dark);

  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
}

.team-header > p {
  max-width: 580px;
  margin: 0;

  color: rgba(43, 58, 71, 0.74);

  font-size: 1.05rem;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.team-card {
  display: flex;
  flex-direction: column;

  min-height: 230px;
  padding: 30px;

  border: 1px solid rgba(43, 58, 71, 0.1);
  border-radius: 18px;

  background: var(--background-soft);
  grid-column: span 2;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.team-card-featured {
  border: 2px solid var(--primary);
  background: rgba(199, 222, 225, 0.38);
  grid-column: span 3;
}

.team-card-featured:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 45px rgba(18, 135, 147, 0.14);
}

.team-position {
  display: inline-block;

  width: fit-content;

  margin: 0 0 14px;
  padding: 6px 10px;

  border-radius: 999px;

  background: var(--primary);
  color: #ffffff;

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card:hover {
  transform: translateY(-4px);

  border-color: rgba(18, 135, 147, 0.28);

  box-shadow: 0 16px 38px rgba(43, 58, 71, 0.08);
}

.team-role {
  display: block;

  margin-bottom: 12px;

  color: var(--primary);

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 0 0 14px;

  color: var(--dark);

  font-family: var(--font-title);
  font-size: 1.45rem;
  line-height: 1.3;
}

.team-card p {
  margin: 0 0 24px;

  color: rgba(43, 58, 71, 0.72);

  font-size: 0.96rem;
  line-height: 1.7;
}

.team-profile-button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  margin-top: auto;
  padding: 17px 0 0;

  border: 0;
  border-top: 1px solid rgba(43, 58, 71, 0.1);

  background: transparent;

  color: var(--primary);

  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;

  cursor: pointer;
}

.team-profile-button span {
  font-size: 1.15rem;

  transition: transform 0.2s ease;
}

.team-profile-button:hover span {
  transform: translateX(5px);
}

/* =========================
   MODAL DE PERFIL
========================= */

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.profile-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.profile-modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(25, 35, 43, 0.72);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.profile-modal-dialog {
  position: relative;
  z-index: 1;

  width: min(100%, 760px);
  max-height: min(85vh, 820px);

  overflow-y: auto;

  border-radius: 24px;

  background: #ffffff;

  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.25);

  transform: translateY(20px);

  transition: transform 0.25s ease;
}

.profile-modal.is-open .profile-modal-dialog {
  transform: translateY(0);
}

.profile-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border: 0;
  border-radius: 50%;

  background: var(--background-soft);

  color: var(--dark);

  font-size: 1.7rem;
  line-height: 1;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.profile-modal-close:hover {
  background: var(--primary);
  color: #ffffff;
}

.profile-modal-content {
  padding: 55px;
}

.profile-modal-institution {
  display: block;

  margin-bottom: 14px;

  color: var(--primary);

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.profile-modal-content h2 {
  max-width: 620px;
  margin: 0;

  color: var(--dark);

  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.15;
}

.profile-modal-lead {
  max-width: 620px;

  margin: 22px 0 0;

  color: rgba(43, 58, 71, 0.72);

  font-size: 1.05rem;
  line-height: 1.75;
}

.profile-modal-body {
  max-width: 640px;

  margin-top: 34px;
  padding-top: 30px;

  border-top: 1px solid rgba(43, 58, 71, 0.12);

  color: var(--dark);

  font-size: 1rem;
  line-height: 1.85;
}

.profile-modal-body p {
  margin: 0 0 1.4em;
}

.profile-modal-body p:last-child {
  margin-bottom: 0;
}

body.modal-open {
  overflow: hidden;
}

/* =========================
   PRENSA Y NOVEDADES
========================= */

.news {
  padding: 110px 0;
  background: var(--background-soft);
}

/* HEADER */

.news-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: clamp(50px, 7vw, 90px);
  margin-bottom: 55px;
}

.news-heading .section-kicker {
  display: inline-block;
  margin-bottom: 18px;

  color: var(--primary);

  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-heading h2 {
  margin: 0;

  color: var(--dark);

  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
}

.news-header > p {
  max-width: 580px;
  margin: 0;

  color: rgba(43, 58, 71, 0.74);

  font-size: 1.05rem;
  line-height: 1.8;
}

/* GRID */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* TARJETA */

.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;

  overflow: hidden;

  border: 1px solid rgba(43, 58, 71, 0.1);
  border-radius: 20px;

  background: #ffffff;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(43, 58, 71, 0.1);
}

/* IMAGEN */

.news-image {
  display: block;
  overflow: hidden;

  aspect-ratio: 16 / 10;

  background: var(--light-blue);
}

.news-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.035);
}

/* CONTENIDO */

.news-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: 26px;
}

/* METADATOS */

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;

  margin-bottom: 16px;

  color: rgba(43, 58, 71, 0.58);

  font-size: 0.76rem;
  font-weight: 600;
}

.news-meta span {
  color: var(--primary);

  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* TÍTULO */

.news-card h3 {
  margin: 0 0 14px;

  font-family: var(--font-title);
  font-size: 1.35rem;
  line-height: 1.35;
}

.news-card h3 a {
  color: var(--dark);
  text-decoration: none;

  transition: color 0.2s ease;
}

.news-card h3 a:hover {
  color: var(--primary);
}

/* DESCRIPCIÓN */

.news-card p {
  margin: 0 0 24px;

  color: rgba(43, 58, 71, 0.7);

  font-size: 0.94rem;
  line-height: 1.7;
}

/* LEER NOTA */

.news-link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: auto;
  padding-top: 17px;

  border-top: 1px solid rgba(43, 58, 71, 0.1);

  color: var(--primary);

  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.news-link span {
  font-size: 1.15rem;

  transition: transform 0.25s ease;
}

.news-link:hover span {
  transform: translateX(6px);
}

.contact {
  padding: 110px 0;
  background: var(--light-blue);
}

/* HEADER */

.contact-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: clamp(50px, 7vw, 90px);

  margin-bottom: 55px;
}

.contact-heading .section-kicker {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--primary);

  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-heading h2 {
  margin: 0;

  color: var(--dark);

  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
}

.contact-header > p {
  max-width: 580px;
  margin: 0;

  color: rgba(43, 58, 71, 0.74);

  font-size: 1.05rem;
  line-height: 1.8;
}

/* =========================
   PANEL PRINCIPAL
========================= */

.contact-panel {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;

  overflow: hidden;

  border: 1px solid rgba(43, 58, 71, 0.1);
  border-radius: 26px;

  background: #ffffff;

  box-shadow: 0 24px 60px rgba(43, 58, 71, 0.1);
}

/* =========================
   INFORMACIÓN
========================= */

.contact-info {
  padding: 42px;

  background: var(--dark);

  color: #ffffff;
}

.contact-info-block {
  padding: 24px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-info-block:first-child {
  padding-top: 0;
}

.contact-info-block:last-child {
  padding-bottom: 0;

  border-bottom: 0;
}

.contact-label {
  display: block;

  margin-bottom: 10px;

  color: var(--light-blue);

  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-info-block p {
  margin: 0;

  color: rgba(255, 255, 255, 0.74);

  font-size: 0.96rem;
  line-height: 1.75;
}

/* CORREO */

.contact-main-link {
  display: inline-block;

  color: #ffffff;

  font-family: var(--font-title);
  font-size: 1.08rem;
  font-weight: 700;

  text-decoration: none;

  transition: color 0.2s ease;
}

.contact-main-link:hover {
  color: var(--light-blue);
}

/* REDES */

.contact-links {
  display: flex;
  flex-wrap: wrap;

  gap: 10px 18px;
}

.contact-links a {
  color: #ffffff;

  font-size: 0.9rem;
  font-weight: 700;

  text-decoration: none;

  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: var(--light-blue);
}

/* =========================
   FORMULARIO
========================= */

.contact-form {
  padding: 42px;
}

/* FILAS */

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;
}

/* GRUPOS */

.form-group {
  display: grid;

  gap: 8px;

  margin-bottom: 20px;
}

/* LABELS */

.form-group label {
  color: var(--dark);

  font-size: 0.82rem;
  font-weight: 700;
}

/* INPUTS */

.form-group input,
.form-group textarea {
  width: 100%;

  border: 1px solid rgba(43, 58, 71, 0.14);
  border-radius: 12px;

  background: #f9fbfb;

  color: var(--dark);

  font-family: var(--font-body);
  font-size: 0.95rem;

  outline: none;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group input {
  height: 52px;
  padding: 0 15px;
}

.form-group textarea {
  min-height: 155px;
  padding: 15px;

  line-height: 1.6;

  resize: vertical;
}

/* PLACEHOLDER */

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(43, 58, 71, 0.42);
}

/* FOCUS */

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);

  background: #ffffff;

  box-shadow: 0 0 0 3px rgba(18, 135, 147, 0.1);
}

/* BOTÓN */

.form-actions {
  display: flex;
  justify-content: flex-start;

  margin-top: 4px;
}

.contact-form .btn {
  border: 0;

  cursor: pointer;
}

.site-footer {
  padding: 80px 0 28px;
  background: var(--dark);
  color: #ffffff;
}

.footer-container {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 100px;
  padding-bottom: 60px;
}

.footer-brand img {
  display: block;
  width: 100%;
  max-width: 350px;
  margin-bottom: 28px;
}

.footer-brand p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.75;
}

.footer-navigation {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 0.8fr;
  gap: 50px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-column nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-title {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  width: 100%;

  border-bottom: 1px solid rgba(43, 58, 71, 0.08);

  background: rgba(255, 255, 255, 0.92);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* CONTENEDOR */

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 82px;
}

/* LOGO */

.header-logo {
  display: flex;
  align-items: center;

  flex-shrink: 0;
}

.header-logo img {
  display: block;

  width: auto;
  height: 50px;
}

/* NAVEGACIÓN */

.main-nav {
  display: flex;
  align-items: center;

  gap: clamp(20px, 2.5vw, 38px);
}

.main-nav a {
  position: relative;

  color: var(--dark);

  font-size: 0.88rem;
  font-weight: 600;

  text-decoration: none;

  transition: color 0.2s ease;
}

.main-nav a:not(.nav-contact)::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -7px;

  width: 100%;
  height: 2px;

  background: var(--primary);

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 0.25s ease;
}

.main-nav a:not(.nav-contact):hover {
  color: var(--primary);
}

.main-nav a:not(.nav-contact):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* CONTACTO DESTACADO */

.nav-contact {
  padding: 11px 20px;

  border-radius: 999px;

  background: var(--primary);

  color: #ffffff !important;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nav-contact:hover {
  background: var(--dark);

  transform: translateY(-2px);
}

/* BOTÓN HAMBURGUESA */

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  padding: 9px;

  border: 0;

  background: transparent;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 100%;
  height: 2px;

  margin: 5px 0;

  border-radius: 2px;

  background: var(--dark);

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* EVITA QUE EL HEADER TAPE LAS SECCIONES */

html {
  scroll-padding-top: 82px;
}

.hero {
  padding-top: 162px;
}

.news-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--light-blue),
    var(--background-soft)
  );
}
