.contact-section {
  padding-top: 2rem;
}

.contact-section .card {
  border: 0;
  border-bottom: 0.25rem solid #64a19d;
}

.contact-section .card h4 {
  font-size: 0.8rem;
  font-family: 'Varela Round';
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}

.contact-section .card hr {
  border-color: #64a19d;
  border-width: 0.25rem;
  width: 3rem;
}

/* =================================
   ESTILOS BANNER DE COOKIES
   ================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 15px;
  z-index: 9999;
  border-top: 3px solid #3498db;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  font-family: 'Varela Round', sans-serif;
}

.cookie-banner .btn {
  font-size: 12px;
  padding: 8px 15px;
  margin: 2px;
  border-radius: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cookie-banner .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cookie-banner small {
  font-size: 11px;
  opacity: 0.9;
}

.cookie-banner a {
  color: #3498db;
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: #5dade2;
  text-decoration: none;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .cookie-banner .col-md-4 {
    text-align: center !important;
    margin-top: 10px;
  }

  .cookie-banner .btn {
    margin: 3px 1px;
    font-size: 10px;
    padding: 6px 10px;
  }

  .cookie-banner p {
    font-size: 13px;
  }
}

/* Mensaje temporal de confirmación */
.cookie-message {
  font-size: 14px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* =================================
   NAVEGACIÓN PRINCIPAL
   ================================= */

/* Navbar fixed personalizada */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.25rem;
  text-decoration: none !important;
}

.navbar-brand:hover {
  color: #ffffff !important;
}

/* Elementos de navegación */
.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: #007bff !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #007bff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

/* Dropdown personalizado */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 250px;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 0;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #007bff;
  transform: translateX(5px);
}

.dropdown-item i {
  width: 20px;
  text-align: center;
}

.dropdown-divider {
  margin: 0.5rem 1.5rem;
  border-color: #e9ecef;
}

/* Botón CTA en navbar */
.navbar .btn-primary {
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

.navbar .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Mobile responsive */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: rgba(52, 58, 64, 0.95);
    margin-top: 1rem;
    border-radius: 8px;
    padding: 1rem;
  }
  
  .dropdown-menu {
    background-color: rgba(248, 249, 250, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link::after {
    display: none;
  }
  
  .navbar .btn-primary {
    margin-top: 1rem;
    width: 100%;
  }
}

/* Scroll effect */
.navbar.scrolled {
  background-color: rgba(52, 58, 64, 0.95) !important;
  backdrop-filter: blur(15px);
}

/* =================================
   ESTILOS FORMULARIO DE CONTACTO
   ================================= */

/* Estados de validación para campos del formulario */
.md-form.has-error .form-control,
.form-group.has-error .form-control {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.md-form.has-success .form-control,
.form-group.has-success .form-control {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.error-message {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc3545;
}

/* Estilos para mensajes de notificación */
.contact-message {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
}

/* Checkbox de consentimiento */
.consent-checkbox {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.consent-checkbox .form-check-label {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* =================================
   SECCIÓN CALL TO ACTION
   ================================= */

.cta-section {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(52, 152, 219, 0.1) 50%, transparent 70%);
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-buttons .btn {
  min-width: 200px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-primary {
  background: linear-gradient(45deg, #007bff, #0056b3);
  border: none;
}

.cta-buttons .btn-primary:hover {
  background: linear-gradient(45deg, #0056b3, #004085);
}

.cta-buttons .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Estadísticas */
.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-item small {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Enlaces de contacto rápido */
.cta-section a {
  transition: all 0.3s ease;
}

.cta-section a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
  .cta-section {
    text-align: center;
  }
  
  .cta-section .d-flex {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-section .mr-4 {
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }
  
  .stat-item h3 {
    font-size: 2rem;
  }
}

/* Animaciones suaves */
.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =================================
   ESTILOS FOOTER MODERNO
   ================================= */

footer {
  border-top: 1px solid #495057;
}

.footer-link {
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.footer-link:hover {
  color: #ffffff !important;
  padding-left: 5px;
  text-decoration: none !important;
}

footer .text-decoration-none:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

footer a[href^="tel:"] {
  transition: color 0.3s ease;
}

footer a[href^="tel:"]:hover {
  color: #007bff !important;
}

footer a[href^="mailto:"] {
  transition: color 0.3s ease;
}

footer a[href^="mailto:"]:hover {
  color: #007bff !important;
}

/* Iconos del footer */
footer .fas {
  width: 16px;
  text-align: center;
}

/* Responsive del footer */
@media (max-width: 768px) {
  footer .col-lg-4,
  footer .col-lg-2,
  footer .col-lg-3 {
    margin-bottom: 2rem;
  }
  
  footer .text-md-right {
    text-align: center !important;
  }
  
  footer hr {
    margin: 2rem 0 !important;
  }
}

/* =================================
   ESTILOS FOOTER
   ================================= */
footer {
  background: linear-gradient(135deg, #212529, #343a40) !important;
  border-top: 2px solid #64a19d;
  font-family: 'Varela Round', sans-serif;
}

footer .footer-links a {
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

footer .footer-links a:hover {
  color: #64a19d !important;
  border-bottom-color: #64a19d;
  transform: translateY(-1px);
}

footer .container {
  max-width: 1200px;
}

footer p, footer small {
  line-height: 1.6;
}

/* Responsive footer */
@media (max-width: 768px) {
  footer .col-md-6.text-md-right {
    text-align: left !important;
    margin-top: 1rem;
  }
  
  footer .footer-links a {
    display: block;
    margin: 0.3rem 0;
  }
}

/* Secciones de contenido */
.service-icon {
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon {
  width: 60px;
  height: 60px;
  font-size: 1.8rem;
}

/* Cards con efectos hover */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

/* Badges personalizados */
.badge-primary {
  background-color: #007bff;
}

.badge-warning {
  background-color: #ffc107;
}

.badge-success {
  background-color: #28a745;
}

.badge-info {
  background-color: #17a2b8;
}

/* Estrellas de valoración */
.fa-star {
  font-size: 0.9rem;
}

/* Números de estadísticas */
.row.text-center h4,
.row.text-center h6 {
  font-weight: 700;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .service-icon,
  .testimonial-avatar,
  .value-icon {
    margin: 0 auto;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .value-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* =================================
   ESTILOS SECCIÓN DEL EQUIPO
   ================================= */

/* Team Section */
.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.team-image-container {
  position: relative;
  overflow: hidden;
  height: 250px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card:hover .team-image {
  transform: scale(1.1);
}

.skills-tags {
  margin-top: 15px;
}

.skills-tags .badge {
  margin: 2px;
  font-size: 10px;
  padding: 4px 8px;
}

.team-photo-container {
  position: relative;
  display: inline-block;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.team-photo {
  transition: transform 0.3s ease;
}

.team-photo-container:hover .team-photo {
  transform: scale(1.02);
}

/* Gallery Modal */
.modal-gallery {
  max-width: 90vw;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 20px 10px 10px;
  font-size: 12px;
  text-align: center;
}