/**
 * Página: Nosotros
 * Metodología: BEM (Block Element Modifier)
 * 
 * Block: nosotros-page
 * Elements: __hero, __hero-image, __content, __container, __title, __intro, __section-title,
 *           __features, __feature, __feature-icon, __feature-content, __feature-title, __feature-text,
 *           __cta, __cta-icon, __cta-title, __cta-text, __cta-button
 */

/* Box-sizing universal */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevenir scroll horizontal */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Block: Página de nosotros */
.nosotros-page {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Element: Hero/Portada */
.nosotros-page__hero {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 60px;
  background-color: #fff;
}

.nosotros-page__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Element: Contenido principal */
.nosotros-page__content {
  width: 100%;
  padding: 0 20px 80px 20px;
  box-sizing: border-box;
}

.nosotros-page__container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Element: Título principal */
.nosotros-page__title {
  color: #1a1a1a;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 30px 0;
  text-align: center;
}

/* Element: Introducción */
.nosotros-page__intro {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid #FF6600;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
}

.nosotros-page__intro p {
  color: #333;
  font-size: 1.125rem;
  line-height: 1.8;
  margin: 0;
}

.nosotros-page__intro strong {
  color: #FF6600;
  font-weight: 600;
}

/* Element: Título de sección */
.nosotros-page__section-title {
  color: #1a1a1a;
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 50px 0;
  position: relative;
  padding-bottom: 15px;
}

.nosotros-page__section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FF6600 0%, #e55a00 100%);
  border-radius: 2px;
}

/* Element: Features container */
.nosotros-page__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

/* Element: Feature card */
.nosotros-page__feature {
  display: flex;
  gap: 25px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  width: 100%;
  box-sizing: border-box;
}

.nosotros-page__feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: #FF6600;
}

/* Element: Feature icon */
.nosotros-page__feature-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #FF6600 0%, #e55a00 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.nosotros-page__feature-icon svg {
  width: 48px;
  height: 48px;
}

/* Element: Feature content */
.nosotros-page__feature-content {
  flex: 1;
}

.nosotros-page__feature-title {
  color: #1a1a1a;
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.nosotros-page__feature-text {
  color: #666666;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Element: CTA Section */
.nosotros-page__cta {
  background: linear-gradient(135deg, #FF6600 0%, #e55a00 100%);
  border-radius: 16px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.3);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.nosotros-page__cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nosotros-page__cta::before {
    animation: none;
  }
  
  .nosotros-page__feature:hover,
  .nosotros-page__cta-button:hover {
    transform: none;
  }
}

.nosotros-page__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-bottom: 25px;
  color: #ffffff;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.nosotros-page__cta-icon svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nosotros-page__cta-title {
  color: #ffffff;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 20px 0;
  position: relative;
  z-index: 1;
}

.nosotros-page__cta-text {
  color: #ffffff;
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 30px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.nosotros-page__cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #FF6600;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.nosotros-page__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #f8f9fa;
}

.nosotros-page__cta-button svg {
  width: 20px;
  height: 20px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .nosotros-page__content {
    padding: 0 30px 60px 30px;
  }

  .nosotros-page__intro {
    padding: 25px;
    margin-bottom: 50px;
  }

  .nosotros-page__features {
    gap: 25px;
    margin-bottom: 50px;
  }

  .nosotros-page__feature {
    padding: 25px;
  }

  .nosotros-page__cta {
    padding: 40px 30px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .nosotros-page__hero {
    margin-bottom: 40px;
  }

  .nosotros-page__content {
    padding: 0 20px 50px 20px;
  }

  .nosotros-page__title {
    margin-bottom: 25px;
  }

  .nosotros-page__intro {
    padding: 20px;
    margin-bottom: 40px;
  }

  .nosotros-page__intro p {
    font-size: 1rem;
  }

  .nosotros-page__section-title {
    margin-bottom: 35px;
  }

  .nosotros-page__features {
    gap: 20px;
    margin-bottom: 40px;
  }

  .nosotros-page__feature {
    flex-direction: column;
    padding: 25px 20px;
    gap: 20px;
  }

  .nosotros-page__feature-icon {
    width: 60px;
    height: 60px;
  }

  .nosotros-page__feature-icon svg {
    width: 36px;
    height: 36px;
  }

  .nosotros-page__feature-title {
    font-size: 1.25rem;
  }

  .nosotros-page__feature-text {
    font-size: 0.9375rem;
  }

  .nosotros-page__cta {
    padding: 35px 25px;
    border-radius: 12px;
  }

  .nosotros-page__cta-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .nosotros-page__cta-icon svg {
    width: 48px;
    height: 48px;
  }

  .nosotros-page__cta-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .nosotros-page__cta-button {
    font-size: 1rem;
    padding: 14px 30px;
  }
}
