/* ==============================================
   SPORT HENRYS - CUSTOM STYLES
   Esquema de colores: Rojo principal, fondo blanco
   ============================================== */

/* Root Variables */
:root {
  --primary-color: #dc3545;      /* Rojo principal */
  --primary-light: #f5c6cb;      /* Rojo claro */
  --primary-dark: #a71e2a;       /* Rojo oscuro */
  --secondary-color: #6c757d;     /* Gris */
  --success-color: #198754;       /* Verde */
  --warning-color: #ffc107;       /* Amarillo */
  --danger-color: #dc3545;        /* Rojo (igual al primario) */
  --dark-color: #212529;          /* Negro */
  --light-color: #f8f9fa;         /* Gris muy claro */
  --white-color: #ffffff;         /* Blanco puro */
  --whatsapp-green: #25d366;      /* Verde WhatsApp */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Oswald', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 0.5rem 1rem rgba(220, 53, 69, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(220, 53, 69, 0.175);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white-color);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
}

.display-3, .display-4, .display-5 {
  font-family: var(--font-secondary);
  font-weight: 700;
}

/* Utility Classes */
.underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, var(--primary-color), var(--warning-color));
  border-radius: 2px;
}

.text-gradient {
  background: linear-gradient(45deg, var(--primary-color), var(--warning-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation Styles */
.navbar {
  backdrop-filter: blur(10px);
  transition: var(--transition);
  width: 100%;
  padding: 0.5rem 0;
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 1rem;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: white;
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Responsividad mejorada para navbar */
@media (max-width: 992px) {
  .navbar-collapse {
    background: rgba(220, 53, 69, 0.95);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
    padding: 0.75rem 1rem;
    border-radius: 5px;
  }
  
  .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
  }
}

/* Hero Carousel Styles */
.hero-carousel {
  position: relative;
  height: 100vh;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  width: 100%;
  max-width: 100vw;
}

.slide-1 {
  background: linear-gradient(rgba(220, 53, 69, 0.7), rgba(220, 53, 69, 0.7)), 
              url('assets/images/hero/hero-slide-1.jpg');
  background-size: cover;
  background-position: center;
}

.slide-2 {
  background: linear-gradient(rgba(220, 53, 69, 0.6), rgba(167, 30, 42, 0.6)), 
              url('assets/images/hero/hero-slide-2.jpg');
  background-size: cover;
  background-position: center;
}

.slide-3 {
  background: linear-gradient(rgba(25, 135, 84, 0.6), rgba(220, 53, 69, 0.6)), 
              url('assets/images/hero/hero-slide-3.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
  font-weight: bold;
}

.swiper-pagination-bullet {
  background: white;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--warning-color);
}

/* Correciones responsive para el carrusel */
@media (max-width: 768px) {
  .hero-slide {
    background-attachment: scroll;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .swiper-pagination {
    bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hero-carousel {
    height: 100vh;
    min-height: 600px;
  }
  
  .hero-slide {
    height: 100vh;
    min-height: 600px;
  }
  
  .hero-content {
    padding: 0 0.5rem;
    text-align: center;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* Stats Section */
.stats-section {
  background: var(--light-color);
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  transition: var(--transition);
  background: var(--white-color);
  border-radius: 15px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  display: inline-block;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--primary-color), var(--warning-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-secondary);
  margin-bottom: 0.5rem;
}

/* About Section */
.about-card {
  border: none;
  border-radius: 15px;
  transition: var(--transition);
  border: 2px solid var(--light-color);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.owner-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--primary-color), var(--warning-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.achievement {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.feature-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-color);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Organigrama Styles */
.org-chart {
  text-align: center;
  padding: 2rem 0;
}

.org-level {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
}

.org-box {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  min-width: 200px;
  position: relative;
  border: 2px solid;
}

.org-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gerente-box {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, #ffebee, #fff);
}

.cortador-box, .diseñador-box {
  border-color: var(--warning-color);
  background: linear-gradient(135deg, #fff9c4, #fff);
}

.operario-box, .auxiliar-box {
  border-color: var(--success-color);
  background: linear-gradient(135deg, #e8f5e8, #fff);
}

.org-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.gerente-box .org-avatar {
  background: linear-gradient(45deg, var(--primary-color), #e53e3e);
}

.cortador-box .org-avatar, .diseñador-box .org-avatar {
  background: linear-gradient(45deg, var(--warning-color), #ffa726);
}

.operario-box .org-avatar, .auxiliar-box .org-avatar {
  background: linear-gradient(45deg, var(--success-color), #66bb6a);
}

.org-box h5, .org-box h6 {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.org-box p {
  color: var(--secondary-color);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.org-box small {
  color: var(--secondary-color);
  font-size: 0.8rem;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--light-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--primary-color), var(--warning-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto 1.5rem;
  color: white;
  font-size: 2.5rem;
}

.service-body {
  padding: 0 2rem;
  flex: 1;
}

.service-body h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--secondary-color);
}

.service-features i {
  color: var(--success-color);
  margin-right: 0.5rem;
}

.service-footer {
  padding: 0 2rem 2rem;
}

/* Product Cards */
.product-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid var(--light-color);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.product-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-color);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.product-info h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.product-count {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Contact Section */
.contact-info h4 {
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-text h6 {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-text p {
  margin-bottom: 0;
  opacity: 0.9;
}

.social-links {
  margin-top: 2rem;
}

.social-link {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: var(--transition);
  font-size: 1.25rem;
}

.social-link:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form h4 {
  margin-bottom: 2rem;
}

.form-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-color);
  z-index: 2;
}

.form-group .form-control {
  padding-left: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 10px;
  transition: var(--transition);
}

.form-group .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group .form-control:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  color: white;
  box-shadow: none;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2c3e50, #34495e) !important;
}

.footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.newsletter-form .input-group {
  border-radius: 25px;
  overflow: hidden;
}

.newsletter-form .form-control {
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn {
  border: none;
  background: var(--primary-color);
}

/* Floating Action Button */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.btn-floating {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.btn-floating:hover {
  background: #128c7e;
  color: white;
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* WhatsApp Chat Simulator */
.whatsapp-chat-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.whatsapp-chat-overlay.show {
  display: flex;
}

.whatsapp-chat-window {
  background: white;
  border-radius: 15px;
  width: 100%;
  max-width: 400px;
  height: 600px;
  max-height: 80vh;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: chatSlideIn 0.3s ease-out;
}

@keyframes chatSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.whatsapp-header {
  background: var(--whatsapp-green);
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.close-chat-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-chat-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.whatsapp-body {
  flex: 1;
  background: #e5ddd5;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/></svg>');
  overflow-y: auto;
  padding: 20px;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message.received {
  align-self: flex-start;
  background: white;
  color: #333;
  border-bottom-left-radius: 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.message.sent {
  align-self: flex-end;
  background: #dcf8c6;
  color: #333;
  border-bottom-right-radius: 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.message-time {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
  text-align: right;
}

.whatsapp-footer {
  background: white;
  padding: 15px 20px;
  border-top: 1px solid #e0e0e0;
}

.message-input-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0f0f0;
  border-radius: 25px;
  padding: 8px 15px;
}

.message-input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  color: #333;
}

.message-input::placeholder {
  color: #999;
}

.send-btn {
  background: var(--whatsapp-green);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.send-btn:hover {
  background: #128c7e;
  transform: scale(1.1);
}

.send-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #666;
  font-style: italic;
  font-size: 12px;
}

.typing-dots {
  display: flex;
  gap: 2px;
}

.typing-dot {
  width: 4px;
  height: 4px;
  background: #666;
  border-radius: 50%;
  animation: typingAnimation 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingAnimation {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

/* Responsive design para el chat */
@media (max-width: 768px) {
  .whatsapp-chat-window {
    width: 95%;
    height: 90vh;
    max-height: 90vh;
    border-radius: 10px;
  }
  
  .whatsapp-body {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .whatsapp-chat-overlay {
    padding: 10px;
  }
  
  .whatsapp-chat-window {
    width: 100%;
    height: 95vh;
    border-radius: 8px;
  }
  
  .whatsapp-header {
    padding: 12px 15px;
  }
  
  .whatsapp-body {
    padding: 10px;
  }
  
  .whatsapp-footer {
    padding: 10px 15px;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content h3 {
    font-size: 1.5rem;
  }
  
  .hero-content .display-3 {
    font-size: 2.5rem;
  }
  
  .hero-content .display-4 {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .org-level {
    flex-direction: column;
    gap: 1rem;
  }
  
  .org-box {
    min-width: 250px;
    max-width: 100%;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .contact-form,
  .contact-info {
    margin-bottom: 2rem;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content h3 {
    font-size: 1.25rem;
  }
  
  .hero-content .display-3 {
    font-size: 2rem;
  }
  
  .hero-content .display-4 {
    font-size: 1.75rem;
  }
  
  .floating-btn {
    bottom: 20px;
    right: 20px;
  }
  
  .btn-floating {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .back-to-top {
    bottom: 80px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .hero-carousel {
    height: 100vh;
    min-height: 600px;
  }
  
  .hero-slide {
    height: 100vh;
    min-height: 600px;
    padding: 0 10px;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  .display-6 {
    font-size: 1.75rem;
  }
}

@media (max-width: 375px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .hero-content h3 {
    font-size: 1.1rem;
  }
  
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

/* Prevenir elementos que se desborden */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

.container, .container-fluid {
  overflow-x: hidden;
  max-width: 100%;
}

.card {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.btn-group {
  flex-wrap: wrap;
}

.form-control, .form-select {
  max-width: 100%;
  box-sizing: border-box;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.col, [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
  word-wrap: break-word;
}

/* Banner de Bienvenida - Responsive */
#welcomeBanner {
  max-width: 100vw;
  overflow-x: hidden;
}

.navbar {
  z-index: 1030;
}

#welcomeBanner {
  z-index: 10000;
}

.floating-btn {
  z-index: 1000;
}

.back-to-top {
  z-index: 999;
}

.whatsapp-chat-overlay {
  z-index: 10001;
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.loading {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fade-up {
  animation: fadeInUp 0.6s ease-out;
}

.slide-right {
  animation: slideInRight 0.6s ease-out;
}

.slide-left {
  animation: slideInLeft 0.6s ease-out;
}

/* Hover Effects */
.btn {
  transition: var(--transition);
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
  border: none;
}

.btn-success {
  background: linear-gradient(45deg, var(--success-color), #66bb6a);
  border: none;
}

.btn-warning {
  background: linear-gradient(45deg, var(--warning-color), #ffb74d);
  border: none;
  color: var(--dark-color);
}

.btn-danger {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
  border: none;
}