@charset "utf-8";
.nosotrosheader
{
	background-color:#f5f2f2;
	background-image:url(../img/siempre_a_tu_lado_logo.png);
	background-position:right center;
	background-repeat:no-repeat;
	background-size:contain;
	padding-top:125px;
	padding-bottom:125px;
	color:#ffffff;
}
.coloradito
{
	margin:100px auto;
	margin-bottom:0px;
	padding-top:32px;
	padding-bottom:32px;
	padding-right:32px;
	padding-left:32px;
	width: fit-content;
	column-gap:40px;
	row-gap: 40px; 
}
.coloradito h4
{
	font-size:32px;
	font-family: "Instrument Sans", sans-serif;
	font-weight: 700;
	line-height:1;
}
.coloradito small {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height:1;
}
@media (min-width: 0px) AND (max-width: 350px)
{
	.coloradito
	{
		padding-right:10px;
		padding-left:10px;
	}
	.coloradito h4
	{
		font-size:28px;
	}
	.coloradito small
	{
	  font-size: 12px;
	}
}
@media (max-width: 768px)
{
  .nosotrosheader
  {
	background-position:center top;
	background-size:contain;
	padding-top:98px;
	padding-bottom:64px;
  }
  .coloradito
  {
	margin:64px auto;
	width:100%;
	column-gap:12px;
   }
}
@media (min-width: 769px) AND (max-width: 991.98px)
{
  .nosotrosheader
  {
	  background-position:center top;
	  background-size:contain;
	  padding-top:105px;
	  padding-bottom:105px;
  }
}
#misionvision h3, #historia h3, #cuidamosdeti h3
{
	font-size: 36px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight:700;
}
.flotantesocultos
{
  visibility: hidden;
  opacity: 0;
  transition: opacity 1.5s ease, visibility 1.5s ease;
}
.flotantesocultos.visible
{
  visibility: visible;
  opacity: 1;
}
.pcuidamos
{
	line-height:19px!important;
}
@media (max-width: 767.8px)
{	
	 #cuidamosdeti h3
	{
		font-size: 23px;
		font-family: 'Instrument Sans', sans-serif;
		font-weight:700;
		line-height:normal;
	}
	.imagencuidamosdeti
	{
		height:auto;
		width:100%;
		margin:0 auto;
	}
}
@media (min-width: 992px)
{
	.imagencuidamosdeti
	{
		max-height:245px;
		width:auto;
		margin:0 auto;
	}
}
@media (min-width: 1200px)
{
	.imagencuidamosdeti
	{
		max-height:250px;
		width:auto;
		margin:0 auto;
	}
	.parrafito
	{
		width:80%;
	}
}
@media (min-width: 1440px)
{
	.imagencuidamosdeti
	{
		max-height:253px;
		width:auto;
		margin:0 auto;
	}
	.parrafito
	{
		width:64%;
	}
}
/**********************/
/* CARROUSEL HISTORIA */
/**********************/
#historia .carousel-container
{
  position: relative;
  width: 100%;
  margin: 0 auto;
}
#historia .carousel-track-container
{
  overflow: hidden;
  position: relative;
}
#historia .carousel-track
{
  display: flex;
  transition: transform 0.5s ease;
  padding: 40px 0;
  list-style:none;
}
#historia .custom-carousel-item
{
  flex: 0 0 70%; /* ocupa 80% siempre para mostrar 20% del siguiente */
  margin: 0 10px;
}
#historia .item-content
{
  background: #ffffff;
  border-radius: 12px;
  /*padding: 20px;*/
  text-align: center;
  min-height: 300px;
}
#historia .item-content img
{
  max-width: 100%;
  border-radius: 8px;
}
/* Opacidad lateral solo en desktop */
@media (max-width: 767.8px)
{
  #historia .carousel-track
  {
	  touch-action: pan-y;
	  cursor: grab;
  }
  #historia .item-content
  {
	  padding-left:20px;
	  padding-right:20px;
	  padding-top:32px;
	  padding-bottom:18px;
  }
  #historia .espaceatitulo
  {
	  padding-bottom:26px;
  }
  #historia .espaceatitulo2
  {
	  padding-bottom:14px;
  }  
}
@media (min-width: 768px)
{
  #historia .item-content
  {
	  padding: 28px 28px;
  }
  #historia .espaceatitulo2
  {
	  padding-bottom:20px;
  }  
}
@media (min-width: 992px)
{
	#historia .carousel-container
    {
	  width: 94%;
    }
	#historia .item-content
	{
	    padding: 28px 50px;
	}
	/* Efecto fade lateral (ya aplicado antes) */
	#historia .carousel-track-container::before,
	#historia .carousel-track-container::after
	{
	  content: "";
	  position: absolute;
	  top: 0;
	  width: 60px;
	  height: 100%;
	  z-index: 3;
	  pointer-events: none;
	}
	#historia .carousel-track-container::before
	{
	  left: 0;
	  background: linear-gradient(to right, #f5f2f2 0%, transparent 100%);
	}
	#historia .carousel-track-container::after
	{
	  right: 0;
	  background: linear-gradient(to left, #f5f2f2 0%, transparent 100%);
	}
	#historia .custom-carousel-item
	{
	  transition: opacity 0.5s ease;
	  opacity: 0.4; /*ítems laterales más apagados */
	  max-width:840px;
	}
	#historia .custom-carousel-item.active
	{
	  opacity: 1; /* ítem activo a full */
	}
}
/* Flechas */
#historia .carousel-arrow
{
  position: absolute;
  top: 40%;
  transform: translateY(-40%);
  border: none;
  cursor: pointer;
  padding: 12px 12px;
  border-radius: 6px;
  display: none;
  z-index: 10;
  transition: all 0.75s ease;
  background: rgba(0, 0, 0, 0.05)!important;
  backdrop-filter: blur(2px);
}
#historia .carousel-arrow-undo
{
  position: absolute;
  top: 40%;
  transform: translateY(-40%);
  border: none;
  cursor: pointer;
  padding: 12px 12px;
  border-radius: 6px;
  display: none;
  z-index: 10;
  transition: all 0.75s ease;
  background: rgba(0, 0, 0, 0.05)!important;
  backdrop-filter: blur(2px);
}
#historia .carousel-arrow.prev { left: 0; opacity:0;}
#historia .carousel-arrow.next,#historia .carousel-arrow-undo.undo { right: 0; }
#historia .carousel-arrow.next { opacity:1; }
#historia .carousel-arrow-undo.undo { opacity:0; }
@media (min-width: 992px)
{
	#historia .carousel-arrow.prev { left: 2%; }
	#historia .carousel-arrow.next { right: 2%; }
	#historia .carousel-arrow-undo.undo { right: 2%; }
	#historia .carousel-arrow, #historia .carousel-arrow-undo
	{
	  position: absolute;
	  top: 50%;
	  transform: translateY(-50%);
	  border: none;
	  cursor: pointer;
	  padding-top:11px;
	  padding-bottom:11px;
	  padding-left:12px;
	  padding-right:12px;
	  border-radius: 6px;
	  display: none;
	  z-index: 10;
	  transition: all 0.75s ease;
	  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	}
}
@media (min-width: 1440px)
{
	#historia .carousel-arrow.prev { left: 5%; }
	#historia .carousel-arrow.next { right: 5%; }
	#historia .carousel-arrow-undo.undo { right: 5%; }
}
@media (min-width: 1640px)
{
	#historia .carousel-arrow.prev { left: 6.5%; }
	#historia .carousel-arrow.next { right: 6.5%; }
	#historia .carousel-arrow-undo.undo { right: 6.5%; }
}
@media (min-width: 1780px)
{
	#historia .carousel-arrow.prev { left: 10%; }
	#historia .carousel-arrow.next { right: 10%; }
	#historia .carousel-arrow-undo.undo { right: 10%; }
}
/* Bullets en mobile */
#historia .carousel-dots
{
  display: flex; /*Siempre visible */
  justify-content: center;
  margin-top: 10px;
}
/* Desktop:items más angostos para ver más peek */
@media (min-width: 768px)
{
  #historia .custom-carousel-item
  { 
  	flex: 0 0 70%; 
	margin-left:38px; margin-right:38px;
  }
  #historia .carousel-arrow { display: block; }
  #historia .carousel-arrow-undo { display: block; }
  #historia .carousel-dots
  {
	  display:none;
  }
  #historia .carousel-arrow:hover, #historia .carousel-arrow-undo:hover
  {
	  background: rgba(0, 0, 0, 0.10)!important;
	  box-shadow: 0 .10rem .10rem rgba(0, 0, 0, .075);
	  border:none;
  }
}
#historia p
{
	font-size: 16px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight:400;
	color:#000000;
	line-height:normal;
}
#historia .textos
{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
@media (max-width: 768px)
{
	#historia p
	{
		font-size: 14px;
	}
    #historia .carousel-arrow, #historia .carousel-arrow-undo
	{
		background-color:transparent!important;
		backdrop-filter: blur(0px);
	    padding: 4px 4px;
	    border-radius: 0px;
	}	
	#historia .carousel-arrow.prev { left: 1.5%; }
	#historia .carousel-arrow.next { right: 1.5%; }
	#historia .carousel-arrow-undo.undo { right: 1.8%; }
	#historia .carousel-arrow img, #historia .carousel-arrow-undo img
	{
	  filter: brightness(0) invert(0.5)!important; /* Negro */
	  width:24px;
	  height:24px;
	}
}
/* Evitar el hover pegado en mobile */
@media (hover: none)
{
  #historia .carousel-dots span:hover
  {
    background: #C2C7C9; /* Ignora hover en dispositivos táctiles */
  }
}
#historia .carousel-dots span {
  display: inline-block;
  background: #C2C7C9;
  width: 8px;
  height: 8px;
  margin: 0 6px 10px 6px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#historia .carousel-dots span.active,
#historia .carousel-dots span:hover {
  background: #E31837;
}
/*Anula cualquier color que venga de :focus */
#historia .carousel-dots span:focus,
#historia .carousel-dots span:focus-visible {
  outline: none;
}
/* ******** */
/* NOTICIAS */
/* ******** */
#carouselNoticiasMobile .card .card-title, #carouselNoticias .card .card-title
{
	font-size: 16px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight:700;
	line-height:normal;
	color:#000000;
}
#carouselNoticiasMobile .card .card-date, #carouselNoticias .card .card-date
{
	font-size: 14px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight:400;
	line-height:normal;
	color:#ABABAB;
	padding-top:0px;
}
#carouselNoticiasMobile .card .card-text, #carouselNoticias .card .card-text
{
	font-size: 14px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight:400;
	line-height:normal;
	color:#000000;
}
#carouselNoticias .card .card-text
{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;/* Soporte para Chrome, Safari, Edge */
  -webkit-line-clamp: 3;/* numero de lineas a mostrar */
  -webkit-box-orient: vertical;/* Orientacion vertical */
  line-height: 18px;
  max-height: calc(18px * 3); 
}
#carouselNoticiasMobile .card 
{
	background-color:#f5f2f2!important;
	border-color:transparent;
	border-radius:12px!important;
}
#carouselNoticiasMobile .card .card-img-top
{

    border-top-left-radius:12px!important;
	border-top-right-radius:12px!important;
}
#carouselNoticias .card 
{
	background-color:#ffffff!important;
	border-color:transparent;
	padding-bottom:2px;
}
#carouselNoticias .card .card-body
{
	padding-left:0px;
	padding-right:0px;
}
/* ---------------------------
   Mobile
---------------------------- */
/* Wrapper para ocultar permanentemente la barra */
.scroll-wrapper-mobile {
  overflow: hidden;
  position: relative; /* asegura que el track no se desborde visualmente */
}
.scroll-wrapper-mobile .news-track-mobile
{
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 0.75rem;
  /* Ocultar scrollbars */
  -ms-overflow-style: none;  /* IE y Edge */
  scrollbar-width: none;     /* Firefox */
}
.scroll-wrapper-mobile .news-track-mobile::-webkit-scrollbar
{
  display: none;             /* Chrome y Safari */
}
/* Mantener scroll funcional horizontal y evitar flash en scroll vertical */
.scroll-wrapper-mobile .news-track-mobile
{
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;  /* permite scroll vertical y horizontal */
  scroll-behavior: smooth;
}
.scroll-wrapper-mobile .card
{
  flex: 0 0 80%;
  max-width: 80%;
}
#carouselNoticias h4
{
	font-size: 16px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight:600;
	line-height:normal;
	color:#000000;
}
@media (max-width: 767.8px)
{
	#carouselNoticiasMobile .card:last-child
	{
  		margin-right: 24px!important; /* asegura que el último siempre tenga este margen */
	}
}
/* ---------------------------
   Desktop scroll libre
---------------------------- */
/* ===== Carrusel Noticias ===== */
#carouselNoticias {
  --gap: 24px;               /* separación entre cards */
  --visible: 2;              /* valor por defecto (md) */
}
#carouselNoticias .overflow-hidden { overflow: hidden; }
#carouselNoticias .news-track {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--gap);
  will-change: transform;
  transition: transform .4s ease;
}
/* Anular márgenes del HTML (mx-4) para usar gap del contenedor */
#carouselNoticias .news-track .card {
  margin: 0 !important;
  /* Cada card ocupa 1/N del ancho, descontando gaps */
  flex: 0 0 calc((100% - (var(--visible) - 1) * var(--gap)) / var(--visible));
}
/* Tip: limitar altura de textos si querés uniformar cards */
#carouselNoticias .card-title { margin-bottom: .35rem; }
#carouselNoticias .card-text  { margin-bottom: .5rem; }
/* Botones */
#carouselNoticias .carousel-btn
{
  border: 0;
  background: rgba(0,0,0,0.0);
  padding: 6px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  opacity:0.5;
}
#carouselNoticias .carousel-btn:hover
{
  opacity:1;
}
#carouselNoticias .carousel-btn:disabled,
#carouselNoticias .carousel-btn.d-none {
  pointer-events: none;
}
/* Breakpoints: cantidad visible */
@media (min-width: 768px)   { #carouselNoticias { --visible: 2; } }  /* md */
@media (min-width: 992px)   { #carouselNoticias { --visible: 3; } }  /* lg */
@media (min-width: 1200px)  { #carouselNoticias { --visible: 4; } }  /* xl+ */
/* ---------------------------
   Flechas desktop
---------------------------- */
#carouselNoticias .carousel-btn {
  z-index: 10;
  transition: opacity 0.3s ease;
  background-color:transparent;
  border:none;
}
/* ---------------------------
   CARTA
---------------------------- */
#carta .row
{
	width:100%;
	min-height:480px;
}
#carta
{
	background-image:url(../img/nosotros_carta_desktop.jpg);
	background-repeat:no-repeat;
	background-position:bottom left;
	background-size:cover;
}
#carta h1
{
	font-size: 36px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight:700;
	line-height:normal;
}
#carta p
{
	font-size: 16px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight:400;
	line-height:normal;
	width:70%;
}
#carta a
{
	text-transform:uppercase;
}
#carta .btn-danger 
{
  background-color: #000000;
  border: 2px solid transparent;
  color: #fff;
  transition: all 0.75s ease;
  border-radius:10px;
}
#carta .btn-danger:hover
{
  background-color: #e31837!important;
  border-color: #e31837!important;
  color: #ffffff;
  box-shadow: 8px 8px 20px 0 rgba(0, 0, 0, 0.45)!important;	 
}
@media (max-width: 767.8px)
{
  #carta .row
  {
	 width:100%;
	 min-height:560px;
  }
  #carta
  {
	background-image:url(../img/nosotros_carta_mobile.jpg);
	background-position:top right;
  }
  #carta p
  {
	width:70%;
  }
}
@media (min-width: 1200px)
{
	.espaciadocartadirectordesktop
	{
		margin-left:173px!important;
	}
	#carta p
    {
	  width:85%;
    }
}
/* ---------------------------
   INFORMADO
---------------------------- */
#informado
{
	background-color:#f5f2f2;
}
#informado h1
{
	font-size: 36px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight:700;
	line-height:normal;
	color:#000000;
}
#informado h3
{
	font-size: 24px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight:600;
	line-height:normal;
	color:#000000;
}
#informado .btn-danger 
{
  background-color: #F5F2F2;
  border: 2px solid transparent;
  color: #535353;
  transition: all 0.75s ease;
  border-radius:10px;  
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.25), -3px -3px 4px 0 rgba(255, 255, 255, 1)!important;	 
}
#informado .btn-danger:hover
{
   box-shadow: 8px 8px 20px 0 rgba(0, 0, 0, 0.25), -6px -6px 4px 0 rgba(255, 255, 255, 0)!important;	 
}
@media (min-width: 1200px)
{
  #informado p
  {
	width:86%;
  }
}
@media (min-width: 1440px)
{
  #informado .maximoDesktop
  {
	width:1084px;
  }
  #informado p
  {
	width:100%;
  }
}
