/* ===========================
   VARIABLES & RESET
   =========================== */
:root {
  --purple: #6B3FA0;
  --purple-light: #8B5FC0;
  --purple-pale: #EDE7F6;
  --purple-bg: #F3EFFE;
  --purple-dark: #4A2878;
  --lavender: #D4BFEE;
  --white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-mid: #444466;
  --text-soft: #777799;
  --accent-italic: #7C4DBA;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 8px 40px rgba(107,63,160,0.13);
  --shadow-card: 0 4px 24px rgba(107,63,160,0.10);
  --nav-height: 80px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===========================
   TYPOGRAPHY HELPERS
   =========================== */
.accent { font-style: italic; color: var(--accent-italic); font-family: var(--font-display); }
.accent-dark { font-style: italic; color: var(--purple-dark); font-family: var(--font-display); }
.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-tag.center { text-align: center; }

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  text-align: center;
}
.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,63,160,0.3);
}
.btn-primary.full { width: 100%; }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--purple);
  color: var(--purple);
  padding: 11px 26px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
  text-align: center;
}
.btn-outline:hover { background: var(--purple); color: var(--white); }

/* ===========================
   NAVBAR — DESKTOP
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107,63,160,0.08);
  height: var(--nav-height);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(107,63,160,0.12); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.logo-img {
  height: 160px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--purple); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-btn {
  background: var(--purple);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
}
.nav-btn:hover { background: var(--purple-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===========================
   HERO — DESKTOP
   =========================== */
.hero {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 72px;
  background: linear-gradient(135deg, #faf8ff 0%, #f3effe 60%, #ede7f6 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.hero-accent { font-style: italic; color: var(--accent-italic); }
.hero-desc {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 32px;
  max-width: 400px;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.stat { display: flex; align-items: center; gap: 10px; }
.stat-icon { font-size: 1.3rem; }
.stat strong { display: block; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); }
.stat small { font-size: 0.78rem; color: var(--text-soft); }

/* Hero image — desktop */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 520px;
}
.hero-circle {
  position: absolute;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,140,220,0.28) 0%, rgba(180,140,220,0.08) 70%, transparent 100%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: circleBreath 9s ease-in-out infinite;
}
.hero-letter {
  position: absolute;
  top: -10px; right: 0;
  font-family: var(--font-display);
  font-size: 10rem;
  font-weight: 700;
  color: rgba(107,63,160,0.06);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.hero-img {
  position: relative;
  z-index: 2;
  max-height: 550px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 20px 40px rgba(107,63,160,0.18));
}
.hero-quote-card {
  position: absolute;
  bottom: 80px; left: -20px;
  background: white;
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  max-width: 230px;
  z-index: 3;
  border-left: 4px solid var(--purple);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--purple);
  line-height: 0.5;
  display: block;
  margin-bottom: 8px;
}
.hero-quote-card p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-mid);
  font-style: italic;
}
.hero-quote-card cite {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple);
  display: block;
  margin-top: 8px;
  font-style: normal;
}

/* ===========================
   SOBRE MÍ — DESKTOP
   =========================== */
.about {
  background: var(--white);
  padding: 100px 0;
}
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap { 
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
 }

 /* LO NUEVO */
 .about-image-wrap::before{
  content:"";
  position:absolute;
  width:430px;
  height:430px;
  border-radius:50%;
  background: radial-gradient(
    circle,
    rgba(180,140,220,0.30) 0%,
    rgba(180,140,220,0.10) 65%,
    transparent 100%
  );
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  z-index:1;
  animation: circleBreath 8s ease-in-out infinite;
}



.about-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  height: 520px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 20px 45px rgba(107,63,160,0.14));
}

.about-badge {
  position: absolute;
  bottom: 28px; right: 0;
}
.badge-circle {
  width: 115px; height: 115px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 12px;
  border: 4px solid white;
  box-shadow: var(--shadow);
}
.badge-circle span { font-size: 1.7rem; margin-bottom: 4px; }
.badge-circle p { font-size: 0.55rem; font-weight: 700; letter-spacing: 0.05em; line-height: 1.3; }

.about-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}
.about-desc {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.75;
}
.about-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.feature { display: flex; align-items: flex-start; gap: 16px; }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--purple-bg);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.feature strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; }
.feature p { font-size: 0.85rem; color: var(--text-soft); }
/* ===========================
   TRAYECTORIA — DESKTOP
   =========================== */
.trayectoria {
  background: linear-gradient(180deg, #faf8ff 0%, #ffffff 100%);
  padding: 100px 0;
}

.trayectoria-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.trayectoria-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 32px;
}

/* MÉTRICAS */
.tray-metricas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.tray-metrica {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 16px 8px;
  background: var(--purple-bg);
  border-radius: var(--radius-sm);
}

.tray-metrica-icon { font-size: 3.2rem; margin-bottom: 8px; line-height: 1; }

.tray-metrica strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.tray-metrica span {
  font-size: 0.72rem;
  color: var(--text-soft);
  line-height: 1.3;
}

/* TABS FORMACIÓN */
.tray-formacion { margin-bottom: 32px; }

.tray-formacion-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  text-align: center;
  margin-bottom: 12px;
}

.tray-tabs {
  display: flex;
  border-radius: 50px;
  background: var(--purple-pale);
  padding: 4px;
  margin-bottom: 16px;
}

.tray-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 50px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  cursor: pointer;
  transition: all var(--transition);
}

.tray-tab.active {
  background: var(--purple);
  color: white;
  font-weight: 600;
}

.tray-tab-content {
  display: none;
  background: white;
  border: 1px solid var(--purple-pale);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.tray-tab-content.active { display: block; }

.tray-tab-content ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.tray-tab-content ul li {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.5;
  padding-left: 10px;
  border-left: 2px solid var(--lavender);
}

/* IMAGEN */
.trayectoria-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

.trayectoria-circle {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,140,220,0.30) 0%, rgba(180,140,220,0.10) 65%, transparent 100%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: circleBreath 8s ease-in-out infinite;
}

.trayectoria-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  filter: drop-shadow(0 18px 32px rgba(107,63,160,.12));
}
/* ===========================
   SERVICES — DESKTOP
   =========================== */
.services { background: var(--purple-bg); padding: 90px 0; }
.services-container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.services-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 52px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(107,63,160,0.07);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  font-size: 2rem;
  background: var(--purple-bg);
  width: 66px; height: 66px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.service-card p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 20px; line-height: 1.65; }
.service-link { font-size: 0.88rem; font-weight: 600; color: var(--purple); transition: color var(--transition); }
.service-link:hover { color: var(--purple-dark); }

/* ===========================
   IDREA + LIBRO — DESKTOP
   =========================== */
.idrea-libro { background: var(--white); padding: 80px 0; }
.idrea-libro-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.idrea-card {
  background: var(--purple-bg);
  border-radius: var(--radius);
  padding: 44px 36px;
}
.idrea-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
}
.idrea-content { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.idrea-steps { display: flex; flex-direction: column; gap: 14px; }
.idrea-step { display: flex; align-items: flex-start; gap: 14px; }
.step-letter {
  width: 32px; height: 32px;
  background: var(--purple);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  flex-shrink: 0;
}
.idrea-step strong { font-size: 0.88rem; font-weight: 600; display: block; margin-bottom: 2px; }
.idrea-step p { font-size: 0.78rem; color: var(--text-soft); line-height: 1.4; }

.idrea-diagram { display: flex; align-items: center; justify-content: center; }
.idrea-ring { position: relative; width: 160px; height: 160px; }
.idrea-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  background: var(--purple);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(107,63,160,0.35);
  z-index: 2;
}
.idrea-node {
  position: absolute;
  width: 36px; height: 36px;
  background: var(--white);
  border: 2px solid var(--purple);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  color: var(--purple);
  box-shadow: 0 2px 10px rgba(107,63,160,0.18);
}
.idrea-node.top    { top: 0;   left: 50%; transform: translateX(-50%); }
.idrea-node.right  { top: 30%; right: 0; }
.idrea-node.bottom-right { bottom: 10%; right: 10%; }
.idrea-node.bottom-left  { bottom: 10%; left: 10%; }
.idrea-node.left   { top: 30%; left: 0; }
.idrea-ring::before {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  border: 2px dashed rgba(107,63,160,0.3);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.libro-card {
  background: var(--purple-bg);
  border-radius: var(--radius);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
}
.libro-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}
.autoria-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: black;
  text-transform: uppercase;
  margin-top: -6px;
  margin-bottom: 16px;
  opacity: 0.85;
}
.libro-desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 18px; max-width: 300px; }
.libro-checks { margin-bottom: 24px; display: flex; flex-direction: column; gap: 6px; }
.libro-checks li { font-size: 0.88rem; color: var(--text-mid); }

.book-mockup { position: absolute; right: 28px; bottom: 30px; perspective: 1200px; }
.book-3d {
  position: relative;
  width: 130px; height: 180px;
  transform-style: preserve-3d;
  transform: rotateY(-25deg) rotateX(5deg);
  transition: transform 0.5s ease;
  filter: drop-shadow(-12px 16px 30px rgba(107,63,160,0.35));
}
.book-3d:hover { transform: rotateY(-15deg) rotateX(3deg) scale(1.04); }
.book-cover {
  position: absolute;
  width: 130px; height: 180px;
  border-radius: 2px 6px 6px 2px;
  overflow: hidden;
  background: var(--purple);
  z-index: 3;
}
.book-cover-img { width: 100%; height: 100%; object-fit: cover; }
.book-spine {
  position: absolute;
  left: -18px; top: 2px;
  width: 18px; height: 176px;
  background: linear-gradient(to right, var(--purple-dark), var(--purple));
  transform: rotateY(-90deg);
  transform-origin: right center;
  border-radius: 2px 0 0 2px;
  z-index: 2;
}
.book-back {
  position: absolute;
  width: 130px; height: 180px;
  background: #c9b0e8;
  transform: translateZ(-10px);
  border-radius: 2px 6px 6px 2px;
  z-index: 1;
}
.book-shadow {
  position: absolute;
  bottom: -20px; left: 10px;
  width: 120px; height: 30px;
  background: radial-gradient(ellipse, rgba(107,63,160,0.35) 0%, transparent 75%);
}

/* ===========================
   EMPRESAS CARRUSEL
   =========================== */
.empresas { background: var(--white); padding: 60px 0 50px; overflow: hidden; }
.empresas-header { text-align: center; margin-bottom: 32px; }
.empresas-track-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.empresas-track {
  display: flex;
  align-items: center;
  animation: empresasScroll 40s linear infinite;
  width: max-content;
}
.empresas-track:hover { animation-play-state: paused; }
.empresa-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  height: 80px;
  flex-shrink: 0;
}
.empresa-item img {
  max-height: 50px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(50%) opacity(0.7);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.empresa-item img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.06); }
@keyframes empresasScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================
   TESTIMONIOS — DESKTOP
   =========================== */
/* ===========================
   GALERÍA — DESKTOP
   =========================== */
.testimonios { background: var(--purple-bg); padding: 90px 0; }
.testimonios-container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.testimonios-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}
.testimonios-slider { display: flex; align-items: center; gap: 16px; }
.testimonios-track-wrap { overflow: hidden; flex: 1; }
.testimonios-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.galeria-card {
  width: calc((100%) / 3 - 16px);
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 260px;
  background: var(--lavender);
}

.galeria-card--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.galeria-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.galeria-card:hover img { transform: scale(1.05); }

.galeria-card--texto {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.testimonio-texto {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonio-comilla {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--purple);
  opacity: 0.15;
  line-height: 0.5;
  display: block;
}

.testimonio-texto p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.65;
}

.testimonio-texto cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--purple-pale);
  padding-top: 12px;
}

.testimonio-texto cite strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple);
}

.testimonio-texto cite span {
  font-size: 0.78rem;
  color: var(--text-soft);
}
.slider-btn {
  background: var(--white);
  border: 2px solid var(--purple);
  color: var(--purple);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.slider-btn:hover { background: var(--purple); color: white; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lavender);
  cursor: pointer;
  border: none;
  transition: background var(--transition), width var(--transition);
}
.slider-dot.active { background: var(--purple); width: 24px; border-radius: 4px; }

/* ===========================
   CONTACTO — DESKTOP
   =========================== */
.contacto { background: var(--white); padding: 90px 0; }
.contacto-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contacto-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
}
.contacto-data { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.contacto-data p { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-mid); }
.social-links { display: flex; gap: 12px; margin-top: 8px; }
.social-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--lavender);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
  transition: all var(--transition);
}
.social-icon:hover { background: var(--purple); color: white; border-color: var(--purple); }
.contacto-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(107,63,160,0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(107,63,160,0.1); }
.form-input::placeholder { color: var(--text-soft); }
.form-textarea { resize: vertical; min-height: 110px; }

/* ===========================
   FOOTER — DESKTOP
   =========================== */
.footer { background: var(--purple-bg); padding: 60px 0 0; }
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  border-bottom: 1px solid rgba(107,63,160,0.12);
}
.footer-logo { height: 60px; width: auto; object-fit: contain; margin-bottom: 14px; }
.footer-tagline { font-size: 0.85rem; color: var(--text-soft); font-style: italic; max-width: 280px; line-height: 1.6; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--lavender);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
  transition: all var(--transition);
}
.footer-socials a:hover { background: var(--purple); color: white; border-color: var(--purple); }
.footer-nav h4, .footer-contact h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.88rem; color: var(--text-mid); transition: color var(--transition); }
.footer-nav a:hover { color: var(--purple); }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li { font-size: 0.85rem; color: var(--text-mid); }
.footer-bottom {
  padding: 20px 28px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-soft); }
.footer-bottom-links { display: flex; align-items: center; gap: 8px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-soft); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--purple); }
.footer-bottom-links span { color: var(--lavender); }

/* ===========================
   RESPONSIVE — MOBILE / TABLET ≤768px
   =========================== */
@media (max-width: 768px) {

  /* ── 1. NAVBAR ─────────────────────────── */
  :root { --nav-height: 65px; }
  .hamburger { display: flex; }
  .nav-container { padding: 0 20px; min-height: 65px; }
  .logo-img { width: 130px; height: auto; min-width: 130px; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 78vw; max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 85px 28px 36px;
    gap: 22px;
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
    transition: right 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 1000;
    overflow-y: auto;
  }
  .logo-img {
  height: 160px;
  width: auto;
  object-fit: contain;
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1.05rem; }
  .nav-btn {
    background: var(--purple);
    padding: 11px 24px;
    color: white !important;
    border-radius: 50px;
    font-size: 0.95rem;
  }

  /* ── 2. HERO — imagen + texto como una sola unidad lavanda ── */
  .hero {
    padding-top: var(--nav-height);
    padding-bottom: 0;
    min-height: unset;
    align-items: flex-start;
    background: linear-gradient(180deg, #faf8ff 0%, #f0eafc 55%, #e8e0f5 100%);
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    max-width: 100%;
  }
  /* Imagen PRIMERO */
  .hero-image-wrap {
    order: 1;
    position: relative;
    min-height: unset;
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
    padding-top: 12px;
  }
  .hero-circle { width: 220px; height: 220px; }
  .hero-letter { display: none; }
  .hero-img {
    position: relative;
    z-index: 2;
    width: 72%; 
    max-width: 300px;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: bottom;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 12px 28px rgba(107,63,160,0.22));
  }

  .hero-quote-card{
    display:none !important;
    visibility:hidden;
    opacity:0;
  }

/* Comillas */
.quote-mark{
    position:absolute;
    top:18px;
    left:24px;
    
    font-size:78px;
    line-height:1;
    font-family: serif;
    color:#7b3ff2;
    opacity:.18;
    font-weight:700;
}

/* Texto principal */
.hero-quote-card p{
    margin:0 0 18px 0;
    padding-left:10px;

    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    line-height: 1.35;
    font-style: italic;
    color:#24163c;
    letter-spacing:.2px;
}

/* Firma */
.hero-quote-card cite{
    display:block;
    padding-left:10px;

    font-style:normal;
    font-size:.82rem;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;
    color:#7b3ff2;
}

/* Hover elegante */
.hero-quote-card:hover{
    transform: translateY(-4px);
    transition:.35s ease;
    box-shadow:
        0 30px 60px rgba(123,63,242,.16),
        inset 0 1px 0 rgba(255,255,255,.6);
}

  /* Texto ABAJO — fondo transparente, continúa lavanda del hero */
  .hero-content {
    order: 2;
    padding: 24px 20px 40px;
    text-align: center; 
    background: transparent;
  }
  .hero-title { font-size: 2rem; line-height: 1.15; margin-bottom: 14px; }
  .hero-desc { font-size: 0.95rem; max-width: 100%; margin-bottom: 22px; }
  /* Botones full-width */
  .hero-btns {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: nowrap;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
    border-radius: 50px;
    text-align: center;
  }
  /* Stats en fila horizontal */
  .hero-stats {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
    flex-wrap: nowrap;
    background: rgba(255,255,255,0.65);
    border-radius: 14px;
    padding: 14px 8px;
  }
  .stat {
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
    padding: 0 4px;
  }
  .stat:not(:last-child) { border-right: 1px solid rgba(107,63,160,0.15); }
  .stat-icon { font-size: 1rem; }
  .stat strong { font-size: 0.9rem; }
  .stat small { font-size: 0.65rem; }

  /* ── 3. SOBRE MÍ ──────────────────────── */
  /* ── 3. SOBRE MÍ (MOBILE PREMIUM) ──────────────────────── */

.about{
  padding: 56px 0 64px;
  background: linear-gradient(180deg,#ffffff 0%, #faf8ff 100%);
}

.about-container{
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
}

/* CONTENEDOR IMAGEN */
.about-image-wrap{
  position: relative;
  padding: 0 20px 18px;
  min-height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CÍRCULO PREMIUM */
.about-image-wrap::before{
  content:"";
  position:absolute;
  width:270px;
  height:270px;
  border-radius:50%;
  background: radial-gradient(
    circle,
    rgba(180,140,220,0.30) 0%,
    rgba(180,140,220,0.10) 65%,
    transparent 100%
  );
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  z-index:1;
  animation: circleBreath 8s ease-in-out infinite;
}

/* FOTO */
.about-img{
  position: relative;
  z-index:2;
  width:100%;
  max-width:290px;
  height:auto;
  object-fit:cover;
  object-position:top center;
  border-radius: var(--radius);
  display:block;
  filter: drop-shadow(0 18px 32px rgba(107,63,160,.12));
}

/* BADGE */
.about-badge{
  position:absolute;
  bottom:10%;
  right:8%;
  z-index:3;
}

.badge-circle{
  width:82px;
  height:82px;
}

.badge-circle span{
  font-size:1.25rem;
}

.badge-circle p{
  font-size:.45rem;
}

/* CONTENIDO */
.about-content{
  padding: 26px 22px 0;
  text-align:center;
}

.about-title{
  font-size: clamp(2rem, 8vw, 2.5rem);
  line-height:1.15;
  margin-bottom:14px;
}

.about-desc{
  font-size:.98rem;
  line-height:1.75;
  margin-bottom:28px;
}

/* FEATURES */
.about-features{
  align-items:center;
  gap:18px;
}

.feature{
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:10px;
  padding:18px 16px;
  background:#ffffff;
  border:1px solid rgba(140,110,190,.08);
  border-radius:18px;
  width:100%;
  box-shadow:0 10px 24px rgba(60,30,100,.04);
}

.feature-icon{
  width:48px;
  height:48px;
  font-size:1.1rem;
}

.feature strong{
  font-size:.95rem;
}

.feature p{
  font-size:.82rem;
  line-height:1.55;
}

/* BOTÓN */
.about-content .btn-primary{
  display:block;
  width:100%;
  margin-top:10px;
}

/* ── TRAYECTORIA MOBILE ───────────────────────── */
.trayectoria { padding: 56px 0; }
.trayectoria-container {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
}
.trayectoria-image-wrap {
  min-height: 300px;
  padding: 0 20px 18px;
  order: 1;
}
.trayectoria-circle { width: 260px; height: 260px; }
.trayectoria-img { max-width: 260px; }
.trayectoria-content {
  order: 2;
  padding: 26px 22px 0;
  text-align: center;
}
.tray-metricas { grid-template-columns: repeat(2, 1fr); }
.tray-tab-content ul { grid-template-columns: 1fr; }

  /* ── 4. SERVICIOS — ícono izq, texto der ─ */
  .services { padding: 56px 0; }
  .services-container { padding: 0 20px; }
  .services-title { font-size: 1.8rem; margin-bottom: 28px; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    text-align: left;
    padding: 20px;
    border-radius: 12px;
  }
  .service-icon {
    grid-row: 1 / 4;
    align-self: start;
    width: 52px; height: 52px;
    margin: 4px 0 0 0;
  }
  .service-card h3 { grid-column: 2; font-size: 1rem; margin-bottom: 6px; }
  .service-card p  { grid-column: 2; font-size: 0.85rem; margin-bottom: 10px; }
  .service-link    { grid-column: 2; font-size: 0.82rem; }

  /* ── 5. MODELO IDREA — lista arriba, diagrama abajo ── */
  .idrea-libro { padding: 56px 0; }
  .idrea-libro-container { grid-template-columns: 1fr; gap: 16px; padding: 0 20px; }
  .idrea-card { padding: 32px 20px; }
  .idrea-content { grid-template-columns: 1fr; gap: 28px; }
  /* Diagrama visible y centrado debajo de la lista */
  .idrea-diagram { display: flex; justify-content: center; padding: 4px 0; }
  .idrea-ring { width: 150px; height: 150px; }
  /* Libro */
  .libro-card { padding: 32px 20px 220px; }
  .book-mockup { right: 50%; transform: translateX(65px); bottom: 24px; }
  .book-3d { width: 110px; height: 155px; }
  .book-cover { width: 110px; height: 155px; }
  .book-back { width: 110px; height: 155px; }
  .book-spine { height: 151px; }

  /* ── 6. LOGOS EMPRESAS — carrusel preservado ─ */
  .empresas { padding: 40px 0; }

  /* ── 7. TESTIMONIOS — 1 tarjeta a la vez ─ */
/* ── 7. GALERÍA — 1 foto a la vez ─ */
.testimonios { padding: 56px 0; }
.testimonios-container { padding: 0 20px; }
.testimonios-title { font-size: 1.7rem; margin-bottom: 32px; }
.testimonios-slider { gap: 0; }
.testimonios-track .galeria-card { width: 100%; min-width: 100%; height: 260px; }
.testimonios-track { gap: 0; }
.galeria-card { border-radius: 12px; }
.slider-btn { width: 40px; height: 40px; min-width: 40px; font-size: 1rem; }
.slider-dots { margin-top: 24px; }

  /* ── 8. CONTACTO — centrado ───────────── */
  .contacto { padding: 56px 0; }
  .contacto-container { grid-template-columns: 1fr; gap: 28px; padding: 0 20px; }
  .contacto .section-tag {
      text-align: center;
  }
  .contacto-title { font-size: 1.8rem; text-align: center; }
  .contacto-data { align-items: center; text-align: center; }
  .contacto-data p { justify-content: center; }
  .social-links { justify-content: center; }
  .social-icon { width: 48px; height: 48px; min-width: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .form-input { font-size: 1rem; padding: 14px 16px; }

  /* ── 9. FOOTER — centrado ─────────────── */
  .footer { padding: 48px 0 0; }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px 40px;
    text-align: center;
  }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-logo { margin-bottom: 12px; }
  .footer-tagline { max-width: 100%; text-align: center; }
  .footer-socials { justify-content: center; }
  .footer-nav h4, .footer-contact h4 { text-align: center; }
  .footer-nav ul { align-items: center; }
  .footer-contact-list { align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 18px 20px; gap: 8px; }
  .footer-bottom-links { justify-content: center; }
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ===========================
   MOMENTOS
   =========================== */
.momentos {
  background: var(--purple-bg);
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}

.momentos::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(107,63,160,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.momentos-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.momentos-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  margin: 10px 0 16px;
  line-height: 1.2;
}

.momentos-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

.momentos-grid {
  columns: 4;
  column-gap: 16px;
}

.momento-item {
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

.momento-item:hover {
  box-shadow: 0 12px 48px rgba(107,63,160,0.22);
  transform: translateY(-3px);
}

.momento-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  transition: transform 0.5s ease;
}

.momento-item:hover img {
  transform: scale(1.07);
}

.momento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(74,40,120,0.0) 0%, rgba(107,63,160,0.72) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.momento-item:hover .momento-overlay { opacity: 1; }

.momento-icon {
  width: 44px;
  height: 44px;
  color: #fff;
  transform: scale(0.7);
  transition: transform 0.35s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}

.momento-item:hover .momento-icon { transform: scale(1); }

/* ── Lightbox ─── */
.momentos-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.momentos-modal.open { opacity: 1; pointer-events: all; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 8, 32, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-img-wrap {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 900px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  object-fit: contain;
  display: block;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  backdrop-filter: blur(4px);
}

.modal-close:hover { background: var(--purple); transform: rotate(90deg); }

.modal-nav {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 16px;
  transition: background var(--transition), transform var(--transition);
  backdrop-filter: blur(4px);
  flex-shrink: 0;
}

.modal-nav:hover { background: var(--purple); transform: scale(1.08); }

.modal-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
}

@media (max-width: 1024px) { .momentos-grid { columns: 3; } }

@media (max-width: 768px) {
  .momentos { padding: 72px 20px; }
  .momentos-grid { columns: 2; column-gap: 12px; }
  .momentos-sub { margin-bottom: 40px; }
  .modal-nav { width: 44px; height: 44px; margin: 0 8px; }
}

@media (max-width: 480px) {
  .momentos-grid { columns: 1; }
  .modal-img-wrap { max-width: 94vw; }
}
