@charset "utf-8";
/* SS — AJUSTES 03 / Oct 2026
   Capa reversible. No afecta páginas de piezas individuales. */

/* HOME: sin la franja de un video ausente */
body:has(.inicio-contenidos) .inicio-contenidos {padding-top:34px;}
body:has(.inicio-contenidos) .textodeinicio {margin-top:45px;}
body:has(.inicio-contenidos) .portfolio-encabezado {margin-top:46px;}

/* CATEGORÍAS: separa las piezas de la barra fija superior. */
.inicio-trabajos + .main-content {margin-top:0; padding-top:148px;}

/* SOBRE MÍ: ancho editorial para que el ojo no recorra líneas interminables. */
.modulo-sobremi {height:390px; background-color:#12191d;}
.modulo-sobremi .imagen-sobremi img {height:390px;}
.modulo-sobremi .texto-sobremi {
  box-sizing:border-box;
  flex:0 1 610px;
  width: min(50%,610px);
  margin-left:24px;
  padding:20px 30px 15px 15px;
}
.modulo-sobremi .texto-sobremi > p {
  max-width:52ch;
  font-size:1.13rem;
  line-height:1.55;
  margin-top:40px;
  color:#f3f5f6;
}
.modulo-sobremi .texto-sobremi p span {color:#8dc1dc;}
.modulo-sobremi .cv-download {margin-top:25px;}

/* CONTACTO: isotipo sin dependencia de video, movimiento casi imperceptible. */
.todo-contacto {gap: clamp(22px,4.5vw,70px);}
.contenedor-slide.ss-isotipo-area {
  margin:0;
  transform:translateY(-8px);
  width:clamp(180px,24vw,360px);
  height:auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ss-isotipo {display:block;width:clamp(165px,19vw,280px);height:auto;animation:ss-flotacion 7s ease-in-out infinite;filter:drop-shadow(3px 6px 4px rgba(16,35,51,.14));}
.todo-contacto .modulo-contacto {width:min(38%,440px);margin:0;}
@keyframes ss-flotacion {
  0%,100% {transform:translateY(0) scale(1);}
  50% {transform:translateY(-9px) scale(1.013);}
}

/* VIDEO EN DESTACADOS: iframe independiente y proporción 16/9. */
.cada-video-nuevo.ss-cordis-player {
  width:min(77%,860px);
  margin:35px auto 55px;
  padding-bottom:0;
  height:auto;
  aspect-ratio:16/9;
  overflow:visible;
  background:#161b20;
  visibility:visible;
}
.cada-video-nuevo.ss-cordis-player iframe {position:static; width:100%;height:100%;display:block;border:0;}

@media (max-width:900px) {
  .modulo-sobremi {height:auto;min-height:350px;padding:28px 15px;box-sizing:border-box;}
  .modulo-sobremi .imagen-sobremi {width:auto;max-width:42%;margin-left:0;}
  .modulo-sobremi .imagen-sobremi img {height:auto;width:100%;max-height:370px;object-fit:cover;}
  .modulo-sobremi .texto-sobremi {flex:0 1 54%;width:54%;margin:0 0 0 24px;padding:12px 4px;}
  .modulo-sobremi .texto-sobremi > p {margin-top:10px;font-size:1.05rem;line-height:1.48;}
  .todo-contacto .modulo-contacto {width:48%;}
}
@media (max-width:700px) {
  body:has(.inicio-contenidos) .inicio-contenidos {padding-top:24px;}
  body:has(.inicio-contenidos) .logo {margin:18px auto 35px;}
  .inicio-trabajos + .main-content {padding-top:182px;}
  .modulo-sobremi {margin-top:110px;display:flex;flex-direction:column;padding:27px 20px 30px;}
  .modulo-sobremi .imagen-sobremi {max-width:290px;width:100%;margin:0 auto;text-align:center;}
  .modulo-sobremi .imagen-sobremi img {width:100%;height:auto;max-height:none;}
  .modulo-sobremi .texto-sobremi {flex:auto;width:100%;max-width:480px;margin:0 auto;padding:22px 4px 10px;}
  .modulo-sobremi .texto-sobremi > p {margin:0;line-height:1.55;}
  .modulo-sobremi .cv-download {margin-top:25px;}
  .todo-contacto {display:flex;flex-direction:column;padding:65px 18px 75px;gap:12px;height:auto;box-sizing:border-box;}
  .contenedor-slide.ss-isotipo-area {width:100%;margin:0;height:175px;transform:translateY(-6px);}
  .ss-isotipo {width:160px;}
  .todo-contacto .modulo-contacto {width:min(100%,350px);margin:4px auto 0;font-size:1.15em;}
  .todo-contacto .modulo-contacto-uno {margin-bottom:34px;}
  .cada-video-nuevo.ss-cordis-player {width:92%;margin:25px auto 35px;}
}
@media (prefers-reduced-motion:reduce) {
  .ss-isotipo {animation:none;}
}
