  /* css styles */
  
  /* Color de la barra de navegación */
.navbar {
  background-color: #2E6F6B !important;   /* verde petróleo */
}

/* Color del texto */
.navbar a, 
.navbar-brand {
  color: #ffffff !important;
}

/* Color al pasar el mouse */
.navbar a:hover {
  color: #A8E6CF !important;
}

/* footer */
/* Línea divisoria */
.footer-line {
  border: none;
  border-top: 1px solid #444;
  margin: 12px 0;
}

.footer-bottom {
  font-size: 14px;
  color: #cccccc;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}



/*Portada*/

.column-screen{
  width: 100dvw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Fallback por si algún navegador viejo no soporta dvw */
@supports not (width: 100dvw){
  .column-screen{
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

.hero{
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 72px 20px;
  overflow: hidden;
  background-image: url("portada1.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
}

/* Capa oscura + degradado (para que el texto se lea) */

.hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.30),
    rgba(0,0,0,0.70)
  );
}

.hero__content{
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 32px));
  margin-inline: auto;
  text-align: center;
  color: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__content h2{
  text-align: center;
  width: 100%;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.05;
  margin: 0 0 10px 0;
  font-weight: 900;
  letter-spacing: 0.4px;

  /* evita desbordes con palabras largas */
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

.hero__content h3{
  text-align: center;
  width: 100%;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  margin: 0 0 16px 0;
  font-weight: 600;
  opacity: 0.95;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero__content p{
  text-align: center;
  width: 100%;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  margin: 0 auto;
  line-height: 1.55;
  max-width: 880px;
  opacity: 0.96;
  overflow-wrap: anywhere;
}

.hero-logos{
  margin: 18px 0 12px 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-logos img{
  height: 70px;
  max-width: 100%;
  object-fit: contain;
}

.hero__buttons{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.hero-btn{
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.hero-btn:hover{
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.8);
}

.volver-inicio{
  margin: 60px 0 20px 0;
  text-align: center;
}

.volver-btn{
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #2f6f68;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
}
.volver-btn:hover{
  background: #1f524c;
}

/*Productos*/

.lineas-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.lineas-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  margin: 8px 0;
}

.lineas-card .lineas {
  background: #1f2933;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  height: 100%;
}

.card-title {
  display: block;
  background: #ffffff;
  color: #555555;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/*Servicios*/

.servicios-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.servicio-card{
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.servicio-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.servicio-card h3{
  color: #2f6f68;
  font-weight: 800;
  margin-bottom: 10px;
}

.servicio-card p{
  font-size: 1.05rem;
  line-height: 1.5;
}


/*Novedades*/
.nota-taller {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 18px 40px 18px;
}

.hero-taller {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.68), rgba(0,0,0,0.18));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: white;
}

.hero-overlay h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-overlay p {
  font-size: 1.15rem;
  max-width: 850px;
  line-height: 1.6;
  margin: 0;
}

.contenido-nota {
  max-width: 900px;
  margin: 0 auto;
}

.fecha-nota {
  color: #cfcfcf;
  margin-bottom: 18px;
  font-size: 0.98rem;
}


.contenido-nota p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #f2f2f2;
}

.contenido-nota h3 {
  margin-top: 34px;
  margin-bottom: 18px;
  color: #1f4e5f;
}

.galeria-taller {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center;
  gap: 22px;
  max-width: 760px;
  margin: 28px auto 36px auto;
}

.galeria-taller .foto-item {
  flex: 0 0 calc(50% - 11px);
  max-width: calc(50% - 11px);
}

.galeria-taller .foto-item img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  z-index: 1;
}

.galeria-taller .foto-item img:hover {
  transform: scale(1.14);
  box-shadow: 0 18px 36px rgba(0,0,0,0.35);
  z-index: 10;
}

/* Responsive */
@media (max-width: 600px) {
  .hero-img {
    height: 380px;
  }

  .hero-overlay {
    padding: 22px;
  }

  .hero-overlay h1 {
    font-size: 1.6rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .bajada-evento {
    font-size: 1.05rem;
  }
  
  .galeria-taller .foto-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.evento-proximo {
  opacity: 0.6;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Tarjetas informes */
.report-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  margin: 12px 0;
}

.report-card h3{
  margin-top: 0;
}

.report-card a{
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
}


/* Tarjetas equipo */

.equipo-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.team-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  margin: 8px 0;
}

.team-card img{
  border-radius: 12px;
}

/* Opcional: hacer las fotos redondas */
.team-card .avatar{
  border-radius: 999px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/*Contacto*/
.map {
  justify-content: center;   /* centra horizontal */
  align-items: center;       /* centra vertical */
  width: 100%;
}

.map iframe {
  width: 100%;
  max-width: 1100px;  
  border-radius: 8px;
}
