/**
 * VSE Sistemas Electrónicos - Components CSS
 * Estilos específicos para componentes del sitio
 * Versión: 1.0
 */

/* ========================================================================
   PREVENCIÓN DE OVERFLOW HORIZONTAL (SOLO MÓVILES/TABLETS)
   ======================================================================== */

/* Las reglas de prevención de overflow se aplican en media queries específicos
   para no afectar el diseño en desktop */

/* ========================================================================
   HEADER / NAVEGACIÓN
   ======================================================================== */

.site-header {
  background: white;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-base);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  gap: var(--space-xl);
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
}

/* Navegación principal */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--color-gray-700);
  font-weight: 500;
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent-orange);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent-orange);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  min-width: 250px;
  max-width: 90vw;
  padding: var(--space-md) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: 100;
}

.dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  margin: 0;
}

.dropdown a {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--color-gray-700);
  transition: all var(--transition-fast);
}

.dropdown a:hover {
  background: var(--color-gray-100);
  color: var(--color-accent-orange);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.language-selector {
  display: flex;
  gap: var(--space-xs);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  padding: var(--space-xs);
}

.lang-btn {
  background: transparent;
  border: none;
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gray-600);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background: var(--color-gray-100);
}

.lang-btn.active {
  background: var(--color-accent-orange);
  color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-gray-700);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Header */
@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-xl);
    padding: var(--space-lg);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: var(--space-md);
  }

  .dropdown {
    position: static;
    box-shadow: none;
    padding-left: var(--space-lg);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown.show {
    display: block;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-actions .btn-primary {
    display: none;
  }
}

/* ========================================================================
   FOOTER
   ======================================================================== */

.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-gray-300);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: var(--space-lg);
  filter: brightness(0) invert(1);
}

.footer-about p {
  line-height: 1.6;
  color: var(--color-gray-400);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary-light);
  border-radius: 50%;
  color: white;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-accent-orange);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: white;
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col a {
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-accent-orange);
}

.footer-contact li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-accent-orange);
  width: 16px;
  height: 16px;
}

.footer-contact li > div,
.footer-contact li > a,
.footer-contact li > span {
  flex: 1;
  color: var(--color-gray-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-primary-light);
  font-size: var(--text-sm);
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.footer-legal .separator {
  color: var(--color-gray-600);
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  /* Centrar columnas del footer en móvil */
  .footer-col {
    text-align: center;
  }

  .footer-col.footer-about {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-about p {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col h4 {
    text-align: center;
  }

  .footer-col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Excepción: footer-contact mantiene alineación izquierda para iconos */
  .footer-contact {
    align-items: flex-start;
  }

  .footer-contact li {
    align-items: flex-start;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ========================================================================
   HERO SECTION
   ======================================================================== */

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-content h1 {
  color: white;
  font-size: var(--text-5xl);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  margin-bottom: var(--space-3xl);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-accent-orange);
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: var(--text-3xl);
  }

  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-xl);
  }
}

/* ========================================================================
   SECTION HEADERS
   ======================================================================== */

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-3xl);
}

/* ========================================================================
   INDUSTRY CARDS
   ======================================================================== */

.industries-grid {
  margin-bottom: var(--space-2xl);
}

.industry-card {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent-blue);
}

.industry-card .industry-icon svg {
  margin: 0 auto var(--space-lg);
}

.industry-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.industry-card p {
  color: var(--color-gray-600);
  line-height: 1.6;
  margin: 0;
}

/* ========================================================================
   SERVICE CARDS
   ======================================================================== */

.services-grid {
  margin-bottom: var(--space-2xl);
}

.service-card .service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-accent-orange), var(--color-accent-blue));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.service-card .service-icon svg {
  color: white;
}

.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.service-card p {
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
}

.service-features li {
  padding: var(--space-sm) 0;
  color: var(--color-gray-700);
  position: relative;
  padding-left: var(--space-lg);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-orange);
  font-weight: bold;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-accent-blue);
  font-weight: 600;
  margin-top: var(--space-md);
  transition: all var(--transition-fast);
}

.service-link:hover {
  color: var(--color-accent-orange);
  gap: var(--space-sm);
}

/* ========================================================================
   PREMIUM SERVICES / SERVICIOS DESTACADOS
   ======================================================================== */

.premium-services-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.premium-services-section::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='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.premium-services-section .section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.premium-services-section .section-badge {
  display: inline-block;
  background: var(--color-accent-orange);
  color: white;
  padding: var(--space-xs) var(--space-lg);
  border-radius: 50px;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.premium-services-section h2 {
  color: white;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
}

.premium-services-section .section-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.premium-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  gap: var(--space-xl);
  transition: all var(--transition-base);
  border: 2px solid transparent;
  box-shadow: var(--shadow-lg);
}

.premium-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-orange);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.premium-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-accent-orange) 0%, #ff8c5a 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(255, 107, 53, 0.3);
}

.premium-icon svg {
  color: white;
  stroke: white;
}

.premium-content {
  flex: 1;
}

.premium-content h3 {
  font-size: var(--text-xl);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.premium-content > p {
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.premium-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg) 0;
}

.premium-features li {
  padding: var(--space-xs) 0;
  color: var(--color-gray-700);
  font-size: var(--text-sm);
  position: relative;
  padding-left: var(--space-lg);
}

.premium-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-orange);
  font-weight: bold;
}

.premium-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-accent-blue);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.premium-link:hover {
  color: var(--color-accent-orange);
  gap: var(--space-sm);
}

/* Premium Cards Responsive */
@media (max-width: 1024px) {
  .premium-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .premium-card {
    padding: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .premium-services-section {
    padding: var(--space-3xl) 0;
  }
  
  .premium-services-section h2 {
    font-size: var(--text-2xl);
  }
  
  .premium-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .premium-icon {
    width: 70px;
    height: 70px;
  }
  
  .premium-features li {
    text-align: left;
  }
}

/* ========================================================================
   DIFFERENTIATORS
   ======================================================================== */

.differentiators-grid {
  gap: var(--space-2xl);
}

.differentiator-card {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-accent-orange);
  transition: all var(--transition-base);
}

.differentiator-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

.diff-number {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-gray-200);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.differentiator-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.differentiator-card p {
  color: var(--color-gray-600);
  line-height: 1.6;
  margin: 0;
}

/* ========================================================================
   CTA SECTION
   ======================================================================== */

.cta-section {
  text-align: center;
}

.cta-content h2 {
  color: white;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
}

.cta-buttons .btn-secondary {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 768px) {
  .cta-content h2 {
    font-size: var(--text-3xl);
  }

  .cta-content p {
    font-size: var(--text-lg);
  }

  .cta-buttons {
    flex-direction: column;
  }
}

/* ========================================================================
   SECTIONS SPACING
   ======================================================================== */

.industries-section,
.services-section,
.differentiators-section,
.cta-section {
  padding: var(--space-4xl) 0;
}

@media (max-width: 768px) {
  .industries-section,
  .services-section,
  .differentiators-section,
  .cta-section {
    padding: var(--space-3xl) 0;
  }
}

/* ========================================================================
   SERVICES PAGE - SPECIFIC STYLES
   ======================================================================== */

/* Intro Section */
.intro-section {
  padding: var(--space-4xl) 0;
  background: white;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
  color: var(--color-primary-dark);
}

.intro-content p {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  line-height: 1.8;
}

/* Service Detail Cards */
.services-detail-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
}

.service-detail-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--space-3xl);
  background: white;
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-3xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.service-detail-card-reverse {
  grid-template-columns: 1fr 150px;
}

.service-detail-card-reverse .service-detail-icon {
  order: 2;
}

.service-detail-card-reverse .service-detail-content {
  order: 1;
}

.service-detail-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: var(--space-lg);
}

.service-detail-icon svg {
  color: var(--color-accent-blue);
}

.service-detail-content h3 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
  color: var(--color-primary-dark);
}

.service-detail-subtitle {
  font-size: var(--text-lg);
  color: var(--color-accent-orange);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.service-detail-content > p {
  font-size: var(--text-base);
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.service-benefits {
  list-style: none;
  padding: 0;
  margin: var(--space-xl) 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.service-benefits li {
  padding: var(--space-sm) 0 var(--space-sm) var(--space-xl);
  color: var(--color-gray-700);
  position: relative;
  font-size: var(--text-base);
}

.service-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-orange);
  font-weight: bold;
  font-size: var(--text-xl);
}

.service-detail-content .btn-secondary {
  margin-top: var(--space-lg);
}

@media (max-width: 1024px) {
  .service-detail-card {
    grid-template-columns: 100px 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl);
  }

  .service-detail-card-reverse {
    grid-template-columns: 1fr 100px;
  }

  .service-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-detail-card,
  .service-detail-card-reverse {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .service-detail-card-reverse .service-detail-icon {
    order: 1;
  }

  .service-detail-card-reverse .service-detail-content {
    order: 2;
  }

  .service-detail-icon {
    justify-content: flex-start;
    padding-top: 0;
  }

  .service-detail-content h3 {
    font-size: var(--text-2xl);
  }

  .service-benefits {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* Why VSE Section */
.why-vse-section {
  padding: var(--space-4xl) 0;
}

.reasons-grid {
  gap: var(--space-2xl);
}

.reason-card {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-accent-blue);
  transition: all var(--transition-base);
}

.reason-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--color-accent-orange);
}

.reason-number {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-gray-200);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.reason-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.reason-card p {
  color: var(--color-gray-600);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .intro-section {
    padding: var(--space-3xl) 0;
  }

  .intro-content h2 {
    font-size: var(--text-3xl);
  }

  .services-detail-section {
    padding: var(--space-3xl) 0;
  }

  .service-detail-card {
    margin-bottom: var(--space-xl);
  }

  .why-vse-section {
    padding: var(--space-3xl) 0;
  }
}

/* ========================================================================
   CONTACT PAGE - SPECIFIC STYLES
   ======================================================================== */

.contact-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-4xl);
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }
}

/* Contact Form */
.contact-form-container {
  background: white;
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-gray-700);
  font-size: var(--text-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-md);
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: var(--font-primary);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: var(--color-error);
}

.field-error {
  color: var(--color-error);
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
}

.form-privacy {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-gray-600);
}

.form-privacy a {
  color: var(--color-accent-blue);
  text-decoration: underline;
}

.btn-block {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: center;
}

.btn-primary.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  grid-column: 1 / -1;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.form-success {
  background: #E8F5E9;
  border: 2px solid var(--color-success);
  color: var(--color-success);
}

.form-error {
  background: #FFEBEE;
  border: 2px solid var(--color-error);
  color: var(--color-error);
}

.form-message svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.form-message strong {
  display: block;
  margin-bottom: var(--space-xs);
}

.form-message p {
  margin: 0;
  color: var(--color-gray-700);
}

@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    padding: var(--space-xl);
  }
}

/* Contact Info */
.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  gap: var(--space-lg);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.contact-info-card-highlight {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  border: 2px solid var(--color-success);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--color-accent-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.contact-info-card-highlight .contact-info-icon {
  background: var(--color-success);
}

.contact-info-content h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-primary-dark);
}

.contact-info-content p {
  margin: 0;
  color: var(--color-gray-700);
  line-height: 1.6;
}

.contact-info-content a {
  color: var(--color-accent-blue);
  font-weight: 600;
  text-decoration: none;
}

.contact-info-content a:hover {
  text-decoration: underline;
}

.btn-whatsapp {
  margin-top: var(--space-md);
  display: inline-flex;
  align-items: center;
  background: var(--color-success);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  color: white !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
  background: #1B5E20;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp svg {
  color: white;
}

.btn-whatsapp span {
  color: white;
}

.contact-info-content small {
  display: block;
  margin-top: var(--space-sm);
  color: var(--color-gray-900);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  padding: var(--space-4xl) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.faq-item {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-accent-orange);
}

.faq-item h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.faq-item p {
  margin: 0;
  color: var(--color-gray-600);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-section {
    padding: var(--space-3xl) 0;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-info-card {
    flex-direction: column;
  }
  
  .contact-info-icon {
    width: 50px;
    height: 50px;
  }
}

/* ========================================================================
   ABOUT PAGE - SPECIFIC STYLES
   ======================================================================== */

/* Mission & Vision */
.mission-vision-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
}

.mission-vision-grid {
  gap: var(--space-3xl);
}

.mission-card,
.vision-card {
  background: white;
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.mv-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-xl);
  background: linear-gradient(135deg, var(--color-accent-orange), var(--color-accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.mission-card h3,
.vision-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
  color: var(--color-primary-dark);
}

.mission-card p,
.vision-card p {
  color: var(--color-gray-600);
  line-height: 1.7;
  margin: 0;
}

/* Values */
.values-section {
  padding: var(--space-4xl) 0;
}

.values-grid {
  gap: var(--space-2xl);
}

.value-card {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.value-card:hover {
  border-color: var(--color-accent-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.value-icon {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-md);
}

.value-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.value-card p {
  color: var(--color-gray-600);
  line-height: 1.6;
  margin: 0;
  font-size: var(--text-sm);
}

/* Stats Section */
.stats-section {
  padding: var(--space-4xl) 0;
}

.stats-grid {
  gap: var(--space-2xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: var(--text-6xl);
  font-weight: 700;
  color: var(--color-accent-orange);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.stat-label {
  font-size: var(--text-base);
  color: var(--color-gray-700);
  font-weight: 600;
}

/* Certifications */
.certifications-section {
  padding: var(--space-4xl) 0;
}

.certifications-content {
  max-width: 800px;
  margin: var(--space-3xl) auto 0;
  text-align: center;
}

.certifications-content p {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* Sectors */
.sectors-section {
  padding: var(--space-4xl) 0;
}

.sectors-grid {
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

.sector-badge {
  background: white;
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-gray-200);
  transition: all var(--transition-base);
}

.sector-badge:hover {
  border-color: var(--color-accent-blue);
  background: var(--color-accent-blue);
  color: white;
  transform: translateY(-2px);
}

/* Why Choose Section */
.why-choose-section {
  padding: var(--space-4xl) 0;
}

/* Team Section */
.team-section {
  padding: var(--space-4xl) 0;
  background: white;
}

.team-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.team-content h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
  color: var(--color-primary-dark);
}

.team-content p {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  line-height: 1.7;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mission-vision-section {
    padding: var(--space-3xl) 0;
  }

  .values-section {
    padding: var(--space-3xl) 0;
  }

  .values-grid,
  .stats-grid,
  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .stats-section {
    padding: var(--space-3xl) 0;
  }

  .certifications-section {
    padding: var(--space-3xl) 0;
  }

  .sectors-section {
    padding: var(--space-3xl) 0;
  }

  .why-choose-section {
    padding: var(--space-3xl) 0;
  }

  .team-section {
    padding: var(--space-3xl) 0;
  }

  .team-content h2 {
    font-size: var(--text-3xl);
  }

  .stat-number {
    font-size: var(--text-5xl);
  }

  .mv-icon {
    width: 60px;
    height: 60px;
  }
}

/* ========================================================================
   INDUSTRIES PAGE - SPECIFIC STYLES
   ======================================================================== */

.industry-detail-section {
  padding: var(--space-4xl) 0;
}

.industry-detail-card {
  background: white;
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.industry-detail-header {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  margin-bottom: var(--space-2xl);
}

.industry-detail-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-orange));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.industry-detail-title h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
  color: var(--color-primary-dark);
}

.industry-detail-title p {
  font-size: var(--text-lg);
  color: var(--color-accent-orange);
  font-weight: 600;
  margin: 0;
}

.industry-detail-desc {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.industry-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.industry-challenges h3,
.industry-solutions h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
  color: var(--color-primary-dark);
}

.industry-challenges {
  padding: var(--space-xl);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-error);
}

.industry-solutions {
  padding: var(--space-xl);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-success);
}

.industry-challenges ul,
.industry-solutions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.industry-challenges li,
.industry-solutions li {
  padding: var(--space-sm) 0 var(--space-sm) var(--space-xl);
  position: relative;
  color: var(--color-gray-700);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.industry-challenges li::before {
  content: '⚠️';
  position: absolute;
  left: 0;
  font-size: var(--text-lg);
}

.industry-solutions li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: bold;
  font-size: var(--text-xl);
}

/* Benefits Section */
.benefits-section {
  padding: var(--space-4xl) 0;
  background: white;
}

.benefits-grid {
  gap: var(--space-2xl);
}

.benefit-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.benefit-card:hover {
  border-color: var(--color-accent-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-md);
}

.benefit-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.benefit-card p {
  color: var(--color-gray-600);
  line-height: 1.6;
  margin: 0;
  font-size: var(--text-sm);
}

/* Responsive */
@media (max-width: 1024px) {
  .industry-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .industry-detail-section {
    padding: var(--space-3xl) 0;
  }

  .industry-detail-card {
    padding: var(--space-xl);
  }

  .industry-detail-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .industry-detail-icon {
    width: 80px;
    height: 80px;
  }

  .industry-detail-title h2 {
    font-size: var(--text-2xl);
  }

  .industry-detail-desc {
    font-size: var(--text-base);
  }

  .benefits-section {
    padding: var(--space-3xl) 0;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================
   PROJECTS PAGE - SPECIFIC STYLES
   ======================================================================== */

/* Projects Filters */
.projects-filters-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--color-gray-200);
}

.projects-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
}

.projects-filters .filter-btn {
  padding: var(--space-sm) var(--space-lg);
  background: white;
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-lg);
  color: var(--color-gray-700);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: var(--text-sm);
}

.projects-filters .filter-btn:hover {
  border-color: var(--color-accent-blue);
  color: var(--color-accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.projects-filters .filter-btn.active {
  background: var(--color-accent-orange);
  border-color: var(--color-accent-orange);
  color: white;
}

/* Projects Grid */
.projects-grid-section {
  padding: var(--space-4xl) 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: var(--space-3xl);
}

.project-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  border: 2px solid transparent;
  opacity: 1;
}

.project-card.visible {
  opacity: 1;
  transform: scale(1);
}

.project-card:hover {
  border-color: var(--color-accent-blue);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.project-header {
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: white;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.project-client {
  font-weight: 700;
  font-size: var(--text-lg);
}

.project-sector {
  background: rgba(255, 255, 255, 0.2);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.project-tags .tag {
  background: var(--color-accent-orange);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-content {
  padding: var(--space-2xl);
}

.project-content h3 {
  font-size: var(--text-2xl);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.project-desc {
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  font-size: var(--text-base);
}

.project-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.project-services,
.project-results {
  background: var(--bg-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
}

.project-services h4,
.project-results h4 {
  font-size: var(--text-base);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: var(--text-sm);
}

.project-services {
  border-left: 4px solid var(--color-accent-blue);
}

.project-results {
  border-left: 4px solid var(--color-success);
}

.project-services ul,
.project-results ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-services li,
.project-results li {
  padding: var(--space-xs) 0 var(--space-xs) var(--space-lg);
  position: relative;
  color: var(--color-gray-700);
  line-height: 1.6;
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
}

.project-services li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent-blue);
  font-weight: bold;
  font-size: var(--text-xl);
}

.project-results li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: bold;
  font-size: var(--text-base);
}

/* Stats Section */
.stats-section {
  padding: var(--space-4xl) 0;
}

.stats-section .section-title {
  text-align: center;
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3xl);
  color: var(--color-primary-dark);
}

.stats-grid {
  gap: var(--space-2xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-2xl);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  font-size: var(--text-6xl);
  font-weight: 800;
  color: var(--color-accent-orange);
  line-height: 1;
  margin-bottom: var(--space-md);
  font-family: var(--font-headings);
}

.stat-label {
  font-size: var(--text-base);
  color: var(--color-gray-600);
  font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--space-4xl) 0;
  background: white;
}

.testimonials-section .section-title {
  text-align: center;
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3xl);
  color: var(--color-primary-dark);
}

.testimonials-grid {
  gap: var(--space-2xl);
}

.testimonial-card {
  background: var(--bg-secondary);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border-left: 4px solid var(--color-accent-blue);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-left-color: var(--color-accent-orange);
}

.testimonial-quote {
  font-size: 4rem;
  color: var(--color-accent-orange);
  line-height: 1;
  margin-bottom: var(--space-md);
  font-family: Georgia, serif;
  opacity: 0.3;
}

.testimonial-text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-gray-700);
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.testimonial-author strong {
  color: var(--color-primary-dark);
  font-size: var(--text-base);
  font-weight: 700;
}

.testimonial-author span {
  color: var(--color-gray-500);
  font-size: var(--text-sm);
}

/* Responsive */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-details {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-filters-section {
    padding: var(--space-xl) 0;
  }

  .projects-filters {
    gap: var(--space-sm);
  }

  .projects-filters .filter-btn {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-xs);
  }

  .projects-grid-section {
    padding: var(--space-3xl) 0;
  }

  .project-content {
    padding: var(--space-xl);
  }

  .project-content h3 {
    font-size: var(--text-xl);
  }

  .stat-number {
    font-size: var(--text-5xl);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-section {
    padding: var(--space-3xl) 0;
  }

  .testimonial-quote {
    font-size: 3rem;
  }
}

/* ========================================================================
   INDIVIDUAL SERVICE PAGES - SPECIFIC STYLES
   ======================================================================== */

/* Service Hero */
.service-hero {
  padding: var(--space-3xl) 0 var(--space-4xl);
}

.service-hero .breadcrumb {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
}

.service-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-base);
}

.service-hero .breadcrumb a:hover {
  color: white;
}

.service-icon {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  color: white;
  backdrop-filter: blur(10px);
}

.service-intro {
  max-width: 900px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  padding: var(--space-4xl) 0;
  background: white;
}

.features-grid {
  gap: var(--space-2xl);
}

.feature-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.feature-card:hover {
  border-color: var(--color-accent-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: white;
}

.feature-icon {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-size: var(--text-lg);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.feature-card p {
  color: var(--color-gray-600);
  line-height: 1.6;
  font-size: var(--text-sm);
  margin: 0;
}

/* Applications Section */
.applications-section {
  padding: var(--space-4xl) 0;
}

.applications-grid {
  gap: var(--space-xl);
}

.application-card {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.application-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-accent-orange);
  transform: scaleY(0);
  transition: transform var(--transition-base);
}

.application-card:hover::before {
  transform: scaleY(1);
}

.application-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.application-number {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-accent-orange);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: var(--space-md);
  font-family: var(--font-headings);
}

.application-card h3 {
  font-size: var(--text-lg);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.application-card p {
  color: var(--color-gray-600);
  line-height: 1.6;
  font-size: var(--text-sm);
  margin: 0;
}

/* Benefits List */
.benefits-list-section {
  padding: var(--space-4xl) 0;
  background: white;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.benefit-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.benefit-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--text-lg);
}

.benefit-item p {
  margin: 0;
  color: var(--color-gray-700);
  font-weight: 500;
  line-height: 1.6;
  padding-top: 4px;
}

/* Technologies/Brands Section */
.technologies-section {
  padding: var(--space-4xl) 0;
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray-600);
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
  font-size: var(--text-lg);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.brand-item {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: var(--text-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.brand-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--color-accent-blue);
}

/* Packages/Pricing Section */
.solutions-packages-section {
  padding: var(--space-4xl) 0;
  background: white;
}

.packages-grid {
  gap: var(--space-2xl);
}

.package-card {
  background: white;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.package-card:hover {
  border-color: var(--color-accent-blue);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.package-card.featured {
  border-color: var(--color-accent-orange);
  border-width: 3px;
  box-shadow: var(--shadow-lg);
}

.package-badge {
  position: absolute;
  top: -12px;
  right: var(--space-xl);
  background: var(--color-accent-orange);
  color: white;
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.package-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--color-gray-200);
}

.package-header h3 {
  font-size: var(--text-2xl);
  color: var(--color-primary-dark);
  margin: 0;
}

.package-features {
  flex-grow: 1;
  margin-bottom: var(--space-xl);
}

.package-feature {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-gray-200);
  text-align: center;
}

.package-feature:last-child {
  border-bottom: none;
}

.package-feature strong {
  display: block;
  font-size: var(--text-lg);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xs);
}

.package-feature span {
  color: var(--color-gray-600);
  font-size: var(--text-sm);
}

.package-price {
  text-align: center;
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.price-from {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

.price-amount {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-accent-orange);
  font-family: var(--font-headings);
}

.package-card .btn-primary,
.package-card .btn-secondary {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Process Timeline */
.process-section {
  padding: var(--space-4xl) 0;
}

.process-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: var(--color-accent-blue);
}

.process-step {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-orange));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 800;
  font-family: var(--font-headings);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.process-content {
  flex-grow: 1;
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.process-content:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

.process-content h3 {
  font-size: var(--text-xl);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
}

.process-content p {
  color: var(--color-gray-600);
  line-height: 1.7;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  padding: var(--space-4xl) 0;
  background: white;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-secondary);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  border-left: 4px solid var(--color-accent-blue);
  transition: all var(--transition-base);
}

.faq-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-accent-orange);
}

.faq-question {
  font-size: var(--text-lg);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.faq-answer {
  color: var(--color-gray-600);
  line-height: 1.7;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .service-hero {
    padding: var(--space-2xl) 0 var(--space-3xl);
  }

  .service-icon {
    width: 80px;
    height: 80px;
  }

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

  .features-section {
    padding: var(--space-3xl) 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .applications-section {
    padding: var(--space-3xl) 0;
  }

  .applications-grid {
    grid-template-columns: 1fr;
  }

  .benefits-list-section {
    padding: var(--space-3xl) 0;
  }

  .technologies-section {
    padding: var(--space-3xl) 0;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-packages-section {
    padding: var(--space-3xl) 0;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .process-section {
    padding: var(--space-3xl) 0;
  }

  .process-timeline::before {
    left: 23px;
  }

  .process-step {
    gap: var(--space-md);
  }

  .process-number {
    width: 48px;
    height: 48px;
    font-size: var(--text-xl);
  }

  .process-content {
    padding: var(--space-lg);
  }

  .process-content h3 {
    font-size: var(--text-lg);
  }

  .faq-section {
    padding: var(--space-3xl) 0;
  }

  .faq-item {
    padding: var(--space-lg);
  }
}

/* ========================================================================
   RESPONSIVE GLOBAL - Asegurar que nada se desborde
   ======================================================================== */

/* Móviles pequeños (max-width: 480px) */
@media (max-width: 480px) {
  /* CRÍTICO: Prevenir overflow en todos los contenedores */
  *:not(input[type="checkbox"]):not(input[type="radio"]):not(svg):not(path):not(circle):not(rect):not(polygon) {
    max-width: 100%;
  }
  
  .container {
    padding: 0 var(--space-md) !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  
  /* Todos los grids a 1 columna */
  .industries-grid,
  .services-grid,
  .differentiators-grid,
  .benefits-grid,
  .values-grid,
  .certifications-grid,
  .sectors-grid,
  .stats-grid,
  .contact-grid,
  .faq-grid,
  .projects-grid,
  .testimonials-grid,
  .blog-filters,
  .featured-posts-grid,
  .posts-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg);
    width: 100%;
    max-width: 100%;
  }
  
  /* Botones full width */
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
  }
  
  /* Hero sections */
  .hero-section,
  .service-hero,
  .blog-hero {
    padding: var(--space-2xl) 0;
  }
  
  .hero-content h1 {
    font-size: var(--text-2xl);
  }
  
  .hero-content p {
    font-size: var(--text-base);
  }
  
  /* Stats en hero */
  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  /* Cards */
  .industry-card,
  .service-card,
  .differentiator-card,
  .project-card,
  .blog-card {
    padding: var(--space-lg);
  }
  
  /* Service detail cards - imagen arriba */
  .service-detail-card,
  .service-detail-card-reverse {
    grid-template-columns: 1fr !important;
  }
  
  /* Filtros de proyectos */
  .filter-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .filter-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
  }
  
  /* Process timeline */
  .process-step {
    grid-template-columns: auto 1fr;
  }
  
  .process-step-number {
    width: 40px;
    height: 40px;
    font-size: var(--text-lg);
  }
  
  /* Technologies grid */
  .technologies-brands {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Packages */
  .packages-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Contact form */
  .contact-form {
    padding: var(--space-lg);
    max-width: 100%;
    width: 100%;
  }
  
  .form-row {
    grid-template-columns: 1fr !important;
  }
  
  .form-group {
    width: 100%;
    max-width: 100%;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Contact info cards */
  .contact-info-card {
    padding: var(--space-lg);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .contact-info-icon {
    width: 50px;
    height: 50px;
  }
  
  /* Footer */
  .footer-content {
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  
  .footer-col {
    width: 100%;
    max-width: 100%;
    padding: 0 var(--space-sm);
    box-sizing: border-box;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .footer-links a {
    white-space: normal;
    word-wrap: break-word;
  }
}

/* Tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  /* Algunos grids a 2 columnas en tablets */
  .industries-grid,
  .differentiators-grid,
  .values-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .technologies-brands {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Asegurar que las imágenes nunca se desborden */
@media (max-width: 768px) {
  /* CRÍTICO: Prevenir overflow en móviles y tablets */
  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .site-header,
  .site-footer,
  section,
  [class*="section"] {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .container {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Prevenir que elementos flex crezcan más allá del contenedor */
  .flex,
  [class*="flex"],
  .header-content,
  .footer-content,
  .cta-buttons {
    flex-wrap: wrap;
    max-width: 100%;
  }
  
  /* Asegurar que todos los grids sean responsive */
  [class*="grid"] {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .service-detail-icon img,
  .industry-card-icon img,
  .service-card-icon img {
    max-width: 100%;
    height: auto;
  }
  
  /* Asegurar que el hero-stats no cause overflow */
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  
  /* Breadcrumb responsive */
  .breadcrumb {
    font-size: var(--text-sm);
    padding: var(--space-md) 0;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .breadcrumb .container {
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Blog search */
  .search-box {
    width: 100%;
    max-width: 100%;
  }
  
  .search-box input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Asegurar que todos los cards sean responsive */
  .industry-card,
  .service-card,
  .differentiator-card,
  .project-card,
  .contact-info-card,
  .testimonial-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Header content responsive */
  .header-content {
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
  }
  
  /* Footer responsive */
  .footer-col {
    width: 100%;
    max-width: 100%;
  }
}

