/* =========================
   General Reset
========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }
:root {
  --nav-h: 80px;              /* altura aprox. de la navbar para posicionar el banner */
  --primary-color-light: #1a1a1a;
  --secondary-color: #BA8E23;
  --white: #ffffff;
}

body {
  font-family: 'Arial', sans-serif;
  color: #fff;
  background-color: #0f0f0f;
  line-height: 1.5;
}

a { text-decoration: none; }

/* =========================
   Navbar
========================= */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 50px; margin: 10px 60px;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed; width: calc(100% - 120px); top: 0; z-index: 10;
  border-radius: 45px; transition: all 0.5s ease;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
.navbar.scrolled {
  background-color: #0f0f0f; border-radius: 0; margin: 0; width: 100%;
  padding: 10px 40px; box-shadow: none;
}
.navbar ul { list-style: none; display: flex; gap: 30px; }
.navbar a { text-decoration: none; color: #fff; font-size: 16px; }

.navbar2 { display: flex; justify-content: center; align-items: center; height: 70px; margin: 0 auto; }
.navbar2 ul { list-style: none; display: flex; gap: 40px; transform: translateX(15px); padding: 0; margin: 0; }
.navbar2 a {
  text-decoration: none; color: #fff; font-size: 16px;
  font-family: 'Anton', sans-serif; font-weight: 500; text-transform: uppercase;
  position: relative; transition: color 0.3s ease-in-out;
}
.navbar2 a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
  background-color: #d6c68d; transition: width 0.3s ease-in-out;
}
.navbar2 a:hover::after { width: 100%; }
.navbar2 a:hover { color: #d6c68d; }

.login-btn {
  background-color: #d6c68d; border: none; padding: 10px 20px; font-size: 16px;
  font-family: 'Anton', sans-serif; font-weight: 500; text-transform: uppercase;
  border-radius: 15px; color: #000; cursor: pointer; transition: 0.3s ease-in-out;
}
.login-btn:hover { background-color: #bca56d; color: #fff; }

.navbar-right { display: flex; gap: 15px; }

#toggle-cart-btn {
  position: relative; top: 0; background-color: #d6c68d; border: none; border-radius: 15px;
  padding: 10px 20px; font-size: 18px; color: #000; cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); transition: background-color 0.3s ease;
}
#toggle-cart-btn:hover { background-color: #bca56d; }

.logo { position: absolute; top: 55%; transform: translateY(-50%); left: 30px; }
.logo img { height: 60px; opacity: 0.5; }
.logo img:hover { filter: invert(0.8) brightness(1.2); }

/* =========================
   HERO SECTION (video 16:9 + fondo compartido)
========================= */
.hero-section {
  position: relative; min-height: 100dvh; width: 100%; overflow: hidden;
  display: grid; place-items: center; padding: clamp(12px, 2vw, 24px);
}

/* Fondo del hero (textura) */
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("assets/textura.jpeg");
  background-size: cover; background-position: center;
  z-index: 0; transform: scale(1.02);
}

/* Capa de contraste sobre el fondo */
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(transparent, rgba(0,0,0,0.45));
  z-index: 1;
  pointer-events: none;
}

/* Banner dentro del hero */
.hero-section .promo-banner {
  position: absolute;
  top: calc(var(--nav-h, 56px) + 60px);
  left: 50%; transform: translateX(-50%);
  width: min(1100px, 92vw);
  z-index: 4;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 16px !important;
  text-align: center;
}
.hero-section .promo-container { max-width: none; margin: 0 auto; }

/* ---------- Marco 16:9 ---------- */
.hero-frame {
  position: relative; z-index: 2; display: grid; place-items: center;
  border-radius: 18px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.45);
  aspect-ratio: 16 / 9;
  background: #000;
  margin-top: clamp(160px, 18vw, 260px);
  max-width: 92vw;
  max-height: 80vh;
}

/* Iframe dentro del marco 16:9 */
.hero-frame .hero-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

/* Ajuste según relación de aspecto del viewport */
@media (min-aspect-ratio: 16/9) {
  .hero-frame { height: min(80vh, 1080px); width: auto; z-index: 2;}
}
@media (max-aspect-ratio: 16/9) {
  .hero-frame { width: min(92vw, 1920px); height: auto; }
}

/* En pantallas muy chicas */
@media (max-width: 640px) {
  .hero-frame { max-width: 96vw; margin-top: clamp(140px, 18vw, 220px); }
}

/* Compatibilidad por si queda código viejo */
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Botón para alternar sonido (si lo usás) */
.sound-toggle{
  position: absolute; right: 1rem; bottom: 1rem; z-index: 3;
  background: rgba(0,0,0,0.55); color: #fff; border: 1px solid rgba(255,255,255,0.25);
  padding: .55rem .9rem; border-radius: 12px; backdrop-filter: blur(4px);
  cursor: pointer; font-weight: 600; font-size: .95rem;
}
.sound-toggle:hover{ background: rgba(0,0,0,0.7); }

/* (Si más adelante volvés a usar título/CTA del hero) */
.hero-content{
  position: absolute; z-index: 4; inset: auto 0 4vh 0;
  display: grid; place-items: center; gap: 12px; text-align: center; color: #fff; padding: 0 16px;
}
.titlecoaching{
  font-family: 'Oswald', sans-serif; font-size: 36px; margin-bottom: 40px; text-transform: uppercase; color: #d6c68d;
}
.cta-btn{
  background: rgb(186, 142, 35);; color: #0b0b0b; border: none; padding: 0.9rem 1.4rem; border-radius: 999px;
  font-weight: 700; cursor: pointer; transition: transform .15s ease, opacity .15s ease; text-decoration: none;
}
.cta-btn:hover{ transform: translateY(-2px); opacity: .95; }

/* deshabilitado (no hover, look apagado) */
.cta-btn[aria-disabled="true"]{
  opacity:.5;
  cursor:not-allowed;
}

/* solo aplica hover si NO está deshabilitado */
.cta-btn:not([aria-disabled="true"]):hover{
  transform:translateY(-2px);
  opacity:.95;
}

/* =========================
   Sección About
========================= */
.about-section{
  background-color: #0f0f0f; color: #fff; padding: 50px 100px; margin-top: 100px; margin-bottom: 100px;
  opacity: 0; transform: translateY(50px); transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.about-section.show{ opacity: 1; transform: translateY(0); }
.about-container{ display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.about-text{ flex: 1; }
.about-text h2{ font-family: 'Oswald', sans-serif; font-size: 36px; margin-bottom: 20px; }
.about-text p{ font-family: 'Montserrat', sans-serif; font-size: 18px; line-height: 1.6; }
.about-image{ flex: 1; display: flex; justify-content: center; }
.about-image img{ max-width: 65%; height: auto; border-radius: 50px; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }

/* =========================
   Planes de Entrenamiento
========================= */
.planes-section{
  background-color: #0f0f0f; color: #fff; padding: 50px 100px; text-align: center;
}
.planes-title{
  font-family: 'Oswald', sans-serif; font-size: 36px; margin-bottom: 15px; text-transform: uppercase; color: #BA8E23;
}
.planes-subtitle{ margin-bottom: 35px; }

.planes-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px;
}
.plan-card{
  background-color: #1a1a1a; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  opacity: 0; transform: scale(0.9); transition: all 0.8s ease-in-out;
}
.plan-card.show{ opacity: 1; transform: scale(1); }
.plan-card:hover{ transform: scale(1.05); box-shadow: 0 6px 15px rgba(0,0,0,0.7); }
.plan-card img{ width: 100%; height: auto; }

.plan-info{ padding: 20px; }
.plan-info h3{
  font-family: 'Oswald', sans-serif; font-size: 18px; margin-bottom: 10px; text-transform: uppercase;
}
.plan-info p{ font-family: 'Montserrat', sans-serif; font-size: 16px; color: #d6c68d; font-weight: bold; }
.plan-card button{
  background-color: #BA8E23; border: none; border-radius: 5px; padding: 5px 10px; font-size: 14px;
  font-family: 'Oswald', sans-serif; color: #000; cursor: pointer; transition: background-color 0.3s ease;
}
.plan-card button:hover{ background-color: #bca56d; color: #fff; }

.paypal-form{ display: flex; justify-content: center; margin-top: 15px; }
.paypal-form input[type="image"]{
  max-width: 150px; height: auto; border-radius: 5px; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.paypal-form input[type="image"]:hover{ transform: scale(1.1); box-shadow: 0 4px 8px rgba(0,0,0,0.5); }
.paypal-form button{
  background-color: #BA8E23; border: none; border-radius: 5px; padding: 10px 20px; font-size: 16px;
  font-family: 'Oswald', sans-serif; color: #000; cursor: pointer; transition: all 0.3s ease;
}
.paypal-form button:hover{
  background-color: #BA8E23; color: #fff; transform: scale(1.05); box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

/* =========================
   Carrito
========================= */
.cart-box{
  position: fixed; top: 20px; right: -350px; width: 300px; background-color: #1a1a1a; color: #fff;
  padding: 15px 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: right 0.5s ease-in-out; z-index: 1000;
}
.cart-box.show{ right: 20px; }
.cart-box h3{ margin-top: 0; font-size: 18px; color: #d6c68d; }
.cart-item{ display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
#cart-total{ font-weight: bold; margin-top: 10px; font-size: 16px; color: #d6c68d; }
.checkout-btn{
  background-color: #d6c68d; color: #000; border: none; border-radius: 5px; padding: 10px 20px;
  font-size: 14px; cursor: pointer; width: 100%;
}
.checkout-btn:hover{ background-color: #bca56d; }
.remove-btn{
  background: none; border: none; color: red; font-size: 16px; cursor: pointer; margin-left: 10px;
  transition: transform 0.2s ease-in-out;
}
.remove-btn:hover{ transform: scale(1.2); }
.toggle-cart-btn{
  position: fixed; top: 20px; right: 20px; background-color: #d6c68d; border: none; border-radius: 50%;
  padding: 10px 15px; font-size: 18px; color: #000; cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3); z-index: 2000; transition: background-color 0.3s ease;
}
.toggle-cart-btn:hover{ background-color: #bca56d; }

/* =========================
   Testimonios
========================= */
.testimonios-section{ background-color: #0f0f0f; padding: 50px 20px; text-align: center; color: #fff; }
.testimonios-title{ font-family: 'Oswald', sans-serif; font-size: 36px; margin-bottom: 20px; }
.testimonios-carousel{ position: relative; overflow: hidden; max-width: 100%; margin: 0 auto; }
.carousel-track{
  display: flex; gap: 10px; animation: slideContinuous 12s linear infinite;
  min-width: calc(300px * 14 + 10px * 13);
}
.carousel-track img{ width: 300px; height: auto; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.5); }

/* =========================
   Footer
========================= */
.footer{
  background-color: #0f0f0f; color: #fff; padding: 50px 100px 70px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 50px;
}
.footer-bottom{ margin-bottom: 20px; }

.footer-column{ flex: 1; text-align: left; position: relative; left: 220px; }
.footer-column h4{ font-family: 'Oswald', sans-serif; font-size: 18px; margin-bottom: 20px; }
.footer-column ul{ list-style: none; padding: 0; margin: 0; }
.footer-column ul li{ margin-bottom: 10px; }
.footer-column ul li a{ color: #fff; text-decoration: none; font-size: 16px; transition: color 0.3s; }
.footer-column ul li a:hover{ color: #d6c68d; }

.newsletter{ max-width: 350px; }
.newsletter form{ display: flex; align-items: center; gap: 10px; }
.newsletter input{ flex: 1; padding: 10px; border: none; border-radius: 5px; font-size: 16px; }
.newsletter button{
  background-color: #d6c68d; color: #000; border: none; padding: 10px 20px; border-radius: 5px;
  cursor: pointer; font-family: 'Oswald', sans-serif; font-size: 16px; transition: background-color 0.3s ease;
}
.newsletter button:hover{ background-color: #bca56d; }

.footer-bottom{ text-align: center; margin-top: 30px; font-size: 14px; color: #aaa; }

/* =========================
   Price Card
========================= */
.price__card{
  max-width: 1200px; margin: 2rem auto; padding: 3rem 2rem; display: flex; flex-direction: column;
  background-color: var(--primary-color-light); border: 2px solid transparent; border-radius: 10px; transition: 0.3s;
}
.price__card:hover{ background-color: rgba(128, 128, 128, 0.2); border-color: var(--secondary-color); }
.price__card__content{ flex: 1; margin-bottom: 2rem; }
.price__card h1{ margin-bottom: 1rem; font-size: 2rem; font-weight: 500; }
.price__card h4{ margin-bottom: 1rem; font-size: 0.7rem; font-weight: 500; color: var(--white); }
.plan-info h4{ margin-bottom: 0.5rem; font-size: 0.7rem; font-weight: 500; color: var(--white); }
.price__card h3{
  padding-bottom: 0rem; margin-bottom: 2rem; font-size: 2rem; font-weight: 600; color: var(--white);
  border-bottom: 2px solid var(--white);
}
.price__card p{ margin-bottom: 0.75rem; color: var(--white); }
.price__card p i{ margin-right: 0.5rem; font-size: 1.2rem; color: var(--secondary-color); }
.price__btn{ color: var(--secondary-color); background-color: transparent; border: 2px solid var(--secondary-color); }
.price__btn:hover{ color: var(--white); background-color: var(--secondary-color); }

hr{ margin-top: 20px; margin-bottom: 20px; border: none; border-top: 1px solid #ccc; }

/* =========================
   Animaciones
========================= */
@keyframes slideContinuous{ 0%{ transform: translateX(0); } 100%{ transform: translateX(-50%); } }
@keyframes slideIn{ from{ opacity: 0; transform: translateX(-50px); } to{ opacity: 1; transform: translateX(0); } }

/* =========================
   Media Queries
========================= */
@media (max-width: 1200px){
  .hero-section{ position: relative; bottom: 5px; }
  .cta-btn{ padding: 10px 20px !important; font-size: 14px !important; margin-top: 56px !important; }
}

@media (max-width: 992px){
  .hero-section{ position: relative; bottom: 5px; }
}

@media (max-width: 768px){
  /* About */
  .about-section, .about-container{
    width: 100% !important; padding: 0 !important; margin: 0 auto !important;
    display: flex !important; flex-direction: column !important; align-items: center !important; gap: 20px !important;
  }
  .about-text{
    width: 100% !important; padding: 20px 15px !important; text-align: justify !important;
    font-size: 16px !important; line-height: 1.8 !important; letter-spacing: normal !important;
  }
  .about-text h2{ text-align: center !important; font-size: 26px !important; margin-bottom: 10px !important; }
  .about-image{ width: 100% !important; display: flex !important; justify-content: center !important; margin: 0 !important; padding: 0 !important; }
  .about-image img{
    width: 90vw !important; max-width: 90vw !important; height: auto !important; object-fit: cover !important;
    border-radius: 10px !important; margin-bottom: 120px !important;
  }

  /* Navbar móvil */
  .navbar{ background-color: rgba(0,0,0,0.9) !important; height: 70px; }
  .logo{ display: flex; align-items: center; }
  .logo img{ height: 48px; margin-left: -10px; }

  .hamburger{
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 4px; cursor: pointer; position: absolute; top: 30px; right: 15px;
  }
  .hamburger span{ width: 25px; height: 3px; background-color: #fff; border-radius: 2px; }

  .navbar2{
    display: none; flex-direction: column; align-items: center; width: 100%;
    position: absolute; top: 100%; left: 0; background-color: rgba(0,0,0,0.9); border-radius: 15px; padding: 120px 0;
  }
  .navbar2.active{ display: flex; }
  .navbar2 ul{ display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .navbar2 ul li{ width: 100%; text-align: center; padding: 10px 0; }
  .navbar2 a{ font-size: 18px; text-transform: uppercase; color: #fff; text-align: center; }

  .navbar-right{
    flex-direction: column; width: 100%; gap: 10px; margin-top: 10px;
    display: flex; justify-content: center; align-items: center;
  }
  .login-btn{ margin: 0 auto; display: block; }

  /* Ajustes hero móvil */
  .hero-section{ position: relative; bottom: 0; }

  /* Footer móvil */
  .footer{ flex-direction: column; align-items: center; gap: 30px; padding: 30px 20px; }
  .footer-column{
    left: 0; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px;
  }
  .footer-column h4{ font-size: 16px; }
  .footer-column ul{ display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; margin: 0; }
  .footer-column ul li a{ font-size: 14px; }
  .newsletter{ width: 100%; padding: 0 10px; }
  .newsletter form{ flex-direction: column; gap: 10px; }
  .newsletter input, .newsletter button{ width: 100%; font-size: 14px; padding: 10px; }
  .footer-bottom{ font-size: 12px; padding: 20px; }

  /* Planes */
  .planes-section{ padding: 20px 10px !important; }
  .plan-card{ width: 100% !important; max-width: 340px !important; margin: 0 auto !important; }
  .plan-info{ padding: 15px !important; text-align: center !important; }
  .plan-info h3{ font-size: 16px !important; }
  .plan-info p{ font-size: 14px !important; }
  .plan-card button{ width: 80% !important; margin: 0 auto !important; display: block !important; font-size: 14px !important; padding: 10px !important; }

  /* Carousel */
  .carousel-track{ animation: slideContinuous 15s linear infinite !important; }
}

/* =========================
   Promo Banner (por defecto, fuera del hero)
========================= */
.promo-banner{
  background: url('./assets/textura.jpeg') center/cover no-repeat, #000;
  padding: 150px 20px 20px; text-align: center; margin-top: var(--nav-h);
}
.promo-container{ max-width: 1200px; margin: 0 auto; }
.promo-label{
  display: inline-block; background: #BA8E23; color: #000;
  font-family: 'Oswald', sans-serif; font-size: 28px; font-weight: 700; text-transform: uppercase;
  padding: 8px 24px; border-radius: 2px; margin-bottom: 20px;
}
.promo-text{ font-family: 'Oswald', sans-serif; font-size: 29px; font-weight: 700; color: #fff; margin-top: 12px; }
.promo-text b{ color: #BA8E23; }
@media (max-width: 768px){
  .promo-label{ font-size: 20px; padding: 6px 16px; }
  .promo-text{ font-size: 29px; }
}

/* Carousel container */
.carousel-container {
  width: 100%;
  max-width: 400px;
  perspective: 1000px;
  margin: auto;
}

.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  animation: rotateCarousel 12s infinite linear;
  position: relative;
  height: 300px;
}

.carousel img {
  position: absolute;
  width: 200px;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s, opacity 0.5s;
}

.carousel img:nth-child(1) {
  transform: rotateY(0deg) translateZ(300px);
}
.carousel img:nth-child(2) {
  transform: rotateY(120deg) translateZ(300px);
}
.carousel img:nth-child(3) {
  transform: rotateY(240deg) translateZ(300px);
}

@keyframes rotateCarousel {
  0% {
    transform: rotateY(0deg);
  }
  60% {
    transform: rotateY(-360deg);
  }
}

/* Ajustes responsive */
@media screen and (max-width: 768px) {
  .carousel img {
    width: 150px;
    height: 220px;
  }
}

/* ===== Carrusel “selección de personaje” ===== */
.about-carousel {
  position: relative;
  width: min(420px, 88vw);
  height: clamp(260px, 60vw, 360px);
  margin: 0 auto;
  overflow: visible; /* que se vean las laterales si sobresalen */
}

.about-carousel .card {
  position: absolute;
  top: 50%;
  left: 50%;

  /* Tamaño y estilo */
  width: 65%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);

  /* Estado base: ya centrada y “apagada” */
  transform: translate(-50%, -50%) scale(.85);
  opacity: 0;
  z-index: 0;
  pointer-events: none;

  /* Suavidad */
  transition: transform .7s ease, filter .7s ease, opacity .5s ease, z-index .7s ease;
  will-change: transform, filter, opacity, z-index;

  user-select: none;
  -webkit-user-drag: none;
}

/* Estados/posiciones visibles */
.about-carousel .pos-center {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
  filter: saturate(1) brightness(1);
}

.about-carousel .pos-left {
  transform: translate(calc(-50% - 26%), -50%) scale(.92) rotate(-2deg);
  opacity: .98;
  z-index: 2;
  filter: saturate(.9) brightness(.95) blur(.2px);
}

.about-carousel .pos-right {
  transform: translate(calc(-50% + 26%), -50%) scale(.92) rotate(2deg);
  opacity: .98;
  z-index: 2;
  filter: saturate(.9) brightness(.95) blur(.2px);
}

/* Botones (opcionales) */
.about-carousel .ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  transition: background .2s ease, transform .2s ease;
}

.about-carousel .ctrl:hover { background: rgba(0,0,0,.5); transform: translateY(-50%) scale(1.05); }
.about-carousel .prev { left: 6px; }
.about-carousel .next { right: 6px; }

/* Pausa la animación al pasar el mouse en desktop */
@media (hover: hover) {
  .about-carousel:hover .card { transition-duration: .3s; }
}

/* Responsive fino en pantallas angostas */
@media (max-width: 480px) {
  .about-carousel .pos-left  { transform: translate(calc(-50% - 22%), -50%) scale(.9)  rotate(-1.5deg); }
  .about-carousel .pos-right { transform: translate(calc(-50% + 22%), -50%) scale(.9)  rotate(1.5deg); }
}

/* Oculta las tarjetas que no son left/center/right */
.about-carousel .card.is-hidden {
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

/* =========================
   WhatsApp Float (robusto)
========================= */
.whatsapp-float{
  position: fixed;
  width: 56px; height: 56px;
  /* Safe areas para iPhone con notch */
  bottom: calc(16px + env(safe-area-inset-bottom));
  right:  calc(16px + env(safe-area-inset-right));
  background-color:#25d366; color:#fff; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 8px rgba(0,0,0,.3);
  z-index: 2147483647; /* bien arriba */
  transition: transform .25s ease;
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);     /* evita glitches de stacking */
  contain: layout paint;        /* aísla su pintura */
}
.whatsapp-float:hover{ transform: scale(1.08); }
.whatsapp-float img{ width:28px; height:28px; display:block; }

/* Ajustes en pantallas chicas */
@media (max-width: 768px){
  .whatsapp-float{
    width:60px; height:60px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    right:  calc(18px + env(safe-area-inset-right));
  }
}

/* Contenedor centrado */
.hero-topline{
  position: absolute;
  z-index: 4;
  top: clamp(120px, 18vh, 220px);
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 92vw);
  text-align: center;
  padding: 0 12px;
}

/* Frase destacada */
.hero-claim{
  margin: 0;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(40px, 3.5vw, 24px);
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}

/* Parte amarilla */
.hero-claim .resaltado {
  color: rgb(186, 142, 35);
}

/* Móviles */
@media (max-width: 768px){
  .hero-topline{ top: clamp(100px, 15vh, 190px); }
  .hero-claim{ font-size: clamp(30px, 4vw, 18px); padding: 0 4px; }
}

.cta-btn-yellow {
  background-color: rgb(186, 142, 35);
  color: #0b0b0b;
}

.cta-btn-yellow:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}
