/* ===== EDIT INNOVATION - MODERN UI/UX STYLES ===== */

/* Variables CSS Modernas */
:root {
  /* Colores principales - mantenemos la identidad */
  --primary-blue: #358CCE;
  --primary-dark: #1a1a1a;
  --secondary-dark: #2d2d2d;
  --accent-blue: #4a9eff;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --text-light: #6c757d;
  --success: #28a745;
  --hover-blue: #2c7bb5;
  
  /* Gradientes modernos */
  --gradient-primary: linear-gradient(135deg, #358CCE 0%, #4a9eff 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  --gradient-overlay: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.6));
  
  /* Tipografía */
  --font-primary: 'Inter', 'Roboto', sans-serif;
  --font-display: 'Poppins', 'Roboto', sans-serif;
  
  /* Espaciado */
  --section-padding: 5rem 0;
  --container-padding: 2rem;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 16px 60px rgba(0, 0, 0, 0.15);
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  
  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--primary-dark);
  overflow-x: hidden;
}

/* Tipografía mejorada */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.display-1 { font-size: 4rem; font-weight: 700; }
.display-2 { font-size: 3.5rem; font-weight: 700; }
.display-3 { font-size: 3rem; font-weight: 600; }

/* Navegación moderna */
.navbar-modern {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
  z-index: 1000;
}

.navbar-modern.scrolled {
  background: rgba(26, 26, 26, 0.98);
  box-shadow: var(--shadow-medium);
}

.navbar-brand img {
  height: 40px;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  padding: 0.75rem 1.25rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.navbar-nav .nav-link:hover {
  background: rgba(53, 140, 206, 0.1);
  color: var(--accent-blue) !important;
  transform: translateY(-1px);
}

.navbar-nav .nav-item.active .nav-link {
  background: var(--gradient-primary);
  color: var(--white) !important;
}

/* Hero Section Moderna */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-dark);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/edit.png') center center no-repeat;
  background-size: cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #4a9eff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
  animation: fadeInUp 1s ease 0.4s both;
}

/* Botones modernos */
.btn-primary-modern {
  background: var(--gradient-primary);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--white);
  text-decoration: none;
}

.btn-outline-modern {
  background: transparent;
  border: 2px solid var(--primary-blue);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-outline-modern:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Sección de productos moderna */
.products-section {
  padding: var(--section-padding);
  background: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards de productos modernas */
.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  border: none;
  overflow: hidden;
  height: 100%;
}

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

.product-card .card-img-top {
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  height: 250px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.product-card:hover .card-img-top {
  transform: scale(1.05);
}

.product-card .card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.product-card .card-text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.product-card .btn {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-smooth);
  width: 100%;
}

.product-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--white);
  text-decoration: none;
}

/* Footer moderno */
.footer-modern {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 4rem 0 2rem 0;
}

.footer-content {
  margin-bottom: 3rem;
}

.footer-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

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

.social-link {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--gradient-primary);
  transform: translateY(-5px) scale(1.1);
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-medium);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

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

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

.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Efectos de partículas mejorados */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Media Queries Responsive - Mobile First Enhanced */

/* Large Desktop */
@media (max-width: 1200px) {
  .hero-title { font-size: 3rem; }
  .section-title h2 { font-size: 2.5rem; }
}

/* Tablet Portrait */
@media (max-width: 992px) {
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-title { 
    font-size: 2.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle { 
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn-primary-modern,
  .btn-outline-modern {
    width: 280px;
    text-align: center;
  }
}

/* Tablet and small desktop */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
    --container-padding: 1rem;
  }
  
  .hero-section {
    min-height: 75vh;
    padding: 1rem 0;
  }
  
  .hero-title { 
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle { 
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }
  
  .section-title h2 { 
    font-size: 2rem; 
    margin-bottom: 0.5rem;
  }
  
  .section-title p {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .product-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .product-card .card-img-top {
    height: 220px;
    margin-bottom: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .navbar-collapse {
    background: rgba(26, 26, 26, 0.98);
    margin-top: 1rem;
    border-radius: var(--radius-md);
    padding: 1rem 0;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .btn-primary-modern,
  .btn-outline-modern {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    width: 250px;
  }
  
  .social-links {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }
  
  .footer-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
  
  .footer-bottom p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
}

/* Mobile Landscape */
@media (max-width: 667px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 0.5rem 0;
  }
  
  .hero-title { 
    font-size: 1.8rem;
  }
  
  .hero-subtitle { 
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
  
  .btn-primary-modern,
  .btn-outline-modern {
    width: auto;
    min-width: 160px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Mobile Portrait */
@media (max-width: 576px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title { 
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }
  
  .hero-subtitle { 
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .section-title h2 { 
    font-size: 1.75rem;
    padding: 0 1rem;
  }
  
  .section-title p {
    font-size: 0.95rem;
    padding: 0 1rem;
  }
  
  .products-section {
    padding: 2.5rem 0;
  }
  
  .product-card {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
  }
  
  .product-card .card-img-top {
    height: 180px;
    margin-bottom: 1rem;
  }
  
  .product-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .product-card .card-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .product-card .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .footer-modern {
    padding: 3rem 0 1.5rem 0;
  }
  
  .footer-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
  }
  
  .footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
  }
  
  .navbar-brand img {
    height: 35px;
  }
  
  .btn-primary-modern,
  .btn-outline-modern {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: block;
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0 1rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
  .hero-title { 
    font-size: 1.5rem;
    padding: 0 0.75rem;
  }
  
  .hero-subtitle { 
    font-size: 0.95rem;
    padding: 0 0.75rem;
  }
  
  .section-title h2 { 
    font-size: 1.5rem;
  }
  
  .product-card {
    padding: 1rem;
  }
  
  .product-card .card-img-top {
    height: 160px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .footer-title {
    font-size: 1.35rem;
  }
  
  .btn-primary-modern,
  .btn-outline-modern {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover {
    transform: none;
  }
  
  .product-card {
    transition: none;
  }
  
  .social-link:hover {
    transform: none;
    background: var(--gradient-primary);
  }
  
  .btn-primary-modern:hover,
  .btn-outline-modern:hover {
    transform: none;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .navbar-brand img {
    image-rendering: -webkit-optimize-contrast;
  }
  
  .product-card .card-img-top {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Service Cards Específicas */
.service-card {
  text-align: center;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(53, 140, 206, 0.05), transparent);
  transform: rotate(45deg);
  transition: var(--transition-smooth);
  opacity: 0;
}

.service-card:hover::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.service-icon {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.service-icon i {
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon i {
  transform: scale(1.2);
  filter: drop-shadow(0 4px 12px rgba(53, 140, 206, 0.3));
}

.service-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 1.5rem 2rem 1.5rem;
}

.service-card .card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.service-card .card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 2rem;
  flex: 1;
}

/* Why Choose Us Section */
.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-primary .d-flex {
  margin-bottom: 2rem;
}

.bg-gradient-primary i {
  margin-right: 1rem;
  color: rgba(255, 255, 255, 0.9);
  min-width: 50px;
}

.bg-gradient-primary h5 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Responsive para servicios */
@media (max-width: 768px) {
  .service-card {
    min-height: 350px;
    margin-bottom: 2rem;
  }
  
  .service-icon {
    height: 80px;
    margin-bottom: 1.5rem;
  }
  
  .service-icon i {
    font-size: 2.5rem !important;
  }
  
  .service-card .card-title {
    font-size: 1.25rem;
  }
  
  .service-card .card-text {
    font-size: 0.9rem;
  }
  
  .bg-gradient-primary .d-flex {
    flex-direction: column;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .bg-gradient-primary i {
    margin: 0 0 1rem 0;
  }
}

/* About Page Específicos */
.about-content {
  margin-top: 2rem;
}

.about-content .lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
  color: var(--text-light);
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.about-image .image-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--gradient-primary);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  color: white;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.about-image:hover .image-overlay {
  transform: translateY(0);
  opacity: 1;
}

.image-overlay h4 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.image-overlay p {
  margin: 0.5rem 0 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Valores List */
.valores-list {
  text-align: left;
}

.valor-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
}

.valor-item i {
  margin-right: 0.75rem;
  font-size: 1rem;
  min-width: 20px;
}

.valor-item span {
  font-weight: 500;
  color: var(--primary-dark);
}

/* Expertise Cards */
.expertise-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  height: 100%;
  border: 1px solid rgba(53, 140, 206, 0.1);
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-blue);
}

.expertise-icon {
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
}

.expertise-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.expertise-card p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Stats Section */
.stat-item {
  padding: 2rem 1rem;
}

.stat-item i {
  opacity: 0.9;
  margin-bottom: 1rem;
}

.stat-item .counter {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-item p {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.9;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Responsive para About */
@media (max-width: 768px) {
  .about-image .image-overlay {
    position: static;
    transform: none;
    opacity: 1;
    margin-top: 1rem;
    display: inline-block;
  }
  
  .expertise-card {
    margin-bottom: 2rem;
  }
  
  .stat-item .counter {
    font-size: 2.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-buttons .btn-primary-modern,
  .cta-buttons .btn-outline-modern {
    width: 100%;
    max-width: 300px;
  }
  
  .valores-list {
    text-align: center;
  }
  
  .valor-item {
    justify-content: center;
  }
}

/* Utilidades */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-dark {
  background: var(--gradient-dark);
}

.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-medium { box-shadow: var(--shadow-medium); }
.shadow-strong { box-shadow: var(--shadow-strong); }

.rounded-modern { border-radius: var(--radius-md); }
.rounded-modern-lg { border-radius: var(--radius-lg); }
.rounded-modern-xl { border-radius: var(--radius-xl); }

/* Contact Page Styles */
.contact-info {
  text-align: left;
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.contact-info i {
  margin-right: 0.75rem;
  width: 20px;
  font-size: 0.9rem;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

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

.social-link-contact {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(53, 140, 206, 0.05);
}

.social-link-contact:hover {
  color: var(--secondary-color);
  text-decoration: none;
  background: rgba(53, 140, 206, 0.1);
  transform: translateX(5px);
}

.social-link-contact i {
  margin-right: 0.75rem;
  width: 20px;
  font-size: 1.1rem;
}

.contact-form-card {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border: 1px solid rgba(53, 140, 206, 0.1);
}

.modern-form .form-control {
  border: 2px solid #e8ecf0;
  border-radius: 10px;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fafbfc;
}

.modern-form .form-control:focus {
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(53, 140, 206, 0.1);
  outline: none;
}

.modern-form label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.modern-form .form-control::placeholder {
  color: #a0aec0;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
  
  .social-links-contact {
    gap: 0.75rem;
  }
  
  .social-link-contact {
    padding: 0.75rem;
  }
}

/* IoT Page Styles */
.iot-image {
  position: relative;
}

.iot-benefits {
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(53, 140, 206, 0.05);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(5px);
  background: rgba(53, 140, 206, 0.1);
}

.benefit-item i {
  margin-right: 1rem;
  font-size: 1.2rem;
  width: 24px;
}

.benefit-item span {
  color: var(--text-dark);
  font-weight: 500;
}

.iot-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.feature-tag {
  background: linear-gradient(135deg, rgba(53, 140, 206, 0.1), rgba(42, 112, 165, 0.1));
  color: var(--primary-color);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(53, 140, 206, 0.2);
}

.tech-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid rgba(53, 140, 206, 0.1);
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.tech-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.tech-card h6 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.tech-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin: 0;
}

.use-case-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid rgba(53, 140, 206, 0.1);
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.use-case-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.use-case-header i {
  margin-right: 1rem;
}

.use-case-header h5 {
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.use-case-card p {
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .benefit-item {
    padding: 0.75rem;
  }
  
  .iot-features {
    justify-content: center;
  }
  
  .tech-card, .use-case-card {
    margin-bottom: 2rem;
  }
  
  .use-case-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .use-case-header i {
    margin-right: 0;
  }
}

/* Index Page Specific Styles */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.hero-stats .stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 120px;
}

.hero-stats .stat-item strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.hero-stats .stat-item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.badge-ai {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

.product-features {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(53, 140, 206, 0.1);
}

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

.feature-item i {
  margin-right: 0.75rem;
  font-size: 1rem;
  width: 20px;
}

.feature-item span {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero-stats {
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .hero-stats .stat-item {
    min-width: 100px;
    padding: 0.75rem 0.5rem;
  }
  
  .hero-stats .stat-item strong {
    font-size: 1.5rem;
  }
  
  .hero-stats .stat-item span {
    font-size: 0.8rem;
  }
  
  .service-features {
    justify-content: center;
    gap: 0.4rem;
  }
  
  .product-features {
    margin-top: 1rem;
    padding-top: 1rem;
  }
}

/* ===== FIX: LISTAS CON ÍCONOS - QUITAR BULLETS ===== */
/* Listas que tienen íconos (check, fas, fab) no deben tener bullets */
.feature-list,
ul.feature-list,
.product-card ul,
.service-card ul,
.card-body ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.feature-list li,
.product-card ul li,
.service-card ul li,
.card-body ul li {
  padding-left: 0;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-list li i,
.product-card ul li i,
.service-card ul li i,
.card-body ul li i {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Asegurar que listas dentro de cards no tengan bullets */
.card ul li::before,
.product-card ul li::before,
.service-card ul li::before {
  content: none !important;
}

.card ul,
.product-card ul,
.service-card ul {
  list-style-type: none !important;
}