/* ============================================
   VIS WELLNESS — Estilos base
   Paleta oficial: Bone · Balance · Yoga · Neutral
   ============================================ */

/* --- Fuentes --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=DM+Sans:wght@400;500;600;700&display=swap');

/* --- Variables --- */
:root {
  /* Paleta de marca oficial */
  --bone: #EBE6D7;      /* crema claro - fondo principal */
  --balance: #D1CAB3;   /* beige medio */
  --yoga: #A5907C;      /* marrón cálido / topo */
  --neutral: #948C81;   /* gris pardo - textos, logo */

  /* Derivados útiles */
  --bone-light: #F4F1E8;   /* crema aún más claro */
  --bone-dark: #E0DAC8;    /* crema con un punto más de cuerpo */
  --yoga-dark: #8A7765;    /* marrón más profundo para hover */
  --texto: #5C554C;        /* texto principal (marrón grisáceo oscuro) */
  --texto-claro: #FBF9F4;  /* texto sobre fondos oscuros */
  --blanco: #FFFFFF;
  --linea: rgba(148, 140, 129, 0.18); /* bordes suaves */

  /* Tipografía */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  /* Medidas */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --max-width: 1240px;
  --transition: 0.25s ease;

  /* Sombras suaves */
  --shadow-sm: 0 2px 12px rgba(92, 85, 76, 0.06);
  --shadow-md: 0 8px 28px rgba(92, 85, 76, 0.10);
  --shadow-lg: 0 16px 48px rgba(92, 85, 76, 0.14);
}

/* --- Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--bone);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* --- Tipografía base --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--texto);
  letter-spacing: -0.01em;
}

/* ============================================
   SISTEMA DE SECCIONES POR COLOR
   Cada sección es un bloque de color sólido.
   El corte entre secciones es limpio (sin difuminado).
   ============================================ */
.section {
  padding: 88px 24px;
  transition: background-color 0.4s ease;
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Variantes de fondo por sección */
.bg-bone    { background-color: var(--bone); color: var(--texto); }
.bg-balance { background-color: var(--balance); color: var(--texto); }
.bg-yoga    { background-color: var(--yoga); color: var(--texto-claro); }
.bg-neutral { background-color: var(--neutral); color: var(--texto-claro); }
.bg-light   { background-color: var(--bone-light); color: var(--texto); }

/* En secciones oscuras, los títulos van claros */
.bg-yoga h1, .bg-yoga h2, .bg-yoga h3, .bg-yoga h4,
.bg-neutral h1, .bg-neutral h2, .bg-neutral h3, .bg-neutral h4 {
  color: var(--texto-claro);
}

/* --- Eyebrow (etiqueta pequeña sobre títulos) --- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yoga);
  margin-bottom: 16px;
  display: inline-block;
}
.bg-yoga .eyebrow, .bg-neutral .eyebrow { color: var(--bone); }

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--yoga);
  color: var(--texto-claro);
}
.btn-primary:hover {
  background: var(--yoga-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--texto);
  border: 1.5px solid var(--yoga);
}
.btn-outline:hover {
  background: var(--yoga);
  color: var(--texto-claro);
}
/* Botones sobre fondo oscuro */
.bg-yoga .btn-primary, .bg-neutral .btn-primary {
  background: var(--bone);
  color: var(--texto);
}
.bg-yoga .btn-primary:hover, .bg-neutral .btn-primary:hover {
  background: var(--bone-light);
}
.bg-yoga .btn-outline, .bg-neutral .btn-outline {
  border-color: var(--bone);
  color: var(--texto-claro);
}
.bg-yoga .btn-outline:hover, .bg-neutral .btn-outline:hover {
  background: var(--bone);
  color: var(--texto);
}

/* --- Utilidades --- */
.text-center { text-align: center; }
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
  opacity: 0.85;
}

/* Animación de entrada suave (lazy reveal) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
