:root {
    --primary-color: #0ab4ef;
    --primary-dark: #007bb5;
    --primary-light: #4dd0ff;
    --secondary-color: #1c69c1;
    --accent-color: #ff6b9d;
    --text-dark: #2c3e50;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --footer-bg: #0b1524;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 20px 50px rgba(10, 180, 239, 0.25);
    --shadow-strong: 0 25px 60px rgba(0, 0, 0, 0.15);
    --shadow-card: 1px 9px 35px -17px rgba(0, 0, 0, 0.29);
    --gradient-primary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-bar: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 50%, #4facfe 100%);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Reutilizables de layout */
    --max-content: 1400px;
    --radius-sm: 10px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --section-pad-y: 70px;
    --section-pad-x: clamp(24px, 8vw, 120px);
    --hero-bleed: 8px; /* foto como margen del divisor (sutil) */
    --nav-offset: 120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", serif;

  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(1.1);
    opacity: 0.8;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideInFromTop {
  from {
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

/* --- NAVBAR --- */
.nav {
    display: flex;
    justify-content: space-around; 
    align-items: center; 
    text-align: center;
    margin: 25px auto; 
    background: rgba(255, 255, 255, 0.9);
    width: 70%;
    max-width: 1200px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 100;
    position: fixed;
    padding: 15px 25px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    transition: var(--transition-smooth);
    animation: slideInFromTop 0.6s ease-out;
}

.nav:hover {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 45px 0 rgba(10, 180, 239, 0.18);
    transform: translateX(-50%) translateY(-2px);
}

.link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.anav {
    margin: 0 10px;
    color: #444;
    font-family: "Montserrat", serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    padding: 10px 18px;
    border-radius: 50px;
    position: relative;
    white-space: nowrap;
}

.anav::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: var(--gradient-primary);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.anav:hover::before, .selected::before {
    transform: translateX(-50%) scaleX(1);
}

.anav:hover, .selected {
    color: var(--primary-color);
    background-color: rgba(10, 180, 239, 0.1);
    transform: translateY(-2px);
}

.lognav {
    margin: 0 10px;
    font-family: "Montserrat", serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -1px;
    transition: var(--transition-smooth);
    background: linear-gradient(135deg, #000, var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lognav a {
    color: inherit;
}

.lognav:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.lignavimg {
    display: none;
    cursor: pointer;
}

/* ========================================
   UTILIDADES REUTILIZABLES (para futuro)
   Usa estas clases en HTML cuando quieras
   repetir el mismo patrón en otra página.
======================================== */

/* Contenedor de sección centrado */
.u-section {
  width: 100%;
  max-width: var(--max-content);
  margin-left: auto;
  margin-right: auto;
  padding: var(--section-pad-y) var(--section-pad-x);
}

/* Título de sección */
.u-section-title {
  font-weight: 800;
  font-size: clamp(1.6rem, 2.5vw, 1.9rem);
  color: var(--text-dark);
}

/* Fila de botones CTA */
.u-cta-row,
.contenedor {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Botones */
.u-btn,
.botonaccion1,
.botonaccion2 {
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.u-btn--primary,
.botonaccion1 {
  border: none;
  background-color: var(--primary-dark);
  color: var(--bg-white);
}

.u-btn--ghost,
.botonaccion2 {
  border: 1.5px solid #9aa3ad;
  background-color: var(--bg-white);
  color: var(--text-dark);
}

.u-btn--primary:hover,
.botonaccion1:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28, 105, 193, 0.28);
}

.u-btn--ghost:hover,
.botonaccion2:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Card con borde azul (proyectos, posts, etc.) */
.u-card {
  background: var(--bg-white);
  border: 2px solid var(--primary-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.u-card:hover {
  transform: translateY(-6px);
  box-shadow: 1px 9px 35px -17px rgba(0, 0, 0, 0.5);
}

/* Barra divisora (también .divisor) */
.u-bar,
.divisor {
  position: relative;
  width: 100%;
  height: 8px;
  z-index: 20; /* por encima de la foto del hero */
  background: var(--gradient-bar);
  box-shadow: 0 4px 10px rgba(10, 180, 239, 0.2);
}

.u-bar-thin,
.divisorcatgfino {
  width: 100%;
  height: 2px;
  background-color: #b5b2b2;
  border-radius: 5px;
}

/* Imagen que “sangra” debajo del divisor */
.u-hero-bleed {
  margin-bottom: calc(-1 * var(--hero-bleed));
  position: relative;
  z-index: 1;
}

/* --- HERO HOME --- */
.herosection {
  width: 100%;
  min-height: 100vh;
  padding: var(--nav-offset) clamp(24px, 6vw, 95px) 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: clamp(24px, 4vw, 50px);
  overflow: visible; /* deja que la foto pase bajo el divisor */
  position: relative;
  z-index: 1;
}

/* Solo la foto del HOME (NO la de blog/contacto) */
.imgdestacada {
  flex: 1 1 46%;
  max-width: 560px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: calc(-1 * var(--hero-bleed));
  position: relative;
  z-index: 1;
  align-self: stretch;
}

.imgdestacada .imgd {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.herotitle {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
}

/* Primera línea junta: "Transformando ideas" */
.herotitle-line {
  white-space: nowrap;
  display: inline-block;
}

.herotitlefonts {
  font-size: 72px;
  font-style: italic;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  line-height: 1;
}

.textimgd {
  flex: 1 1 48%;
  z-index: 2;
  padding: 20px 0 40px;
  width: 100%;
  max-width: 560px;
  animation: fadeInUp 1s ease-out 0.5s both;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  align-self: center;
}

.textimgd b {
  color: var(--primary-color);
  font-weight: 700;
}

.textimgdcel {
  display: none;
}

/* El párrafo del hero (NO el título) */
.textimgdpc p,
.textimgdcel p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* Botones (alias ya definidos arriba en utilidades) */
.botonaccion1,
.botonaccion2 {
  align-items: center;
  justify-content: center;
}

/* AboutMe */
.aboutme{
  display: flex;
  flex-direction: row;
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: var(--max-content);
  margin: 0 auto;
  width: 100%;
  gap: clamp(40px, 6vw, 95px);
  justify-content: center;
  align-items: center;
}
.fotomedia{
  width: 100%;
  max-width: 420px;
  margin: 0;
}
.aboutme img{
  width: 100%;
  border-radius: 12px;
  display: block;
}
.fotomedia .media {
  margin-top: 16px;
}
.textr{
  text-align: right;
  flex: 1;
}
.textr h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.textr p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.85;
}

/* --- Entradas Recientes --- */
.entradasrecent{
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.entradasrecent > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.entradasrecent h2{
  font-size: clamp(1.6rem, 2.5vw, 1.9rem);
  font-weight: 800;
}
.entradasrecent > div:first-child p,
.entradasrecent > div:first-child a {
  color: var(--primary-dark);
  font-weight: 600;
  font-style: italic;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.entradasrecent > div:first-child p:hover,
.entradasrecent > div:first-child a:hover {
  color: var(--secondary-color);
  transform: translateX(4px);
}

/* --- Proyectos Zone --- */
.proyectos{
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 32px;
}
.ptitulo h2{
  font-weight: 800;
  font-size: clamp(1.6rem, 2.5vw, 1.9rem);
}
.ptitulo p {
  color: var(--text-light);
  margin-top: 8px;
}
.contenedorproyectos{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  width: 100%;
}
.unproyecto{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 280px;
  flex: 1 1 220px;
  border: 2px solid var(--primary-dark);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease-in-out;
  gap: 8px;
}
.unproyecto:hover{
  box-shadow: 1px 9px 35px -17px rgba(0,0,0,0.59);
  transform: translateY(-6px);
}
.especial{
  margin: 5px;
  background-color: var(--secondary-color);
  color: white;
  padding: 2px 15px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 15px;
}
.tituloproyecto{
  font-size: 20px;
}
.descripcionproyecto{
  font-size: 15px;
  line-height: 20px;
  color: var(--text-light);
}
.iraproyecto{
  font-style: italic;
  font-weight: 600;
  color: var(--primary-dark);
  margin-top: 8px;
  transition: var(--transition-smooth);
}
.iraproyecto:hover {
  color: var(--secondary-color);
}
.iconoproyecto{
  font-size: 35px;
  color: var(--primary-dark);
}

/* --- Frase --- */
.frasesect{
  padding: 80px var(--section-pad-x);
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.frase{
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}
.fraseautor{
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-style: italic;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--primary-dark);
}

/* --- PAGE HERO (Blog / Contacto / Entradas) --- */
.herosectionblog,
.imgdestacadablog {
  height: 58vh;
  min-height: 380px;
  max-height: 620px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.herosectionblog .imgd,
.imgdestacadablog .imgd,
.imgdb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: scaleIn 1.5s ease-out;
}

.herosectionblog::after,
.imgdestacadablog::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 28, 48, 0.35) 0%,
    rgba(12, 28, 48, 0.55) 100%
  );
  z-index: 0;
}

.textimgdb {
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.96);
  padding: 42px 48px;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  text-align: center;
  max-width: 520px;
  width: min(90%, 520px);
  position: relative;
  animation: fadeInUp 1s ease-out 0.35s both;
}

.textimgdb h1 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.textimgdb p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* --- MAIN PAGE SECTIONS --- */
.mainpage {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section3post {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: stretch;
}

.postsect {
    background: var(--bg-white);
    box-shadow: 1px 9px 35px -17px rgba(0,0,0,0.29);
    width: 100%;
    max-width: 420px;
    min-height: 450px;
    padding: 32px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--primary-dark);
    animation: fadeInUp 1s ease-out 0.8s both;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.postsect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.postsect:hover::before {
    transform: scaleX(1);
}

.postsect:hover {
    box-shadow: 1px 9px 35px -17px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}

.postsect h2 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.postsect h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin-top: 10px;
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.postsect:hover h2::after {
    width: 100px;
}

/* --- SCROLLABLE SECTIONS --- */
#minibiografia, #blogentradas {
    overflow-y: auto;
    max-height: 500px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#minibiografia::-webkit-scrollbar, 
#blogentradas::-webkit-scrollbar {
    display: none;
}

#minibiografia p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-light);
}

#minibiografia strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* --- BLOG CARDS --- */
.benedor {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 20px;
}

.bcard {
    background: white;
    border-radius: 15px;
    width: 100%;
    overflow: hidden;
    box-shadow: 1px 9px 35px -17px rgba(0,0,0,0.29);
    transition: all 0.35s ease;
    border: 2px solid var(--primary-dark);
    position: relative;
    cursor: pointer;
}

.bcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.bcard:hover::before {
    opacity: 0.04;
}

.bcard:hover {
    transform: translateY(-8px);
    box-shadow: 1px 9px 35px -17px rgba(0,0,0,0.5);
}

.bimg {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bcard:hover .bimg {
    transform: scale(1.1);
}

.bcontent {
    padding: 25px;
    position: relative;
    z-index: 2;
    background: white;
}
.bcontenedor {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(1fr 1fr);
    gap: 25px;
}

.btitulo {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
    font-weight: 700;
    transition: color 0.3s ease;
}

.bcard:hover .btitulo {
    color: var(--primary-color);
}

.dip {
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.infopost {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.infopost i {
    color: var(--primary-color);
    font-size: 1rem;
}

.btext {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.7;
}

.bloga {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bloga::after {
    content: '→';
    transition: transform 0.3s ease;
}

.bloga:hover {
    transform: translateX(5px);
    color: var(--primary-dark);
}

.bloga:hover::after {
    transform: translateX(5px);
}

/* --- BLOG ITEM CONSTRUCTION --- */

.blog,
.contacto,
.maindiv {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px clamp(16px, 4vw, 40px) 20px;
}

.ebtitulo {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.4px;
}
.ebsubtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.entradas p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-light);
}
.listmethods {
  margin: 8px 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.listmethods li {
  padding: 12px 16px;
  border: 1.5px solid rgba(0, 123, 181, 0.25);
  border-radius: 10px;
  background: rgba(10, 180, 239, 0.04);
  transition: var(--transition-smooth);
}
.listmethods li:hover {
  border-color: var(--primary-dark);
  background: rgba(10, 180, 239, 0.08);
}
.listmethods a {
  color: var(--primary-dark);
  font-weight: 600;
}
.listmethods a:hover {
  color: var(--secondary-color);
}
.links {
  color: var(--primary-dark);
  font-weight: 600;
}
.links:hover {
  color: var(--secondary-color);
}

/* --- BLOG ITEM PAGE ---- */
.entradas {
  margin: 0;
  padding: 36px 40px;
  border: 2px solid var(--primary-dark);
  border-radius: 15px;
  background: var(--bg-white);
  box-shadow: 1px 9px 35px -17px rgba(0,0,0,0.29);
  flex: 1 1 60%;
  width: auto;
  min-width: 0;
  height: max-content;
}

.content {
  display: flex;
  padding: 0;
  gap: 28px;
  align-items: flex-start;
}

.section3postblog {
  display: flex;
  flex-direction: column;
  animation: none;
  gap: 20px;
  flex: 1 1 320px;
  max-width: 420px;
  width: 100%;
}
.section3postblog > .postsect {
  height: max-content;
  min-height: unset;
  margin: 0;
  max-width: 100%;
  animation: none;
}

/* --- BLOG CARDS RIGHT --- */
.blogitemcardcontenedor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
  max-width: none;
  margin: 0;
}
.blogitemcard {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(0, 123, 181, 0.2);
  cursor: pointer;
}

.blogitemcard:hover {
  transform: translateY(-4px);
  box-shadow: 1px 9px 28px -14px rgba(0,0,0,0.35);
  border-color: var(--primary-dark);
}

.blogitemcardimg {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blogitemcard:hover .blogitemcardimg {
  transform: scale(1.08);
}

.blogitemcardcontent {
  padding: 20px;
}
.blogitemcardtext {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
}

.blogitemcardtitulo {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
  line-height: 1.4;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blogitemcard:hover .blogitemcardtitulo {
  color: var(--primary-color);
}

/* --- SOCIAL LINKS --- */
.linksreso {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.reso {
  width: 35px;
  height: auto;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: grayscale(20%);
}

.linksreso a:hover .reso {
  transform: scale(1.3) rotate(5deg);
  filter: grayscale(0%) drop-shadow(0 5px 15px rgba(10, 180, 239, 0.4));
}

/* --- PORTFOLIO BUTTON --- */
.portfoliobtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  background: var(--primary-dark);
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 0.95rem;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-weight: 600;
  box-shadow: 1px 9px 28px -14px rgba(0, 123, 181, 0.45);
  letter-spacing: 0.3px;
  font-family: "Inter", sans-serif;
}

.portfoliobtn:hover {
  transform: translateY(-3px);
  box-shadow: 1px 9px 28px -10px rgba(0, 123, 181, 0.65);
  background: var(--secondary-color);
}

.portfoliobtn:active {
  transform: translateY(-1px);
}

/* --- FOOTER --- */
.footermain {
    background: #0b1524;
    color: #e8eef6;
    padding: 0;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.footermain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(
      90deg,
      var(--secondary-color) 0%,
      var(--primary-color) 50%,
      #4facfe 100%
    );
}

.fcontenedor {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1fr;
    gap: 48px;
    padding: 64px clamp(24px, 5vw, 48px) 40px;
    align-items: start;
}

.sectfooter {
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

.sectfooter:hover {
    transform: none;
    box-shadow: none;
}

.sectfooter h2 {
    margin-bottom: 18px;
    font-size: 1.15rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.sectfooter h2::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.sectfooter ul {
    list-style: none;
}

.sectfooter ul li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: rgba(232, 238, 246, 0.78);
    font-size: 0.95rem;
}

.sectfooter p {
    color: rgba(232, 238, 246, 0.78);
    line-height: 1.75;
    font-size: 0.95rem;
}

.sectfooter strong {
    color: var(--primary-light);
}

.sectfooter i {
    color: var(--primary-color);
    margin-right: 6px;
}

.informacion a {
    color: var(--primary-light);
    transition: color 0.25s ease;
    font-weight: 500;
}

.informacion a:hover {
    color: #ffffff;
    text-shadow: none;
    transform: none;
}

.resofooter .linksreso {
    justify-content: flex-start;
    margin: 8px 0 0;
    gap: 18px;
}

.resofooter .portfoliobtn {
    margin: 22px 0 0;
    display: inline-flex;
}

.fbottom {
    background-color: rgba(0, 0, 0, 0.28);
    text-align: center;
    padding: 18px 20px;
    font-size: 0.85rem;
    color: rgba(232, 238, 246, 0.65);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footermain .theme-btn {
    margin: 18px 0 0;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* --- LAPTOP MEDIUM (992px - 1199px) --- */
@media (max-width: 1199px) {
  .nav {
    width: 85%;
  }

  .herosection {
    padding: 110px 36px 0;
    gap: 24px;
    min-height: 90vh;
    --hero-bleed: 8px;
  }

  .imgdestacada {
    max-width: 480px;
  }

  .imgdestacada .imgd {
    height: 100%;
  }

  .section3post {
    gap: 24px;
  }

  .postsect {
    max-width: 360px;
  }

  .fcontenedor {
    gap: 32px;
  }
}

/* --- TABLET LARGE (768px - 991px) --- */
@media (max-width: 991px) {
  .nav {
    width: 92%;
    padding: 12px 16px;
  }

  .link {
    gap: 10px;
  }

  .anav {
    margin: 0 4px;
    padding: 8px 12px;
    font-size: 0.88rem;
  }

  .lognav {
    font-size: 1.3rem;
  }

  .herosection {
    flex-direction: column;
    min-height: auto;
    padding: 120px 28px 0;
    text-align: center;
    --hero-bleed: 8px;
    --nav-offset: 110px;
  }

  .textimgd {
    margin: 0 auto;
    padding: 0 0 24px;
    align-items: center;
    max-width: 640px;
    flex: none;
  }

  .textimgd .herotitle {
    font-size: 52px;
  }

  .textimgd .herotitlefonts {
    font-size: 66px;
  }

  .contenedor {
    justify-content: center;
  }

  .imgdestacada {
    max-width: 420px;
    width: 100%;
    flex: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(-1 * var(--hero-bleed));
  }

  .imgdestacada .imgd {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: 520px;
    object-fit: cover;
  }

  .aboutme {
    flex-direction: column;
    text-align: center;
    padding: 56px 28px;
    gap: 28px;
  }

  .fotomedia {
    max-width: 320px;
  }

  .textr {
    text-align: center;
  }

  .proyectos,
  .entradasrecent,
  .frasesect {
    padding: 56px 28px;
  }

  .contenedorproyectos {
    gap: 18px;
  }

  .unproyecto {
    max-width: 100%;
    flex: 1 1 220px;
  }

  .bcontenedor {
    grid-template-columns: 1fr;
  }

  .herosectionblog,
  .imgdestacadablog {
    min-height: 320px;
    height: 44vh;
  }

  .textimgdb {
    padding: 28px 24px;
  }

  .mainpage {
    padding: 40px 20px;
  }

  .section3post {
    gap: 24px;
  }

  .postsect {
    max-width: 100%;
    min-height: auto;
  }

  .content {
    flex-direction: column;
  }

  .blog,
  .contacto,
  .maindiv {
    padding: 36px 20px 12px;
  }

  .entradas {
    padding: 28px 24px;
  }

  .section3postblog {
    max-width: 100%;
  }

  .fcontenedor {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .sobremi.sectfooter {
    grid-column: 1 / -1;
  }

  .resofooter .linksreso {
    justify-content: flex-start;
  }
}

/* --- TABLET SMALL & MOBILE LARGE (481px - 767px) --- */
@media (max-width: 767px) {
  body {
    padding-bottom: 80px; /* Space for fixed bottom nav */
  }

  .nav {
    width: 100%;
    border-radius: 0;
    top: auto;
    bottom: 0;
    left: 0;
    transform: translateX(0);
    margin: 0;
    padding: 12px 10px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    justify-content: center;
    animation: none;
  }
  
  .nav:hover {
    transform: translateX(0);
    background-color: rgba(255, 255, 255, 0.98);
  }

  .link {
    gap: 8px;
    width: 100%;
    justify-content: space-evenly;
  }

  .anav {
    margin: 0;
    padding: 8px 15px;
    font-size: 0.85rem;
  }

  .lognav {
    display: none;
  }

  .lignavimg {
    display: block;
    width: 50px;
    height: 50px;
    position: fixed;
    right: 20px;
    top: 20px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
    z-index: 101;
    background: white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  }

  .herosection {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    padding: 92px 18px 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    --hero-bleed: 8px;
  }

  .textimgd {
    width: 100%;
    max-width: none;
    min-width: unset;
    flex: 0 0 auto;
    padding: 0 4px 8px;
    margin: 0;
    text-align: center;
    gap: 10px;
  }

  .textimgdpc p,
  .textimgdcel p {
    font-size: 0.92rem;
    margin-bottom: 4px;
  }

  .textimgdpc {
    display: none;
  }

  .textimgdcel {
    display: block;
  }

  /* Título grande — tamaños fijos (sin clamp) */
  .herotitle-line {
    white-space: normal;
  }

  .textimgd .herotitle {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1.2px;
  }

  .textimgd .herotitlefonts {
    font-size: 62px;
    font-weight: 700;
    line-height: 0.95;
  }

  .contenedor {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    gap: 10px;
  }

  .botonaccion1,
  .botonaccion2 {
    width: auto;
    min-width: 140px;
    max-width: none;
    flex: 1 1 auto;
    font-size: 0.88rem;
    padding: 11px 16px;
  }

  /* Foto llena el resto del viewport y queda cool */
  .imgdestacada {
    flex: 1 1 auto;
    width: min(94%, 420px);
    max-width: none;
    min-height: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(-1 * var(--hero-bleed));
    align-self: stretch;
  }

  .imgdestacada .imgd {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 18%;
  }

  .aboutme,
  .proyectos,
  .entradasrecent,
  .frasesect {
    padding: 44px 18px;
  }

  .entradasrecent > div:first-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .bcontenedor {
    grid-template-columns: 1fr;
  }

  .herosectionblog,
  .imgdestacadablog {
    height: 38vh;
    min-height: 260px;
  }

  .textimgdb {
    width: 90%;
    max-width: 400px;
    padding: 24px 18px;
  }

  .textimgdb h1 {
    font-size: 1.65rem;
  }

  .mainpage {
    padding: 40px 15px 60px;
  }

  .section3post {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .postsect {
    max-width: 100%;
    width: 100%;
    min-height: auto;
    padding: 25px;
  }

  #minibiografia,
  #blogentradas {
    max-height: 600px;
  }

  #redes {
    order: 1;
  }

  #blogentradas {
    order: 2;
  }

  #minibiografia {
    order: 3;
  }

  .bcontenedor {
    gap: 20px;
  }

  .bimg {
    height: 200px;
  }

  .footermain {
    margin-top: 36px;
  }

  .fcontenedor {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 20px 28px;
  }

  .sectfooter {
    min-width: 100%;
    text-align: center;
  }

  .sectfooter h2 {
    font-size: 1.1rem;
  }

  .sectfooter h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .resofooter .linksreso {
    justify-content: center;
  }

  .resofooter .portfoliobtn,
  .footermain .theme-btn {
    margin-left: auto;
    margin-right: auto;
  }

  .portfoliobtn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
    
  /* Blog and Contact Page Responsive */
  .content {
      flex-direction: column;
      padding: 0;
      gap: 18px;
  }
  
  .blog,
  .contacto,
  .maindiv {
      padding: 28px 14px 8px;
  }

  .entradas {
      width: 100%;
      margin: 0;
      padding: 22px 18px;
  }
  
  .section3postblog {
      width: 100%;
      max-width: 100%;
  }
  
  .bcontenedor {
      grid-template-columns: 1fr;
      gap: 18px;
  }
  
  .bcard {
      width: 100%;
  }
  
  .blogitemcardcontenedor {
      grid-template-columns: 1fr;
      padding: 0;
  }

  .listmethods li {
      padding: 12px 14px;
  }
}

/* --- MOBILE MEDIUM (376px - 480px) --- */
@media (max-width: 480px) {
  .anav {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .lignavimg {
    width: 45px;
    height: 45px;
    right: 15px;
    top: 15px;
  }

  .herosection {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    padding: 86px 14px 0;
    --hero-bleed: 8px;
  }

  .textimgd {
    width: 100%;
    padding: 0 2px 6px;
  }

  .textimgdpc p,
  .textimgdcel p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .textimgd .herotitle {
    font-size: 42px;
  }

  .textimgd .herotitlefonts {
    font-size: 54px;
  }

  .botonaccion1,
  .botonaccion2 {
    font-size: 0.84rem;
    padding: 10px 14px;
  }

  .imgdestacada {
    width: min(94%, 360px);
    margin-bottom: calc(-1 * var(--hero-bleed));
  }

  .imgdestacada .imgd {
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
  }

  .herosectionblog,
  .imgdestacadablog {
    min-height: 240px;
    height: 34vh;
  }

  .textimgdb {
    width: 92%;
    padding: 22px 16px;
  }

  .textimgdb h1 {
    font-size: 1.45rem;
  }

  .mainpage {
    padding: 35px 12px 60px;
  }

  .postsect {
    padding: 20px;
  }

  .postsect h2 {
    font-size: 1.4rem;
  }

  .bimg {
    height: 180px;
  }

  .btitulo {
    font-size: 1.05rem;
  }

  .sectfooter h2 {
    font-size: 1.2rem;
  }

  .linksreso {
    gap: 20px;
  }

  .reso {
    width: 32px;
  }

  .portfoliobtn {
    padding: 10px 30px;
    font-size: 0.9rem;
  }
}

/* --- MOBILE SMALL (≤ 375px) --- */
@media (max-width: 375px) {
  .anav {
    font-size: 0.75rem;
    padding: 5px 8px;
  }

  .lignavimg {
    width: 40px;
    height: 40px;
    right: 12px;
    top: 12px;
  }

  .herosection {
    padding-top: 82px;
  }

  .textimgd {
    padding: 0 2px 4px;
  }

  .textimgdpc p,
  .textimgdcel p {
    font-size: 0.84rem;
  }

  .textimgd .herotitle {
    font-size: 36px;
  }

  .textimgd .herotitlefonts {
    font-size: 46px;
  }

  .botonaccion1,
  .botonaccion2 {
    font-size: 0.8rem;
    padding: 9px 12px;
  }

  .textimgdb {
    padding: 20px;
  }

  .textimgdb h1 {
    font-size: 1.5rem;
  }

  .mainpage {
    padding: 30px 10px 60px;
  }

  .postsect {
    padding: 18px;
  }

  .postsect h2 {
    font-size: 1.3rem;
  }

  .bimg {
    height: 160px;
  }

  .btitulo {
    font-size: 1rem;
  }

  .btext {
    font-size: 0.85rem;
  }

  .linksreso {
    gap: 15px;
  }

  .reso {
    width: 30px;
  }

  .portfoliobtn {
    padding: 10px 25px;
    font-size: 0.85rem;
  }

  .sectfooter h2 {
    font-size: 1.1rem;
  }

  .fbottom {
    font-size: 0.8rem;
    padding: 15px 10px;
  }
}

/* --- LANDSCAPE MODE FOR MOBILE --- */
@media (max-height: 500px) and (orientation: landscape) {
  .herosection {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    flex-direction: row;
    align-items: stretch;
    padding: 70px 20px 0;
    gap: 16px;
    --hero-bleed: 8px;
  }

  .textimgd {
    flex: 1 1 48%;
    padding: 8px 0 12px;
    text-align: left;
    align-items: flex-start;
  }

  .textimgd .herotitle {
    font-size: 34px;
  }

  .textimgd .herotitlefonts {
    font-size: 42px;
  }

  .imgdestacada {
    flex: 1 1 45%;
    width: auto;
    max-width: 46%;
    margin-bottom: calc(-1 * var(--hero-bleed));
  }

  .imgdestacada .imgd {
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .textimgdpc p,
  .textimgdcel p {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .botonaccion1,
  .botonaccion2 {
    font-size: 0.78rem;
    padding: 8px 12px;
  }
}

/* --- REVEAL ANIMATIONS --- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* --- 404 SPECIFIC STYLES --- */
.hero-404 {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin: 40px auto;
    max-width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.title-404 {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    margin: 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -2px;
}

.subtitle-404 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 10px 0 20px;
    font-weight: 600;
}

.desc-404 {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto 30px;
}


/* --- SELECTOR DE PROYECTOS --- */
.project-selector {
    margin-bottom: 60px;
    text-align: center;
}

.selector-header {
    margin-bottom: 40px;
}

.selector-header h2 {
    font-size: 2.2rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    background: linear-gradient(135deg, #000, var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.selector-card {
    background: white;
    padding: 35px 25px;
    border-radius: 25px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.04);
    cursor: pointer;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.selector-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.selector-card:hover .card-icon {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.selector-card h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.selector-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.card-link {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* Efectos especiales para RSA y JDMcode */
.rsa-special {
    border-bottom: 4px solid var(--accent-color);
}

.jdm-special {
    border-bottom: 4px solid var(--primary-color);
}

/* Responsive para el selector */
@media (max-width: 767px) {
    .selector-grid {
        grid-template-columns: 1fr;
    }
    .selector-card {
        padding: 25px;
    }
}

/* --- BOTÓN TOGGLE STYLE --- */
.theme-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(10, 180, 239, 0.3);
    margin-left: 15px;
}

.theme-btn:hover {
    transform: scale(1.1) rotate(15deg);
}


/* ========================================
   MODO OSCURO NITIDO (SOBRE TUS ESTILOS)
   ======================================== */

body.dark-mode {
    --bg-light: #0d1117;    /* Fondo oscuro nítido (estilo GitHub) */
    --bg-white: #161b22;    /* Fondo de tus cards en oscuro */
    --text-dark: #f0f6fc;   /* Títulos y textos principales */
    --text-light: #8b949e;  /* Textos secundarios */
    
    /* Sombras específicas para que las cards NO se vean mal */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.7);
    --shadow-strong: 0 25px 60px rgba(0, 0, 0, 0.8);
}

/* Transición global para que no parpadee */
body {
    transition: background-color 0.4s ease, color 0.4s ease !important;
}

/* Aplicación forzada a tus componentes para nitidez */
body.dark-mode .nav, 
body.dark-mode .postsect, 
body.dark-mode .textimgdb, 
body.dark-mode .textimgd, 
body.dark-mode .blogitemcard, 
body.dark-mode .selector-card,
body.dark-mode .bcontent,
body.dark-mode .bcard,
body.dark-mode .unproyecto,
body.dark-mode .entradas {
    background: var(--bg-white) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: var(--shadow-soft) !important;
}

body.dark-mode .footermain {
    background: #070d16;
}

body.dark-mode .fbottom {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: rgba(232, 238, 246, 0.6);
}

body.dark-mode .botonaccion2 {
    background: var(--bg-white);
    color: var(--text-dark);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Ajuste de contraste para el texto en modo oscuro */
body.dark-mode .textimgdpc p,
body.dark-mode .textimgdcel p,
body.dark-mode .textimgb p,
body.dark-mode .postsect p,
body.dark-mode .blogitemcardtext,
body.dark-mode .btext,
body.dark-mode .infopost,
body.dark-mode .textr p,
body.dark-mode .descripcionproyecto {
    color: var(--text-light) !important;
}

/* El navbar en modo oscuro necesita un toque extra de nitidez */
body.dark-mode .nav {
    background: rgba(22, 27, 34, 0.8) !important; /* Glassmorphism oscuro */
    backdrop-filter: blur(20px);
}

/* Ajuste para los enlaces del nav en oscuro */
body.dark-mode .anav {
    color: var(--text-light);
}

body.dark-mode .anav:hover, 
body.dark-mode .selected {
    color: var(--primary-color) !important;
}

/* Arreglo para el degradado del logo en modo oscuro */
body.dark-mode .lognav {
    background: linear-gradient(135deg, #fff, var(--primary-color)) !important;
    -webkit-background-clip: text !important;
}