/* ============================================
   SECCIÓN: SOBRE MÍ - LAURA BASUALTO
   Diseño moderno y elegante con foto
   ============================================ */

.sobre-mi {
  padding: var(--space-section) 0;
  background: linear-gradient(
    180deg,
    var(--color-white) 0%,
    var(--color-gray-50) 50%,
    var(--color-white) 100%
  );
  position: relative;
  overflow: hidden;
}

.sobre-mi::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.sobre-mi .container {
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
.sobre-mi__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.sobre-mi__subtitle {
  font-family: var(--font-accent);
  font-size: var(--font-size-xl); /* Reducido de 2xl a xl */
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  font-weight: var(--font-weight-normal);
}

.sobre-mi__title {
  font-family: var(--font-primary);
  font-size: var(--font-size-3xl); /* Reducido de 4xl a 3xl */
  color: var(--color-secondary);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
}

/* ===== LAYOUT PRINCIPAL ===== */
.sobre-mi__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== FOTO DE LAURA (Diseño Moderno) ===== */
.sobre-mi__image-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.sobre-mi__image-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.sobre-mi__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-slow);
  position: relative;
  z-index: 2;
}

.sobre-mi__image-container:hover .sobre-mi__image {
  transform: scale(1.02);
}

/* Decoración detrás de la foto (marco abstracto) */
.sobre-mi__image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  border: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
  z-index: 1;
  opacity: 0.3;
  transition: all var(--transition-base);
}

.sobre-mi__image-container:hover .sobre-mi__image-decoration {
  top: -25px;
  right: -25px;
  opacity: 0.5;
}

/* Badge de experiencia (flotante) */
.sobre-mi__badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  animation: float 3s ease-in-out infinite;
}

.sobre-mi__badge-number {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.sobre-mi__badge-text {
  font-size: var(--font-size-sm);
  color: var(--color-secondary);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  line-height: 1.3;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== TEXTO SOBRE LAURA ===== */
.sobre-mi__text {
  flex: 1;
}

.sobre-mi__intro {
  font-family: var(--font-accent);
  font-size: var(--font-size-2xl); /* Reducido de 3xl a 2xl */
  color: var(--color-primary);
  margin-bottom: var(--space-md); /* Reducido de lg a md */
  line-height: var(--line-height-normal);
}

.sobre-mi__description {
  font-size: var(--font-size-base); /* Reducido de lg a base */
  color: var(--color-gray-700);
  line-height: var(--line-height-normal); /* Reducido de relaxed a normal */
  margin-bottom: var(--space-md); /* Reducido de lg a md */
}

.sobre-mi__description strong {
  color: var(--color-secondary);
  font-weight: var(--font-weight-bold);
}

/* Highlight / Quote */
.sobre-mi__highlight {
  position: relative;
  background: var(--color-gray-50);
  padding: var(--space-lg);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  max-width: 450px;
  margin: 0 auto;
  width: 100%;
}

.sobre-mi__quote-icon {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  color: var(--color-primary);
  opacity: 0.2;
}

.sobre-mi__quote {
  font-size: var(--font-size-base); /* Reducido de lg a base */
  font-style: italic;
  color: var(--color-secondary);
  line-height: var(--line-height-normal); /* Reducido de relaxed a normal */
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Logros / Achievements */
.sobre-mi__achievements {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: var(--space-2xl) 0;
}

.sobre-mi__achievement {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
}

.sobre-mi__achievement:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.sobre-mi__achievement-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  filter: drop-shadow(0 2px 4px rgba(234, 179, 8, 0.2));
  transition: all var(--transition-base);
}

.sobre-mi__achievement:hover .sobre-mi__achievement-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(234, 179, 8, 0.3));
}

.sobre-mi__achievement strong {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

.sobre-mi__achievement small {
  color: var(--color-gray-600);
  font-size: var(--font-size-sm);
}

/* CTA Button */
.sobre-mi__cta {
  margin-top: var(--space-xl);
  display: inline-flex;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet: 768px+ */
@media (min-width: 768px) {
  .sobre-mi__title {
    font-size: var(--font-size-4xl); /* Reducido de 5xl a 4xl */
  }

  .sobre-mi__content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }

  .sobre-mi__intro {
    font-size: var(--font-size-3xl); /* Reducido de 4xl a 3xl */
  }

  .sobre-mi__achievements {
    grid-template-columns: 1fr;
  }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .sobre-mi {
    padding: var(--space-4xl) 0;
  }

  .sobre-mi__image-container {
    max-width: 500px;
  }

  .sobre-mi__badge {
    bottom: -30px;
    left: -30px;
    padding: var(--space-xl) var(--space-2xl);
    min-width: 140px;
  }

  .sobre-mi__badge-number {
    font-size: 3rem;
  }
}

/* Large: 1280px+ */
@media (min-width: 1280px) {
  .sobre-mi__content {
    gap: var(--space-5xl);
  }
}

/* ============================================
   ACCESIBILIDAD
   ============================================ */

/* Reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .sobre-mi__image,
  .sobre-mi__image-decoration,
  .sobre-mi__achievement,
  .sobre-mi__badge {
    animation: none !important;
    transition: none !important;
  }

  .sobre-mi__image-container:hover .sobre-mi__image,
  .sobre-mi__image-container:hover .sobre-mi__image-decoration {
    transform: none !important;
  }
}

/* Focus visible */
.sobre-mi__achievement:focus-within,
.sobre-mi__cta:focus {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}
