﻿/* Estilos base modernos */
html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Variables CSS para colores modernos */
:root {
  --primary-color: #115aa3;
  --primary-dark: #0a68c6;
  --secondary-color: #f8f9fa;
  --accent-color: #17a2b8;
  --text-dark: #2c3e50;
  --text-muted: #6c757d;
  --shadow-light: 0 2px 15px rgba(0,0,0,0.1);
  --shadow-medium: 0 5px 25px rgba(0,0,0,0.15);
  --shadow-heavy: 0 10px 40px rgba(0,0,0,0.2);
  --border-radius: 15px;
  --transition: all 0.3s ease;
}

/* Navegación moderna */
.modern-nav {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar-brand-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: var(--shadow-light);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: white !important;
}

.brand-main {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.brand-sub {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  line-height: 1;
}

.modern-toggler {
  border: none;
  padding: 0.5rem;
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 25px;
  transition: var(--transition);
  color: rgba(255,255,255,0.9) !important;
}

.nav-link:hover {
  background: rgba(255,255,255,0.1);
  color: white !important;
  transform: translateY(-2px);
}

.contact-nav {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

.contact-nav:hover {
  background: white !important;
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(17,90,163,0.1), rgba(10,104,198,0.1));
  z-index: 1;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.highlight {
  background: linear-gradient(45deg, #17a2b8, #20c997);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
  text-decoration: none;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* Secciones generales */
.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Sección de servicios */
.services-section {
  padding: 6rem 0;
  background: white;
}

.service-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  height: 100%;
  min-height: 420px;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(17,90,163,0.1), transparent);
  transition: 0.6s;
}

.service-card:hover::before {
  left: 100%;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  transition: var(--transition);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.service-icon svg {
  width: 40px;
  height: 40px;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

.service-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 1rem 0;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.service-description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-overlay {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  text-align: center;
  padding: 1rem;
  transition: var(--transition);
  z-index: 3;
}

.service-card:hover .service-overlay {
  bottom: 20px;
}

/* Sección de portfolio */
.portfolio-section {
  padding: 6rem 0;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Sección sobre nosotros */
.about-section {
  padding: 6rem 0;
  background: white;
}

.about-content {
  padding: 2rem 0;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.feature-item i {
  color: var(--accent-color);
  margin-right: 1rem;
  font-size: 1.2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

.stat-card {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Sección del equipo */
.team-section {
  padding: 6rem 0;
}

.team-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  max-width: 400px;
  margin: 0 auto;
}

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

.team-image {
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(17,90,163,0.9), rgba(10,104,198,0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.3);
}

.social-link:hover {
  background: white;
  color: var(--primary-color);
  transform: scale(1.1);
}

.team-info {
  padding: 2rem;
  text-align: center;
}

.team-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.team-email:hover {
  color: var(--primary-color);
}

.team-description {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sección de contacto */
.contact-section {
  padding: 6rem 0;
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}

.contact-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.15);
}

.contact-link {
  display: flex;
  align-items: center;
  padding: 2rem;
  text-decoration: none;
  color: white;
  transition: var(--transition);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.5rem;
  transition: var(--transition);
}

.contact-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-content p {
  margin: 0;
  opacity: 0.9;
}

/* Estilos específicos para cada tipo de contacto */
.email-link:hover .contact-icon {
  background: #dc3545;
}

.whatsapp-link:hover .contact-icon {
  background: #25d366;
}

.phone-link:hover .contact-icon {
  background: #007bff;
}

.linkedin-link:hover .contact-icon {
  background: #0077b5;
}

.instagram-link:hover .contact-icon {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.contact-cta {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Nuevos estilos para la sección de contacto mejorada */
.contact-main-info {
  margin-bottom: 3rem;
}

.contact-info-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  color: white;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
  height: 100%;
}

.contact-info-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-5px);
}

.info-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.info-content h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.info-content p {
  margin: 0;
  opacity: 0.9;
  line-height: 1.6;
}

/* Métodos de contacto */
.contact-methods {
  margin-bottom: 3rem;
}

.contact-methods h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-card .contact-content small {
  display: block;
  margin-top: 0.5rem;
  opacity: 0.7;
  font-size: 0.85rem;
}

/* Redes sociales reformuladas */
.social-section {
  padding: 2rem 0;
}

.social-intro h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.social-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

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

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* Grid de plataformas sociales */
.social-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.social-platform-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.social-platform-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.platform-link {
  display: block;
  padding: 1.5rem;
  text-decoration: none;
  color: white;
  height: 100%;
}

.platform-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.platform-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.linkedin-icon {
  background: linear-gradient(135deg, #0077b5, #005885);
}

.instagram-icon {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.facebook-icon {
  background: linear-gradient(135deg, #1877f2, #0d47a1);
}

.platform-info {
  flex-grow: 1;
}

.platform-info h5 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}

.platform-handle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.platform-action {
  opacity: 0;
  transition: var(--transition);
  color: rgba(255,255,255,0.7);
}

.social-platform-card:hover .platform-action {
  opacity: 1;
}

.platform-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}

.platform-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* Card especial de CTA */
.social-cta-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius);
  border: 2px solid rgba(255,255,255,0.3);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.social-cta-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.5);
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
}

.cta-content {
  text-align: center;
  padding: 1.5rem;
}

.cta-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.cta-content h5 {
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.cta-buttons-mini {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.mini-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: var(--transition);
  font-size: 1.1rem;
}

.linkedin-mini {
  background: #0077b5;
}

.instagram-mini {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.facebook-mini {
  background: #1877f2;
}

.mini-btn:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Efectos especiales por plataforma */
.linkedin-card:hover {
  border-color: #0077b5;
  box-shadow: 0 15px 40px rgba(0,119,181,0.3);
}

.instagram-card:hover {
  border-color: #e6683c;
  box-shadow: 0 15px 40px rgba(230,104,60,0.3);
}

.facebook-card:hover {
  border-color: #1877f2;
  box-shadow: 0 15px 40px rgba(24,119,242,0.3);
}

/* Call to action mejorado */
.contact-cta-section {
  padding: 3rem 0;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
  text-decoration: none;
  border-width: 2px;
}

.cta-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.8rem;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: scale(1.1);
  color: white;
}

/* Footer moderno */
.modern-footer {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 3rem 0;
  margin-top: 0;
}

.footer-copyright,
.footer-credit {
  font-size: 0.9rem;
  opacity: 0.8;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links .social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-links .instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-links .facebook:hover {
  background: #1877f2;
}

.social-links .linkedin:hover {
  background: #0077b5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .social-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .social-platforms-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .social-stats {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .social-intro {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .social-intro h3 {
    font-size: 1.5rem;
  }
  
  .platform-stats {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .cta-buttons-mini {
    gap: 1rem;
  }
  
  .mini-btn {
    width: 45px;
    height: 45px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .contact-info-card {
    margin-bottom: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .navbar-brand-container {
    gap: 10px;
  }
  
  .brand-logo {
    width: 40px;
    height: 40px;
  }
  
  .brand-main {
    font-size: 1.2rem;
  }
  
  .brand-sub {
    font-size: 0.7rem;
  }
  
  .service-card {
    min-height: 350px;
  }
}

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

/* Mejoras específicas para servicios */
.services-section .row {
  align-items: stretch;
}

.services-section .col-lg-4,
.services-section .col-md-6 {
  display: flex;
  margin-bottom: 2rem;
}

/* Espaciado entre filas de servicios */
.services-section .row + .row {
  margin-top: 2rem;
}

/* Animaciones personalizadas */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  animation: fadeInUp 0.6s ease forwards;
}

/* Mejoras en la accesibilidad */
.btn:focus,
.nav-link:focus,
.contact-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Smooth scrolling para navegación */
html {
  scroll-behavior: smooth;
}

/* Estados de hover mejorados */
.btn,
.nav-link,
.contact-link,
.service-card,
.team-card {
  cursor: pointer;
}

/* Estilos para mejor rendimiento */
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* Optimización para pantallas de alta resolución */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .brand-logo,
  .service-icon,
  .team-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ====================================
   NUEVA SECCIÓN DE SERVICIOS REFORMULADA
   ==================================== */

/* Sección de Servicios Reformulada - Moderna y Atractiva */
.services-section-new {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.services-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.05), rgba(16, 185, 129, 0.05));
    border-radius: 0 0 50% 50%;
    transform: scaleX(1.5);
}

/* Header de servicios */
.services-header {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.services-badge {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.services-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.2;
}

.highlight-text {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-main-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grid de servicios moderno */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
    margin-bottom: 80px;
}

.service-item {
    background: white;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

/* Servicio principal destacado */
.primary-service {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    transform: scale(1.05);
}

.primary-service::before {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.primary-service .service-title-new {
    color: white;
}

.primary-service .service-excerpt {
    color: rgba(255, 255, 255, 0.9);
}

/* Servicio con tecnología avanzada */
.highlight-service {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.highlight-service .service-title-new {
    color: white;
}

.highlight-service .service-excerpt {
    color: rgba(255, 255, 255, 0.9);
}

/* Servicio de arriendo (más ancho) */
.wide-service {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed #cbd5e1;
}

/* Números de servicio */
.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #3b82f6;
}

.primary-service .service-number,
.highlight-service .service-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Área visual del servicio */
.service-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.service-icon-new {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.primary-service .service-icon-new,
.highlight-service .service-icon-new {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.service-badge-new {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-badge-new.tech {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* Contenido del servicio */
.service-content-new {
    flex: 1;
}

.service-title-new {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-excerpt {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    padding: 6px 0;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features i {
    color: #10b981;
    font-size: 12px;
}

.primary-service .service-features i,
.highlight-service .service-features i {
    color: rgba(255, 255, 255, 0.8);
}

.primary-service .service-features li,
.highlight-service .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

/* Acciones del servicio */
.service-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
}

.btn-service-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-service-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

.btn-service-secondary {
    background: #f8fafc;
    color: #3b82f6;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.btn-service-secondary:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    text-decoration: none;
}

.primary-service .btn-service-primary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-time {
    color: #64748b;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.primary-service .service-time,
.highlight-service .service-time {
    color: rgba(255, 255, 255, 0.8);
}

/* Diseño especial para arriendo */
.service-visual-wide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.equipment-showcase {
    display: flex;
    gap: 15px;
}

.equipment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.equipment-item i {
    font-size: 24px;
    color: #3b82f6;
}

.equipment-item span {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
}

.service-content-wide h3 {
    margin-bottom: 15px;
}

.rental-options {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.rental-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 100px;
}

.rental-option strong {
    color: #1e293b;
    font-size: 16px;
    margin-bottom: 4px;
}

.rental-option span {
    color: #64748b;
    font-size: 12px;
}

/* Footer de servicios con garantías */
.services-footer {
    background: white;
    padding: 60px 40px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 60px;
}

.guarantee-item {
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.guarantee-item:hover {
    transform: translateY(-8px);
}

.guarantee-item i {
    font-size: 48px;
    color: #3b82f6;
    margin-bottom: 20px;
    display: block;
}

.guarantee-item h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.guarantee-item p {
    color: #64748b;
    margin: 0;
    font-size: 14px;
}

/* Responsive Design para la nueva sección */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wide-service {
        grid-column: span 2;
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .services-section-new {
        padding: 80px 0;
    }
    
    .services-main-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .wide-service {
        grid-column: span 1;
    }
    
    .service-item {
        padding: 30px;
    }
    
    .equipment-showcase {
        flex-direction: column;
        gap: 10px;
    }
    
    .rental-options {
        flex-direction: column;
        gap: 10px;
    }
}

/* Animaciones de entrada */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item {
    animation: slideInUp 0.6s ease forwards;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }

/* ====================================
   NUEVA SECCIÓN DE PORTFOLIO/NUESTRO TRABAJO
   ==================================== */

/* Sección de Portfolio Modernizada */
.portfolio-section-new {
    padding: 120px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.portfolio-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23334155' fill-opacity='0.1'%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Ccircle cx='19' cy='9' r='2'/%3E%3Ccircle cx='29' cy='9' r='2'/%3E%3Ccircle cx='39' cy='9' r='2'/%3E%3Ccircle cx='9' cy='19' r='2'/%3E%3Ccircle cx='19' cy='19' r='2'/%3E%3Ccircle cx='29' cy='19' r='2'/%3E%3Ccircle cx='39' cy='19' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.portfolio-section-new .container {
    position: relative;
    z-index: 2;
}

/* Header del portfolio */
.portfolio-header {
    margin-bottom: 80px;
}

.portfolio-badge {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.portfolio-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.portfolio-main-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Filtros del portfolio */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Grid del portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 30px;
    margin-bottom: 80px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Proyecto destacado */
.featured-project {
    grid-column: span 2;
    grid-row: span 2;
}

/* Video testimonial */
.video-testimonial {
    grid-column: span 1;
    grid-row: span 1;
}

/* Imágenes de proyecto */
.project-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    color: white;
    position: relative;
}

.project-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.project-placeholder span {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estilos específicos por tipo de proyecto */
.drone-survey {
    background: linear-gradient(135deg, #059669, #10b981);
}

.urban-survey {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.road-design {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.industrial-project {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.monitoring-project {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

/* Overlay de proyecto */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(59, 130, 246, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 30px;
}

.portfolio-item:hover .project-overlay {
    opacity: 1;
}

.project-content {
    text-align: center;
    color: white;
}

.project-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.project-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.project-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Estadísticas del proyecto destacado */
.project-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Detalles de proyectos pequeños */
.project-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
    font-size: 14px;
}

.project-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Botones de proyecto */
.btn-project-view {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-project-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.btn-project-view-small {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.btn-project-view-small:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Contenedor de video nuevo */
.video-container-new {
    position: relative;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.video-wrapper-new {
    width: 100%;
    height: 100%;
}

.video-wrapper-new iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(59, 130, 246, 0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    text-align: center;
    padding: 30px;
}

.video-testimonial:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-info h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.video-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
}

/* Estadísticas del portfolio */
.portfolio-stats {
    margin: 80px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    background: rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.stat-content .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-content .stat-label {
    font-size: 14px;
    color: #cbd5e1;
    font-weight: 500;
}

/* CTA del portfolio */
.portfolio-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.portfolio-cta p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.btn-portfolio-contact {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-portfolio-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }
    
    .featured-project {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .portfolio-section-new {
        padding: 80px 0;
    }
    
    .portfolio-main-title {
        font-size: 2.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 250px);
        gap: 20px;
    }
    
    .featured-project,
    .video-testimonial {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* ====================================
   NUEVA SECCIÓN DEL EQUIPO - BRIAN MEDINA
   ==================================== */

/* Sección del Equipo Reformulada */
.team-section-new {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.team-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 0 0 50% 50%;
    transform: scaleX(1.2);
}

/* Header del equipo */
.team-header {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.team-badge {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.team-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.2;
}

.team-main-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Perfil profesional principal */
.professional-profile {
    background: white;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.professional-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
}

/* Sección de foto del perfil */
.profile-photo-section {
    text-align: center;
}

.profile-photo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.profile-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    z-index: 3;
}

.profile-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

/* Redes sociales profesionales */
.professional-social {
    text-align: center;
}

.professional-social h6 {
    color: #64748b;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links-new {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link-new {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.social-link-new.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.social-link-new.instagram {
    background: linear-gradient(135deg, #e4405f, #c13584);
}

.social-link-new.facebook {
    background: linear-gradient(135deg, #1877f2, #0d47a1);
}

.social-link-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

/* Información del perfil */
.profile-info {
    padding-left: 40px;
}

.profile-header {
    margin-bottom: 30px;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.2;
}

.profile-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.title-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3b82f6;
}

.title-sub {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

/* Descripción profesional */
.profile-description {
    margin-bottom: 35px;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* Especialidades */
.specialties-section {
    margin-bottom: 35px;
}

.specialties-section h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.specialty-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.specialty-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.specialty-item i {
    color: #3b82f6;
    font-size: 18px;
    width: 20px;
}

.specialty-item span {
    color: #475569;
    font-weight: 600;
    font-size: 14px;
}

/* Información de contacto profesional */
.contact-info-professional {
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
}

.contact-value:hover {
    color: #3b82f6;
    text-decoration: none;
}

/* CTA del perfil */
.profile-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-contact-professional {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 18px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-contact-professional:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

.response-time {
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

/* Sección de credenciales */
.credentials-section {
    margin-bottom: 60px;
}

.credential-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid #3b82f6;
}

.credential-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.credential-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
}

.credential-content h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.credential-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Mensaje personal */
.personal-message {
    background: linear-gradient(135deg, #1e293b, #334155);
    padding: 80px 60px;
    border-radius: 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.personal-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23475569' fill-opacity='0.1'%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Ccircle cx='19' cy='9' r='2'/%3E%3Ccircle cx='29' cy='9' r='2'/%3E%3Ccircle cx='39' cy='9' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.message-content {
    position: relative;
    z-index: 2;
}

.quote-icon {
    font-size: 48px;
    color: #3b82f6;
    margin-bottom: 30px;
}

.personal-message blockquote {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e2e8f0;
    font-weight: 300;
}

.signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.signature strong {
    font-size: 1.2rem;
    color: white;
    font-weight: 700;
}

.signature span {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .professional-profile {
        padding: 40px;
    }
    
    .profile-info {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .team-section-new {
        padding: 80px 0;
    }
    
    .team-main-title {
        font-size: 2.5rem;
    }
    
    .professional-profile {
        padding: 30px 20px;
    }
    
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .personal-message {
        padding: 50px 30px;
    }
    
    .personal-message blockquote {
        font-size: 1.2rem;
    }
    
    .social-links-new {
        flex-direction: column;
        align-items: center;
    }
}
