/* =========================================
   SECCIÓN: LA USB RECUERDA (REVISADO)
   ========================================= */

.remember-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.remember-card {
  position: relative;
  width: 100%;
  min-height: 550px;
  border-radius: 24px;
  overflow: hidden;
  background-image: url('https://kikyc.github.io/homeusb/Copia%20de%2011.JPG');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.remember-overlay {
  position: absolute;
  inset: 0;
  /* Sombreado oscuro solo a la izquierda: da contraste al texto y deja ver la foto a la derecha */
  background: linear-gradient(to right,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.74) 32%,
    rgba(0, 0, 0, 0.32) 62%,
    rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}
/* Desenfoque progresivo: máximo a la izquierda y 0 en el borde derecho (dos capas para que no se note el corte) */
.remember-overlay::before,
.remember-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.remember-overlay::before {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 22%, transparent 58%);
  mask-image: linear-gradient(to right, #000 0%, #000 22%, transparent 58%);
}
.remember-overlay::after {
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 38%, transparent 96%);
  mask-image: linear-gradient(to right, #000 0%, #000 38%, transparent 96%);
}
@media (max-width: 768px) {
  /* En móvil el texto ocupa casi todo el ancho: el sombreado y el desenfoque llegan más lejos */
  .remember-overlay { background: linear-gradient(to right, rgba(0,0,0,.88) 0%, rgba(0,0,0,.7) 60%, rgba(0,0,0,.4) 100%); }
  .remember-overlay::before { -webkit-mask-image: linear-gradient(to right, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(to right, #000 0%, #000 55%, transparent 100%); }
}

.remember-content {
  position: relative;
  z-index: 2;
  padding: 60px;
  color: #ffffff;
  max-width: 900px;
}

.remember-header {
  margin-bottom: 35px;
}

.remember-subtitle {
  display: block;
  font-size: 12px; 
  font-weight: 700; 
  color: #ffcc00;   
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px; 
}

.remember-main-title {
  font-family: var(--font-serif); 
  font-size: 48px;     
  color: #ffffff;
  font-style: italic;  
  font-weight: 400;    
  margin: 0;
  line-height: 1.1;
}

/* --- CUERPO DEL ARTÍCULO --- */

.article-body {
  margin-top: 30px;
}

.article-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.3;
}

.article-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
}

.article-btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 40px;
  background: var(--usb-yellow); 
  color: var(--usb-black);
  border: none;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 5px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Sombra suave */
}

.article-btn span {
  margin-left: 15px;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.article-btn:hover {
  /* Al pasar el mouse: Fondo negro, texto amarillo */
  background: var(--white);
  color: var(--usb-black);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.article-btn:hover span {
  transform: translateX(5px);
}

/* Adaptación para pantallas pequeñas */
@media (max-width: 768px) {
  .remember-content {
    padding: 40px 25px;
  }
  .remember-main-title {
    font-size: 36px;
  }
  .article-btn {
     width: 100%;
     justify-content: center;
  }
}
