@font-face {
    font-family: 'Catamaran';
    src: url('../fonts/Catamaran-Variable.ttf') format('ttf');
    font-weight: 700;
}

.body-landing {
    font-family: Arial, sans-serif;
    padding-top: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    overflow-x: hidden;
}

.container-landing {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 1rem;
}

.snackment-title-landing {
    font-family: 'Catamaran', sans-serif;
    font-size: 3rem;
    /* padding-bottom: 2rem; */
}

.text-section {
    max-width: 330px;
}

.text-section p {
    margin-bottom: 2.5rem;
}

.device-section {
    text-align: center;
    position: relative;
}

.device {
    width: 300px;
    height: 645px;
    border: none;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device img,
.device video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    top: 0;
    left: 0;
    opacity: 0;
}

.device img.active,
.device video.active {
    opacity: 1;
    pointer-events: auto;
}

.marco {
    z-index: 3;
}

#screen-image,
#screen-video {
    position: absolute;
    z-index: 1;
}

.store {
    height: 40px;
}

.button-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none; /* no bloquea clicks */
  z-index: 4;
}

#circle-container { top: 42%; display: flex; }
#capsule-container { bottom: 22%; display: none; }

.ripple-svg,
.ripple-capsule-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  z-index: 2;
}

.button-circle,
.button-capsule {
  pointer-events: auto;
  font-family: 'Catamaran', sans-serif;
  border: none;
  color: #fff;
  font-size: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-circle {
  width: 82px;
  height: 93px;
  border-radius: 50%;
  background: #2379a1;
  transform: skewY(3deg);
}

.button-capsule {
  width: 105px;
  height: 23px;
  border-radius: 20px;
  background: #2379a1;
  transform: skewY(6deg);
}

.ripple-svg {
    transform: translate(-50%, -50%) skewY(3deg);
}
.ripple-capsule-svg {
  transform: translate(-50%, -50%) skewY(6deg);
}

.ripple-capsule-svg {

  width: 360px;

  height: 220px;

}

/* Ondas */
.wave {
  fill: none;
  stroke: rgba(35,121,161,0.4);
  stroke-width: 2;
  opacity: 0;
  transform-origin: 50% 52%;
  animation: ripple-wave 4s infinite;
}
.wave1 { animation-delay: 0s; }
.wave2 { animation-delay: 0.5s; }
.wave3 { animation-delay: 2s; }
.wave4 { animation-delay: 2.5s; }

@keyframes ripple-wave {
  0%   { transform: scale(0.7); opacity: 0.8; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { opacity: 0; }
}

/* Ajustes en pantallas pequeñas */
@media (max-width: 768px) {
    .body-landing {
        padding-top: 4rem;
    }

    .container-landing {
        flex-direction: column;
        gap: 0rem;
        justify-content: flex-start;
    }

    .text-section {
        text-align: center;
        max-width: 90%;
    }

    .device-section {
        margin-top: 1rem;
        width: 100%;
        display: flex;
        justify-content: center;
        right: 0.4rem;
    }

    .device {
        width: 90%;
        max-width: 300px;
        aspect-ratio: 3 / 5;
    }
}

#footer {
    font-family: 'Catamaran', sans-serif;
    text-align: left;
    padding: 1rem 1rem;
    color: #000000;
}

#footer nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

#footer nav a {
    color: #2379a1;
}