/* ==========================================================================
   FERRETERÍA DEL VALLE - ESTILOS PRINCIPALES
   Paleta: Cemento Cálido & Arena de Obra (Opción 1 - Menos brillo, máxima comodidad)
   Animaciones: CSS nativo a 60 FPS, micro-interacciones y scroll reveal
   ========================================================================== */

/* ponytail: Custom properties nativas para tema y mantenimiento sencillo */
:root {
  /* Paleta "Cemento Cálido & Arena de Obra" */
  --bg-main: #f0ece1;             /* Fondo general: arena / cemento suave */
  --bg-section-alt: #e6e0d2;      /* Fondo secciones alternas: piedra suave */
  --bg-card: #faf8f5;             /* Fondo tarjetas: blanco hueso mate */
  --bg-muted: #e5ded2;            /* Fondo elementos secundarios */
  --bg-dark: #181d24;             /* Antracita / Hierro */

  --text-main: #181d24;           /* Texto principal de alto contraste */
  --text-muted: #535f6e;          /* Texto secundario cálido y legible */
  --text-light: #ffffff;

  --color-primary: #d97706;       /* Ámbar / Ocre Industrial */
  --color-primary-hover: #b45309;
  --color-secondary: #2563eb;     /* Azul herramienta */
  --color-dark: #181d24;          /* Gris Antracita / Hierro */
  --color-dark-hover: #0f1216;
  
  --color-wpp: #25d366;           /* Verde WhatsApp Oficial */
  --color-wpp-hover: #20ba59;
  --color-wpp-dark: #128c7e;

  --border-color: #d5cec2;        /* Borde tono piedra natural */
  --border-dark: #2d3748;

  --shadow-sm: 0 1px 3px rgba(35, 25, 15, 0.05), 0 1px 2px rgba(35, 25, 15, 0.03);
  --shadow-md: 0 4px 8px -1px rgba(35, 25, 15, 0.08), 0 2px 4px -1px rgba(35, 25, 15, 0.04);
  --shadow-lg: 0 12px 20px -3px rgba(35, 25, 15, 0.10), 0 4px 6px -2px rgba(35, 25, 15, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(35, 25, 15, 0.13), 0 10px 10px -5px rgba(35, 25, 15, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --container-max: 1160px;
  --font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reset básico y scroll suave */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-main);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: 70px; /* Espacio para barra móvil */
  background-color: var(--bg-main);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ================= ANIMACIONES GLOBALES & MICRO-INTERACCIONES ================= */

/* Scroll Reveal con CSS */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay para cards */
.stagger-1 { transition-delay: 0.06s; }
.stagger-2 { transition-delay: 0.14s; }
.stagger-3 { transition-delay: 0.22s; }
.stagger-4 { transition-delay: 0.30s; }

/* Efecto Shimmer de luz que recorre botones clave */
.shimmer-btn {
  position: relative;
  overflow: hidden;
}

.shimmer-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -70%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: shimmer 4s infinite ease-in-out;
  pointer-events: none;
}

@keyframes shimmer {
  0% { left: -70%; }
  22%, 100% { left: 140%; }
}

/* ================= COMPONENTES: BOTONES ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  line-height: 1.2;
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--color-wpp);
  color: #ffffff;
  border-color: var(--color-wpp);
}

.btn-whatsapp:hover {
  background-color: var(--color-wpp-hover);
  border-color: var(--color-wpp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.38);
}

.btn-dark {
  background-color: var(--color-dark);
  color: #ffffff;
  border-color: var(--color-dark);
}

.btn-dark:hover {
  background-color: var(--color-dark-hover);
  border-color: var(--color-dark-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--bg-muted);
  border-color: #b8afa0;
  transform: translateY(-1px);
}

.icon {
  flex-shrink: 0;
}

/* ================= HEADER ================= */
.site-header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-card);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-badges {
  display: none;
}

@media (min-width: 840px) {
  .header-badges {
    display: flex;
    align-items: center;
  }
}

.delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #fef3c7;
  color: #92400e;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #fde68a;
  box-shadow: var(--shadow-sm);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-phone-btn {
  display: none;
}

@media (min-width: 640px) {
  .header-phone-btn {
    display: inline-flex;
  }
}

/* ================= HERO SECTION ================= */
.hero-section {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-main) 100%);
  padding: 3.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border-color);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-wpp);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-dark);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.1rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-subtitle strong {
  color: var(--text-main);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 520px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.hero-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

@media (min-width: 520px) {
  .hero-trust {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card-image {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  overflow: visible;
  text-align: center;
  transition: transform 0.3s ease;
}

.hero-card-image:hover {
  transform: translateY(-4px);
}

.hero-featured-img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--bg-card);
  background-color: var(--bg-card);
}

.hero-card-floating {
  position: absolute;
  bottom: -20px;
  left: 15px;
  right: 15px;
  background-color: var(--bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--border-color);
  animation: floatSubtle 4s ease-in-out infinite;
}

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.floating-icon {
  font-size: 1.75rem;
  background-color: #fef3c7;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
}

.hero-card-floating strong {
  display: block;
  font-size: 1rem;
  color: var(--color-dark);
}

.hero-card-floating p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================= PRESUPUESTADOR EXPRESS (CRO) ================= */
.quote-bar-section {
  padding: 2.5rem 0;
  background-color: var(--bg-main);
}

.quote-box {
  background-color: var(--bg-card);
  border: 2px dashed #b8afa0;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.quote-box:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

@media (min-width: 860px) {
  .quote-box {
    grid-template-columns: auto 1fr auto;
    gap: 1.75rem;
  }
}

.quote-icon-box {
  font-size: 2.25rem;
  background-color: var(--bg-muted);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.quote-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.quote-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ================= SECCIÓN GENERAL ================= */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.4rem;
  }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================= COMBOS DESTACADOS ================= */
.combos-section {
  padding: 5rem 0;
  background-color: var(--bg-section-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.combos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .combos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .combos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.combo-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
  box-shadow: var(--shadow-sm);
}

.combo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #b8afa0;
}

.combo-card:hover .combo-icon-wrap {
  transform: scale(1.1) rotate(-3deg);
}

.combo-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background-color: var(--color-dark);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.combo-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: transform 0.25s ease;
  border: 1px solid var(--border-color);
}

.bg-amber { background-color: #fef3c7; }
.bg-blue { background-color: #dbeafe; }
.bg-steel { background-color: #e2e8f0; }

.combo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.combo-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.combo-features {
  flex-grow: 1;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
  margin-bottom: 1.5rem;
}

.combo-features ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.combo-features li {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.35;
}

.check {
  color: var(--color-wpp-dark);
  font-weight: 800;
  flex-shrink: 0;
}

.combo-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.combo-price-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.price-label {
  font-weight: 700;
  color: var(--color-primary);
}

.stock-indicator {
  color: var(--color-wpp-dark);
  font-weight: 700;
}

/* ================= BENEFICIOS / PROPUESTA DE VALOR ================= */
.benefits-section {
  padding: 5rem 0;
  background-color: var(--bg-main);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
  box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: #b8afa0;
  box-shadow: var(--shadow-lg);
}

.benefit-card:hover .benefit-icon-wrap {
  transform: scale(1.12);
}

.benefit-icon-wrap {
  width: 48px;
  height: 48px;
  background-color: var(--bg-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease;
}

.benefit-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.benefit-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================= CONTACTO, UBICACIÓN Y HORARIOS ================= */
.contact-section {
  padding: 5rem 0;
  background-color: var(--bg-section-alt);
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 3rem;
  }
}

.contact-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.info-group {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.info-group > div {
  min-width: 0;
}

.info-group p,
.info-group a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.info-icon {
  font-size: 1.5rem;
  background-color: var(--bg-muted);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.info-group h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.info-group p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.info-note {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 600;
}

.schedule-list {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  gap: 1rem;
  flex-wrap: wrap;
}

.schedule-list li > span {
  flex-shrink: 0;
}

.schedule-list strong {
  color: var(--text-main);
}

/* En móvil, cada horario pasa a dos líneas (etiqueta arriba, valor abajo) */
@media (max-width: 480px) {
  .schedule-list li {
    flex-direction: column;
    gap: 0.1rem;
  }
  .schedule-list strong,
  .schedule-list em {
    align-self: flex-start;
  }
}

.contact-cta-box {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.map-wrapper {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  min-width: 0;
  max-width: 100%;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.map-overlay-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

/* ================= FOOTER ================= */
.site-footer {
  background-color: var(--color-dark);
  color: #ffffff;
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 44px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  background-color: #ffffff;
}

.footer-name {
  font-size: 1.15rem;
  font-weight: 800;
  display: block;
}

.footer-copy {
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 1.25rem 0;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  font-size: 0.8rem;
  color: #64748b;
}

/* ================= BOTÓN FLOTANTE WHATSAPP ================= */
.floating-wpp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.22));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-wpp:hover {
  transform: scale(1.08);
}

.floating-icon-circle {
  width: 60px;
  height: 60px;
  background-color: var(--color-wpp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  position: relative;
}

/* Aura pulsante continua */
.floating-icon-circle::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: var(--color-wpp);
  opacity: 0.5;
  z-index: -1;
  animation: wpp-ripple 2.5s infinite ease-out;
}

@keyframes wpp-ripple {
  0% { transform: scale(0.95); opacity: 0.7; }
  60% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

.floating-wpp:hover .floating-icon-circle {
  background-color: var(--color-wpp-hover);
}

.floating-tooltip {
  display: none;
  background-color: var(--color-dark);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .floating-tooltip {
    display: block;
  }
}

/* ================= BARRA ACCIÓN MÓVIL (Bottom Sticky) ================= */
.mobile-action-bar {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 0.5rem 0.75rem;
  gap: 0.5rem;
  z-index: 99;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.08);
}

@media (min-width: 768px) {
  .mobile-action-bar {
    display: none;
  }
}

.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
}

.mobile-bar-btn.phone {
  background-color: var(--bg-muted);
  color: var(--color-dark);
  border: 1px solid var(--border-color);
}

.mobile-bar-btn.wpp {
  background-color: var(--color-wpp);
  color: #ffffff;
}

/* ================= BOTÓN VOLVER ARRIBA ================= */
.back-to-top {
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 44px;
  height: 44px;
  background-color: var(--color-dark);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

@media (min-width: 768px) {
  .back-to-top {
    bottom: 25px;
    left: 25px;
    width: 48px;
    height: 48px;
  }
}
