/* ============================================
   VIS WELLNESS — Estilos de la página principal
   ============================================ */

/* --- Barra superior de anuncios --- */
.topbar {
  background: var(--neutral);
  color: var(--texto-claro);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  font-weight: 500;
}

/* --- NAVBAR --- */
.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  height: 76px;
  background: var(--bone);
  border-bottom: 1px solid var(--linea);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-left {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: start;
  min-width: 0;
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
}

/* Logo */
.logo {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-align: center;
}
.logo-vis {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--neutral);
  letter-spacing: 0.08em;
}
.logo-wellness {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--neutral);
  margin-top: 2px;
  margin-left: 0.42em;
}

/* Links de navegación */
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--texto);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--yoga); background: rgba(165,144,124,0.12); }

/* Iconos de la derecha */
.nav-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  color: var(--texto);
  transition: var(--transition);
  position: relative;
}
.nav-icon:hover { background: rgba(165,144,124,0.14); color: var(--yoga); }

.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--yoga);
  color: var(--texto-claro);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Botón hamburguesa (oculto en desktop) */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--texto);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--bone);
  padding: 80px 24px 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(165,144,124,0.16);
  color: var(--yoga);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--neutral);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--yoga);
}
.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--texto);
  max-width: 560px;
  margin: 0 auto 36px;
  opacity: 0.9;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Frase decorativa de marca */
.hero-phrase {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--yoga);
  margin-top: 40px !important;
  opacity: 0.7;
}

/* ============================================
   SECCIÓN ASESORÍAS (fondo Yoga - marrón)
   ============================================ */
.asesoria-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.asesoria-text h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 18px;
}
.asesoria-text p {
  font-size: 17px;
  margin-bottom: 28px;
  opacity: 0.92;
}
.asesoria-visual {
  aspect-ratio: 4/3;
  padding: 0 !important;
  overflow: hidden;
  min-height: 0;
  background: none;
  border: none;
  border-radius: 7px;
}
.asesoria-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 7px;
}

/* ============================================
   OBJETIVOS: coverflow
   ============================================ */
.cf-escena{
  position:relative; width:100%; max-width:760px; height:320px;
  margin:20px auto 0; perspective:1400px; overflow:hidden;
  user-select:none;
}
.cf-pista{
  position:absolute; inset:0;
  transform-style:preserve-3d;
  cursor:grab;
}
.cf-pista.dragging{ cursor:grabbing; }
.cf-card{
  position:absolute; top:50%; left:50%;
  width:230px; height:250px; margin:-125px 0 0 -115px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px;
  padding:26px 22px; box-sizing:border-box;
  background:var(--blanco,#fff); border:1px solid var(--linea);
  border-radius:var(--radius-lg,20px);
  text-decoration:none; text-align:center;
  transition:transform .35s ease, opacity .35s ease, box-shadow .35s ease;
  will-change:transform, opacity;
}
.cf-card i{ font-size:38px; color:var(--yoga); }
.cf-card h3{ font-family:var(--font-display,serif); font-size:20px; color:var(--texto); }
.cf-card p{ font-size:13px; color:var(--neutral); line-height:1.4; }
.cf-card.activa{
  box-shadow:0 20px 50px rgba(92,85,76,.24);
  z-index:3;
}


@media(max-width:600px){
  .cf-escena{ height:300px; }
  .cf-card{ width:200px; height:230px; margin:-115px 0 0 -100px; }
}

/* ============================================
   PRODUCTOS DESTACADOS
   ============================================ */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.producto-card {
  background: var(--blanco);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--linea);
}
.producto-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.producto-img {
  aspect-ratio: 1;
  background: var(--bone-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--balance);
  font-size: 44px;
}
.producto-body { padding: 18px; }
.producto-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yoga);
}
.producto-body h3 {
  font-size: 17px;
  margin: 6px 0 10px;
}
.producto-precio {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--neutral);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--neutral);
  color: var(--texto-claro);
  padding: 56px 24px 28px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.footer-brand .logo-vis { color: var(--texto-claro); font-size: 32px; }
.footer-brand .logo-wellness { color: var(--bone); }
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.85;
  max-width: 280px;
}
.footer h4 {
  color: var(--texto-claro);
  font-size: 15px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.footer-col a {
  display: block;
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { opacity: 1; padding-left: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  opacity: 0.8;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,0.26); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav-links { display: none !important; }
  .nav-toggle { display: flex !important; }
  .productos-grid { grid-template-columns: repeat(2, 1fr); }
  .asesoria-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .section { padding: 64px 20px; }
  .hero { padding: 56px 20px 72px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .productos-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
}

/* ============================================
   MENÚ MÓVIL (DRAWER)
   ============================================ */
.vw-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(92,85,76,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}
.vw-mobile-overlay.open { opacity: 1; visibility: visible; }

.vw-mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 290px;
  max-width: 84vw;
  height: 100%;
  background: var(--bone);
  box-shadow: 8px 0 40px rgba(92,85,76,0.18);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  z-index: 999;
  padding: 22px;
  overflow-y: auto;
}
.vw-mobile-menu.open { transform: translateX(0); }

.vw-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--linea);
}
.vw-mobile-header .logo { align-items: flex-start; }
.vw-mobile-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(165,144,124,0.16);
  color: var(--texto);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vw-mobile-menu nav { display: flex; flex-direction: column; gap: 2px; }
.vw-mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--texto);
  transition: var(--transition);
}
.vw-mobile-menu nav a i { font-size: 20px; color: var(--yoga); }
.vw-mobile-menu nav a:hover { background: rgba(165,144,124,0.14); }
.vw-mobile-section {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neutral);
  margin: 18px 0 6px 14px;
}

/* === Carrusel temático (texto al lado + carrusel) === */
.carrusel-tema { display: grid; grid-template-columns: 290px 1fr; gap: 36px; align-items: center; }
.carrusel-tema-info .eyebrow { display: block; margin-bottom: 10px; }
.carrusel-tema-info h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); color: var(--neutral); line-height: 1.12; margin-bottom: 14px; }
.carrusel-tema-info p { color: var(--neutral); font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.carrusel-tema .vw-carousel { min-width: 0; }
@media (max-width: 820px) {
  .carrusel-tema { grid-template-columns: 1fr; gap: 18px; }
  .carrusel-tema-info { text-align: center; }
  .carrusel-tema-info p { max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* === Franjas de frases entre carruseles === */
.vis-frase-franja {
  background: var(--bone);
  padding: 60px 24px;
  text-align: center;
}
.vis-frase-franja.vis-frase-dark {
  background: var(--yoga);
}
.vis-frase-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.vis-frase-inner i {
  font-size: 32px;
  color: var(--yoga);
}
.vis-frase-franja.vis-frase-dark .vis-frase-inner i {
  color: var(--bone-light, #F4F1E8);
}
.vis-frase-inner blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  color: var(--texto);
  line-height: 1.3;
  margin: 0;
  font-style: italic;
}
.vis-frase-franja.vis-frase-dark .vis-frase-inner blockquote {
  color: var(--bone-light, #F4F1E8);
}
.vis-frase-inner span {
  font-size: 13px;
  color: var(--neutral);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.vis-frase-franja.vis-frase-dark .vis-frase-inner span {
  color: rgba(244,241,232,.7);
}