@font-face {
  font-family: 'Junicode';
  src: url('fonts/Junicode.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Junicode';
  src: url('fonts/Junicode-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Junicode';
  src: url('fonts/Junicode-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Junicode';
  src: url('fonts/Junicode-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: 'Comic Sans MS';
  src: url('fonts/Comic%20Sans%20MS.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Comic Sans MS';
  src: url('fonts/Comic%20Sans%20MS%20Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #c9c9d4;
  color: #000;
  font-family: 'Junicode', Georgia, 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1.4;
  overflow-x: hidden;
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;

  timeline-scope: --orgullo, --paloma-mia, --casa-sarassa, --cosas, --bacin;
}

.hero {
  text-align: center;
  padding-top: 10px;
}

.hero-icon {
  width: 100px;
  margin-bottom: 520px;
}

.hero-title {
  position: relative;
  text-align: center;
  width: 100%;
  margin: 40px auto 0;
  container-type: inline-size;
  --maria-width: 100%;
  --mer-width: 26%;
  --mer-left: 15%;
  --mer-top: -18%;
}

.hero-title .maria-fayos {
  display: block;
  margin: 0 auto;
  width: var(--maria-width);
  max-width: 1146px;
  font-family: 'Comic Sans MS', cursive;
  font-size: 13cqw;
  line-height: 1;
  white-space: nowrap;
  transform: scale(var(--maria-scale, 1.4));
}

.hero-title {
  --mer-width: 42%;
  --mer-left: 15%;
  --mer-top: -115%;

  --rayajo-width: 55%;
  --rayajo-left: -13%;
  --rayajo-top: 10%;
}

.hero-title .rayajo {
  position: absolute;
  width: var(--rayajo-width);
  left: var(--rayajo-left);
  top: var(--rayajo-top);
  z-index: 1;
  clip-path: inset(0 100% 0 0);
  animation: rayajo-draw 1s steps(20, end) forwards;
  animation-delay: 2s;
}

.hero-title .mer {
  position: absolute;
  width: var(--mer-width);
  left: var(--mer-left);
  top: var(--mer-top);
  z-index: 2;
  opacity: 0;
  animation: mer-fade 0.5s ease forwards;
  animation-delay: 3s;
}

@keyframes rayajo-draw {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

@keyframes mer-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .mer {
    animation: none;
    opacity: 1;
  }
}

.bio {
  padding: 300px 40px 20px;
}

.bio p {
  margin: 0 auto;
  max-width: 500px;
  color: #000;
  text-align: center;
  font-family: 'Junicode', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
}

.tilted-quote {
  padding: 180px 20px 100px;
  display: flex;
  justify-content: flex-start;
  margin-left: -150px;
}

.tilted-quote p {
  width: 633.382px;
  max-width: 100%;
  height: 83.325px;
  transform: rotate(10.548deg);
  color: #000;
  text-align: left;
  font-family: 'Junicode', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
}

.index-nav {
  position: sticky;
  top: 0;
  padding: 24px 0;
  z-index: 10;
  margin-top: 220px;
  line-height: 1;
}

.index-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 448px;
  max-width: 100%;
  text-align: center;
}

.index-nav li { display: inline; }
.index-nav li::after { content: " "; }

.index-nav a {
  font-family: 'Junicode', Georgia, serif;
  font-weight: 700;
  font-style: normal;
  font-size: 20px;
  line-height: 0.75;
  color: #000;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.35s ease, color 0.35s ease;
}

.index-nav a:hover {
  opacity: 1;
  color: #ffffff;
}

.index-nav a[data-target="orgullo"]                { animation-timeline: --orgullo; }
.index-nav a[data-target="paloma-mia"]              { animation-timeline: --paloma-mia; }
.index-nav a[data-target="casa-sarassa"]            { animation-timeline: --casa-sarassa; }
.index-nav a[data-target="cosas"]                   { animation-timeline: --cosas; }
.index-nav a[data-target="bacin"]                   { animation-timeline: --bacin; }

.index-nav a {
  animation-name: spy-glow;
  animation-fill-mode: both;
  animation-timing-function: linear;
  animation-range: cover 0% cover 100%;
}

@keyframes spy-glow {
  0%   { color: #000; opacity: 1; text-shadow: none; }
  35%  {
    color: #ffffff;
    opacity: 1;
    text-shadow:
      0 0 12px rgba(255, 255, 255, 1),
      0 0 30px rgba(255, 255, 255, 0.9),
      0 0 60px rgba(255, 255, 255, 0.7),
      0 0 100px rgba(255, 255, 255, 0.5);
  }
  50%  {
    color: #ffffff;
    opacity: 1;
    text-shadow:
      0 0 6px rgba(255, 255, 255, 0.9),
      0 0 16px rgba(255, 255, 255, 0.75),
      0 0 32px rgba(255, 255, 255, 0.5),
      0 0 60px rgba(255, 255, 255, 0.35);
  }
  65%  {
    color: #ffffff;
    opacity: 1;
    text-shadow:
      0 0 12px rgba(255, 255, 255, 1),
      0 0 30px rgba(255, 255, 255, 0.9),
      0 0 60px rgba(255, 255, 255, 0.7),
      0 0 100px rgba(255, 255, 255, 0.5);
  }
  100% { color: #000; opacity: 1; text-shadow: none; }
}

main { padding-bottom: 120px; }

.project {
  min-height: 100vh;
  padding: 17px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  view-timeline-axis: block;
}

#orgullo {
  padding-top: 250px;
  min-height: auto;
}
#paloma-mia {
  justify-content: flex-start;
  padding-top: 0px;
  min-height: auto;
}

#orgullo                  { view-timeline-name: --orgullo; }
#paloma-mia                { view-timeline-name: --paloma-mia; }
#casa-sarassa              { view-timeline-name: --casa-sarassa; }
#cosas                     { view-timeline-name: --cosas; }
#bacin                     { view-timeline-name: --bacin; }

p.orgullo-text-centrado {
  max-width: 420px;
  text-align: center;
  font-size: 18px;
  line-height: 1.15;
  margin-left: -270px;
  margin-top: -10px;
}

.laptop-frame img {
  width: 100%;
  max-width: 560px;
  height: auto;
}

.media-row {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-self: flex-start;
  margin-left: -260px;
}

.media-row img {
  max-width: 450px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0px 4px 4px rgba(0,0,0,0.25);
}

.laptop-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 495 / 299;
  align-self: flex-start;
  margin-left: -260px;

  --screen-width: 80%;
  --screen-height: 88%;
  --screen-left: 9.8%;
  --screen-top: 3%;
}

.laptop-frame .laptop-base {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.laptop-frame .laptop-screen-gif {
  position: absolute;
  top: var(--screen-top);
  left: var(--screen-left);
  width: var(--screen-width);
  height: var(--screen-height);
  object-fit: cover;
  clip-path: url(#orgullo-screen-clip);
}

.orgullo-text-centrado {
  max-width: 420px;
  margin: 12px auto 0 -150px;
  text-align: center;
  font-size: 20px;
}

.orgullo-text-izquierda {

  text-align: left;
  line-height: 1.15;
  margin: -10px 0 0 -260px;
  align-self: flex-start;
  font-size: 18px;
}

.orgullo-merch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.orgullo-phone {
  position: relative;
  width: 190px;
  flex-shrink: 0;
  background: #000;
  border-radius: 40px;
  align-self: flex-start;
  margin-left: -700px;
  margin-top: 8px;
}

.orgullo-phone .phone-frame {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 3;
  pointer-events: none;
}

.orgullo-phone .phone-intermedio {
  position: absolute;
  top: 9px;
  left: 5px;
  width: 95%;
  height: 97%;
  object-fit: cover;
  z-index: 1;
  border-radius: 23px;
}

.orgullo-phone .phone-screen {
  position: absolute;
  top: 49%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 175px;
  height: 320px;
  object-fit: cover;
  z-index: 2;
  cursor: pointer;
}

.orgullo-banner-group {
  position: relative;
  width: 300px;
  margin-top: 30px;
}

.orgullo-pancarta {
  width: 350%;
  height: auto;
  transform: rotate(-12deg);
  display: block;
}

.orgullo-chapas {
  position: absolute;
  width: 50px;
  height: 220px;
  top: 65%;
  left: 40px;
  margin-left: 900px;
}

.orgullo-chapas img:nth-child(1) {
  top: 25%;
  left: 70%;
  transform: translateX(-50%);
}

.orgullo-chapas img:nth-child(2) {
  bottom: 20px;
  right: 0px;
}

.orgullo-chapas img:nth-child(3) {
  bottom: 0;
  left: 0;
}

.orgullo-chapas img {
  width: 250px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
}

.orgullo-camiseta-wrap {
  width: 1200px;
  height: 500px;
  overflow: hidden;
  align-self: flex-start;
  margin-top: 40px;
  position: relative;
}

.orgullo-camiseta {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.paloma-intro {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-start;
  position: relative;
}

.paloma-photo-wrap {
  flex: 1 1 auto;
  max-width: 700px;
  margin-left: -260px;
}

.paloma-photo {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.paloma-photo-text {
  margin-top: 12px;
  max-width: 900px;
  font-size: 18px;
  line-height: 1.15;
  text-align: center;
}

.paloma-tarjeta {
  height: auto;
  display: block;
}

.paloma-tarjeta-2 {
  position: absolute;
  width: 400px;
  top: 100px;
  left: 650px;
  transform: rotate(6deg);
}

.paloma-flow-wrap {
  position: relative;
  margin-top: 60px;
  align-self: flex-start;
  margin-left: -150px;
}

.paloma-flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.paloma-flow-steps li {
  width: 170px;
  height: 170px;
  border: 1px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Junicode', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  margin-bottom: 90px;
  position: relative;
  cursor: pointer;
}

.paloma-flow-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 90px;
  background: #000;
  transform: translateX(-50%);
}

.paloma-flow-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(100% + 78px);
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: translateX(-50%) rotate(45deg);
}

.paloma-gif {
  position: absolute;
  left: 350px;
  width: 700px;
  height: 450px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.gif-mensaje  { top: 50px;  }
.gif-paloma   { top: 90px; }
.gif-mapa     { top: 350px; }
.gif-registro { top: 560px; }

.paloma-flow-wrap:has(.step-mensaje:hover) .gif-mensaje  { opacity: 1; }
.paloma-flow-wrap:has(.step-paloma:hover) .gif-paloma    { opacity: 1; }
.paloma-flow-wrap:has(.step-mapa:hover) .gif-mapa        { opacity: 1; }
.paloma-flow-wrap:has(.step-registro:hover) .gif-registro { opacity: 1; }

.sarassa-grid {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  width: 100%;
  max-width: 1500px;
  justify-content: center;
  margin-left: -8px;
}

.sarassa-col-izq {
  flex: 0 0 auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: flex-start;
  margin-left: 5px;
}

.sarassa-titulo {
  width: 850px;
  height: auto;
  display: block;

}

.sarassa-texto {
  margin-top: 0px;
  font-size: 18px;
  line-height: 1.15;
  text-align: center;
  max-width: 850px;

}

.sarassa-mockup {
  position: relative;
  width: 850px;
  margin-top: -12px;
}

.sarassa-mockup-frame {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.sarassa-mockup-video {
  position: absolute;
  z-index: 1;
  top: 115px;
  left: 165px;
  width: 450px;
  height: 350px;
  cursor: pointer;
}

.sarassa-video-fondo {
  position: absolute;
  z-index: 0;
  background: #000;
    top: 100px;
    left: 130px;
    width: 600px;
    height: 400px;
}
.sarassa-col-der {
  flex: 0 0 auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sarassa-col-der img {
  width: 490px;
  height: auto;
  display: block;

}

.lang-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lang-switcher {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 100;
  display: flex;
  gap: 24px;
}

.lang-switcher .lang-label:first-child::after {
  content: "/";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Comic Sans MS', cursive;
  pointer-events: none;
}

.lang-label {
  position: relative;
  font-family: 'Comic Sans MS', cursive;
  font-size: 18pt;
  cursor: pointer;
  color: #000;
  display: inline-block;
}

.lang-rayajo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: auto;
  transform: translate(-50%, -50%) rotate(-4deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body:has(#lang-val:checked) label[for="lang-val"] .lang-rayajo   { opacity: 1; }
body:has(#lang-cast:checked) label[for="lang-cast"] .lang-rayajo { opacity: 1; }

.text-cast { display: none; }
.text-val  { display: inline; }

body:has(#lang-cast:checked) .text-cast { display: inline; }
body:has(#lang-cast:checked) .text-val  { display: none; }

.paloma-tarjeta-1 {
  height: auto;
  display: block;
  width: 260px;
  position: relative;
  z-index: 2;
}

.paloma-ordenador-block {
  position: relative;
  margin-top: 80px;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.paloma-sello1 {
  width: 250px;
  height: auto;
  opacity: 0.8;
  position: absolute;
  top: 280px;
  left: -260px;
}

.paloma-laptop-frame {
  position: relative;
  width: 100%;
  max-width: 850px;
}

.paloma-laptop-base {
  display: block;
  width: 100%;
  height: auto;
}

.paloma-laptop-video {
  display: block;
  width: 690px;
  height: auto;
  margin-top: -500px;
}

.paloma-tarjeta-3 {
  width: 550px;
  height: auto;
  position: absolute;
  top: -45px;
  left: -230px;
  transform: rotate(-13deg);
  z-index: 2;
}

.paloma-sello2 {
  width: 300px;
  height: auto;
  opacity: 0.8;
  position: absolute;
  top: -120px;
  right: -293px;
  transform: rotate(8deg) scaleY(-1);
}

.paloma-ordenador-text {
  margin-top: 70px;
  max-width: 900px;
  font-size: 18px;
  line-height: 1.15;
  text-align: center;
}

.cosas-wrap {
  position: relative;
  width: 100%;
  max-width: 1500px;
  height: 800px;
  margin: 0 auto;
}

.cosas-frase {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  font-family: 'Junicode', Georgia, serif;
  font-style: italic;
  font-size: 90px;
  line-height: 0.8;
  text-align: center;
  z-index: 0;
  pointer-events: none;

}

.cosas-magnet {
  position: absolute;
  width: 450px;
  height: auto;
  z-index: 1;
  cursor: grab;
}

.cosas-magnet:nth-child(2)  { top: 130px;  left: -100px; }
.cosas-magnet:nth-child(3)  { top: 460px;  left: 230px; }
.cosas-magnet:nth-child(4)  { top: -90px;  left: 700px; }
.cosas-magnet:nth-child(5)  { top: 312px; left: 40px; width: 350px;}
.cosas-magnet:nth-child(6)  { top: 37px; left: -326px; width: 350px; }
.cosas-magnet:nth-child(7)  { top: -150px; left: -13px; width: 350px;}
.cosas-magnet:nth-child(8)  { top: 30px; left: 90px; width: 450px; }
.cosas-magnet:nth-child(9)  { top: 527px; left: 269px; }
.cosas-magnet:nth-child(10) { top: 400px; left: -300px; }
.cosas-magnet:nth-child(11) { top: 455px; left: 346px; width: 359px; }
.cosas-magnet:nth-child(12) { top: 143px; left: 169px; width: 450px; }
.cosas-magnet:nth-child(13) { top: 165px; left: 324px; }
.cosas-magnet:nth-child(14) { top: 100px; left: 400px; }
.cosas-magnet:nth-child(15) { top: 650px; left: 100px; }
.cosas-magnet:nth-child(16) { top: 508px; left: 480px; width: 300px; }
.cosas-magnet:nth-child(17) { top: -24px; left: 493px; }
.cosas-magnet:nth-child(18) { top: -100px; left: 300px; }

.cosas-web-block {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.cosas-frame {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
}

.cosas-frame-desktop {
  width: 820px;
  max-width: 100%;
  aspect-ratio: 1512 / 945;
}

.cosas-frame-desktop iframe {
  display: block;
  width: 1512px;
  height: 945px;
  border: 0;
  zoom: var(--escala-inversa, 1);
  transform: scale(var(--escala-cosas, 0.5423));
  transform-origin: 0 0;
}

.cosas-web-texto {
  max-width: 800px;
  margin: 0px auto 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.15;
  font-style: normal;
}

#bacin {
  --bacin-ancho: 1100px;
  --bacin-mover: 0px;
  --bacin-foto: 410px;
  --bacin-hueco: 30px;
  --bacin-texto: 540px;
}

.bacin-grid {
  display: flex;
  gap: var(--bacin-hueco);
  align-items: flex-start;
  width: var(--bacin-ancho);
  position: relative;
  left: var(--bacin-mover);
}

.bacin-portada-wrap {
  flex: 0 0 var(--bacin-foto);
}

.bacin-portada {
  display: block;
  width: 100%;
  height: auto;
  margin-left: -135px;
}

.bacin-col-der {
  flex: 0 0 var(--bacin-texto);
  width: var(--bacin-texto);
  max-width: none;
}

.bacin-logo,
.bacin-texto {
  width: 140%;
  max-width: none;
  font-size: 18px;
  line-height: 1.15;
}

.bacin-texto {
  text-align: justify;
  text-align-last: center;
}

.bacin-videos-row {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.bacin-video {
  width: 280px;
  aspect-ratio: 190 / 265;
  object-fit: cover;
  display: block;
  background: #555;
  cursor: pointer;
}

.bacin-ba-icon {
  width: 120px;
  height: auto;
  display: block;
  position: relative;
  left: calc(var(--bacin-mover) + 587px);
  margin-top: -20px;
}

.bacin-bottom-row {
  position: relative;
  width: var(--bacin-ancho);
  left: var(--bacin-mover);
  top: 0px;
  margin-top: -20px;
}

.bacin-serigrafia {
  display: block;
  width: 670px;
  height: auto;
  margin-left: 525px;
}

.bacin-video-gispen {
  position: absolute;
  width: 320px;
  aspect-ratio: 190 / 265;
  object-fit: cover;
  left: 180px;
  top: 55px;
  display: block;
  background: #555;
  cursor: pointer;
}

.img-link {
  display: contents;
}

.img-link img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.img-link:hover img {
  transform: scale(1.05);
}

.site-footer {
  padding: 80px 20px 40px;
  text-align: center;
}

.site-footer p {
  margin: 0 auto;
  max-width: 600px;
  font-family: 'Junicode', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.3;
  opacity: 0.7;
}
#bacin {
  min-height: auto;
  padding-bottom: 0;
}

main {
  padding-bottom: 0;
}

.site-footer {
  padding-top: 40px;
}

.page,
.lang-switcher {
  zoom: var(--escala, 1);
}

:root {
  --min-letra: calc(13.5px / var(--escala, 1));
}

.paloma-flow-steps li {
  font-size: max(20px, var(--min-letra));
}

.bio p,
.tilted-quote p,
.index-nav ul {
  zoom: var(--zoom-texto, 1);
}

p.orgullo-text-centrado,
.orgullo-text-izquierda,
.paloma-photo-text,
.paloma-ordenador-text,
.sarassa-texto,
.cosas-web-texto,
.bacin-texto {
  font-size: max(18px, var(--min-letra));
}

.site-footer p {
  font-size: max(14px, var(--min-letra));
}

.lang-label {
  font-size: max(18pt, var(--min-letra));
}

.bio p {
  max-width: 470px;
  text-wrap: balance;
}

.icono-play {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23000'/%3E%3C/svg%3E") center / 55% no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

@media (max-width: 700px) {
  :root {
    --min-letra: 0px;
  }

  html,
  body,
  .page {
    overflow-x: clip;
  }

  .page {
    padding: 0;
  }

  .lang-switcher {
    top: 5px;
    right: 10px;
    gap: 18px;
    zoom: var(--escala-lang, 0.8);

  }

  .lang-label {
    font-size: 24px;
  }

  .lang-switcher .lang-label:first-child::after {
    right: -13px;
  }

  .lang-rayajo {
    width: 44px;
  }

  .hero {
    position: relative;
    height: 895px;
    padding: 0;
    text-align: left;
  }

  .hero-icon {
    position: absolute;
    top: 52px;
    left: calc(56% - 49.5px);
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin: 0;
  }

  .hero-title {
    position: static;
    margin: 0;
    width: auto;
    container-type: normal;
  }

  .hero-title .maria-fayos {
    position: absolute;
    left: 46px;
    top: 536px;
    width: 310px;
    height: 158px;
    max-width: none;
    margin: 0;
    font-size: 85px;
    line-height: 0.9;
    white-space: normal;
    text-align: left;
    transform: none;
  }

  .hero-title .rayajo {
    left: 28px;
    top: 544px;
    width: 328px;
  }

  .hero-title .mer {
    left: 159px;
    top: 452px;
    width: 215px;
  }

  .bio {
    height: 195px;
    padding: 0;
  }

  .bio p {
    max-width: 338px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.05;
    zoom: 1;
  }

  .tilted-quote {
    height: 490px;
    padding: 190px 0 0 26px;
    margin-left: 0;
  }

  .tilted-quote p {
    width: 307px;
    height: auto;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.05;
    transform: rotate(10.5deg);
    zoom: 1;
  }

  .index-nav {
    margin-top: 0;
    padding: 22px 0 12px;
    line-height: 1.05pt;
  }

  .index-nav ul {
    width: 265px;
    zoom: 1;
  }

  .index-nav a {
    font-size: 13px;
    line-height: 1.05;
  }

  #orgullo {
    position: relative;
    display: block;
    height: 2241px;
    min-height: 0;
    padding: 0;
  }

  #orgullo br {
    display: none;
  }

  #orgullo .laptop-frame {
    position: absolute;
    left: 34px;
    top: 33px;
    width: 335px;
    height: 203px;
    max-width: none;
    margin: 0;
    aspect-ratio: auto;
    --screen-left: 30px;
    --screen-top: 6px;
    --screen-width: 276px;
    --screen-height: 180px;
  }

  #orgullo .laptop-frame img {
    max-width: none;
  }

  #orgullo p.orgullo-text-centrado {
    position: absolute;
    left: 28px;
    top: 247px;
    width: 341px;
    max-width: none;
    margin: 0;
    font-size: 14px;
    line-height: 1;
    text-align: center;
  }

  #orgullo .media-row {
    display: contents;
  }

  #orgullo .media-row img {
    position: absolute;
    max-width: none;
    object-fit: cover;
  }

  #orgullo .media-row img:nth-child(1) { left: 18px;  top: 409px; width: 224px; height: 317px; }
  #orgullo .media-row img:nth-child(2) { left: 160px; top: 473px; width: 224px; height: 317px; }
  #orgullo .media-row img:nth-child(3) { left: 65px;  top: 632px; width: 225px; height: 319px; }

  #orgullo .orgullo-text-izquierda {
    position: absolute;
    left: 53px;
    top: 964px;
    width: 249px;
    margin: 0;
    font-size: 14px;
    line-height: 1;
    text-align: center;
  }

  #orgullo .orgullo-merch,
  #orgullo .orgullo-banner-group,
  #orgullo .orgullo-chapas {
    display: contents;
  }

  #orgullo .orgullo-phone {
    position: absolute;
    left: 26px;
    top: 1095px;
    width: 351px;
    height: 623px;
    margin: 0;
    border-radius: 0;
    background: none;
  }

  #orgullo .phone-frame,
  #orgullo .phone-intermedio {
    display: none;
  }

  #orgullo .phone-screen {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  #orgullo .orgullo-pancarta {
    position: absolute;
    left: 11px;
    top: 1764px;
    width: 379px;
    height: 55px;
    object-fit: cover;
    transform: rotate(-10.67deg);
    z-index: 2;
  }

  #orgullo .orgullo-chapas img {
    width: 100px;
    right: auto;
    bottom: auto;
    transform: none;
  }

  #orgullo .orgullo-chapas img:nth-child(1) { left: 303px; top: 1859px; width: 149px;  z-index: 3; }
  #orgullo .orgullo-chapas img:nth-child(2) { left: 307px; top: 1774px; width: 149px; z-index: 3; }
  #orgullo .orgullo-chapas img:nth-child(3) { left: 216px; top: 1801px; width: 149px; z-index: 0; }

  #orgullo .orgullo-camiseta-wrap {
    position: absolute;
    left: -49px;
    top: 1836px;
    width: 542px;
    height: 438px;
    margin: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }

  #orgullo .orgullo-camiseta {
    position: static;
    width: 470px;
    height: 439px;
    object-fit: cover;
    transform: rotate(17.16deg);
  }
}

@media (max-width: 700px) {

  #paloma-mia br,
  #cosas br {
    display: none;
  }

  #paloma-mia {
    position: relative;
    z-index: 2;
    display: block;
    height: 1406px;
    min-height: 0;
    padding: 0;
  }

  #paloma-mia .paloma-intro,
  #paloma-mia .paloma-photo-wrap,
  #paloma-mia .paloma-ordenador-block,
  #paloma-mia .paloma-laptop-frame {
    display: contents;
  }

  #paloma-mia .paloma-laptop-base {
    position: absolute;
    left: 35px;
    top: 929px;
    width: 330px;
    height: auto;
    z-index: 1;
  }

  #paloma-mia .paloma-flow-wrap,
  #paloma-mia .paloma-ordenador-text {
    display: none;
  }

  #paloma-mia .paloma-photo {
    position: absolute;
    left: 22px;
    top: 0;
    width: 365px;
    height: 214px;
    object-fit: cover;
    z-index: 1;
  }

  #paloma-mia .paloma-photo-text {
    position: absolute;
    left: 15px;
    top: 228px;
    width: 381px;
    max-width: none;
    margin: 0;
    font-size: 14px;
    line-height: 1.05;
    text-align: center;
  }

  #paloma-mia .paloma-tarjeta-1,
  #paloma-mia .paloma-tarjeta-2,
  #paloma-mia .paloma-tarjeta-3 {
    position: absolute;
    height: auto;
    z-index: 1;
  }

  #paloma-mia .paloma-tarjeta-1 {
    left: 238px;
    top: 440px;
    width: 241px;
    transform: translate(-50%, -50%) rotate(10.46deg);
  }

  #paloma-mia .paloma-tarjeta-2 {
    left: 150px;
    top: 630px;
    width: 235px;
    transform: translate(-50%, -50%) rotate(-16.88deg);
  }

  #paloma-mia .paloma-tarjeta-3 {
    left: 209px;
    top: 1200px;
    width: 373px;
    transform: translate(-50%, -50%) rotate(11.56deg);
  }

  #paloma-mia .paloma-laptop-video {
    position: absolute;
    left: 66px;
    top: 934px;
    width: 268px;
    height: auto;
    margin: 0;
    z-index: 2;
  }

  #paloma-mia .paloma-sello1 {
    left: 12px;
    top: 1218px;
    width: 75px;
    z-index: 1;
  }

  #paloma-mia .paloma-sello2 {
    left: 317px;
    top: 842px;
    right: auto;
    width: 181px;
    transform: translate(-50%, -50%) rotate(5.72deg);
    z-index: 0;
  }

  #cosas {
    position: relative;
    display: block;
    height: 1296px;
    min-height: 0;
    padding: 0;
    margin-top: -150px;
  }

  #cosas .cosas-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 402px;
    max-width: none;
    height: 449px;
    margin: 0;
  }

  #cosas .cosas-frase {
    display: block;
    inset: auto;
    left: 35px;
    top: 172px;
    width: 322px;
    font-size: 28px;
    line-height: 0.79;
  }

  #cosas .cosas-magnet { height: auto; }
  #cosas .cosas-magnet:nth-child(2)  { left: 305px; top: 257px; width: 134px; }
  #cosas .cosas-magnet:nth-child(3)  { left: 98px;  top: 258px; width: 219px; }
  #cosas .cosas-magnet:nth-child(6)  { left: 286px; top: 140px; width: 175px; }
  #cosas .cosas-magnet:nth-child(8)  { left: 2px;  top: 61px;  width: 212px; }
  #cosas .cosas-magnet:nth-child(10) { left: -64px;  top: 130px; width: 199px; }
  #cosas .cosas-magnet:nth-child(11) { left: -22px;  top: 258px; width: 122px; }
  #cosas .cosas-magnet:nth-child(12) { left: 150px; top: 0px;   width: 110px; }
  #cosas .cosas-magnet:nth-child(13) { left: 195px; top: 305px; width: 179px; }
  #cosas .cosas-magnet:nth-child(14) { left: 190px;  top: 66px;  width: 199px; }
  #cosas .cosas-magnet:nth-child(15) { left: 160px; top: 130px; width: 100px; }
  #cosas .cosas-magnet:nth-child(16) { left: 290px; top: 330px; width: 90px; }
  #cosas .cosas-magnet:nth-child(17) { left: -34px;  top: 248px; width: 257px; }

  #cosas .cosas-magnet[src="cosas/c1.png"],
  #cosas .cosas-magnet[src="cosas/c2.png"],
  #cosas .cosas-magnet[src="cosas/tiburon.png"],
  #cosas .cosas-magnet[src="cosas/v2.png"],
  #cosas .cosas-magnet[src="cosas/cenicero.png"],
  #cosas .cosas-magnet[src="cosas/iman.png"],
  #cosas .cosas-magnet[src="cosas/abridor.png"] {
    display: none;
  }

  #cosas .cosas-web-block {
    position: absolute;
    left: 51px;
    top: 422px;
    width: 300px;
    margin: 0;
  }

  #cosas .cosas-frame-desktop {
    width: 300px;
    aspect-ratio: 402 / 874;
  }

  #cosas .cosas-frame-desktop iframe {
    width: 402px;
    height: 874px;
    transform: scale(var(--escala-cosas-movil, 0.7463));
  }

  #cosas .cosas-web-texto {
    position: absolute;
    left: 19px;
    top: 1086px;
    width: 364px;
    max-width: none;
    margin: 0;
    font-size: 13px;
    line-height: 1.05;
  }

  #casa-sarassa {
    display: block;
    min-height: 0;
    padding: 0 0 32px;
    margin-top: -90px;
  }

  #casa-sarassa .sarassa-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 379px;
    max-width: none;
    margin: 0 0 0 12px;
  }

  #casa-sarassa .sarassa-col-izq,
  #casa-sarassa .sarassa-col-der {
    display: contents;
  }

  #casa-sarassa .sarassa-titulo { order: 1; }
  #casa-sarassa .sarassa-col-der img { order: 2; }
  #casa-sarassa .sarassa-texto { order: 3; }
  #casa-sarassa .sarassa-mockup { order: 4; }

  #casa-sarassa .sarassa-titulo,
  #casa-sarassa .sarassa-col-der img {
    width: 368px;
    height: 207px;
    object-fit: cover;
  }

  #casa-sarassa .sarassa-col-der img:last-child {
    width: 379px;
    height: 213px;
  }

  #casa-sarassa .sarassa-texto {
    width: 384px;
    max-width: none;
    margin: -5px 0 0;
    font-size: 14px;
    line-height: 1.05;
  }

  #casa-sarassa .sarassa-mockup {
    width: 373px;
    margin: -5px 0 0;
  }

  #casa-sarassa .sarassa-video-fondo {
    top: 44px;
    left: 57px;
    width: 264px;
    height: 176px;
  }

  #casa-sarassa .sarassa-mockup-video {
    top: 50px;
    left: 72px;
    width: 198px;
    height: 154px;
  }

  #bacin {
    position: relative;
    display: block;
    height: 570px;
    min-height: 0;
    padding: 0;
  }

  #bacin .bacin-grid,
  #bacin .bacin-portada-wrap,
  #bacin .bacin-col-der,
  #bacin .bacin-videos-row,
  #bacin .bacin-bottom-row {
    display: contents;
  }

  #bacin .bacin-portada,
  #bacin .bacin-logo,
  #bacin .bacin-texto,
  #bacin .bacin-video,
  #bacin .bacin-ba-icon,
  #bacin .bacin-video-gispen,
  #bacin .bacin-serigrafia {
    position: absolute;
    margin: 0;
    max-width: none;
  }

  #bacin .bacin-portada {
    left: 15px;
    top: 0;
    width: 161px;
    height: 225px;
    object-fit: cover;
  }

  #bacin .bacin-logo {
    left: 187px;
    top: 0;
    width: 201px;
    height: 77px;
    object-fit: contain;
  }

  #bacin .bacin-video {
    top: 91px;
    width: 96px;
    height: 134px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  #bacin .bacin-video:nth-child(1) { left: 187px; }
  #bacin .bacin-video:nth-child(2) { left: 294px; }

  #bacin .bacin-texto {
    left: 4px;
    top: 239px;
    width: 386px;
    font-size: 13px;
    line-height: 1.05;
    text-align: center;
    text-align-last: auto;
  }

  #bacin .bacin-ba-icon {
    left: 347px;
    top: 361px;
    width: 41px;
  }

  #bacin .bacin-video-gispen {
    left: 62px;
    top: 445px;
    width: 81px;
    height: 113px;
    aspect-ratio: auto;
  }

  #bacin .bacin-serigrafia {
    left: 154px;
    top: 410px;
    width: 235px;
    height: 160px;
    object-fit: cover;
  }

  .site-footer {
    padding: 20px 0 5px;
  }

  .site-footer p {
    max-width: 300px;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    opacity: 0.7;
  }
}