/* Importación de fuentes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

/* Variables globales */
:root {
  --color-primary: #2B50AA;
  --color-secondary: #FF6B35;
  --color-accent: #00C2CB;
  --color-light: #F4F7FD;
  --color-dark: #263246;
  --gradient-primary: linear-gradient(135deg, #2B50AA, #00C2CB);
  --gradient-secondary: linear-gradient(135deg, #FF6B35, #FFB563);
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(43, 80, 170, 0.1);
  --shadow-hover: 0 15px 35px rgba(43, 80, 170, 0.15);
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-light);
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

button, .btn {
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 600;
  border: none;
  transition: var(--transition);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* Contenedor principal */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Layout de pantalla dividida */
.split-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (min-width: 992px) {
  .split-layout {
    flex-direction: row;
  }

  .split-layout__left,
  .split-layout__right {
    flex: 1;
    overflow-y: auto;
  }

  .split-layout__left {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
}

/* Navegación */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.navbar__logo {
  height: 40px;
}

.navbar__toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.navbar__toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-dark);
  border-radius: 3px;
  transition: var(--transition);
}

.navbar__menu {
  position: fixed;
  top: 70px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 70px);
  background-color: white;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  z-index: 999;
}

.navbar__menu.active {
  left: 0;
}

.navbar__menu-item {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.navbar__menu-link {
  color: var(--color-dark);
  transition: var(--transition);
  position: relative;
  padding-bottom: 0.25rem;
}

.navbar__menu-link:hover, 
.navbar__menu-link.active {
  color: var(--color-primary);
}

.navbar__menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.navbar__menu-link:hover::after,
.navbar__menu-link.active::after {
  width: 100%;
}

@media (min-width: 768px) {
  .navbar__toggle {
    display: none;
  }

  .navbar__menu {
    position: static;
    flex-direction: row;
    background-color: transparent;
    height: auto;
    padding: 0;
    width: auto;
  }

  .navbar__menu-item {
    margin-bottom: 0;
    margin-left: 2rem;
    font-size: 1rem;
  }
}

/* Botones */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: white;
}

.btn-secondary:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

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

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

/* Hero section */
.hero {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background-color: var(--color-light);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero__title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(38, 50, 70, 0.8);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__image {
  margin-top: 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@media (min-width: 992px) {
  .hero {
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .hero__content {
    max-width: 500px;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__image {
    margin-top: 0;
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 700px;
  }
}

/* Secciones */
.section {
  padding: 5rem 0;
}

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

.section--dark {
  background-color: var(--color-dark);
  color: white;
}

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

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: 3px;
}

.section__subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(38, 50, 70, 0.8);
}

.section--dark .section__subtitle,
.section--gradient .section__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Tarjetas */
.card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

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

.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__content {
  padding: 1.5rem;
}

.card__title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card__text {
  margin-bottom: 1.5rem;
  color: rgba(38, 50, 70, 0.8);
}

.card__link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--color-primary);
}

.card__link i {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.card__link:hover i {
  transform: translateX(3px);
}

/* Grid de características */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Feature box */
.feature {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature__title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature__text {
  color: rgba(38, 50, 70, 0.8);
  margin-bottom: 0;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--gradient-primary);
}

.timeline__item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__content {
  position: relative;
  width: calc(50% - 40px);
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.timeline__item:nth-child(odd) .timeline__content {
  margin-left: auto;
}

.timeline__item:nth-child(even) .timeline__content {
  margin-right: auto;
}

.timeline__content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
}

.timeline__item:nth-child(odd) .timeline__content::before {
  left: -50px;
}

.timeline__item:nth-child(even) .timeline__content::before {
  right: -50px;
}

.timeline__date {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-accent);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.timeline__title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.timeline__text {
  margin-bottom: 0;
  color: rgba(38, 50, 70, 0.8);
}

@media (max-width: 767px) {
  .timeline::before {
    left: 20px;
  }

  .timeline__content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }

  .timeline__content::before {
    left: -40px !important;
  }
}

/* Formulario de contacto */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-main);
  color: var(--color-dark);
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: white;
  box-shadow: 0 0 0 0.2rem rgba(43, 80, 170, 0.15);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  margin-top: 3rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 1rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-info__title {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-info__text {
  margin-bottom: 0;
  color: rgba(38, 50, 70, 0.8);
}

/* Footer */
.footer {
  background-color: #1a2436;
  color: white;
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer__logo {
  margin-bottom: 1.5rem;
  height: 40px;
}

.footer__description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer__social-link:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-3px);
}

.footer__title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gradient-primary);
}

.footer__links {
  list-style: none;
}

.footer__link-item {
  margin-bottom: 0.75rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer__divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 800px;
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none;
}

.cookie-consent.active {
  display: block;
  animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.cookie-consent__title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.cookie-consent__text {
  margin-bottom: 1.5rem;
  color: rgba(38, 50, 70, 0.8);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-consent__customize {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-weight: 600;
  padding: 0;
  margin-right: auto;
  text-decoration: underline;
}

/* Modal de preferencias de cookies */
.cookie-preferences {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1.5rem;
}

.cookie-preferences.active {
  opacity: 1;
  visibility: visible;
}

.cookie-preferences__content {
  background-color: white;
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.cookie-preferences__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.cookie-preferences__title {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.cookie-preferences__close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-dark);
}

.cookie-preferences__description {
  margin-bottom: 2rem;
  color: rgba(38, 50, 70, 0.8);
}

.cookie-preferences__options {
  margin-bottom: 2rem;
}

.cookie-option {
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background-color: #f8f9fa;
  margin-bottom: 1rem;
}

.cookie-option__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-option__title {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.cookie-option__switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-option__switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-option__slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 24px;
}

.cookie-option__slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .cookie-option__slider {
  background-color: var(--color-primary);
}

input:checked + .cookie-option__slider:before {
  transform: translateX(26px);
}

.cookie-option__description {
  margin-bottom: 0;
  color: rgba(38, 50, 70, 0.8);
  font-size: 0.9rem;
}

.cookie-preferences__actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page transitions */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-transition-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.8s forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

/* Iconos personalizados */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.icon-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: rotate(45deg);
  z-index: 1;
}

.icon-box i {
  position: relative;
  z-index: 2;
}

/* Utilidades */
.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-accent {
  color: var(--color-accent);
}

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

.bg-dark {
  background-color: var(--color-dark);
  color: white;
}

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

.bg-secondary {
  background-color: var(--color-secondary);
  color: white;
}

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

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

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

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.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;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.w-100 {
  width: 100%;
}

.position-relative {
  position: relative;
}

.iti {
  width: 100%;
}

/* Thank You Page */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.thank-you__icon {
  font-size: 5rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.thank-you__title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.thank-you__text {
  max-width: 600px;
  margin-bottom: 2rem;
  color: rgba(38, 50, 70, 0.8);
}

.thank-you__cta {
  margin-top: 1rem;
}

/* Política de privacidad, términos y cookies */
.policy-page {
  padding: 5rem 0;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.policy-title {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  text-align: center;
}

.policy-date {
  text-align: center;
  margin-bottom: 2rem;
  color: rgba(38, 50, 70, 0.7);
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.policy-section__content p {
  margin-bottom: 1rem;
}

.policy-section__content ul,
.policy-section__content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.policy-section__content li {
  margin-bottom: 0.5rem;
}

/* Contenido de información educativa */
.info-box {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.info-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
}

.info-box__title {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.info-box__content {
  color: rgba(38, 50, 70, 0.8);
}

.info-box__icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: rgba(43, 80, 170, 0.1);
}

/* Tutorial steps */
.tutorial-steps {
  counter-reset: step;
}

.tutorial-step {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 2.5rem;
}

.tutorial-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.tutorial-step__title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.tutorial-step__content {
  color: rgba(38, 50, 70, 0.8);
}

.tutorial-step__image {
  margin-top: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Estilos específicos de página */
.materials-page .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.materials-page .card__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.materials-page .card__text {
  flex-grow: 1;
}

.mission-page .timeline {
  margin-top: 4rem;
}

.contacts-page .contact-info {
  margin-top: 0;
}

@media (min-width: 768px) {
  .contacts-page .contact-form {
    margin-top: 0;
  }
}

/* Three.js canvas container */
.canvas-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .canvas-container {
    height: 600px;
  }
}

/* Lottie animations */
.lottie-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}