﻿/**
 * ============================================================
 * PROYECTO : calamx.com.mx
 * ARCHIVO  : publicaciones.css
 * PROPÓSITO: Estilos para la página de Publicaciones/Galería
 * UBICACIÓN: assets/css/pages/
 * ------------------------------------------------------------
 * AUTOR DEV: DaKaInnova — contacto@dakainnova.com.mx
 * CLIENTE  : Cala MX Eventos — contacto@calamx.com
 * FECHA    : 21/04/2026
 * VERSIÓN  : 1.1
 * ============================================================
 */

/* ── Hero ────────────────────────────────────────────────── */
.pub-hero {
  padding: 6rem 0 3.5rem;
  background: 
    radial-gradient(ellipse at top left, rgba(230, 193, 50, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(230, 193, 50, 0.08) 0%, transparent 50%),
    linear-gradient(
      135deg,
      var(--color-dark-brown) 0%,
      color-mix(in srgb, var(--color-dark-brown) 92%, var(--color-gold)) 50%,
      var(--color-dark-brown) 100%
    );
  position: relative;
  overflow: hidden;
}



/* Elementos decorativos flotantes */
.pub-hero__deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
}

.pub-hero__deco--circle-1 {
  width: 300px;
  height: 300px;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  top: -100px;
  right: 10%;
  animation: floatSlow 20s ease-in-out infinite;
}

.pub-hero__deco--circle-2 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(230, 193, 50, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 50px;
  left: 5%;
  animation: floatMedium 15s ease-in-out infinite;
}

.pub-hero__deco--circle-3 {
  width: 120px;
  height: 120px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  top: 40%;
  left: 85%;
  animation: floatFast 12s ease-in-out infinite;
}

.pub-hero__deco--line-1 {
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  top: 25%;
  left: -50px;
  transform: rotate(-45deg);
  animation: slideInOut 18s ease-in-out infinite;
}

.pub-hero__deco--line-2 {
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  bottom: 30%;
  right: -30px;
  transform: rotate(45deg);
  animation: slideInOut 16s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(30px, -30px) rotate(180deg); }
}

@keyframes floatMedium {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.1); }
}

@keyframes floatFast {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-15px, -25px); }
}

@keyframes slideInOut {
  0%, 100% { opacity: 0.05; transform: translateX(0) rotate(-45deg); }
  50% { opacity: 0.15; transform: translateX(50px) rotate(-45deg); }
}

.pub-hero__content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Ornamentos decorativos superior e inferior */
.pub-hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
}

.pub-hero__ornament--top {
  margin-bottom: 1.5rem;
}

.pub-hero__ornament--bottom {
  margin-top: 2rem;
}

.pub-hero__ornament span {
  display: block;
  height: 1px;
  background: var(--color-gold);
}

.pub-hero__ornament span:nth-child(1),
.pub-hero__ornament span:nth-child(3) {
  width: 40px;
  opacity: 0.5;
}

.pub-hero__ornament span:nth-child(2) {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 20px rgba(230, 193, 50, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.pub-hero__title {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pub-hero__title-main {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.pub-hero__title-accent {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  background: linear-gradient(
    135deg,
    var(--color-gold) 0%,
    color-mix(in srgb, var(--color-gold) 80%, white) 50%,
    var(--color-gold) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 12px rgba(230, 193, 50, 0.3));
  letter-spacing: 0.03em;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { filter: drop-shadow(0 4px 12px rgba(230, 193, 50, 0.3)) brightness(1); }
  50% { filter: drop-shadow(0 4px 20px rgba(230, 193, 50, 0.5)) brightness(1.1); }
}

/* Divisor decorativo */
.pub-hero__divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 1.25rem auto;
  position: relative;
  box-shadow: 0 0 10px rgba(230, 193, 50, 0.4);
}

.pub-hero__divider::before,
.pub-hero__divider::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}

.pub-hero__divider::before {
  left: -12px;
}

.pub-hero__divider::after {
  right: -12px;
}

.pub-hero__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 251, 243, 0.85);
  margin-bottom: 0.75rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.pub-hero__text--highlight {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: var(--color-gold);
  font-style: italic;
  margin-top: 1.25rem;
  padding: 1.25rem 2.5rem;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
  /* background: linear-gradient(
    135deg,
    rgba(230, 193, 50, 0.08) 0%,
    rgba(230, 193, 50, 0.03) 50%,
    rgba(230, 193, 50, 0.08) 100%
  ); */
  /* border-left: 3px solid rgba(230, 193, 50, 0.5);
  border-right: 3px solid rgba(230, 193, 50, 0.5); */
  border-radius: var(--radius-md);
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pub-hero__subtitle {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-gold);
  margin-top: 1.5rem;
}

/* ── Galería ─────────────────────────────────────────────── */
.pub-gallery {
  background: linear-gradient(
    180deg,
    var(--color-white) 0%,
    color-mix(in srgb, var(--color-sage) 6%, var(--color-white)) 100%
  );
  padding: 5rem 0;
}

/* Slider elegante y minimalista */
.gallery-slider {
  position: relative;
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 4rem;
}

.gallery-slider__wrapper {
  overflow: hidden;
}

.gallery-slider__track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Cada slide: 3 imágenes en desktop con tamaño fijo moderado */
.gallery-slide {
  flex: 0 0 auto;
  width: calc((100% - 4rem) / 3);
}

.gallery-slide__frame {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(230, 193, 50, 0.12);
}

.gallery-slide__frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), 
              0 0 0 1px rgba(230, 193, 50, 0.25);
}

.gallery-slide__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide__frame:hover .gallery-slide__img {
  transform: scale(1.04);
}

.gallery-slide__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.875rem 1rem;
  background: linear-gradient(
    to top,
    rgba(39, 18, 7, 0.88) 0%,
    rgba(39, 18, 7, 0.4) 70%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-slide__frame:hover .gallery-slide__overlay {
  opacity: 1;
}

.gallery-slide__category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-gold);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
}

/* Navegación discreta */
.gallery-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(230, 193, 50, 0.15);
  border-radius: 50%;
  color: var(--color-dark-brown);
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  opacity: 0.65;
  backdrop-filter: blur(10px);
}

.gallery-slider__nav:hover {
  opacity: 1;
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  transform: translateY(-50%) scale(1.1);
}

.gallery-slider__nav--prev {
  left: 0.5rem;
}

.gallery-slider__nav--next {
  right: 0.5rem;
}

/* Indicadores sutiles */
.gallery-slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.gallery-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(39, 18, 7, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.gallery-slider__dot:hover {
  background: rgba(230, 193, 50, 0.5);
  transform: scale(1.2);
}

.gallery-slider__dot.is-active {
  background: var(--color-gold);
  width: 24px;
  border-radius: 4px;
}

/* ── Testimonios ─────────────────────────────────────────── */
.pub-testimonials {
  background: var(--color-cream);  position: relative;
}

/* Bordes dorados decorativos */
.pub-testimonials::before,
.pub-testimonials::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-gold) 5%,
    var(--color-gold) 50%,
    var(--color-gold) 95%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(230, 193, 50, 0.4);
}

.pub-testimonials::before {
  top: 0;
  animation: borderGlow 3s ease-in-out infinite alternate;
}

.pub-testimonials::after {
  bottom: 0;
  animation: borderGlow 3s ease-in-out infinite alternate-reverse;
}

@keyframes borderGlow {
  0% {
    box-shadow: 0 0 12px rgba(230, 193, 50, 0.3);
  }
  100% {
    box-shadow: 0 0 20px rgba(230, 193, 50, 0.6);
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 2px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(230, 193, 50, 0.25);
  border-color: rgba(230, 193, 50, 0.3);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(230, 193, 50, 0.2) 50%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card__quote {
  position: absolute;
  top: -12px;
  left: 1.75rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-gold) 0%,
    color-mix(in srgb, var(--color-gold) 85%, white) 100%
  );
  border-radius: 50%;
  color: var(--color-dark-brown);
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(230, 193, 50, 0.4);
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-card__quote {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 6px 20px rgba(230, 193, 50, 0.6);
}

.testimonial-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-body);
  font-style: italic;
  margin-top: 1.5rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.testimonial-card__info {
  flex: 1;
}

.testimonial-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark-brown);
  margin-bottom: 0.15rem;
}

.testimonial-card__event {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.testimonial-card__rating {
  display: flex;
  gap: 0.25rem;
  color: var(--color-gold);
  font-size: 0.95rem;
}

/* CTA de Google Reviews */
.testimonials-cta {
  margin-top: 3.5rem;
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(230, 193, 50, 0.08) 0%,
    rgba(230, 193, 50, 0.04) 100%
  );
  border-radius: var(--radius-xl);
  border: 2px solid rgba(230, 193, 50, 0.2);
  position: relative;
  overflow: hidden;
}

.testimonials-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(230, 193, 50, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.testimonials-cta__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.testimonials-cta .btn {
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(230, 193, 50, 0.2);
  transition: all 0.3s ease;
}

.testimonials-cta .btn:hover {
  box-shadow: 0 8px 24px rgba(230, 193, 50, 0.4);
  transform: translateY(-2px);
}

/* ── Tips ────────────────────────────────────────────────── */
.pub-tips {
  background: linear-gradient(
    180deg,
    var(--color-white) 0%,
    color-mix(in srgb, var(--color-cream) 60%, var(--color-white)) 100%
  );
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.tip-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(230, 193, 50, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(230, 193, 50, 0.18);
  border-color: var(--color-gold);
}

.tip-card__icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold-dim);
  border-radius: var(--radius-xl);
  color: var(--color-gold-dark);
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.tip-card:hover .tip-card__icon {
  background: var(--color-gold);
  transform: scale(1.08);
}

.tip-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark-brown);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.tip-card__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-body);
}

/* ── Redes Sociales ──────────────────────────────────────── */
.pub-social {
  background: linear-gradient(
    135deg,
    var(--color-dark-brown) 0%,
    color-mix(in srgb, var(--color-dark-brown) 92%, var(--color-gold)) 100%
  );  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Parallax Background */
.pub-social__parallax-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../imgs/photos/evento_cenaformal_mesa_orquideas_blanco_dorado_verde_V_06.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.pub-social::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(39, 18, 7, 0.75) 0%,
    rgba(39, 18, 7, 0.65) 50%,
    rgba(39, 18, 7, 0.75) 100%
  );
  z-index: 1;
}

.pub-social .container {
  position: relative;
  z-index: 2;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2.25rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--color-white);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 260px;
}

.social-link:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-gold);
  box-shadow: 0 12px 32px rgba(230, 193, 50, 0.25);
}

.social-link i {
  font-size: 2.2rem;
  transition: transform 0.35s ease;
}

.social-link:hover i {
  transform: scale(1.15);
}

.social-link--instagram:hover {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.15), rgba(193, 53, 132, 0.15));
}

.social-link--facebook:hover {
  background: rgba(24, 119, 242, 0.15);
}

.social-link--whatsapp:hover {
  background: rgba(37, 211, 102, 0.15);
}

.social-link__content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.social-link__name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-white);
}

.social-link__handle {
  font-size: 0.85rem;
  color: rgba(255, 251, 243, 0.7);
}

/* ── CTA Final ───────────────────────────────────────────── */
.pub-cta {
  background: linear-gradient(
    160deg,
    var(--color-dark-brown) 0%,
    var(--color-dark-brown-2) 60%,
    var(--color-green-deep) 100%
  );
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: -1px;
}

/* Textura orgánica sutil */
.pub-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    ellipse at 20% 50%,
    rgba(230, 193, 50, 0.06) 0%,
    transparent 60%
  ),
  radial-gradient(
    ellipse at 80% 50%,
    rgba(53, 92, 79, 0.12) 0%,
    transparent 60%
  );
  pointer-events: none;
}

/* Luces tipo reflectores dorados animados */
.pub-cta::after {
  content: '';
  position: absolute;
  inset: -20%;
  background-image: 
    radial-gradient(
      ellipse 380px 320px at 15% 60%,
      rgba(212, 168, 67, 0.60) 0%,
      rgba(212, 168, 67, 0.38) 25%,
      rgba(212, 168, 67, 0.20) 45%,
      rgba(212, 168, 67, 0.10) 60%,
      transparent 75%
    ),
    radial-gradient(
      ellipse 320px 380px at 85% 40%,
      rgba(212, 168, 67, 0.52) 0%,
      rgba(212, 168, 67, 0.32) 25%,
      rgba(212, 168, 67, 0.16) 45%,
      rgba(212, 168, 67, 0.08) 60%,
      transparent 75%
    );
  background-size: 100% 100%;
  filter: blur(55px);
  opacity: 1;
  animation: spotlightMove 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}

.pub-cta__inner {
  position: relative;
  z-index: 2;
}

.pub-cta__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pub-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.pub-cta__text,
.pub-cta__subtitle {
  font-size: 1rem;
  color: rgba(255, 251, 243, 0.65);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.pub-cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Animación de reflectores */
@keyframes spotlightMove {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-8%, 6%) scale(1.05);
  }
  100% {
    transform: translate(5%, -4%) scale(0.98);
  }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Slider: 2 imágenes en tablet */
  .gallery-slide {
    width: calc((100% - 2rem) / 2);
  }
  
  .gallery-slider {
    padding: 0 2.5rem;
  }
  
  .gallery-slider__track {
    gap: 1.5rem;
  }
  
  .gallery-slide__img {
    height: 240px;
  }
  
  .gallery-slider__nav {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }

  .social-links {
    gap: 1.5rem;
  }

  .social-link {
    min-width: 240px;
  }
}

@media (max-width: 768px) {
  .pub-hero {
    padding: 4.5rem 0 2.5rem;
  }

  /* Ocultar algunos elementos decorativos en móvil para mejor performance */
  .pub-hero__deco--circle-1,
  .pub-hero__deco--line-1 {
    display: none;
  }

  .pub-hero__deco--circle-2 {
    width: 150px;
    height: 150px;
    bottom: 30px;
    left: -30px;
  }

  .pub-hero__deco--circle-3 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: auto;
    right: -20px;
  }

  .pub-hero__ornament span:nth-child(1),
  .pub-hero__ornament span:nth-child(3) {
    width: 25px;
  }

  .pub-hero__title-main {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .pub-hero__title-accent {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .pub-hero__text {
    font-size: 0.95rem;
  }

  .pub-hero__text--highlight {
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
  }

  .pub-hero__divider {
    width: 60px;
  }

  /* Slider: 1 imagen en móvil (768px) */
  .gallery-slide {
    width: 100%;
  }
  
  .gallery-slider {
    padding: 0 2rem;
  }
  
  .gallery-slider__track {
    gap: 1rem;
  }
  
  .gallery-slide__img {
    height: 260px;
  }
  
  .gallery-slider__nav {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .testimonials-grid {
    gap: 1.25rem;
  }

  .testimonial-card {
    padding: 1.75rem 1.5rem;
  }

  .testimonials-cta {
    padding: 2rem 1.5rem;
  }

  .testimonials-cta__text {
    font-size: 0.95rem;
  }

  .tips-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .social-links {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .social-link {
    min-width: auto;
    justify-content: center;
  }

  .pub-social__parallax-bg {
    background-attachment: scroll;
  }

  .pub-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pub-cta__actions .btn {
    justify-content: center;
  }

  .pub-cta__title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .pub-cta::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .pub-hero {
    padding: 4rem 0 2rem;
  }
  
  .gallery-slider {
    padding: 0 1.5rem;
  }
  
  .gallery-slider__track {
    gap: 0.75rem;
  }
  
  .gallery-slide__img {
    height: 220px;
  }
  
  .gallery-slider__nav {
    width: 32px;
    height: 32px;
  }
  
  .gallery-slide__category {
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
  }

  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }

  .testimonial-card__text {
    font-size: 0.9rem;
  }

  .tip-card {
    padding: 1.75rem 1.25rem;
  }

  .tip-card__icon {
    width: 58px;
    height: 58px;
    font-size: 1.6rem;
  }

  .social-link {
    padding: 1.25rem 1.5rem;
    gap: 1rem;
  }

  .social-link i {
    font-size: 1.9rem;
  }
}
