
/* MENUUUUUUU */


.header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;

  padding: 24px 40px;
  background: #fff;

  z-index: 1000;
}

a{
  text-decoration: none;
}

.header__logo {
  font-weight: 600;
  font-size: 20px;
  align-items: center; 
}

.header__logo span {
  font-size: 12px;
  vertical-align: super;
}

.header__logo .logo-registered {
  width: 30px; 
  height: auto; 
}


/* BUSCADOR */
.header__search {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  width: 400px;
  transition: transform 0.3s ease;
}
.search-prefix {
  position: absolute;
  left: 0;
  bottom: 8px;                 /* alinea con la línea */
  font-family: "Space Mono", monospace;
  font-size: 14px;
  color: #bbb;
  pointer-events: none;
}
.header__search input {
  width: 100%;
  padding: 8px 28px 8px 13px;
  border: none;
  border-bottom: 1px solid #000;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  outline: none;
  color: #000;
}

.header__search input::placeholder {
  color: #bbb;
}

.search-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.header__icon {
  font-size: 20px;
  cursor: pointer;
}

/* OVERLAY GRIS */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #f0f0f0;
  padding-top: 96px; 
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 10;
  inset: 0;
}

/* CONTENIDO */


.search-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 24px;
  cursor: pointer;
  position: relative;
}

.search-content span {
  font-size: 30x;
  color: #999;
  font-weight: 400;
  align-self: center;
}

.search-content p {
  font-size: 80px;
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
  cursor: pointer;
  transition: opacity 0.25s ease;
  color: #CFCFCF;
}

.search-item:hover span,
.search-item:hover p {
  color: #000;
}

.search-open .search-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* .search-open .header__search input {
  background: #fff;
} */

.search-open .header {
  background: #f0f0f0;
}

/* .search-open .header__search input {
  background: #fff;
} */

.search-open .search-icon,
.search-open .header__icon {
  color: #555;
}

/* Cruz para cerrar búsqueda */
.header__search::after {
  content: "✕";
  position: absolute;
  right: 38px; 
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #777;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.search-open .header__search::after {
  opacity: 1;
  pointer-events: auto;
}

.search-close {
  position: absolute;
  right: 38px;
  top: 50%;
  transform: translateY(-50%);
  transform: translateY(-50%) scale(0.5); 
  font-size: 14px;
  color: #777;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.3s ease, transform 0.3s ease; 
}

.search-open .search-close {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1); 
}


.search-open .header__search {
  /* transform: translateX(-470px);  */
  transition: transform 0.3s ease; 
}

.search-item::after {
  content: "/";
  position: absolute;
  left: 26px;          /* ajusta según tu diseño */
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #000;

  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.search-item:hover::after {
  opacity: 1;
}

/* CONTENEDOR GENERAL */
.search-wrapper {
  display: grid;
  grid-template-columns: 420px 1fr;
  height: calc(100vh - 96px);
  padding: 40px 80px;
}

/* LISTA IZQUIERDA */
.search-content {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 24px;
  row-gap: 28px;
  padding: 40px;
  margin-top: 120px;
  margin-left: 80px;
  font-family: "Space Mono", monospace;

  display: grid;
  grid-template-columns: 1fr; /* 👈 UNA columna */
  row-gap: 28px;
}

.search-content p {
  font-size: 70px;
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
  cursor: pointer;
  transition: opacity 0.25s ease;
  transition: color 0.25s ease, transform 0.25s ease;
}

.search-item:hover p {
  transform: translateX(12px); 
}

/* GALERÍA DERECHA */
.hover-gallery {
  position: absolute;
  top: 220px;
  right: 10px;
  width: 660px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;

  pointer-events: none;
  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 0.35s ease,
    transform 0.6s cubic-bezier(.19,1,.22,1);
  overflow: visible;
}

/* Contenedor oculto para efecto “mascara” */
.hover-img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden; /* 👈 oculta la parte de la imagen que está fuera */
  position: relative;
}

.hover-img-wrapper img {
  width: 100%;
  transform: translateY(50px); /* empieza abajo */
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(.19,1,.22,1),
    opacity 0.35s ease 0.1s;
}

/* Estado visible de la galería */
.hover-gallery.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cuando la galería es visible, animamos las imágenes */
.hover-gallery.is-visible .hover-img-wrapper img {
  transform: translateY(0); /* sube desde detrás */
  opacity: 1;
}

/* Botón modo oscuro */
.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.icon-theme {
  width: 26px;
  height: 26px;
  color: inherit;
}

.hidden { display: none; }

/* Header */
.main-header {
  width: 100%;
  height: 10vh;
  background: currentColor;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}


@media (max-width: 1023px) {

  /* HEADER */
  .header {
    padding: 20px 24px;
    grid-template-columns: auto 1fr auto;
  }

  .header__logo {
    font-size: 18px;
  }

  /* BUSCADOR */
  .header__search {
    width: 300px;
    max-width: 300px;
  }

  .search-prefix {
    font-size: 12px;
  }

  /* OVERLAY */
  .search-wrapper {
    grid-template-columns: 1fr;
    padding: 32px 40px;
  }

  .search-content {
    margin-top: 80px;
    margin-left: 0;
    padding: 24px;
  }

  .search-content p {
    font-size: 48px;
  }

  /* GALERÍA */
  .hover-gallery {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 40px;
    grid-template-columns: repeat(2, 1fr);
  }

  /* Animación búsqueda */
  
}

@media (max-width: 767px) {

  /* HEADER */
  .header {
    padding: 16px 20px;
    grid-template-columns: auto auto;
  }

  .header__logo {
    font-size: 16px;
  }

  /* BUSCADOR */
  .header__search {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin-top: 12px;
  }

  .header__search input {
    font-size: 14px;
  }

  /* ICONOS */
  .header__icon {
    font-size: 18px;
  }

  /* OVERLAY */
  .search-overlay {
    padding-top: 120px;
  }

  .search-wrapper {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .search-content {
    margin-top: 40px;
    padding: 0;
  }

  .search-content p {
    font-size: 32px;
  }

  .search-content span {
    font-size: 14px;
  }

  /* GALERÍA: fuera en móvil */
  .hover-gallery {
    display: none;
  }

 
  /* Quitar detalles finos que no funcionan bien en móvil */
  .search-item::after {
    display: none;
  }
}


html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  transition: background-color 0.5s ease, color 0.5s ease;
  overflow-x: hidden;
}

/* Temas */
:root {
  --bg-light: #ffffff;
  --bg-dark: #000000;
  --text-light: #000000;
  --text-dark: #ffffff;
}

body.light-mode {
  background-color: var(--bg-light);
  color: var(--text-light);
}

body.dark-mode {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

/* Botón modo oscuro */
.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.icon-theme {
  width: 26px;
  height: 26px;
  color: inherit;
}

.hidden { display: none; }

/* Header */
.main-header {
  width: 100%;
  height: 10vh;
  background: currentColor;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sección principal */
.section-paula {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.text-section-paula {
  width: 50%;
}

.text-wrapper-paula {
  position: absolute;
  top: 15%;
  left: 10%;
  display: flex;
  flex-direction: column;
}

.text-paula {
  font-family: 'Inter';
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 5rem);
}
.about-auction-paula {
  font-family: "Space Mono", monospace;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.6;
  color: inherit;
  opacity: 0;
  transform: translateY(20px);
  max-width: 600px;
  margin-top: 2rem;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-auction-paula p {
  text-align: justify;
  text-justify: inter-word;
  margin: 0 0 1rem 0; /* separa los párrafos un poco */
}
/* Imágenes dispersas */
.image-container-paula {
  position: relative;
  height: 80vh;
  width: 80%;
  overflow: visible;
  left: -20%;
  top: -20%;
}

.img-paula {
  position: absolute;
  max-width: 200px;
  height: auto;
  opacity: 0;
  cursor: grab;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.img-paula:active {
  cursor: grabbing;
  transform: scale(1.05);
}

/* ===== GRID ===== */
.grid-paula {

  display: flex;
  flex-direction: column;
  align-items: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 90%;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(50px);
}


.grid-item::before {
  content: attr(data-index);
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.9rem;
  font-family: "Space Mono", monospace;
  color: black;
  padding: 2px 6px;
  z-index: 2;
  pointer-events: none;
  transition: background 0.3s ease;
}

body.dark-mode .grid-item::before {
  
  color: #ffffff;
}

/* === Imágenes dentro del grid === */
.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.grid-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

/* === Info card === */
.info-card {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  color: #fff;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.4s ease;
  text-shadow: 1px 0px 3px rgba(0, 0, 3, 20);
   font-family: "Space Mono" ;
   font-weight: 500;
}

.grid-item:hover .info-card {
  height: 100%;
  opacity: 1;
}



/* ===== Botón Scroll to Top ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top-btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

body.dark-mode .scroll-top-btn {
  background-color: rgba(255, 255, 255, 0.8);
  color: #000;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}


/* Oculta el cursor nativo SOLO en desktop */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, input, textarea, select {
    cursor: none;
  }
}

/* wrapper fijo del cursor */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 2147483647;
}

/* bola del cursor */
#custom-cursor .cursor-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;

  background: var(--cursor-color);

  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.3s ease-in-out;
  pointer-events: none;


  mix-blend-mode: difference !important;

  /* opcional */
  unicode-bidi: isolate;
}

#custom-cursor .cursor-inner.link-hover {
  transform: translate(-50%, -50%) scale(2);
}


body.light-mode { --cursor-color: #000000; }
body.dark-mode  { --cursor-color: #ffffff; }


@media (hover: none), (pointer: coarse) {
  #custom-cursor { display: none; }
  body { cursor: auto; }
}

/* USER ICON BUTTON*/

.header__actions{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}



.user-toggle{
  background: transparent;
  border: none;
  padding: 6px;
  line-height: 0;
  color: inherit;           /* clave: toma el color del tema */
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.user-toggle:hover{
  opacity: 1;
  transform: translateY(-1px);
}

.user-icon{
  width: 24px;
  height: 24px;
  display: block;
}

/* =========================
   MODAL (dark/light)
========================= */

.modal-archif{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
}

body.dark-mode .modal-archif{
  background: #000000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

body.dark-mode .modal-archif .text-muted{
  color: rgba(255,255,255,0.65) !important;
}

body.dark-mode .modal-archif .form-control{
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}

body.dark-mode .modal-archif .form-control::placeholder{
  color: rgba(255,255,255,0.5);
}

/* Si ya tienes overrides de botones para dark-mode, perfecto.
   Si no, esto asegura contraste en la modal: */
body.dark-mode .modal-archif .btn.btn-dark{
  --bs-btn-color: #000;
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
}

body.dark-mode .modal-archif .btn.btn-outline-dark{
  --bs-btn-color: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
}

/*USER ICON BUTTON*/

.header__actions{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.user-toggle{
  background: transparent;
  border: none;
  padding: 6px;
  line-height: 0;
  color: inherit;       
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.user-toggle:hover{
  opacity: 1;
  transform: translateY(-1px);
}

.user-icon{
  width: 24px;
  height: 24px;
  display: block;
}

/* MODAL (dark/light)*/

.modal-archif{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
}

body.dark-mode .modal-archif{
  background: #000000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

body.dark-mode .modal-archif .text-muted{
  color: rgba(255,255,255,0.65) !important;
}

body.dark-mode .modal-archif .form-control{
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}

body.dark-mode .modal-archif .form-control::placeholder{
  color: rgba(255,255,255,0.5);
}

body.dark-mode .modal-archif .btn.btn-dark{
  --bs-btn-color: #000;
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
}

body.dark-mode .modal-archif .btn.btn-outline-dark{
  --bs-btn-color: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
}

.header__actions .user-toggle {
  color: #000 !important;
}

.header__actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Misma “caja” para ambos */
.header__actions .user-toggle,
.header__actions .theme-toggle{
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Tamaños visuales */
.header__actions .user-icon{
  width: 22px;
  height: 22px;
  display: block;
}

.header__actions .theme-toggle i{
  font-size: 20px;
  line-height: 1;
}

/* Si tu .theme-toggle antes era fixed, lo anulamos aquí */
.header__actions .theme-toggle{
  position: static !important;
  top: auto !important;
  right: auto !important;
}
.header__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}

.header__actions .user-toggle,
.header__actions .theme-toggle{
  width:38px;
  height:38px;
  padding:0;
  border:none;
  background:transparent;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Usuario siempre negro */
.header__actions .user-toggle{
  color:#000 !important;
}

/* Si estás en dark-mode, ponle “chip” claro para que se vea negro */
body.dark-mode .header__actions .user-toggle{
  background: rgba(255,255,255,0.9);
}

body.dark-mode .header__actions .user-toggle:hover{
  background: rgba(255,255,255,0.75);
}

.header__actions .user-icon{
  width:22px;
  height:22px;
  display:block;
}

/* Quita la flechita del dropdown */
.user-toggle.dropdown-toggle::after{
  display:none !important;
}

/* Dropdown estilo Archif + dark/light */
.user-dropdown{
  border-radius: 12px;
  padding: 8px;
  border: 1px solid rgba(0,0,0,0.08);
}

body.dark-mode .user-dropdown{
  background:#111;
  border-color: rgba(255,255,255,0.15);
}

body.dark-mode .user-dropdown .dropdown-item{
  color:#fff;
}

body.dark-mode .user-dropdown .dropdown-item:hover{
  background: rgba(255,255,255,0.08);
}

:root {
  --header-bg-light: #ffffff;
  --header-text-light: #000000;
  --header-bg-dark: #000000;
  --header-text-dark: #ffffff;
}

/* HEADER base */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 24px 40px;
  background-color: var(--header-bg-light);
  color: var(--header-text-light);
  z-index: 1000;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Modo claro */
body.light-mode .header {
  background-color: var(--header-bg-light);
  color: var(--header-text-light);
}

/* Modo oscuro */
body.dark-mode .header {
  background-color: var(--header-bg-dark);
  color: var(--header-text-dark);
}

/* Íconos, enlaces y botones heredan color */
.header svg,
.header i,
.header button,
.header a {
  color: inherit;
  fill: currentColor;
  transition: color 0.4s ease, fill 0.4s ease;
}

/* Logo */
.logo-registered {
  height: 32px;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.main-footer {
  width: 100%;
  background-color: var(--bg-light);
  color: var(--text-light);
  padding: 3rem 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-family: "Space Mono", monospace;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.dark-mode .main-footer {
  background-color: var(--bg-dark);
  color: var(--text-dark);
  border-top: 1px solid rgba(255,255,255,0.2);
}

/* ===== Footer ===== */
.main-footer {
  margin-top: auto;
  align-items: baseline;
  width: 100%;
  background-color: var(--bg-light);
  color: var(--text-light);
  padding: 3rem 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-family: "Space Mono", monospace;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.dark-mode .main-footer {
  background-color: var(--bg-dark);
  color: var(--text-dark);
  border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.footer-info { 
  flex: 1 1 200px; 
  max-width: 600px;
  font-size: 0.9rem; 
  line-height: 1.6; 
  text-align: center; 
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-direction: column-reverse;
  align-items: center;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.footer-links a:hover { opacity: 0.6; }


@media (max-width: 768px) {
  .main-footer {
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
  }

  .footer-logo-img {
    height: 36px;
  }

  .footer-info {
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 90%;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .main-footer {
    padding: 1.8rem 1rem;
  }

  .footer-info {
    font-size: 0.8rem;
  }

  .footer-logo-img {
    height: 32px;
  }
}

@media (max-width: 768px) {

  /* ===== HEADER ===== */
  .header {
    grid-template-columns: auto auto;
    padding: 16px 20px;
    background-color: var(--header-bg-light);
  }

  body.dark-mode .header {
    background-color: var(--header-bg-dark);
  }

  .header__logo img {
    width: 26px;
    height: auto;
  }

  .header__search {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin-top: 12px;
    order: 3;
  }

  .header__search input {
    font-size: 14px;
    padding: 6px 28px 6px 12px;
  }

  .header__actions {
    gap: 8px;
  }

  .header__actions .theme-toggle i,
  .header__actions .user-icon {
    font-size: 18px;
  }

  /* ===== OVERLAY ===== */
  .search-overlay {
    padding-top: 80px;
  }

  .search-content {
    margin-top: 40px;
    padding: 0 24px;
  }

  .search-content p {
    font-size: 36px;
    line-height: 1.1;
  }

  .search-content span {
    font-size: 16px;
  }

  .hover-gallery {
    display: none; /* Oculta la galería de hover en móvil */
  }

  .search-item::after {
    display: none; /* Oculta barra lateral “/” en móvil */
  }

  /* ===== SECCIÓN PRINCIPAL ===== */
  .section-paula {
    min-height: auto;
    padding-top: 120px; /* da aire al header fijo */
  }

  .text-wrapper-paula {
    top: 20vh;
    left: 10%;
  }

  .text-wrapper-paula h1{
    font-size: 3rem;
  }

  .text-paula {
    font-size: clamp(1.8rem, 6vw, 3rem);
  }

  .image-container-paula {
    height: auto;
    min-height: 60vh;
    
  }

  .img-paula {
    max-width: 100px;
    display: none;
  }

  /* ===== GRID ===== */
  .grid-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 90%;
  }

  .grid-item img {
    border-radius: 4px;
  }

  .info-card {
    font-size: 0.85rem;
    padding: 0.5rem;
  }

  /* ===== BOTÓN SCROLL ===== */
  .scroll-top-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* ===== FOOTER ===== */
  .main-footer {
    padding: 2rem 1rem;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }

  .footer-info {
    font-size: 0.85rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .text-paula {
    font-size: 1.6rem;
  }

  .search-content p {
    font-size: 28px;
  }

  .grid-container {
    width: 95%;
    gap: 1rem;
  }

  .scroll-top-btn {
    bottom: 1rem;
    right: 1rem;
  }
}