/* Custom CSS para Rediseño de Nosotros.html */

/* Estilos de la cabecera / Hero Banner */
.hero-nosotros {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: #ffffff;
  padding: 4rem 1.5rem 3rem 1.5rem;
  text-align: center;
}

.hero-nosotros .inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-nosotros h1 {
  color: #ffffff;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.5px;
}

.hero-nosotros .subtitle {
  color: #9ca3af;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
}

.hero-nosotros .phone-link {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
}

.hero-nosotros .phone-link:hover {
  text-decoration: underline;
}

.hero-cta-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  max-width: 500px;
  margin: 0 auto;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  text-align: center;
}

.hero-cta-box .cta-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-bottom: 1rem;
  text-align: center;
}

/* Botón azul corporativo */
.hero-cta-box .button-cta {
  background-color: #2563eb !important;
  color: #ffffff !important;
  border-radius: 6px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: normal;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: all 0.2s ease-in-out;
  display: inline-block;
  text-decoration: none;
}

.hero-cta-box .button-cta:hover {
  background-color: #1d4ed8 !important;
  transform: translateY(-2px);
}

.hero-cta-box .slogan {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #d1d5db;
  font-style: italic;
  text-align: center;
}

/* Layout en Rejilla */
.section-content {
  padding: 3rem 0;
}

.layout-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.main-body p {
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  text-align: left;
}

.main-body h2 {
  color: #111827;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.text-block:first-child h2 {
  margin-top: 0;
}

/* Tarjetas de Contenido Específicas */
.highlight-card {
  background-color: #f8fafc;
  border-left: 4px solid #2563eb;
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

.highlight-card h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0;
}

.subcard {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.subcard h3 {
  font-size: 1.2rem;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

/* Listas con estilo moderno */
.features-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 1rem 0 !important;
}

.features-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  color: #374151;
  line-height: 1.6;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2563eb;
  font-weight: bold;
}

/* Grid de Metodología (01, 02, 03, 04) */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.method-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.method-card .card-num {
  font-size: 2rem;
  font-weight: 800;
  color: #e2e8f0;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
}

.method-card h3 {
  font-size: 1.15rem;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}

.method-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.info-banner {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 1.25rem;
  margin: 2rem 0;
}

.info-banner p {
  margin-bottom: 0;
  color: #1e40af;
}

/* Sidebar Estilo Tarjeta Flotante */
.sidebar-info .sticky-card {
  position: sticky;
  top: 2rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.profile-img-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.profile-img-container:hover img {
  transform: scale(1.03);
}

.sidebar-text {
  padding: 1.25rem;
  text-align: center;
}

.sidebar-text h4 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  color: #111827;
}

.sidebar-text p {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0;
}

/* Bloque Clientes & Reseñas (Textos en negro puro #000000) */
.reviews-section {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 3rem 0;
}

.reviews-section h2 {
  margin-top: 0;
  border-bottom: none;
  color: #000000;
}

.reviews-section p {
  color: #000000;
  margin-bottom: 1.5rem;
}

.reviews-btn-container {
  margin-top: 1rem;
}

/* Rejilla de Servicios (Textos en negro puro #000000) */
.services-block {
  margin: 3rem 0;
}

.services-block h2 {
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
  color: #000000;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.service-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
}

.service-item.full-width {
  grid-column: span 2;
}

.service-item h3 {
  font-size: 1.1rem;
  color: #000000;
  margin: 0 0 0.5rem 0;
}

.service-item p {
  font-size: 0.95rem;
  color: #000000;
  margin-bottom: 0;
}

/* Tarjetas de Clientes al final (Textos en negro puro #000000) */
.footer-cards-section {
  padding: 4rem 0;
}

.footer-cards-section h3 {
  color: #000000;
}

.clients-desc {
  color: #000000 !important;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  text-align: center;
}

.cards-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.card-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.card-item p {
  color: #000000;
}

.card-item .image-wrapper {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Responsividad para Móviles y Tablets */
@media screen and (max-width: 980px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-info {
    order: -1;
  }
  .methodology-grid, .services-grid, .cards-flex {
    grid-template-columns: 1fr;
  }
  .service-item.full-width {
    grid-column: span 1;
  }
}