/* ==================================================================
   nosotros.css
   Estilos específicos página Nosotros (Quiénes Somos)
   Scope: body.nosotros-page
   Carga vía $extra_css en header.php
   Creado: 16/05/2026
   ================================================================== */

body.nosotros-page .nosotros-hero {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
  color: #fff;
  padding: 4rem 1rem 3rem;
  text-align: center;
}

body.nosotros-page .nosotros-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  margin: 0 0 1.5rem;
  line-height: 1.15;
}

body.nosotros-page .nosotros-hero .lema {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.4;
  color: #fdd835;
}

body.nosotros-page .nosotros-hero .bajada {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.95;
}

body.nosotros-page .nosotros-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

body.nosotros-page .nosotros-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #1b5e20;
  margin: 0 0 1.5rem;
  text-align: center;
}

body.nosotros-page .nosotros-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #fdd835;
  margin: 0.8rem auto 0;
}

body.nosotros-page .nosotros-section h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: #1b5e20;
  margin: 0 0 0.5rem;
}

/* Jorge: foto + bio */
body.nosotros-page .jorge-bloque {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  body.nosotros-page .jorge-bloque {
    grid-template-columns: 280px 1fr;
  }
}

body.nosotros-page .jorge-foto img {
  width: 100%;
  max-width: 280px;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  margin: 0 auto;
}

body.nosotros-page .jorge-bio {
  font-size: 1.05rem;
  line-height: 1.7;
}

body.nosotros-page .jorge-bio .credencial {
  display: block;
  font-style: italic;
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Cifras */
body.nosotros-page .cifras-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  body.nosotros-page .cifras-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

body.nosotros-page .cifra-card {
  background: #f5f5f5;
  border-left: 4px solid #2e7d32;
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: 6px;
}

body.nosotros-page .cifra-numero {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #1b5e20;
  display: block;
  line-height: 1;
}

body.nosotros-page .cifra-texto {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
}

body.nosotros-page .cifras-cierre {
  max-width: 800px;
  margin: 2rem auto 0;
  text-align: center;
  font-style: italic;
  color: #444;
  line-height: 1.6;
  font-size: 1rem;
}

/* Acreditaciones (galería 4 docs) */
body.nosotros-page .acreditaciones-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 700px) {
  body.nosotros-page .acreditaciones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

body.nosotros-page .acreditacion {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

body.nosotros-page .acreditacion img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem;
  border: 1px solid #eee;
  background: #fafafa;
}

body.nosotros-page .acreditacion h3 {
  text-align: center;
  margin-bottom: 0.5rem;
}

body.nosotros-page .acreditacion p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

body.nosotros-page .sernatur-badge {
  display: inline-block;
  background: #1b5e20;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  margin: 1rem auto 0;
}

/* Flota */
body.nosotros-page .flota-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  body.nosotros-page .flota-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

body.nosotros-page .vehiculo {
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

body.nosotros-page .vehiculo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

body.nosotros-page .vehiculo-info {
  padding: 1.25rem;
}

body.nosotros-page .vehiculo-info h3 {
  margin: 0 0 0.5rem;
}

body.nosotros-page .vehiculo-info p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  color: #444;
}

body.nosotros-page .flota-nota {
  margin-top: 2rem;
  padding: 1.25rem;
  background: #fffde7;
  border-left: 4px solid #fdd835;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

/* Tabla acreditaciones */
body.nosotros-page .tabla-acreditaciones {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-top: 1rem;
}

body.nosotros-page .tabla-acreditaciones th,
body.nosotros-page .tabla-acreditaciones td {
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
}

body.nosotros-page .tabla-acreditaciones th {
  background: #2e7d32;
  color: #fff;
  font-weight: 600;
}

body.nosotros-page .tabla-acreditaciones tr:nth-child(even) td {
  background: #f5f5f5;
}

/* CTA final */
body.nosotros-page .cta-final {
  background: #1b5e20;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}

body.nosotros-page .cta-final h2 {
  color: #fff;
  margin-bottom: 1rem;
}

body.nosotros-page .cta-final h2::after {
  background: #fdd835;
}

body.nosotros-page .cta-final p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

body.nosotros-page .cta-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

body.nosotros-page .btn-cta-amarillo {
  background: #fdd835;
  color: #1b1b1b;
  padding: 0.9rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s;
}

body.nosotros-page .btn-cta-amarillo:hover {
  background: #fbc02d;
}

body.nosotros-page .btn-cta-verde {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

body.nosotros-page .btn-cta-verde:hover {
  background: #fff;
  color: #1b5e20;
}

/* Servicios links */
body.nosotros-page .servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  body.nosotros-page .servicios-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

body.nosotros-page .servicio-link {
  display: block;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  color: #1b5e20;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
}

body.nosotros-page .servicio-link:hover {
  background: #2e7d32;
  color: #fff;
  transform: translateY(-2px);
}
