body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

.mapfre-landing {
  position: relative;
  background: #d81e05;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 0;
  overflow: hidden;
  z-index: 1;
  perspective: 1200px;
}

.mapfre-landing::before,
.mapfre-landing::after {
  content: "";
  position: absolute;
  width: 100%;
}

.mapfre-landing::before {
  top: 40px;
  left: 40px;
  width: 330px;
  height: 120px;
  background: url('img/logo2.png') no-repeat center / contain;
  z-index: 2;
}

.mapfre-landing::after {
  bottom: 0;
  left: 0;
  height: 60vh;
  background: url('img/wave1.svg') no-repeat bottom / cover;
  z-index: -1;
  opacity: 0.85;
  filter: blur(0.5px);
}

.container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1100px;
  width: 100%;
  gap: 20px;
  padding-bottom: 15vh;
}

.left-side {
  flex: 1;
  text-align: left;
  color: #fff;
  padding-left: 20%;
}

.left-side h2 {
  font-size: 32px;
  margin-bottom: 40px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.store-section {
  display: flex;
  padding-top: 8%;
  gap: 20px;
  align-items: center;
}

.qr-code img,
.store-buttons a img {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.qr-code img {
  width: 120px;
}

.qr-code img:hover {
  transform: scale(1.1);
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.store-buttons a img {
  width: 180px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.store-buttons a img:hover {
  transform: scale(1.05);
}

.right-side {
  flex: 0 0 400px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 5%;
}

.right-side img {
  max-width: 650px;
  animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateX(-80px) translateY(0); }
  25%, 75% { transform: translateX(-78px) translateY(-8px); }
  50% { transform: translateX(-80px) translateY(-15px); }
}

.top-phone {
  display: none;
}

@keyframes floatPhoneMobile {
  0%, 100% { transform: translate(0, 0); }
  25%, 75% { transform: translate(2px, -8px); }
  50% { transform: translate(0, -15px); }
}

@media (max-width: 768px) {
  .mapfre-landing::before {
    background-size: 60%;
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
  }

  .mapfre-landing::after {
    top: 30%;
    height: 61%;
  }

  .top-phone {
    display: block;
    margin-bottom: 0;
  }

  .top-phone img {
    max-width: 550px;
    animation: floatPhoneMobile 6s ease-in-out infinite;
  }

  .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 60%;
    text-align: center;
    gap: 0;
  }

  .left-side {
    padding-left: 0;
    text-align: center;
  }

  .left-side h2 {
    font-size: 22px;
    margin: 0;
    color: #d81e05;
  }

  .right-side {
    display: none;
  }

  .store-section {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .qr-code img {
    width: 90px;
  }

  .store-buttons {
    gap: 12px;
  }

  .store-buttons a img {
    width: 140px;
  }
}
