/* --- Estilos base --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 65px;
  right: 6px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  z-index: 99;
  transition: transform 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

.whatsapp-icon {
  width: 30px;
  height: 30px;
}

.mobile-only,
.navigation .mobile-only {
  display: none;
}

.title::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 50px;
  height: 2px;
  background: #d6a32f;
  margin-left: 10px;
}

/* --- Media queries --- */
@media (max-width: 800px) {
  .mobile-only,
  .navigation .mobile-only {
    display: block;
  }

  .social-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
    padding-bottom: 20px;
  }

  .social-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #333;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
  }

  .social-buttons a:hover {
    background-color: #555;
  }
}

.mobile {
  color: #ffffff;
  display: none;
}



@media (max-width: 600px) {
  .navigation .social-icons {
    display: flex !important;
    gap: 12px;
    padding: 12px 20px;
  }

  .navigation .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
  }
}

@media (max-width: 800px) {
  .social-nav {
    display: none !important;
  }
}
@media (max-width: 800px) {
  h3 {
    font-size: 23px;
  }
}

@media (max-width: 600px) {
  h3 {
    font-size: 18px;
  }
}

@media (max-width: 500px) {
  h3 {
    font-size: 15px;
  }
}

@media (max-width: 500px) {
  h3 {
    font-size: 15px;
  }
}

@media (max-width: 450px) {
  .mobile {
    display: block;
  }
  .none{
    display: none;
  }
}

@media (max-width: 480px) {
  .fix-line-mobile {
    padding-right: 10px !important;
    letter-spacing: normal !important;
  }

  .fix-line-mobile::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 2px;
    background: #d6a32f;
    margin-left: 8px;
  }
}

/* iOS Safari fix: disable background-attachment: fixed (causes blank backgrounds on iOS) */
@supports (-webkit-overflow-scrolling: touch) {
  /* From css/style.css */
  .page-title,
  .counter-section .image-layer {
    background-attachment: scroll !important;
  }
}

/* Mobile override: force scroll background on small screens and touch devices */
@media (max-width: 820px), (hover: none) {
  .page-title {
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
  }
}
