/* Premium Styles for Sobre Page */
.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: 40px 0;
  padding: 30px;
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 20px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.about-section:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.about-section img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin-right: 35px;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 5px solid #fff;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 12px;
  color: #1a202c;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text p {
  color: #4a5568;
  text-align: justify;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.about-text p#info-matias,
.about-text p[id^="info-"] {
  font-weight: 600;
  color: #718096;
  border-top: 1px solid #edf2f7;
  padding-top: 15px;
  margin-top: 15px;
}

/* Form Styles */
#sobre-container label {
  font-weight: 700;
  color: #2d3748;
  margin-top: 15px;
  display: block;
  font-size: 0.9rem;
}

#sobre-container input,
#sobre-container textarea {
  width: 100%;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 5px;
  transition: all 0.2s;
  font-size: 1rem;
  box-sizing: border-box;
  font-family: inherit;
}

#sobre-container input:focus,
#sobre-container textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
}

#sobre-container textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
  }

  .about-section img {
    margin-right: 0;
    margin-bottom: 25px;
    width: 160px;
    height: 160px;
  }

  .about-text {
    text-align: center;
  }

  .about-text h2 {
    font-size: 1.5rem;
  }
}