/* ========================================
   ALQUIMIA LAB — Estilos Compartidos
   ======================================== */

/* === VARIABLES === */
:root {
  --purple: #6462ab;
  --purple-dark: #524f96;
  --purple-light: #a29de0;
  --lavender: #ccc9e6;
  --lavender-light: #e8e6f4;
  --bg: #f2f2f2;
  --surface: #ffffff;
  --text: #3b3866;
  --text-muted: #8a87ad;
  --shadow: rgba(100, 98, 171, .12);
  --shadow-lg: rgba(100, 98, 171, .22);
  --border: #e8e6f4;
  --border-light: #e8e6f4;
  --bg-card: #ffffff;
  --bg-alt: #e8e6f4;
  --roc-dark: #1a1a2e;
  --lila-accent: #6462ab;
  --lila-light: #e8e6f4;
  --purple-dark: #524f96;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* === BASE === */
body {
  font-family: 'Quicksand', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* === BLOBS DE FONDO === */
.blob {
  position: fixed; border-radius: 50%;
  filter: blur(90px); opacity: .4; z-index: -1;
  pointer-events: none;
}
.blob-1 { width: 340px; height: 340px; background: var(--lavender); top: -100px; left: -100px; }
.blob-2 { width: 300px; height: 300px; background: var(--lavender-light); bottom: -80px; right: -80px; }
.blob-3 { width: 250px; height: 250px; background: var(--purple-light, #a29de0); top: 50%; right: -50px; }

/* === NAV FIJA === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(242, 242, 242, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lavender);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 4px 20px var(--shadow); }
.nav-logo {
  font-size: 18px; font-weight: 700; color: var(--purple);
  letter-spacing: .02em;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  transition: color .2s ease;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--purple);
  transform: scaleX(0); transition: transform .25s ease;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--purple); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-pp { color: var(--purple) !important; font-weight: 700; }
.nav-pp::after { transform: scaleX(1) !important; }

/* === DROPDOWN PORTFOLIO === */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd-arrow { font-size: 10px; margin-left: 4px; vertical-align: middle; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 190px;
  background: var(--surface, #fff);
  border: 1px solid var(--lavender);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 12px 28px var(--shadow);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 110;
}
.nav-dd-menu a {
  display: flex; align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
}
.nav-dd-menu a:hover { background: var(--lavender-light, #e8e6f4); color: var(--purple); }
.nav-dd-menu a:hover::after { display: none; }
.nav-dd-featured {
  font-weight: 800 !important;
  color: var(--purple) !important;
  background: var(--lavender-light, #e8e6f4);
}
.nav-dd-featured svg {
  margin-left: auto;
  width: 18px; height: 18px;
  stroke: var(--purple);
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-menu::before {
  content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px;
}

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px; background: var(--text);
  border-radius: 2px; position: absolute; left: 0;
  transition: all .3s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* === BOTÓN DE IDIOMA === */
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 36px; padding: 0 10px;
  margin-left: 12px;
  font-family: inherit; font-size: 12px; font-weight: 600;
  color: var(--purple); background: var(--surface);
  border: 1.5px solid var(--lavender); border-radius: 99px;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  letter-spacing: .02em;
}
.lang-toggle:hover {
  background: var(--lavender-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow);
}
/* Resalta el idioma activo dentro del texto "ES | EN" */
.lang-toggle[data-lang="es"] { color: var(--bg); background: var(--purple); border-color: var(--purple); }
.lang-toggle[data-lang="en"] { color: var(--purple); background: var(--surface); }
.lang-toggle .cur { font-weight: 800; }
.lang-toggle .sep { opacity: .45; margin: 0 3px; font-weight: 400; }

/* === CONTENIDO PRINCIPAL === */
.page { padding-top: 80px; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: linear-gradient(180deg, var(--lavender-light) 0%, var(--bg) 100%);
}
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-stars {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    8vw 12vh 0 0 rgba(255,255,255,.7),
    22vw 8vh 0 1px rgba(255,255,255,.5),
    35vw 18vh 0 0 rgba(255,255,255,.8),
    48vw 6vh 0 0 rgba(255,255,255,.45),
    61vw 14vh 0 1px rgba(255,255,255,.65),
    74vw 9vh 0 0 rgba(255,255,255,.5),
    87vw 16vh 0 0 rgba(255,255,255,.75),
    95vw 7vh 0 1px rgba(255,255,255,.4),
    14vw 28vh 0 0 rgba(255,255,255,.55),
    29vw 34vh 0 1px rgba(255,255,255,.7),
    42vw 26vh 0 0 rgba(255,255,255,.4),
    56vw 32vh 0 0 rgba(255,255,255,.8),
    68vw 24vh 0 1px rgba(255,255,255,.5),
    82vw 30vh 0 0 rgba(255,255,255,.6),
    91vw 36vh 0 0 rgba(255,255,255,.45),
    5vw 44vh 0 1px rgba(255,255,255,.65),
    18vw 52vh 0 0 rgba(255,255,255,.4),
    33vw 48vh 0 0 rgba(255,255,255,.75),
    47vw 55vh 0 1px rgba(255,255,255,.5),
    72vw 46vh 0 0 rgba(255,255,255,.6),
    86vw 54vh 0 0 rgba(255,255,255,.45),
    11vw 66vh 0 0 rgba(255,255,255,.7),
    26vw 74vh 0 1px rgba(255,255,255,.5),
    40vw 68vh 0 0 rgba(255,255,255,.4),
    55vw 78vh 0 0 rgba(255,255,255,.8),
    67vw 70vh 0 1px rgba(255,255,255,.55),
    79vw 76vh 0 0 rgba(255,255,255,.45),
    93vw 64vh 0 0 rgba(255,255,255,.65),
    7vw 88vh 0 1px rgba(255,255,255,.5),
    24vw 92vh 0 0 rgba(255,255,255,.6),
    38vw 86vh 0 0 rgba(255,255,255,.4),
    51vw 94vh 0 1px rgba(255,255,255,.7),
    64vw 88vh 0 0 rgba(255,255,255,.45),
    77vw 91vh 0 0 rgba(255,255,255,.55),
    90vw 84vh 0 1px rgba(255,255,255,.5);
  animation: starTwinkle 3.5s ease-in-out infinite;
}
.hero-stars-2 {
  box-shadow:
    16vw 10vh 0 1px rgba(255,255,255,.55),
    31vw 14vh 0 0 rgba(255,255,255,.4),
    44vw 9vh 0 0 rgba(255,255,255,.7),
    58vw 17vh 0 1px rgba(255,255,255,.5),
    71vw 11vh 0 0 rgba(255,255,255,.6),
    84vw 19vh 0 0 rgba(255,255,255,.45),
    97vw 13vh 0 1px rgba(255,255,255,.65),
    10vw 24vh 0 0 rgba(255,255,255,.5),
    25vw 30vh 0 0 rgba(255,255,255,.75),
    39vw 22vh 0 1px rgba(255,255,255,.4),
    53vw 28vh 0 0 rgba(255,255,255,.55),
    66vw 35vh 0 0 rgba(255,255,255,.65),
    78vw 27vh 0 1px rgba(255,255,255,.45),
    89vw 33vh 0 0 rgba(255,255,255,.7),
    3vw 38vh 0 0 rgba(255,255,255,.5),
    20vw 42vh 0 1px rgba(255,255,255,.6),
    36vw 50vh 0 0 rgba(255,255,255,.45),
    50vw 44vh 0 0 rgba(255,255,255,.7),
    63vw 52vh 0 1px rgba(255,255,255,.5),
    76vw 40vh 0 0 rgba(255,255,255,.55),
    88vw 48vh 0 0 rgba(255,255,255,.4),
    96vw 56vh 0 1px rgba(255,255,255,.65),
    13vw 60vh 0 0 rgba(255,255,255,.5),
    28vw 64vh 0 0 rgba(255,255,255,.7),
    43vw 72vh 0 1px rgba(255,255,255,.45),
    57vw 66vh 0 0 rgba(255,255,255,.6),
    70vw 80vh 0 0 rgba(255,255,255,.5),
    83vw 74vh 0 1px rgba(255,255,255,.55),
    95vw 82vh 0 0 rgba(255,255,255,.4),
    6vw 79vh 0 0 rgba(255,255,255,.65),
    21vw 90vh 0 1px rgba(255,255,255,.5),
    35vw 84vh 0 0 rgba(255,255,255,.45),
    49vw 96vh 0 0 rgba(255,255,255,.7),
    62vw 92vh 0 1px rgba(255,255,255,.4),
    75vw 98vh 0 0 rgba(255,255,255,.55),
    87vw 95vh 0 0 rgba(255,255,255,.5);
  animation: starTwinkle 4.5s ease-in-out infinite reverse;
}
@keyframes starTwinkle {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}
.hero-banner-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-banner-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 20px 80px;
  background: rgba(0,0,0,.45);
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-banner-overlay h1 { font-size: 42px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; color: #fff; }
.hero-banner-overlay h1 em { font-style: normal; color: var(--lavender); }
.hero-banner-overlay p { font-size: 18px; color: rgba(255,255,255,.85); max-width: 520px; margin-bottom: 36px; }
.hero-logo {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
}
.hero h1 { font-size: 42px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--purple); }
.hero p { font-size: 18px; color: var(--text-muted); max-width: 520px; margin-bottom: 36px; }

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.hero-btns .btn-primary, .hero-btns .btn-secondary {
  min-width: 220px; justify-content: center;
}

/* === BOTONES === */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px;
  background: var(--purple); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 700;
  border: none; border-radius: 12px; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 6px 18px rgba(100, 98, 171, .3);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(100, 98, 171, .4);
  background: var(--purple-dark);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px;
  background: transparent; color: var(--purple);
  font-family: inherit; font-size: 15px; font-weight: 700;
  border: 2px solid var(--purple); border-radius: 12px; cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--lavender-light);
  transform: translateY(-2px);
}

/* === BOTÓN BLANCO (fondo blanco, texto morado) === */
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px;
  background: #fff; color: var(--purple);
  font-family: inherit; font-size: 15px; font-weight: 700;
  border: 2px solid var(--purple); border-radius: 12px; cursor: pointer;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}
.btn-white:hover {
  background: var(--lavender-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(100,98,171,.2);
}

.btn-sm {
  padding: 10px 22px; font-size: 13px;
  border-radius: 10px;
}
.btn-light.btn-primary {
  background: #fff; color: var(--purple);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-light.btn-primary:hover {
  background: var(--lavender-light);
}
.btn-light.btn-secondary {
  border-color: #fff; color: #fff;
}
.btn-light.btn-secondary:hover {
  background: rgba(255,255,255,.15);
}

/* === SECCIONES === */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px;
}
.section-title {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.section-title::before, .section-title::after {
  content: ""; flex: 1; height: 1px; background: var(--lavender);
}
.section-title span {
  font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--purple); white-space: nowrap;
}

.section-intro {
  text-align: center;
  font-size: 16px; color: var(--text-muted);
  max-width: 600px; margin: -20px auto 40px;
  line-height: 1.6;
}

/* === PORTAFOLIO GRID === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-card {
  border-radius: 16px; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--lavender);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px var(--shadow-lg);
}
.portfolio-card .thumb {
  width: 100%; aspect-ratio: 4/3;
  background: var(--lavender-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; overflow: hidden;
}
.portfolio-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.portfolio-card:hover .thumb img { transform: scale(1.05); }
.portfolio-card .thumb .view-project {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(100,98,171,.92); color: #fff;
  font-size: 13px; font-weight: 700; font-family: inherit;
  padding: 10px 18px; border-radius: 99px; border: none; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.portfolio-card .thumb .view-project .arrow {
  transition: transform .3s ease;
}
.portfolio-card:hover .thumb .view-project {
  opacity: 1; pointer-events: auto;
}
.portfolio-card:hover .thumb .view-project:hover .arrow {
  transform: translateX(4px);
}
.portfolio-card .info { padding: 16px 18px; }
.portfolio-card h3 { font-size: 15px; font-weight: 700; color: var(--text); }
.portfolio-card p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* === SOBRE MÍ (HOJA DE VIDA) === */
.about-card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--lavender);
  border-radius: 20px;
  box-shadow: 0 8px 24px var(--shadow);
}
.about-top {
  display: flex; gap: 32px; align-items: flex-start;
}
.about-photo {
  flex-shrink: 0;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--lavender-light);
  overflow: hidden;
  border: 3px solid var(--lavender);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.about-text .role { font-size: 14px; color: var(--purple); font-weight: 600; margin-bottom: 12px; }
.about-text p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.about-divider {
  height: 1px;
  background: var(--lavender);
  margin: 28px 0;
}
.about-section-label {
  font-size: 13px; font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}

/* === SKILLS (CÍRCULOS INLINE) === */
.skills-row {
  display: flex;
  gap: 24px;
  justify-content: space-between;
}
.skill-item {
  flex: 1;
  text-align: center;
}
.skill-circle {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto 8px;
}
.skill-circle svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.skill-pct {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px; font-weight: 700;
  color: var(--purple);
}
.skill-name {
  font-size: 12px; color: var(--text-muted); font-weight: 500;
  display: block;
}

/* === TOOLS (BARRAS) === */
.tools-list {
  display: flex; flex-direction: column; gap: 12px;
}
.tool-bar {
  display: flex; align-items: center; gap: 16px;
}
.tool-info {
  display: flex; align-items: center; gap: 10px;
  min-width: 180px;
}
.tool-icon {
  width: 32px; height: 32px;
  background: var(--lavender-light);
  color: var(--purple);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.tool-info span:last-child {
  font-size: 13px; font-weight: 600; color: var(--text);
}
.tool-track {
  flex: 1; height: 8px;
  background: #eee; border-radius: 99px;
  overflow: hidden;
}
.tool-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  border-radius: 99px;
}
.tool-pct {
  font-size: 13px; font-weight: 700; color: var(--purple);
  min-width: 40px; text-align: right;
}

/* === TIMELINE === */
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: var(--lavender);
}
.timeline-item {
  position: relative;
  margin-bottom: 28px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -24px; top: 4px;
  width: 14px; height: 14px;
  background: var(--purple);
  border: 3px solid var(--lavender);
  border-radius: 50%;
}
.timeline-content {
  background: var(--surface);
  border: 1px solid var(--lavender);
  border-radius: 16px;
  padding: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.timeline-content:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 16px var(--shadow);
}
.timeline-year {
  font-size: 11px; font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.timeline-content h3 {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin: 6px 0 4px;
}
.timeline-role {
  font-size: 13px; color: var(--purple); font-weight: 600;
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
}

/* === SERVICIOS === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--lavender);
  border-radius: 20px;
  text-align: left;
}
.service-icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: var(--lavender-light);
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg {
  width: 24px; height: 24px;
  stroke: var(--purple); fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.service-card h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; text-align: center; }
.service-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* === INDEX PAGE: PROJECTS GRID === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.project-card {
  border-radius: 16px; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--lavender);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px var(--shadow-lg);
}
.project-card img {
  width: 100%; height: 200px; object-fit: cover; display: block;
}
.project-info { padding: 16px 18px; }
.project-info h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.project-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.tag {
  display: inline-block; background: var(--lavender-light); color: var(--purple);
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
}

/* === INDEX PAGE: ABOUT PREVIEW === */
.about-preview {
  display: flex; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--lavender);
  border-radius: 20px; padding: 40px; margin-top: 20px;
}
.about-text h2 { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.about-text p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.about-stats { display: flex; gap: 30px; }
.stat { text-align: center; }
.stat span { display: block; font-size: 32px; font-weight: 700; color: var(--purple); }
.stat div { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* === INDEX PAGE: PRODUCTS PREVIEW === */
.products-preview {
  display: flex; gap: 24px; margin-top: 20px;
}
.product-card {
  flex: 1; border-radius: 16px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--lavender);
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px var(--shadow-lg);
}
.product-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.product-card .product-info { padding: 20px; }
.product-card .product-info h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.product-card .product-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

/* === INDEX PAGE: KORE PREVIEW === */
.kore-preview {
  margin-top: 10px;
  text-align: center;
  display: block;
  width: 100%;
}
.kore-preview-content {
  background: linear-gradient(135deg, var(--purple) 0%, #8b87d4 100%);
  border-radius: 20px; padding: 32px;
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: block;
  width: 100%;
}
.kore-body {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  flex-wrap: wrap;
}
.kore-emoji {
  font-size: 2.5rem; flex-shrink: 0; line-height: 1;
}
.kore-text { color: #fff; display: flex; flex-direction: column; align-items: center; }
.kore-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.kore-text p { font-size: 14px; opacity: .9; margin-bottom: 4px; }
.kore-tagline { font-size: 12px; opacity: .7; margin-bottom: 12px !important; }
.kore-text .btn-white { padding: 8px 24px; font-size: 14px; }

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  padding: 50px 20px;
}
.cta-content h2 {
  font-size: 32px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.cta-content p {
  font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }
.cta-gap {
  height: 20px;
}
.cta-content .btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 40px;
  font-size: 16px;
}

/* === ABOUT TEXT BLOCK (sin caja) === */
.about-text-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
}
.about-text-block h2 {
  font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.about-text-block p {
  font-size: 15px; color: var(--text-muted); line-height: 1.8; }

/* === PRODUCTS GRID 3 === */
.products-grid-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
  align-items: stretch;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 600px) {
  .products-grid-3 { grid-template-columns: 1fr; }
}
.product-card-3 {
  border-radius: 16px; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--lavender);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
}
.product-card-3:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px var(--shadow-lg);
}
.product-icon-3 {
  font-size: 2.5rem;
  flex-shrink: 0;
  width: 50px;
  text-align: center;
}
.product-info-3 { padding: 0; flex: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; }
.product-info-3 h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.product-info-3 p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.btn-row { display: flex; justify-content: center; gap: 8px; }
.product-info-3 .btn-white { padding: 8px 20px; font-size: 13px; }

/* === PRODUCTOS === */
.products-banner {
  width: 100%; border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple) 0%, #8b87d4 100%);
  padding: 48px 32px;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}
.products-banner h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.products-banner p { font-size: 15px; opacity: .85; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.page#products-page .category-grid {
  grid-template-columns: repeat(3, 1fr);
}
.category-card {
  padding: 36px 24px;
  background: var(--surface);
  border: 1px solid var(--lavender);
  border-radius: 20px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--shadow);
}
.category-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--lavender-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.category-media {
  margin: -6px 0 16px;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 400/208;
}
.category-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.category-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; flex: 1; }
.category-card .btn-primary, .category-card .btn-sm { align-self: center; margin-top: auto; }

/* === PRODUCTO ITEM === */
.product-item {
  display: flex; align-items: center; gap: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--lavender);
  border-radius: 16px;
  margin-bottom: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow);
}
.product-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--lavender-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 24px;
}
.product-body { flex: 1; }
.product-body h3 { font-size: 16px; font-weight: 700; color: var(--text); }
.product-body p { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.product-price { font-size: 18px; font-weight: 700; color: var(--purple); margin-right: 12px; white-space: nowrap; }
.product-media {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  margin-right: 12px;
}

/* === CONTACTO === */
.contact-box {
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
  padding: 48px 32px;
  background: var(--surface);
  border: 1px solid var(--lavender);
  border-radius: 20px;
  text-align: center;
}
.contact-box h2 { font-size: 24px; font-weight: 700; color: var(--text); }
.contact-email {
  font-size: 20px; font-weight: 700; color: var(--purple);
  transition: opacity .2s;
}
.contact-email:hover { opacity: .8; }

.contact-socials { display: flex; gap: 12px; }
.contact-socials a {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--lavender-light);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.contact-socials a:hover {
  background: var(--purple);
  transform: translateY(-2px);
}
.contact-socials svg {
  width: 20px; height: 20px;
  stroke: var(--purple); fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .25s ease;
}
.contact-socials a:hover svg { stroke: #fff; }

/* === FORMULARIO === */
.form {
  width: 100%; max-width: 480px;
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 8px;
}

/* === CONTACT VIDEO CIRCLE === */
.contact-video-circle {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(100, 98, 171, .28);
  overflow: hidden;
  flex-shrink: 0;
}
.contact-video-circle video {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.form input, .form textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit; font-size: 14px;
  background: var(--bg);
  border: 1px solid var(--lavender);
  border-radius: 12px;
  color: var(--text);
  transition: border-color .25s ease;
  outline: none;
}
.form input:focus, .form textarea:focus {
  border-color: var(--purple);
}
.form textarea { resize: vertical; min-height: 120px; }
.form input::placeholder, .form textarea::placeholder { color: var(--text-muted); }

/* === FOOTER === */
.footer {
  text-align: center;
  padding: 44px 20px;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .04em;
  border-top: 1px solid var(--lavender);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.footer-inner {
  padding-bottom: 20px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text, #333);
  margin-bottom: 12px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 6px;
}
.footer-col a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color .2s;
}
.footer-col a:hover {
  color: var(--purple);
}
.footer-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--lavender);
  font-size: 12px;
}

/* === CONTAINER & SECTION === */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-padding {
  padding: 80px 20px;
}
.main-content {
  min-height: 100vh;
  padding-top: 80px;
}

/* === ANIMACIONES === */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.anim { animation: rise .55s ease both; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .16s; }
.d3 { animation-delay: .24s; }
.d4 { animation-delay: .32s; }
.d5 { animation-delay: .4s; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(242, 242, 242, .96);
    backdrop-filter: blur(14px);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--lavender);
    box-shadow: 0 8px 20px var(--shadow);
  }
  .nav-toggle { display: block; }
  .nav-links.open .nav-dd-menu { left: 0; transform: translateY(6px); }
  .nav-links.open .nav-dd:hover .nav-dd-menu,
  .nav-links.open .nav-dd:focus-within .nav-dd-menu { transform: translateY(0); }

  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .products-preview { flex-direction: column; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: 1fr; }
  .about-preview { flex-direction: column; text-align: center; }
  .about-stats { justify-content: center; }
  .about-photo { width: 120px; height: 120px; }
  .skills-row { flex-wrap: wrap; gap: 16px; }
  .skill-item { flex: 0 0 calc(50% - 8px); }
  .tool-info { min-width: 140px; }

  .product-item { flex-wrap: wrap; }
  .products-grid-3 { grid-template-columns: 1fr; }
  .kore-body { flex-direction: column; text-align: center; }
  .kore-text h2 { font-size: 24px; }
}

/* ============================================
   GALERÍA DESTACADOS (carousel)
   ============================================ */
.featured-scroll {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}
.featured-track {
  display: flex;
  gap: 16px;
  animation: featuredSlide 40s linear infinite;
  width: max-content;
}
.featured-track:hover {
  animation-play-state: paused;
}
@keyframes featuredSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.featured-card {
  flex: 0 0 200px;
  background: var(--surface);
  border: 1px solid var(--lavender);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
a.featured-card {
  text-decoration: none;
  color: inherit;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(100,98,171,.12);
}
.featured-thumb {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}
.featured-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.featured-info h3 {
  font-size: 13px;
  margin-bottom: 2px;
}
.featured-info p {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  flex: 1;
}
.featured-info .btn-primary,
.featured-info .btn-secondary {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  padding: 8px 16px;
  font-size: 12px;
}

/* ============================================
   GALERÍA NOTION (cards con imagen)
   ============================================ */
.notion-cover {
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--lavender, #ccc9e6);
}
.notion-cover img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}
.notion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.notion-card {
  background: var(--surface);
  border: 1px solid var(--lavender);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.notion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(100,98,171,.12);
}
.notion-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.notion-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.notion-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.notion-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex: 1;
}
.notion-price {
  font-weight: 700;
  color: var(--purple);
  font-size: 18px;
  margin-bottom: 12px;
  display: block;
}
.notion-info .btn-primary,
.notion-info .btn-secondary {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ============================================
   YOUTUBE BANNER
   ============================================ */
.youtube-banner {
  background: var(--surface);
  border: 1px solid var(--lavender);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.youtube-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(100,98,171,.12);
}
.youtube-thumb {
  flex: 0 0 220px;
  height: 124px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.youtube-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.youtube-text h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.youtube-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  z-index: 999;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .notion-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn-primary, .hero-btns .btn-secondary { width: 100%; max-width: 320px; justify-content: center; }
  .featured-card { flex: 0 0 160px; }
  .featured-card { flex: 0 0 180px; }
  .youtube-banner { flex-direction: column; text-align: center; }
  .whatsapp-float { bottom: 16px; left: 16px; }
}

/* === MODAL (PROJECT) === */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(40, 38, 80, .55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 720px; max-height: 90vh; overflow-y: auto;
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(40,38,80,.25);
  transform: translateY(16px); transition: transform .3s ease;
}
.modal.modal-wide { max-width: 960px; }
.modal-overlay.show .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  background: var(--lavender-light, #e8e6f4); border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 18px; line-height: 1; color: var(--text, #333);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease;
}
.modal-close:hover { background: var(--purple-light, #a29de0); color: #fff; }
.modal-title { font-size: 26px; font-weight: 700; color: var(--text, #333); }
.modal-desc { margin-top: 10px; font-size: 15px; color: var(--text-muted, #777); line-height: 1.6; }
.modal-hint { margin-top: 16px; font-size: 12.5px; color: var(--purple, #6462ab); font-weight: 600; }
.modal-note { margin-top: 12px; font-size: 12px; color: var(--text-muted, #777); font-style: italic; }
.modal-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 24px;
}
.modal-gallery-item {
  aspect-ratio: 4/3; border-radius: 14px; overflow: hidden;
  background: var(--lavender-light, #e8e6f4);
  position: relative; cursor: pointer;
  border: 2px solid transparent; transition: border-color .3s ease, transform .3s ease;
}
.modal-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-gallery-item:hover { border-color: var(--purple, #6462ab); transform: translateY(-3px); }
.modal-gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  color: #fff; font-size: 13px; font-weight: 700; padding: 26px 12px 10px;
}
@media (max-width: 600px) {
  .modal-gallery { grid-template-columns: repeat(2, 1fr); }
  .modal { padding: 28px 20px; }
}

/* === BRANDING PAGE === */
.project-back { margin-bottom: 24px; }
.brand-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 32px;
}
.brand-card {
  background: #fff; border-radius: 18px; padding: 16px;
  text-align: center; cursor: pointer;
  border: 1px solid var(--border, #eee);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(40,38,80,.12); border-color: var(--purple-light, #a29de0); }
.brand-card-thumb {
  aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: var(--lavender-light, #e8e6f4);
}
.brand-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-card h3 { margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--text, #333); }

.brand-hero { margin: 22px 0 0; border-radius: 14px; overflow: hidden; }
.brand-hero img { width: 100%; display: block; object-fit: cover; }
.brand-board {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 24px;
}
.brand-col h4 { font-size: 13px; font-weight: 700; color: var(--purple, #6462ab); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.swatch { text-align: center; }
.swatch-color { display: block; aspect-ratio: 4/3; border-radius: 10px; border: 1px solid rgba(0,0,0,.08); }
.swatch-hex { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 600; color: var(--text-muted, #777); }
.type-card {
  border: 1px solid var(--border, #eee); border-radius: 12px;
  padding: 12px 14px; background: #fafafa;
  display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px;
}
.type-name { font-size: 14px; font-weight: 700; color: var(--text, #333); }
.type-tag { font-size: 11.5px; color: var(--text-muted, #777); }

.brand-mockup { margin-top: 26px; border-radius: 14px; overflow: hidden; }
.brand-mockup img { width: 100%; display: block; object-fit: cover; }

@media (max-width: 600px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .brand-board { grid-template-columns: 1fr; gap: 18px; }
}

/* === UX PROJECTS PAGE === */
.ux-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 32px;
}
.ux-card {
  background: #fff; border-radius: 18px; padding: 16px;
  text-align: center; cursor: pointer;
  border: 1px solid var(--border, #eee);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ux-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(40,38,80,.12); border-color: var(--purple-light, #a29de0); }
.ux-card-thumb {
  aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--lavender-light, #e8e6f4);
  display: flex; align-items: center; justify-content: center;
}
.ux-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ux-card h3 { margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--text, #333); }
.ux-card .ux-tag { font-size: 11px; font-weight: 600; color: var(--purple, #6462ab); margin-top: 2px; }

@media (max-width: 600px) {
  .ux-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* UX modal: web frame */
.ux-frame {
  margin-top: 20px;
  border: 8px solid #e8e6f4; border-radius: 14px;
  background: #fff; overflow: hidden;
  max-height: 60vh;
}
.ux-frame-bar {
  display: flex; align-items: center; gap: 6px;
  background: #e8e6f4; padding: 8px 12px;
  border-radius: 6px 6px 0 0;
}
.ux-frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: #a29de0; }
.ux-frame-body { max-height: 56vh; overflow-y: auto; }
.ux-frame-body img { width: 100%; display: block; }
.ux-frame-body iframe { width: 100%; height: 70vh; border: 0; display: block; }

/* UX modal: phone frame */
.ux-phone {
  margin: 20px auto 0;
  width: 280px; max-width: 100%;
  border: 8px solid #111; border-radius: 30px;
  overflow: hidden; background: #fff;
  max-height: 62vh;
}
.ux-phone-notch { height: 24px; background: #111; }
.ux-phone-screen { max-height: 52vh; overflow-y: auto; }
.ux-phone-screen img { width: 100%; display: block; }
.ux-phone-screen iframe { width: 100%; height: 52vh; border: 0; display: block; }
.ux-figma-embed { margin-top: 20px; border-radius: 14px; overflow: hidden; }
.ux-figma-embed iframe { width: 100%; height: 62vh; border: 0; display: block; }
.ux-figma-link { margin-top: 16px; text-align: center; }

/* === SOCIAL MEDIA PAGE === */
.social-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 32px;
}
.social-card {
  background: #fff; border-radius: 18px; padding: 16px;
  text-align: center; cursor: pointer;
  border: 1px solid var(--border, #eee);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.social-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(40,38,80,.12); border-color: var(--purple-light, #a29de0); }
.social-card-thumb {
  aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--lavender-light, #e8e6f4);
  display: flex; align-items: center; justify-content: center;
}
.social-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social-card h3 { margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--text, #333); }

/* Instagram mockup */
.ig-mockup {
  margin: 20px auto 0;
  width: 340px; max-width: 100%;
  background: #fff;
  border: 1px solid #dbdbdb; border-radius: 16px;
  overflow: hidden;
}
.ig-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
}
.ig-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #6462ab, #a29de0);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.ig-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.ig-user { font-size: 14px; font-weight: 700; color: var(--text, #333); }
.ig-carousel { position: relative; }
.ig-carousel-inner { overflow: hidden; aspect-ratio: 4/4; background: #f2f2f2; border-top: 1px solid #dbdbdb; }
.ig-slide { width: 100%; height: 100%; display: none; }
.ig-slide.active { display: block; }
.ig-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  border: none; cursor: pointer; z-index: 2;
  background: rgba(100,98,171,.9); color: #fff;
  font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.ig-arrow:hover { background: var(--purple-dark, #504d8f); transform: translateY(-50%) scale(1.05); }
.ig-arrow.prev { left: 8px; }
.ig-arrow.next { right: 8px; }
.ig-actions {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px 6px;
}
.ig-icon { font-size: 18px; line-height: 1; }
.ig-likes { padding: 0 14px 12px; font-size: 12.5px; font-weight: 600; color: var(--text, #333); }
.ig-dots { display: flex; justify-content: center; gap: 6px; padding-bottom: 14px; }
.ig-dot { width: 7px; height: 7px; border-radius: 50%; background: #dbdbdb; }
.ig-dot.active { background: #6462ab; }

@media (max-width: 600px) {
  .social-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* === AI CHARACTERS PAGE === */
.ai-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-top: 32px;
}
.ai-card {
  background: #fff; border-radius: 18px; padding: 20px;
  text-align: center; cursor: pointer;
  border: 1px solid var(--border, #eee);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ai-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(40,38,80,.12); border-color: var(--purple-light, #a29de0); }
.ai-card-photo {
  width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; overflow: hidden;
  background: var(--lavender-light, #e8e6f4);
  border: 4px solid var(--purple, #6462ab);
  display: flex; align-items: center; justify-content: center;
}
.ai-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-card h3 { margin-top: 14px; font-size: 16px; font-weight: 700; color: var(--text, #333); }

/* AI character modal */
.ai-modal-photo {
  width: 180px; height: 180px; margin: 0 auto; border-radius: 50%; overflow: hidden;
  background: var(--lavender-light, #e8e6f4);
  border: 4px solid var(--purple, #6462ab);
  display: flex; align-items: center; justify-content: center;
}
.ai-modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-modal-desc {
  margin-top: 16px; text-align: center; font-size: 14.5px; line-height: 1.65;
  color: var(--text-soft, #666);
}
.ai-modal-video { margin-top: 20px; }
.ai-modal-video video {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px;
  background: #000; display: block;
}
@media (max-width: 800px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ai-card-photo { width: 120px; height: 120px; } }

/* === CREATIVE ILLUSTRATION GALLERY === */
.ill-main {
  margin-top: 20px; border-radius: 14px; overflow: hidden;
  background: var(--lavender-light, #e8e6f4);
  display: flex; align-items: center; justify-content: center;
}
.ill-main img { width: 100%; object-fit: contain; display: block; max-height: 60vh; }
.ill-thumbs {
  margin-top: 16px; display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap;
}
.ill-thumb {
  width: 80px; flex-shrink: 0; cursor: pointer;
  border-radius: 10px; overflow: hidden;
  border: 3px solid transparent; opacity: .6;
  transition: border-color .3s ease, opacity .3s ease, transform .3s ease;
}
.ill-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }
.ill-thumb:hover { transform: scale(1.05); }
.ill-thumb.active { border-color: var(--purple, #6462ab); opacity: 1; }
@media (max-width: 560px) {
  .ill-thumb { width: 64px; }
}

/* === PACKAGING & EDITORIAL GALLERY === */
.pack-section-title {
  margin-top: 24px; font-size: 15px; font-weight: 700; color: var(--purple, #6462ab);
  text-transform: uppercase; letter-spacing: 1px;
  border-bottom: 2px solid var(--lavender-light, #e8e6f4);
  padding-bottom: 8px;
}
.pack-section-title:first-of-type { margin-top: 0; }

/* === JOURNAL MODAL === */
.journal-features {
  margin: 14px 0 0; padding: 0; list-style: none;
}
.journal-features li {
  padding: 8px 0 8px 24px; position: relative;
  font-size: 15px; color: var(--text, #333); line-height: 1.5;
  border-bottom: 1px dashed var(--lavender-light, #e8e6f4);
}
.journal-features li::before {
  content: ""; position: absolute; left: 4px; top: 14px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple, #6462ab);
}
.journal-features li::marker { display: none; }
.journal-cta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 22px;
}

.car-panel {
  position: relative; margin-top: 18px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.car-view {
  flex: 1; max-width: 640px; border-radius: 14px; overflow: hidden;
  background: var(--lavender-light, #e8e6f4);
  display: flex; align-items: center; justify-content: center;
}
.car-view img { width: 100%; max-height: 62vh; object-fit: contain; display: block; }
.car-arrow {
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(100,98,171,.9); color: #fff; font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
  flex-shrink: 0;
}
.car-arrow:hover { background: var(--purple-dark, #504d8f); transform: scale(1.05); }
.car-counter {
  margin-top: 10px; text-align: center; font-size: 13px; font-weight: 600;
  color: var(--text-soft, #666);
}
@media (max-width: 560px) {
  .car-arrow { width: 34px; height: 34px; }
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */
.privacy-hero {
  text-align: center;
  padding-top: 120px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--bg, #f2f2f2) 0%, #fff 100%);
}
.privacy-hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text, #333);
  margin-bottom: 12px;
}
.privacy-hero p {
  font-size: 16px;
  color: var(--text-muted, #777);
  margin-bottom: 24px;
}
.privacy-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.privacy-badges .badge {
  background: var(--lavender-light, #e8e6f4);
  color: var(--purple, #6462ab);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.privacy-body {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 60px;
}
.privacy-section {
  margin-bottom: 40px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border, #eee);
}
.privacy-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple, #6462ab);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--lavender-light, #e8e6f4);
}
.privacy-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text, #333);
  margin-top: 16px;
  margin-bottom: 8px;
}
.privacy-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted, #666);
  margin-bottom: 12px;
}
.privacy-section ul {
  margin-bottom: 16px;
  padding-left: 20px;
}
.privacy-section ul li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted, #666);
  margin-bottom: 6px;
}
.privacy-section a {
  color: var(--purple, #6462ab);
  text-decoration: underline;
  font-weight: 600;
}
.privacy-section a:hover {
  color: var(--purple-dark, #504d8f);
}
.privacy-acceptance {
  background: var(--lavender-light, #e8e6f4);
  border-color: var(--purple, #6462ab);
}
.privacy-acceptance p {
  color: var(--text, #333);
}
.last-updated {
  font-size: 14px;
  color: var(--text-muted, #777);
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  .privacy-hero h1 { font-size: 28px; }
  .privacy-section { padding: 16px; }
  .privacy-badges { flex-direction: column; align-items: center; }
}

/* ============================================
   HOME V2 · MEET ISABEL
   ============================================ */
.about-home {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: end;
  max-width: 860px;
  margin: 0 auto;
}
.about-home-photo {
  position: relative;
  width: 280px;
  height: 280px;
  max-width: 280px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--lavender-light, #e8e6f4);
  box-shadow: 0 12px 30px rgba(100,98,171,.18);
  justify-self: center;
  transform: translate(14px, -12px);
}
.about-home-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08) translate(2%, 5%);
  border-radius: 0;
  display: block;
  box-shadow: none;
  background: transparent;
  border: none;
}
.about-home-text h2 {
  font-size: 30px;
  margin-bottom: 14px;
  color: var(--dark, #1a1a2e);
}
.about-home-text h2 em {
  font-style: normal;
  color: var(--purple, #6462ab);
}
.about-home-text p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #3c3c55;
  margin-bottom: 12px;
}
.about-home-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
@media (max-width: 720px) {
  .about-home { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .about-home-photo { width: 220px; height: 220px; }
  .about-home-links { justify-content: center; }
}

/* ============================================
   HOME V2 · PORTFOLIO VISUAL (carrusel)
   ============================================ */
.work-carousel {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
.work-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 18px 12px 30px;
  margin: -18px -12px -30px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.work-track::-webkit-scrollbar { display: none; }
.work-card {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border: none;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  box-shadow: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(100,98,171,.16);
}
.work-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #ccc9e6, #6462ab);
}
.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.work-card:hover .work-card-media img { transform: scale(1.06); }
.work-card-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,.92);
  color: #6462ab;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(26,26,46,.12);
}
.work-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 16px;
}
.work-card-info strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #1A1A2E;
  line-height: 1.35;
}
.work-card-arrow {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F2F2F2;
  color: #6462AB;
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: background .2s ease, color .2s ease;
}
.work-card:hover .work-card-arrow {
  background: #6462AB;
  color: #fff;
}
.work-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #E8E6F4;
  color: #6462AB;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(26,26,46,.16);
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.work-nav:hover { background: #6462AB; color: #fff; }
.work-nav:disabled { opacity: .35; cursor: default; }
.work-nav:disabled:hover { background: #fff; color: #6462AB; }
.work-prev { left: -16px; }
.work-next { right: -16px; }
@media (max-width: 720px) {
  .work-card { flex: 0 0 calc((100% - 18px) / 2); }
  .work-prev { left: -8px; }
  .work-next { right: -8px; }
}
@media (max-width: 440px) {
  .work-card { flex: 0 0 82%; }
  .work-card-info strong { font-size: 14px; }
}

/* ============================================
   HOME V2 · LOFI BAND
   ============================================ */
.lofi-home-band {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2b52 60%, #6462ab 100%);
  border-radius: 24px;
  padding: 36px 32px;
  color: #fff;
  box-shadow: 0 20px 48px rgba(26,26,46,.30);
}
.lofi-home-badge {
  display: inline-block;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 99px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.lofi-home-text h3 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.lofi-home-text p {
  font-size: 14.5px;
  opacity: .85;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #fff;
}
.btn-lofi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff0000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(255,0,0,.35);
  transition: transform .15s ease;
}
.btn-lofi:hover { transform: translateY(-2px); }
.lofi-home-thumb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  box-shadow: 0 14px 34px rgba(0,0,0,.4);
}
.lofi-home-thumb img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.lofi-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 54px; height: 54px;
  background: rgba(255,0,0,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: transform .2s ease;
}
.lofi-home-thumb:hover .lofi-play { transform: translate(-50%,-50%) scale(1.12); }
@media (max-width: 720px) {
  .lofi-home-band { grid-template-columns: 1fr; text-align: center; }
  .lofi-home-band .btn-lofi { margin: 0 auto; }
}

/* ============================================
   HOME V2 · TESTIMONIAL
   ============================================ */
.testimonial-home {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-home-quote {
  position: relative;
  background: #fff;
  border: 1px solid var(--line, #e6e4f0);
  border-radius: 24px;
  padding: 44px 40px 32px;
  box-shadow: 0 12px 40px rgba(100,98,171,.10);
}
.testimonial-home-mark {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 90px;
  line-height: 1;
  color: var(--lilac, #ccc9e6);
  font-family: Georgia, serif;
  background: transparent;
}
.testimonial-home-quote p {
  position: relative;
  font-size: 16.5px;
  line-height: 1.75;
  color: #3c3c55;
  font-style: italic;
  margin-bottom: 22px;
}
.testimonial-home-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
}
.testimonial-home-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6462ab, #a29de0);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-home-author strong {
  display: block;
  font-size: 14.5px;
  color: var(--dark, #1a1a2e);
}
.testimonial-home-author span {
  display: block;
  font-size: 12.5px;
  color: var(--muted, #6b6b85);
}
.testimonial-home-brands {
  margin-top: 26px;
}
.testimonial-home-brands-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted, #6b6b85);
  margin-bottom: 10px;
}
.testimonial-home-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.testimonial-home-brand {
  background: #fff;
  border: 1px solid var(--line, #e6e4f0);
  border-radius: 99px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--purple, #6462ab);
}
.testimonial-home-brand-dot {
  color: var(--lilac, #ccc9e6);
  font-weight: 700;
}
@media (max-width: 600px) {
  .testimonial-home-quote { padding: 36px 22px 26px; }
  .testimonial-home-quote p { font-size: 15px; }
}

/* ============================================
   HOME V2 · ANCHOS ESTILO KORE (1100px)
   ============================================ */
.page-v2 .section {
  max-width: 1100px;
  padding: 84px 26px;
}
.page-v2 .section-title { margin-bottom: 32px; }
.page-v2 .about-home { max-width: 1020px; }
.page-v2 .work-carousel { max-width: 1060px; }
.page-v2 .products-grid-3 { max-width: 1020px; }
.page-v2 .testimonial-home { max-width: 900px; }
.page-v2 .lofi-home-band { max-width: 960px; }

/* Bandas tipo Kore (blanco / lila) — ancho completo, contenido centrado a 1100 */
.page-v2 .section-band-white,
.page-v2 .section-band-lilac {
  max-width: none;
  padding-left: max(26px, calc((100% - 1100px) / 2));
  padding-right: max(26px, calc((100% - 1100px) / 2));
}
.page-v2 .section-band-white {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.page-v2 .section-band-lilac {
  background: var(--lavender-light);
}
.page-v2 .section-band-white .section-title span,
.page-v2 .section-band-lilac .section-title span {
  background: transparent;
}

/* HERO CLARO · banner nuevo sin velo negro */
.page-v2 .hero-banner-img { filter: brightness(1.10) saturate(.96); }
.page-v2 .hero-banner-overlay {
  background: rgba(255,255,255,.14);
}
.page-v2 .hero-banner-overlay h1 { color: #1A1A2E; }
.page-v2 .hero-banner-overlay h1 em { color: #6462AB; }
.page-v2 .hero-banner-overlay p { color: #3B3866; }
.page-v2 .hero-logo {
  width: 86px;
  padding: 15px;
  background: #fff;
  border-radius: 26%;
  box-shadow: 0 10px 26px rgba(100,98,171,.28);
  margin-bottom: 18px;
}

/* HERO KORE-STYLE · split texto + Antonio */
@keyframes antPulse { 0%,100% { opacity: 1 } 50% { opacity: .45 } }
@keyframes antFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }
.page-v2 .hero-banner { min-height: 94vh; }
.page-v2 .hero-banner-overlay {
  min-height: 94vh;
  padding: 130px 24px 90px;
  background: linear-gradient(100deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.20) 55%, rgba(255,255,255,.06) 100%);
}
.page-v2 .hero-split {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.page-v2 .hero-copy { text-align: left; }
.page-v2 .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--lavender);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(100,98,171,.12);
}
.page-v2 .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  animation: antPulse 1.5s infinite;
}
.page-v2 .hero-copy h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.page-v2 .hero-copy p { max-width: 480px; margin-bottom: 30px; }
.page-v2 .hero-btns { justify-content: flex-start; }
.page-v2 .hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}
.page-v2 .hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100,98,171,.30), transparent 70%);
  filter: blur(18px);
  transition: transform .4s ease;
}
/* Antonio · entrada con rebote + flote continuo (sin mouse/parallax) */
@keyframes antPop {
  from { opacity: 0; transform: translateY(48px) scale(.65); }
  60%  { opacity: 1; transform: translateY(-8px) scale(1.04); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes chipIn { from { opacity: 0 } to { opacity: 1 } }
.page-v2 .hero-antonio-pop {
  position: relative;
  z-index: 1;
  animation: antPop .9s cubic-bezier(.34,1.56,.64,1) .25s both;
  cursor: pointer;
}
/* Bocadillo de saludo de Antonio */
.antonio-bubble {
  position: absolute;
  top: -10px; left: 50%;
  transform: translate(-50%, -100%) scale(.8);
  background: #fff;
  color: var(--text, #3b3866);
  font-weight: 700; font-size: 14px;
  padding: 12px 18px;
  border-radius: 18px;
  border: 1px solid var(--lavender, #ccc9e6);
  box-shadow: 0 12px 30px rgba(100,98,171,.25);
  white-space: nowrap;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
  z-index: 3;
  pointer-events: none;
}
.antonio-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
  border-bottom: none;
}
.antonio-bubble.show {
  opacity: 1; visibility: visible;
  transform: translate(-50%, -100%) scale(1);
}
@media (max-width: 600px) {
  .antonio-bubble { font-size: 12.5px; white-space: normal; text-align: center; max-width: 240px; }
}
.page-v2 .hero-antonio-float {
  animation: antFloat 5.5s ease-in-out 1.2s infinite;
  transition: transform .3s ease;
}
.page-v2 .hero-antonio {
  display: block;
  width: min(760px, 118%);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(26,26,46,.14));
}
.page-v2 .hero-chip {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 8px 15px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 8px 22px rgba(100,98,171,.16);
}
.page-v2 .hero-chip-1 {
  top: 10%; left: 0;
  animation: antFloat 6s ease-in-out infinite, chipIn .7s ease .9s both;
}
.page-v2 .hero-chip-2 {
  bottom: 12%; right: 2%;
  animation: antFloat 7s ease-in-out .9s infinite, chipIn .7s ease 1.2s both;
}
@media (max-width: 900px) {
  .page-v2 .hero-split { grid-template-columns: 1fr; gap: 30px; }
  .page-v2 .hero-copy { text-align: center; }
  .page-v2 .hero-copy p { margin-left: auto; margin-right: auto; }
  .page-v2 .hero-btns { justify-content: center; }
  .page-v2 .hero-stage { min-height: 400px; }
  .page-v2 .hero-antonio { width: min(460px, 92%); max-height: 420px; }
}

/* ============================================
   HOME V2 · PRODUCTS · 4 tarjetas en fila (estilo Kore)
   ============================================ */
.products-stage { position: relative; }
.products-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-h-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(160deg, rgba(255,255,255,.95) 0%, rgba(248,247,255,.92) 100%);
  border: 1px solid rgba(100,98,171,.14);
  border-radius: 22px;
  padding: 26px 22px 24px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(100,98,171,.08);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s;
}
.product-h-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #6462AB, #A29DE0, #CCC9E6);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.product-h-card:hover::before { transform: scaleX(1); }
.product-h-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(100,98,171,.2);
  border-color: rgba(100,98,171,.32);
}
.product-h-card .ph-icon {
  width: 54px; height: 54px;
  background: linear-gradient(145deg, var(--lavender-light), rgba(204,201,230,.55));
  border: 1px solid rgba(100,98,171,.15);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(100,98,171,.12);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s;
}
.product-h-card:hover .ph-icon {
  transform: translateY(-4px) scale(1.1) rotate(-8deg);
  box-shadow: 0 10px 24px rgba(100,98,171,.25);
}
.product-h-card h3 {
  font-size: 17px; font-weight: 700; color: #1A1A2E;
  letter-spacing: -.2px; margin-bottom: 8px;
}
.product-h-card p {
  font-size: 14.5px; color: var(--text-muted, #8A87AD); line-height: 1.6;
}
.products-nav {
  display: none;
}
@media (max-width: 900px) {
  .products-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .products-row { grid-template-columns: 1fr; }
}

/* ============================================
   HOME V2 · CAJA MORADA ROTATORIA (Lofi <-> Kore)
   ============================================ */
@keyframes promoIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes homeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.page-v2 .feat-section { padding-left: 0; padding-right: 0; }
.feat-wrap { max-width: 1100px; margin: 0 auto; padding: 0 26px; }
.promo-rotator {
  position: relative;
  display: grid;
  width: 100%;
  margin: 0 0 38px;
  border-radius: 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #6462ab 0%, #524f96 42%, #a29de0 100%);
  box-shadow: 0 24px 56px rgba(100,98,171,.28);
}
.promo-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 44px max(26px, calc((100% - 1100px) / 2));
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.promo-slide.is-on {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: promoIn .6s ease both;
}
.promo-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 12px; font-weight: 700;
  margin-bottom: 16px;
}
.promo-text h3 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 10px; color: #fff;
}
.promo-text h3 em { font-style: normal; color: #e8e6f4; }
.promo-text p { font-size: 15px; opacity: .92; margin-bottom: 8px; line-height: 1.55; }
.promo-text .promo-sub { font-size: 13px; opacity: .75; margin-bottom: 20px; }
.promo-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  font-size: 14px; font-weight: 700;
  background: #fff; color: #6462ab;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(26,26,46,.18);
  transition: transform .25s ease;
}
.promo-btn:hover { transform: translateY(-2px); }
.promo-media {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.promo-media--lofi {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(26,26,46,.32);
}
.promo-media--lofi img {
  width: 100%; max-width: 500px;
  aspect-ratio: 16/9; object-fit: cover;
  display: block;
}
.promo-media--lofi:hover .lofi-play { transform: translate(-50%,-50%) scale(1.12); }
.promo-glow {
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%);
  filter: blur(12px);
}
.promo-phone {
  position: relative; z-index: 1;
  width: 168px;
  filter: drop-shadow(0 22px 30px rgba(26,26,46,.28));
}
.home-phone-float { animation: homeFloat 5s ease-in-out infinite; transform-origin: center center; }
.promo-phone-frame {
  background: linear-gradient(165deg, #4a4a5c 0%, #1a1a24 35%, #0c0c12 70%, #1e1e2a 100%);
  border-radius: 22px;
  padding: 5px;
  border: 2px solid #0a0a10;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14);
  position: relative;
}
.promo-phone-notch {
  position: absolute; top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #020204;
  box-shadow: inset 0 0 0 1.5px #101018;
  z-index: 4;
}
.promo-phone-screen {
  background: #000;
  border-radius: 17px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  position: relative;
}
.promo-phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
@media (max-width: 820px) {
  .promo-slide { grid-template-columns: 1fr; padding: 30px 26px; text-align: left; }
  .promo-media--lofi img { max-width: 100%; }
  .promo-phone { width: 150px; }
}

/* HOME V2 · extras: dots de la caja promo + flecha en tarjetas de Products */
.promo-dots {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: center;
  z-index: 3;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
}
.promo-dot {
  width: 8px; height: 8px;
  padding: 0; border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}
.promo-dot.is-on {
  background: #fff;
  transform: scale(1.3);
}
.product-h-card p { margin-bottom: 0; }
.ph-go {
  margin-top: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #F2F2F2;
  color: #6462AB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.product-h-card:hover .ph-go {
  background: #6462AB;
  color: #fff;
  transform: translateX(4px);
}

/* ============================================
   HOME V2 · ICONOS SVG EN CARDS DE PRODUCTS
   ============================================ */
.product-h-card .ph-icon svg {
  width: 26px; height: 26px;
  color: #6462AB;
  display: block;
}

/* ============================================
   MOVIMIENTO REDUCIDO (accesibilidad)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .featured-track,
  .hero-antonio-float,
  .home-phone-float,
  .anim {
    animation: none !important;
  }
  .anim { opacity: 1 !important; }
  .promo-slide { transition: none !important; }
}

/* ============================================
   HOME V2 · TESTIMONIOS EN GRID (2 clientes)
   ============================================ */
.testimonial-home-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.testimonial-home-quotes .testimonial-home-quote {
  padding: 40px 26px 30px;
}
.testimonial-home-quotes .testimonial-home-quote p {
  font-size: 15.5px;
}
@media (max-width: 760px) {
  .testimonial-home-quotes { grid-template-columns: 1fr; }
}

/* ============================================
   TESTIMONIALS MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(100, 98, 171, 0.3);
  max-width: 500px;
  width: 100%;
  position: relative;
  animation: modalIn 0.25s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 12px; right: 16px;
  width: 36px; height: 36px;
  border: none; border-radius: 50%;
  background: var(--lavender-light);
  color: #6462AB;
  font-size: 22px; line-height: 36px;
  text-align: center; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.modal-close:hover { background: #6462AB; color: #fff; transform: rotate(90deg); }
#modalTestimonialContent {
  padding: 24px 28px 28px;
  text-align: center;
}
#modalTestimonialContent p { margin-bottom: 20px; }
#modalTestimonialContent strong { color: #1a1a2e; }
#modalTestimonialContent span { color: #6b6b85; }

/* Botón "Leer completo" en tarjetas */
.testimonial-readmore {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #6462AB;
  background: var(--lavender-light);
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.testimonial-readmore:hover {
  background: #6462AB;
  color: #fff;
  transform: translateX(4px);
}

/* ============================================
   MODAL DE PRODUCTO (click en tarjeta)
   ============================================ */
.notion-card, .product-item { cursor: pointer; }
.pm-media {
  border-radius: 14px; overflow: hidden;
  background: var(--lavender-light, #e8e6f4);
  margin-top: 18px;
  position: relative;
}
.pm-media img { width: 100%; max-height: 300px; object-fit: cover; display: block; cursor: zoom-in; }
.pm-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--purple, #6462ab);
  font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(40,38,80,.2);
  transition: background .2s ease, color .2s ease;
  z-index: 2;
}
.pm-arrow:hover { background: var(--purple, #6462ab); color: #fff; }
.pm-arrow.prev { left: 10px; }
.pm-arrow.next { right: 10px; }
.pm-count {
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(40,38,80,.65); color: #fff;
  font-size: 11.5px; font-weight: 700;
  padding: 3px 10px; border-radius: 99px;
}
#pm-lightbox { cursor: zoom-out; }

/* Nota de confianza + tooltip "i" */
.trust-note {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.5);
  padding: 8px 18px;
  border-radius: 99px;
  opacity: 1;
}
.trust-note .tip {
  background: rgba(255,255,255,.28);
  color: #fff;
}
.tip {
  position: relative;
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lavender-light, #e8e6f4);
  color: var(--purple, #6462ab);
  font-size: 11.5px; font-weight: 700;
  cursor: help;
  vertical-align: middle;
}
.tip:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  width: max-content; max-width: 250px;
  white-space: normal;
  background: #2b2a4d; color: #fff;
  font-size: 12px; font-weight: 600; line-height: 1.5;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(40,38,80,.3);
  z-index: 50;
}

/* Guía "¿cuál es para ti?" */
.match-wrap { margin-top: 30px; text-align: center; }
.match-title { font-size: 20px; font-weight: 700; color: var(--text, #3b3866); }
.match-sub { font-size: 13.5px; color: var(--text-muted, #8a87ad); margin: 4px 0 18px; }
.match-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.match-card {
  background: var(--lavender-light, #e8e6f4);
  border: 1px solid var(--lavender, #ccc9e6);
  border-radius: 18px;
  padding: 22px 14px;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.match-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px var(--shadow, rgba(100,98,171,.12)); }
.match-emoji { font-size: 30px; margin-bottom: 10px; }
.match-card p { font-size: 13px; font-weight: 600; color: var(--text, #3b3866); margin-bottom: 14px; flex: 1; }
@media (max-width: 900px) { .match-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .match-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .match-card { padding: 16px 10px; } }
.pm-price {
  font-size: 24px; font-weight: 700;
  color: var(--purple, #6462ab); margin-top: 12px;
}
.pm-actions {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap; margin-top: 20px;
}
.pm-actions .btn-primary, .pm-actions .btn-secondary { justify-content: center; }
