/* Variables y configuración base */
:root {
  --primary: #f2d00d;
  --primary-dark: #d6b80b;
  --primary-light: #fff5ba;
  --dark: #221f10;
  --light: #f8f8f5;
  
  --pink: #e96d9c;
  --pink-dark: #b54976;
  --pink-light: #ffe4ee;
  
  --blue: #5b8def;
  --blue-dark: #3f6cd6;
  --blue-light: #e7f0ff;
  
  --green: #7dbb57;
  --green-dark: #538e31;
  --green-light: #ebf8e3;
  
  --yellow: #f3c76a;
  --yellow-dark: #9f7618;
  --yellow-light: #fff4d9;
  
  --text-main: #2f2a2a;
  --text-muted: #6b6470;
  
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  
  --transit-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transit-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transit-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--light);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex-grow: 1;
}

h1, h2, h3, h4, .hero-title, .section-title, .quote-text {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

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

/* Utilidades */
.container {
  width: min(1200px, 100% - 2rem);
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-dark); }
.text-pink { color: var(--pink-dark); }
.text-blue { color: var(--blue-dark); }
.text-yellow { color: var(--primary); }
.text-white { color: #fff; }
.text-white-muted { color: rgba(255,255,255,0.7); }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }
.p-3 { padding: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-lg { max-width: 600px; }
.border-top { border-top: 1px solid rgba(0,0,0,0.08); }
.border-radius-sm { border-radius: var(--radius-sm); }

.bg-light { background-color: #fff; }
.bg-dark { background-color: var(--dark); }
.bg-yellow-light { background-color: var(--primary-light); }
.bg-blue-light { background-color: var(--blue-light); }
.bg-pink-light { background-color: var(--pink-light); }

.flex-row { display: flex; align-items: center; }
.flex-column { display: flex; flex-direction: column; }
.gap-2 { gap: 0.5rem; }
.items-center { align-items: center; }

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Elementos de Diseño base */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}
.badge-hero { background: rgba(0,0,0,0.05); color: var(--dark); }
.badge-pink { background: var(--pink-light); color: var(--pink-dark); }
.badge-blue { background: var(--blue-light); color: var(--blue-dark); }
.badge-green { background: var(--green-light); color: var(--green-dark); }
.badge-yellow { background: var(--yellow-light); color: var(--yellow-dark); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.6rem;
  background: rgba(0,0,0,0.04);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.tag .material-symbols-rounded { font-size: 1.1rem; }

.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-glass);
  border-radius: var(--radius-lg);
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  transition: transform var(--transit-bounce), box-shadow var(--transit-normal);
}

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

/* Decoraciones de fondo Abstractas */
.bg-shape-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.bg-shape {
  position: absolute;
  filter: blur(80px);
  opacity: 0.4;
  border-radius: 50%;
  animation: float 20s infinite alternate ease-in-out;
}
.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -5%;
  right: -5%;
}
.shape-2 {
  width: 500px;
  height: 500px;
  background: var(--pink);
  top: 40%;
  left: -10%;
  animation-delay: -5s;
  opacity: 0.15;
}
.shape-3 {
  width: 600px;
  height: 600px;
  background: var(--blue);
  bottom: 5%;
  right: -5%;
  animation-delay: -10s;
  opacity: 0.2;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all var(--transit-normal);
  padding: 1rem 0;
}
.navbar.scrolled {
  background: rgba(248, 248, 245, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
}
.logo-icon {
  background: var(--primary);
  color: var(--dark);
  padding: 0.4rem;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 1rem;
}
.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transit-fast);
}
.nav-link:hover {
  background: rgba(0,0,0,0.05);
  cursor: pointer;
}
.menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

/* Sections Generales */
.section {
  padding: 6rem 0;
  position: relative;
}
.section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
}
.section-text {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 3rem;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 4rem;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  /* Reserva espacio suficiente para 2 líneas sin cortar el texto */
  min-height: 8rem;
}
.dynamic-text {
  color: var(--primary-dark);
}
.cursor {
  display: inline-block;
  width: 4px;
  height: 1em;
  background-color: var(--dark);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.kpi-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.kpi-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  flex: 1;
  min-width: 140px;
}
.kpi-icon {
  font-size: 2rem;
  background: #fff;
  padding: 0.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.kpi-info strong {
  display: block;
  font-size: 1.25rem;
  font-family: var(--font-display);
  line-height: 1;
  color: var(--dark);
}
.kpi-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Visual del Hero */
.visual-card {
  padding: 2.5rem;
  position: relative;
}
.floating-icon {
  position: absolute;
  width: 4rem;
  height: 4rem;
  background: #fff;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  color: var(--dark);
  font-size: 2rem;
  animation: float-icon 4s infinite alternate ease-in-out;
}
.icon-1 { top: -2rem; right: 2rem; animation-delay: 0s; color: var(--blue-dark); }
.icon-2 { bottom: 2rem; left: -2rem; animation-delay: -2s; color: var(--pink-dark); }

@keyframes float-icon {
  from { transform: translateY(0) rotate(-5deg); }
  to { transform: translateY(-15px) rotate(5deg); }
}

.speaker-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.speaker-avatar {
  width: 50px;
  height: 50px;
  background: var(--dark);
  color: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}
.speaker-name {
  font-size: 1.2rem;
  margin: 0;
}
.speaker-role {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.focus-box, .message-box {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.box-icon {
  background: var(--light);
  padding: 0.5rem;
  border-radius: 8px;
  color: var(--dark);
}

/* Highlights */
.highlight-box {
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 1rem;
  align-items: center;
  font-weight: 500;
}
.highlight-box.primary-highlight {
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border-left: 4px solid var(--primary);
}
.highlight-box.green-highlight {
  background: linear-gradient(135deg, var(--green-light), #fff);
  border-left: 4px solid var(--green);
}
.highlight-box.accent-highlight {
  background: linear-gradient(135deg, #f0e6fa, #fff);
  border-left: 4px solid #9c27b0;
}

/* Custom Lists */
.custom-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.custom-list li {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 1.1rem;
}
.list-icon {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.6rem;
  border-radius: 12px;
}

/* Tools */
.tool-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transit-bounce), box-shadow var(--transit-normal);
}
.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.tool-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
}
.tool-icon-wrapper .material-symbols-rounded {
  font-size: 2.5rem;
}
.tool-card h3 {
  font-size: 1.5rem;
}
.tool-card p {
  color: var(--text-muted);
}
.tool-card.tool-link-text {
  display: block;
  font-weight: 700;
  color: var(--primary-dark);
}
a.tool-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
a.tool-card:hover .tool-icon-wrapper {
  transform: scale(1.1);
  transition: transform var(--transit-bounce);
}
a.tool-card .tool-link-text {
  color: var(--primary-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  opacity: 0.8;
  transition: opacity var(--transit-fast);
}
a.tool-card:hover .tool-link-text {
  opacity: 1;
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--pink), var(--blue));
  border-radius: 4px;
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}
.time-bubble {
  position: absolute;
  left: -4rem;
  top: 1rem;
  width: 50px;
  height: 50px;
  background: #fff;
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--dark);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.timeline-content {
  padding: 1.5rem 2rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
}
.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* Prompts Section */
.prompts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.prompt-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.prompt-header {
  background: rgba(0,0,0,0.2);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.prompt-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
}
.copy-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transit-fast);
  display: grid;
  place-items: center;
}
.copy-btn:hover {
  color: #fff;
}
.prompt-body {
  padding: 1.5rem;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  white-space: pre-wrap;
  flex: 1;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 20px;
  margin: 1rem;
}

/* Rediseño de la sección de Prompts (Biblioteca de Comandos) */
.prompts-redesign-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.prompt-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.prompt-item {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 2px solid var(--primary);
  position: relative;
  box-shadow: 0 10px 30px rgba(242, 208, 13, 0.15);
}

.prompt-item::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 30px;
  width: 20px;
  height: 20px;
  background: var(--primary);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.prompt-item-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-toggle {
  cursor: pointer;
  user-select: none;
}

.accordion-icon {
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.prompt-item.active .accordion-icon {
  transform: rotate(180deg);
}

.prompt-item-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out;
}

.prompt-item-body-inner {
  overflow: hidden;
}

.prompt-item.active .prompt-item-body {
  grid-template-rows: 1fr;
}

.prompt-item-icon {
  background: var(--primary-light);
  color: var(--primary-dark);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.prompt-item h3 {
  margin: 0;
  font-size: 1.1rem;
}

.prompt-code-mock {
  background: var(--light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  font-family: 'Consolas', monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  white-space: pre-wrap;
  border: 1px solid rgba(0,0,0,0.05);
}

.copy-command-btn {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  cursor: pointer;
  transition: all var(--transit-fast);
}

.copy-command-btn:hover {
  background: var(--primary);
  color: var(--dark);
}

.prompt-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 2rem;
  max-width: 100%;
}

.prompt-circle {
  width: min(400px, 90vw);
  height: min(400px, 90vw);
  border-radius: 50%;
  border: 6px solid var(--primary);
  position: absolute;
  z-index: 1;
  animation: pulse-border 4s infinite alternate;
}

@keyframes pulse-border {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.05); opacity: 1; }
}

.prompt-image {
  background: #2a3b4c; /* Placeholder de color para el robot */
  border-radius: 50%;
  width: min(320px, 75vw);
  height: min(320px, 75vw);
  z-index: 2;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.prompt-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Para que la imagen del robot cuadre */
  transform: scale(1.1);
}

.prompt-badge {
  position: absolute;
  bottom: 0;
  right: 10%;
  z-index: 3;
  background: white;
  border: 2px solid var(--primary-dark);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

.prompt-badge-icon {
  color: var(--primary-dark);
  font-size: 2rem;
}

.prompt-badge-text strong {
  display: block;
  color: var(--dark);
  line-height: 1.2;
}
.prompt-badge-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 800;
}

/* Demo Section */
.demo-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}
.demo-header {
  background: linear-gradient(135deg, var(--light), #fff);
  padding: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.demo-content {
  padding: 2.5rem;
  background: #fff;
}
.demo-content h4 {
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.demo-content h4:first-child {
  margin-top: 0;
}
.demo-content p {
  color: var(--text-main);
  margin-bottom: 1rem;
}

/* Demo Stepper */
.demo-step-indicator {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.step-dot.active {
  background: var(--blue);
  transform: scale(1.3);
}

.step-dot.completed {
  background: var(--green);
}

.demo-step {
  display: none;
  animation: fadeInStep 0.4s ease;
}

.demo-step.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.demo-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-light);
  color: var(--blue-dark);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.demo-step-badge .material-symbols-rounded {
  font-size: 1.1rem;
}

.demo-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.demo-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue-dark);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transit-fast);
}

.demo-nav-btn:hover:not(:disabled) {
  background: var(--blue);
  color: #fff;
}

.demo-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.demo-nav-btn-next {
  background: var(--blue);
  color: #fff;
}

.demo-nav-counter {
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Ordered List */
.ordered-list {
  list-style: none;
  counter-reset: my-counter;
}
.ordered-list li {
  counter-increment: my-counter;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.4;
}
.ordered-list .num {
  position: absolute;
  left: 0;
  top: -2px;
  width: 2rem;
  height: 2rem;
  background: var(--light);
  color: var(--dark);
  font-weight: 800;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  border: 2px solid var(--green);
}

.quote-list {
  list-style: none;
}
.quote-list li {
  padding: 1rem;
  background: var(--light);
  border-radius: 12px;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  font-style: italic;
}
.quote-list .material-symbols-rounded {
  color: var(--pink);
}

/* Resources Button */
.btn-resource:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 20px rgba(233, 109, 156, 0.3);
}

/* Cierre & Footer */
.closing-card {
  padding: 4rem 2rem;
}
.quote-text {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}
.footer {
  background: var(--dark);
  color: #fff;
  padding: 2rem 0;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Animaciones On Scroll (Intersection Observer classes) */
.hidden-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hidden-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--dark);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(150px) scale(0.9);
  opacity: 0;
  transition: all var(--transit-bounce);
  z-index: 1000;
}
.toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.toast .material-symbols-rounded {
  color: var(--green);
}

/* Reponsive */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  .visual-card {
    margin-top: 2rem;
  }
  .nav-links {
    display: none; /* simple mobile hide for now */
  }
  .timeline::before {
    left: 1rem;
  }
  .timeline {
    padding-left: 2rem;
  }
  .time-bubble {
    left: -2.5rem;
    width: 35px;
    height: 35px;
    font-size: 0.75rem;
  }
}
