/* =====================================================================
   NAHIOMITV — HOJA DE ESTILOS PRINCIPAL
   =====================================================================
   Este archivo contiene TODO el diseño del sitio: colores, tipografía,
   layout y componentes reutilizables (botones, tarjetas, etc).
   Está dividido por secciones con comentarios para que sea fácil
   encontrar lo que quieras editar.
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. VARIABLES DE MARCA (colores, tipografías, espaciados)
   Cambia estos valores aquí y se actualiza TODO el sitio automáticamente.
   --------------------------------------------------------------------- */
:root {
  /* Fondos */
  --color-bg-base: #FDE1EE;      /* rosa chicle suave — fondo general del sitio (más vivo que el rosa lavado anterior) */
  --color-bg-lavender: #F0DDF6;  /* lavanda más saturada — secciones alternas */
  --color-bg-gradient: linear-gradient(135deg, #FDE1EE 0%, #F0DDF6 100%);

  /* Acentos de marca */
  --color-accent-primary: #B23DAB;   /* magenta/morado más vibrante — botones, links, acentos */
  --color-accent-secondary: #EE4C9B; /* rosa fuerte más saturado — subtítulos, hover */
  --color-accent-tertiary: #A8D5F2;  /* azul cielo pastel — contraste decorativo tipo scrapbook */
  --color-accent-soft: #F6CCE7;      /* rosa suave (ajustado para acompañar el nuevo primary/secondary) — bordes, fondos de tags */

  /* Texto */
  --color-text-dark: #211820;   /* casi negro — títulos */
  --color-text-body: #4A3F47;   /* gris-ciruela — párrafos */
  --color-white: #FFFFFF;

  /* Tipografía */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  /* Espaciados y bordes reutilizables */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 34px rgba(160, 69, 156, 0.24);
  --shadow-hover: 0 16px 46px rgba(160, 69, 156, 0.36);
  --max-width: 1200px;
}

/* ---------------------------------------------------------------------
   2. RESET BÁSICO
   Quita los estilos por defecto del navegador para empezar limpio.
   --------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* scroll suave al hacer click en links internos */
}

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-bg-base);
  line-height: 1.6;
  overflow-x: hidden; /* evita scroll horizontal accidental */
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  font-weight: 800;
  line-height: 1.15;
}

/* Contenedor central reutilizable en todas las secciones */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Etiqueta pequeña en mayúsculas (ej: "BEAUTY · LIFESTYLE · FASHION") */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-secondary);
  display: inline-block;
  margin-bottom: 14px;
}

/* Primera línea de los títulos grandes, en color magenta */
.text-accent {
  color: var(--color-accent-primary);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 620px;
  font-size: 1.05rem;
  color: var(--color-text-body);
  margin-bottom: 48px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px auto;
}

.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------------------------------------------
   3. SECCIONES / LAYOUT GENERAL
   --------------------------------------------------------------------- */
section {
  padding: 96px 0;
}

.section-lavender {
  background-color: var(--color-bg-lavender);
}

.section-gradient {
  background: var(--color-bg-gradient);
}

.section-dark-cta {
  background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
  color: var(--color-white);
  text-align: center;
}

.section-dark-cta h2,
.section-dark-cta p {
  color: var(--color-white);
}

/* ---------------------------------------------------------------------
   4. BOTONES
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--color-accent-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--color-accent-secondary);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent-primary);
  border: 2px solid var(--color-accent-primary);
}

.btn-outline:hover {
  background: var(--color-accent-primary);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-accent-primary);
}

.btn-white:hover {
  background: var(--color-text-dark);
  color: var(--color-white);
}

.btn-block {
  width: 100%;
}

/* ---------------------------------------------------------------------
   5. NAVEGACIÓN (header fijo/sticky)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 246, 249, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(160, 69, 156, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Logo real de NahiomiTV (PNG con fondo transparente) */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text-dark);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-accent-primary);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-accent-primary);
  color: var(--color-white) !important;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: var(--color-accent-secondary);
  transform: translateY(-2px);
}

.nav-cta::after {
  display: none !important; /* el botón no necesita la línea inferior */
}

/* Botón hamburguesa (solo visible en móvil) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  z-index: 1100;
}

.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--color-text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------------------------------------------------------------------
   6. HERO (portada de Home)
   --------------------------------------------------------------------- */
.hero {
  padding: 64px 0 96px 0;
}

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

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 22px;
}

.hero-text .line-black {
  display: block;
  color: var(--color-text-dark);
}

.hero-text .line-accent {
  display: block;
  color: var(--color-accent-primary);
  font-style: italic;
}

.hero-text p {
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--color-white);
  padding: 18px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.hero-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent-primary);
}

.hero-badge span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* ---------------------------------------------------------------------
   7. TRUSTED BY — franja de logos de marcas
   --------------------------------------------------------------------- */
.trusted-by {
  padding: 56px 0;
  background: var(--color-bg-lavender);
  border-top: 1px solid rgba(160, 69, 156, 0.1);
  border-bottom: 1px solid rgba(160, 69, 156, 0.1);
}

.trusted-by .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 34px;
}

/* Carrusel infinito de logos con CSS puro (animación por keyframes) */
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: scroll-logos 32s linear infinite;
}

.logo-track img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.65);
  transition: filter 0.25s ease;
}

.logo-track img:hover {
  filter: grayscale(0%) opacity(1);
}

/*
  Chip oscuro solo para el logo de Bold Uniq: su archivo es blanco
  (pensado para fondos oscuros), así que sobre el fondo claro del
  carrusel necesita este fondo propio para poder verse.
*/
.logo-chip-dark {
  background: var(--color-text-dark);
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  display: inline-flex;
  align-items: center;
}

.logo-chip-dark img {
  height: 16px;
}

@keyframes scroll-logos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Pausa el carrusel si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

/* ---------------------------------------------------------------------
   8. GRID GENÉRICO (usado por Featured Work, Services, etc.)
   --------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* ---------------------------------------------------------------------
   9. TARJETAS DE VIDEO (Featured Work / Portfolio) — proporción vertical
   --------------------------------------------------------------------- */
.media-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 9/16;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.media-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.media-card img,
.media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.media-card:hover img,
.media-card:hover video {
  transform: scale(1.06);
}

/* Botón de sonido sobre el video (esquina inferior izquierda). Empieza en
   silencio siempre; al tocarlo se activa/desactiva el audio de ESE video. */
.media-sound-toggle {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(33, 24, 32, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}

.media-sound-toggle:hover {
  background: var(--color-accent-primary);
  transform: scale(1.08);
}

.media-sound-toggle svg {
  width: 17px;
  height: 17px;
}

.media-sound-toggle .icon-muted { display: block; }
.media-sound-toggle .icon-unmuted { display: none; }

.media-sound-toggle.is-unmuted .icon-muted { display: none; }
.media-sound-toggle.is-unmuted .icon-unmuted { display: block; }

.media-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(33, 24, 32, 0.82) 0%, rgba(33, 24, 32, 0) 45%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.media-card-overlay h4 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.media-card-overlay span {
  color: var(--color-accent-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.play-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--color-accent-primary);
}

/* Ícono redondo (esquina superior derecha de cada tarjeta) que lleva
   directo al post/Reel real en Instagram, en una pestaña nueva. Se
   agrega automáticamente por JS (initVideoLightbox en js/main.js) a
   cada tarjeta que tenga data-ig-url. */
.media-card-ig-link {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-primary);
  box-shadow: 0 4px 12px rgba(33, 24, 32, 0.22);
  z-index: 3;
  transition: transform 0.2s ease, background 0.2s ease;
}

.media-card-ig-link:hover,
.media-card-ig-link:focus-visible {
  transform: scale(1.1);
  background: var(--color-white);
}

.media-card-ig-link svg {
  width: 18px;
  height: 18px;
}

/* ---------- Stickers de producto sobre el video (shoppable video) ---------- */

.product-tags {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  z-index: 4;
}

.product-tag {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(33, 24, 32, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.product-tag:hover,
.product-tag:focus-visible {
  transform: scale(1.12);
  background: var(--color-white);
}

.product-tag svg {
  width: 15px;
  height: 15px;
}

/* Íconos de producto en PNG (los diseños que subió la clienta a images/stikers/) */
.product-tag img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
}

/* La tarjetita de info: oculta por defecto, aparece al pasar el mouse,
   al enfocar con teclado, o al tocarla en celular (clase .is-open,
   agregada por JS ya que el celular no tiene "hover"). */
.product-tag-tooltip {
  position: absolute;
  right: 38px;
  bottom: 0;
  width: max-content;
  max-width: 190px;
  background: var(--color-white);
  color: var(--color-text-dark);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-hover);
  font-size: 0.8rem;
  text-align: left;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.product-tag:hover .product-tag-tooltip,
.product-tag:focus-within .product-tag-tooltip,
.product-tag.is-open .product-tag-tooltip {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.product-tag-tooltip strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--color-text-dark);
  margin-bottom: 3px;
}

.product-tag-tooltip .product-tag-id {
  display: block;
  color: var(--color-accent-primary);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.product-tag-tooltip .product-tag-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--color-accent-secondary);
}

.product-tag-tooltip .product-tag-link:hover {
  text-decoration: underline;
}

/* Tarjetas de portfolio clicables: abren el video de Instagram en un lightbox */
.media-card[data-ig-url] {
  cursor: pointer;
}

.media-card[data-ig-url]:focus-visible {
  outline: 3px solid var(--color-accent-primary);
  outline-offset: 3px;
}

/* Tag bilingüe (ES/EN) en tarjetas de portfolio */
.lang-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-white);
  color: var(--color-accent-primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
}

/* ---------------------------------------------------------------------
   10. STATS (números grandes)
   --------------------------------------------------------------------- */
.stat-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  color: var(--color-accent-primary);
  font-weight: 800;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--color-text-body);
}

/* ---------------------------------------------------------------------
   11. TARJETAS "WHAT I DO" / SERVICIOS
   --------------------------------------------------------------------- */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-primary);
  margin-bottom: 24px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

/* Iconos SVG genéricos (redes sociales en footer/socials, WhatsApp, etc.) */
.icon-svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Iconos más grandes para la vitrina "Encuéntrame en redes sociales" */
.icon-svg-lg {
  width: 40px;
  height: 40px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-card p {
  margin-bottom: 20px;
}

.service-card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.service-card ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--color-accent-secondary);
  font-size: 0.8rem;
}

/* ---------------------------------------------------------------------
   12. TESTIMONIOS
   --------------------------------------------------------------------- */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--color-accent-soft);
  line-height: 0;
  display: block;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-accent-primary);
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--color-text-dark);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--color-text-body);
}

.testimonial-pending {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--color-accent-secondary);
  background: var(--color-accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------------------------------------------------------------------
   13. SOCIALS — botones grandes a redes sociales
   --------------------------------------------------------------------- */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.social-btn {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 34px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  background: var(--color-accent-primary);
  color: var(--color-white);
}

.social-btn:hover .social-handle {
  color: var(--color-white);
}

.social-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.social-name {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.social-handle {
  display: block;
  font-size: 0.85rem;
  color: var(--color-accent-primary);
  transition: color 0.3s ease;
}

/* ---------------------------------------------------------------------
   14. FOOTER
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--color-text-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 44px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 10px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-col h5 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-accent-secondary);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.footer-socials a:hover {
  background: var(--color-accent-primary);
}

/* Iconos "brillosos" tipo vidrio para la barra de CTA oscura */
.dark-cta-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 4px 0;
}

.dark-cta-socials a {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), inset 0 1px 2px rgba(255, 255, 255, 0.65);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.dark-cta-socials a::before {
  content: "";
  position: absolute;
  top: -45%;
  left: -10%;
  width: 120%;
  height: 75%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dark-cta-socials a:hover {
  transform: translateY(-4px) scale(1.07);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.75);
}

.dark-cta-socials svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------------------------------------------------------------
   16. ANIMACIONES DE SCROLL (fade-in sutil)
   Controladas por js/main.js con IntersectionObserver.
   La clase .reveal empieza invisible; .is-visible la muestra.
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Retrasos escalonados para elementos dentro de un mismo grid */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------------------------------------------------------------------
   16b. ABOUT — bloque de historia (foto + texto) y galería
   --------------------------------------------------------------------- */
.about-story {
  padding: 96px 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-story-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-story-grid p {
  margin-bottom: 20px;
}

.gallery-photo {
  border-radius: var(--radius-md);
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease;
}

.gallery-photo:hover {
  transform: translateY(-6px);
}

@media (max-width: 768px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-story-grid > div:first-child {
    order: -1;
  }
}

/* ---------------------------------------------------------------------
   16c. PORTFOLIO — barra de filtros por categoría
   --------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
}

.filter-btn {
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--color-accent-soft);
  background: var(--color-white);
  color: var(--color-text-dark);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: var(--color-accent-primary);
}

.filter-btn.is-active {
  background: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
  color: var(--color-white);
}

/* ---------------------------------------------------------------------
   16d. SERVICES — bloques grandes alternados (icono/lista + descripción)
   --------------------------------------------------------------------- */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid rgba(160, 69, 156, 0.12);
}

.service-block:last-child {
  border-bottom: none;
}

/* Alterna el orden visual en bloques pares para que no se vea repetitivo */
.service-block:nth-child(even) .service-block-visual {
  order: 2;
}

.service-block-visual {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.service-block-visual .service-icon {
  margin: 0 auto 20px auto;
  width: 84px;
  height: 84px;
}

.service-block-visual .service-icon svg {
  width: 38px;
  height: 38px;
}

.service-block-number {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  color: var(--color-accent-soft);
  font-weight: 800;
}

.service-block-content h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.service-block-content > p {
  margin-bottom: 24px;
}

.service-block-list {
  display: grid;
  gap: 14px;
}

.service-block-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.service-block-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-primary);
}

@media (max-width: 900px) {
  .service-block,
  .service-block:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) .service-block-visual {
    order: -1;
  }
}

/* ---------------------------------------------------------------------
   16e. MEDIA KIT — botón de descarga, tabla de tarifas, quick facts
   --------------------------------------------------------------------- */
.download-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  max-width: 640px;
  margin: 0 auto;
}

.download-card .service-icon {
  margin: 0 auto 22px auto;
  width: 76px;
  height: 76px;
}

.download-card .service-icon svg {
  width: 34px;
  height: 34px;
}

.download-card h2 {
  margin-bottom: 12px;
}

.download-card p {
  margin-bottom: 30px;
}

/* Tabla de tarifas — envuelta en un div con scroll horizontal para móvil */
.table-wrapper {
  overflow-x: auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 20px 28px;
  font-size: 0.95rem;
}

.rate-table thead th {
  background: var(--color-accent-primary);
  color: var(--color-white);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.rate-table thead th:first-child { border-top-left-radius: var(--radius-lg); }
.rate-table thead th:last-child { border-top-right-radius: var(--radius-lg); }

.rate-table tbody tr:nth-child(even) {
  background: var(--color-bg-lavender);
}

.rate-table tbody td:first-child {
  font-weight: 700;
  color: var(--color-text-dark);
}

.rate-note {
  margin-top: 18px;
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
}

/* Quick facts */
.quick-facts {
  display: grid;
  gap: 20px;
}

.quick-fact {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-soft);
}

.quick-fact .service-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  margin: 0;
}

.quick-fact .service-icon svg {
  width: 22px;
  height: 22px;
}

.quick-fact strong {
  display: block;
  color: var(--color-text-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ---------------------------------------------------------------------
   16f. CONTACT — formulario y panel lateral de información
   --------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.form-group .optional-tag {
  text-transform: none;
  font-weight: 400;
  color: var(--color-text-body);
  letter-spacing: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-accent-soft);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  background: var(--color-bg-base);
  transition: border-color 0.25s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent-primary);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success .service-icon {
  margin: 0 auto 18px auto;
  background: var(--color-accent-primary);
  color: var(--color-white);
}

/* Panel lateral con info de contacto directa */
.contact-info-card {
  background: var(--color-bg-gradient);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-soft);
}

.contact-info-card h3 {
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info-item .service-icon {
  width: 44px;
  height: 44px;
  margin: 0;
  flex-shrink: 0;
  background: var(--color-white);
}

.contact-info-item .service-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-dark);
  margin-bottom: 3px;
}

.contact-info-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.contact-info-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-primary);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact-info-socials a:hover {
  background: var(--color-accent-primary);
  color: var(--color-white);
  transform: translateY(-4px);
}

/*
  ECOSISTEMA DE MARCA — tarjeta de links rápidos (Linktree-style) en Contact.
  Reutiliza las mismas variables y sombras que el resto del sitio.
*/
.linkhub-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.linkhub-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  transition: background 0.25s ease, transform 0.25s ease;
}

.linkhub-item:hover {
  background: var(--color-bg-lavender);
  transform: translateX(4px);
}

.linkhub-item:not(:last-child) {
  margin-bottom: 4px;
}

.linkhub-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.linkhub-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.linkhub-text span {
  font-size: 0.82rem;
  color: var(--color-accent-primary);
}

/* El último item ("Link para marcas") se resalta como el CTA principal */
.linkhub-item.linkhub-featured {
  background: var(--color-bg-gradient);
}

.linkhub-item.linkhub-featured .linkhub-icon {
  background: var(--color-accent-primary);
  color: var(--color-white);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 32px 24px;
  }
}

/* ---------------------------------------------------------------------
   17. PÁGINAS INTERNAS — encabezado genérico (About, Portfolio, etc.)
   --------------------------------------------------------------------- */
.page-hero {
  padding: 72px 0 64px 0;
  text-align: center;
  background: var(--color-bg-gradient);
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------------------------------------------------------------------
   17b. MODAL DE CONTACTO — se abre sobre cualquier página, sin navegar
   Estructura: .modal-overlay (fondo oscuro, fixed, cubre toda la
   pantalla) > .modal-box (la tarjeta blanca con el formulario).
   El JS (js/main.js) agrega/quita la clase "is-open" en .modal-overlay.
   --------------------------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(33, 24, 32, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.is-open {
  display: flex;
  opacity: 1;
}

/* Bloquea el scroll del body detrás del modal mientras está abierto */
body.modal-is-open {
  overflow: hidden;
}

.modal-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-hover);
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s ease;
}

.modal-overlay.is-open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dark);
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: var(--color-accent-primary);
  color: var(--color-white);
  transform: rotate(90deg);
}

.modal-box h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
  padding-right: 30px;
}

.modal-box .modal-subtitle {
  margin-bottom: 26px;
  font-size: 0.92rem;
}

/* ---------------------------------------------------------------------
   17d. VIDEO LIGHTBOX — reproduce el Reel/post real de Instagram sin
   salir de la página. Reutiliza .modal-overlay (fondo + apertura) pero
   con una caja angosta pensada para el formato vertical de Instagram.
   El JS (initVideoLightbox en js/main.js) inyecta el embed oficial de
   Instagram (blockquote + embed.js) usando el data-ig-url de cada
   tarjeta .media-card.
   --------------------------------------------------------------------- */
.video-modal-box {
  background: transparent;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: none;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s ease;
}

.modal-overlay.is-open .video-modal-box {
  transform: scale(1) translateY(0);
}

.video-modal-box .modal-close {
  top: -14px;
  right: -14px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.video-embed-holder {
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-embed-holder .video-embed-loading {
  color: var(--color-text-dark);
  opacity: 0.5;
  font-size: 0.88rem;
  padding: 60px 20px;
  text-align: center;
}

.video-embed-holder iframe,
.video-embed-holder .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
}

/* ---------------------------------------------------------------------
   17c. ELEMENTOS DECORATIVOS — personalidad de marca (glam/scrapbook)
   Cuatro piezas: (A) patrón de fondo temático, (B) títulos con brillo,
   (C) marcos "glam" en fotos, (D) festón entre secciones + rotación
   orgánica en hover. Todo con las variables de color que ya existen.
   --------------------------------------------------------------------- */

/* --- A. Patrón de fondo temático ---------------------------------------
   Mosaico de íconos originales (belleza, fotografía, viajes, glam) a
   opacidad muy baja, ver images/pattern-icons.svg para el detalle de
   cada ícono. Se usa como ::before para no interferir con el contenido
   real, que se levanta encima con z-index.
   --------------------------------------------------------------------- */
.pattern-bg {
  position: relative;
}

.pattern-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern-icons.svg");
  background-repeat: repeat;
  background-size: 600px 600px;
  pointer-events: none;
}

/* Variante blanca del mismo patrón, solo para el fondo oscuro del CTA */
.pattern-bg-light::before {
  background-image: url("../images/pattern-icons-light.svg");
}

/* El contenido real de la sección va POR ENCIMA del patrón */
.pattern-bg > .container {
  position: relative;
  z-index: 1;
}

/* --- B. Títulos con brillo/glam -----------------------------------------
   Degradado de texto (magenta a rosa) + resplandor suave. Reservado
   para los títulos más importantes: el nombre de Eileen y "NahiomiTV"
   donde aparezca grande — NO para títulos de sección en general.
   --------------------------------------------------------------------- */
.text-glam {
  background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  /*
    !important es necesario aquí: .text-glam se combina con clases como
    .line-black, .line-accent o .text-accent que ya definen su propio
    "color" (algunas con más especificidad, ej. ".hero-text .line-black").
    Sin esto, el texto no se vería transparente y el degradado de fondo
    quedaría oculto detrás del color sólido de esas otras clases.
  */
  color: transparent !important;
  text-shadow: 0 0 22px rgba(178, 61, 171, 0.3), 0 0 40px rgba(238, 76, 155, 0.18);
}

/* --- C. Marcos "glam" para fotos principales -----------------------------
   Borde grueso con degradado de color (en vez de un solo tono sólido)
   sobre la foto, más un aro fino separado alrededor cuando la foto
   tiene un contenedor propio (.glam-frame). En fotos sueltas sin
   contenedor (ej. la galería de About) se usa solo .glam-border, que
   aplica el mismo borde con degradado directo sobre el <img>.
   --------------------------------------------------------------------- */
.glam-frame {
  position: relative;
}

.glam-frame::before {
  content: "";
  position: absolute;
  inset: -13px;
  border-radius: calc(var(--radius-lg) + 10px);
  border: 1.5px solid var(--color-accent-tertiary);
  opacity: 0.6;
  pointer-events: none;
}

.glam-frame img,
.glam-border {
  border: 4px solid transparent;
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-tertiary), var(--color-accent-secondary)) border-box;
}

/* --- D1. Separador tipo festón/onda entre secciones ----------------------
   Truco de radial-gradient: una fila de "mordiscos" circulares que
   simulan un borde ondulado en vez de una línea recta. .scallop-top va
   en la sección que EMPIEZA con festón (los bultos usan su propio
   color y se montan sobre la sección anterior). .scallop-bottom va en
   la sección que TERMINA con festón (los bultos usan el color de la
   sección siguiente).
   --------------------------------------------------------------------- */
.scallop-top,
.scallop-bottom {
  position: relative;
}

/*
  Usa ::after (no ::before) porque .pattern-bg ya ocupa el ::before de
  la sección en varios casos (ej. el CTA final tiene pattern-bg Y
  scallop-top al mismo tiempo) — así los dos efectos conviven sin
  pisarse.
*/
.scallop-top::after {
  content: "";
  position: absolute;
  top: -19px;
  left: 0;
  right: 0;
  height: 20px;
  background-image: radial-gradient(circle at 10px 0, transparent 10px, var(--scallop-color, var(--color-bg-base)) 10.5px);
  background-size: 20px 20px;
  background-repeat: repeat-x;
  pointer-events: none;
}

.section-lavender.scallop-top::after {
  --scallop-color: var(--color-bg-lavender);
}

.section-dark-cta.scallop-top::after {
  --scallop-color: var(--color-accent-primary);
}

.scallop-bottom::after {
  content: "";
  position: absolute;
  bottom: -19px;
  left: 0;
  right: 0;
  height: 20px;
  background-image: radial-gradient(circle at 10px 20px, transparent 10px, var(--color-bg-base) 10.5px);
  background-size: 20px 20px;
  background-repeat: repeat-x;
  pointer-events: none;
}

/* --- D2. Rotación orgánica en hover (Featured Work / Portfolio) --------- */
.media-card:nth-child(odd):hover {
  transform: translateY(-8px) rotate(-2deg);
}

.media-card:nth-child(even):hover {
  transform: translateY(-8px) rotate(2deg);
}

/* ---------------------------------------------------------------------
   18. RESPONSIVE — TABLET (hasta 1024px)
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .socials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------------
   19. RESPONSIVE — MÓVIL (hasta 768px)
   --------------------------------------------------------------------- */
@media (max-width: 768px) {
  section { padding: 64px 0; }

  .modal-box {
    padding: 32px 24px;
  }

  /* Menú hamburguesa */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-text {
    text-align: center;
    margin: 0 auto;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .socials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-6 {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    left: 12px;
    bottom: -18px;
    padding: 12px 18px;
  }
}

/* ---------------------------------------------------------------------
   18. SPLASH DE BIENVENIDA (sticker animado al entrar al sitio)
   Se muestra 5 segundos solo la PRIMERA vez que alguien entra al sitio
   en esa pestaña/sesión (controlado desde main.js con sessionStorage),
   no en cada página interna que visite después.
   --------------------------------------------------------------------- */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--color-bg-base), var(--color-bg-lavender));
  opacity: 1;
  transition: opacity 0.6s ease;
}

.splash-screen.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.splash-sticker {
  width: clamp(160px, 32vw, 260px);
  height: auto;
  animation: splash-bounce 1.6s ease-in-out infinite;
  filter: drop-shadow(0 18px 30px rgba(160, 69, 156, 0.35));
}

@keyframes splash-bounce {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-22px) rotate(3deg); }
}

/* Evita que la página haga scroll detrás del splash mientras está activo.
   Nota: a propósito NO usamos "overflow: hidden" aquí — en iOS/Safari móvil
   eso rompe el position:fixed de .splash-screen y hace que el sticker
   aparezca pegado a una esquina en vez de centrado. Esta técnica (fixed +
   width:100%) bloquea el scroll sin ese efecto secundario. */
body.splash-active {
  position: fixed;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .splash-sticker { animation: none; }
}

/* ---------------------------------------------------------------------
   19. MEDIA KIT — páginas reales mostradas como imágenes (no PDF embebido)
   Cada página va en un .glam-frame (mismo marco "glam" que usa el resto
   del sitio) para que se sienta parte del diseño, no un documento aparte.
   --------------------------------------------------------------------- */
.media-kit-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  max-width: 620px;
  margin: 0 auto;
}

.media-kit-pages img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
}

/* ---------------------------------------------------------------------
   20. BLOG — listado de posts y página de post individual.
   Las páginas de esta sección (blog/index.html y blog/<slug>.html) las
   genera scripts/build-blog.js a partir de content/blog/*.md — no se
   editan a mano. Ver ese script si hace falta cambiar el diseño.
   --------------------------------------------------------------------- */
.blog-listing {
  min-height: 40vh;
}

.blog-grid {
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.blog-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-accent-soft);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.blog-card-category {
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent-primary);
  background: var(--color-accent-soft);
  padding: 4px 12px;
  border-radius: 999px;
}

.blog-card-body h3 {
  font-size: 1.2rem;
  margin: 4px 0 0 0;
}

.blog-card-body p {
  color: var(--color-text-body);
  font-size: 0.94rem;
  flex: 1;
}

.blog-card-date {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-text-body);
  opacity: 0.75;
}

/* ---- Página de un post individual ---- */
.blog-post-hero .blog-post-meta {
  font-family: var(--font-body);
  color: var(--color-text-body);
  opacity: 0.85;
  margin-top: -8px;
}

.blog-post-container {
  max-width: 760px;
  margin: 0 auto;
}

.blog-post-cover {
  margin-bottom: 40px;
}

.blog-post-cover img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

.blog-post-content {
  font-family: var(--font-body);
  color: var(--color-text-body);
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-post-content h2,
.blog-post-content h3 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  margin: 36px 0 14px 0;
}

.blog-post-content p {
  margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 20px 22px;
}

.blog-post-content li {
  margin-bottom: 8px;
}

.blog-post-content a {
  color: var(--color-accent-primary);
  text-decoration: underline;
}

.blog-post-content img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 12px 0 24px 0;
}

.blog-post-content blockquote {
  border-left: 4px solid var(--color-accent-secondary);
  padding: 4px 0 4px 20px;
  margin: 0 0 24px 0;
  font-style: italic;
  color: var(--color-text-dark);
}

.blog-post-back {
  margin-top: 48px;
  text-align: center;
}

@media (max-width: 768px) {
  .blog-post-content {
    font-size: 1rem;
  }
}

