

/*------------------------------------
- COLOR primary
------------------------------------*/
.alert-primary {
    color: #812407;
    background-color: #fcddd3;
    border-color: #fbcec0;
}

.alert-primary hr {
    border-top-color: #f9bba8;
}

.alert-primary .alert-link {
    color: #511604;
}

.badge-primary {
    color: #fff;
    background-color: #e52a08;
}

.badge-primary[href]:hover, .badge-primary[href]:focus {
    color: #fff;
    background-color: #c5370b;
}

.bg-primary {
    background-color: #e52a08 !important;
}

a.bg-primary:hover, a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus {
    background-color: #c5370b !important;
}

.border-primary {
    border-color: #e52a08 !important;
}

.btn-primary {
    color: #fff;
    background-color: #e52a08;
    border-color: #e52a08;
}

.btn-primary:hover {
    color: #fff;
    background-color: #d33b0c;
    border-color: #c5370b;
}

.btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(241, 71, 19, 0.5);
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #e52a08;
    border-color: #e52a08;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #c5370b;
    border-color: #b6330a;
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(241, 71, 19, 0.5);
}

.btn-outline-primary {
    color: #e52a08;
    background-color: transparent;
    border-color: #e52a08;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #e52a08;
    border-color: #e52a08;
}

.btn-outline-primary:focus, .btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(241, 71, 19, 0.5);
}

.btn-outline-primary.disabled, .btn-outline-primary:disabled {
    color: #e52a08;
    background-color: transparent;
}

.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #e52a08;
    border-color: #e52a08;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(241, 71, 19, 0.5);
}

.list-group-item-primary {
    color: #812407;
    background-color: #fbcec0;
}

.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus {
    color: #812407;
    background-color: #f9bba8;
}

.list-group-item-primary.list-group-item-action.active {
    color: #fff;
    background-color: #812407;
    border-color: #812407;
}

.table-primary,
.table-primary > th,
.table-primary > td {
    background-color: #fbcec0;
}

.table-hover .table-primary:hover {
    background-color: #f9bba8;
}

.table-hover .table-primary:hover > td,
.table-hover .table-primary:hover > th {
    background-color: #f9bba8;
}

.text-primary {
    color: #e52a08 !important;
}

a.text-primary:hover, a.text-primary:focus {
    color: #c5370b !important;
}
.btn {
  border-radius: 50px !important; /* Force round buttons */
}

  :root{

    --primary-color: #e52a08; /* Primary color */
 

  }
 *{
     /* outline: red solid 1px !important; */
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    max-width: 100vw;
  }
 html {
  overflow-x: hidden;
  font-size: 16px;
}
.nav-link{
  font-size: 1rem !important;
  font-family: 'Poppins', sans-serif !important;
}
.hero-content {
width: 100%;
  padding: 0 1rem;  /* optional: horizontal breathing room */
}
.row.flex-nowrap {
  align-items: stretch;  /* ensures equal height cards */
}

.blog-card {
  min-height: 400px;     /* or fixed height */
  display: flex;
  
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.img-contain {

  border-radius: 10px;
  width: 100%;
  height: 200px;         /* fixed height for image */
  object-fit: cover;
  display: block;
}



.hero-content h1 {
  color: #FFF;
  font-family: "Poppins", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;             /* 100% of 80px */
  letter-spacing: -4.8px;
  margin-bottom: 1rem;
}
html {
  scroll-behavior: smooth;
}
#presentacion {
  scroll-margin-top: 80px; /* Adjust to your navbar height */
}
#equipo {
  scroll-margin-top: 80px; /* Adjust to your navbar height */
}
#servicios {
  scroll-margin-top: 220px; /* Adjust to your navbar height */
}
#contacto {
  scroll-margin-top: 80px; /* Adjust to your navbar height */
}
#noticias {
  scroll-margin-top: 80px; /* Adjust to your navbar height */
}




.hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Inter Display", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;             /* 100% of 32px */
  
  margin-bottom: 2rem;
}
.btn-lg-text {
  font-size: 1.5rem; /* bigger text */
  font-weight: 600;  /* optional, for a bolder look */
}
.subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2; /* Adjusted for better readability */
  margin-bottom: 1rem;
}
.line{

width: 32px;
height: 5px;
border-radius: 50px;
background: #e52a08;
}
.line-text{

color: #e52a08;
font-family: "Inter Display";
font-size: 1rem; /* 8px */
font-style: normal;
font-weight: 300;


}
.inter{

font-family: 'Inter', sans-serif !important;

}
.poppins{
font-family: 'Poppins', sans-serif !important;
}

.light{

    font-weight: 200 !important;
}

.stats-card h2{
  font-size: 3rem;
  margin-bottom: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
 
}
.stats-card p:nth-child(2){
  margin-bottom: 0 !important;
  font-size: 1.5rem;
  font-weight: 400;
 
}
@keyframes slides {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 30px 0;
  white-space: nowrap;
  position: relative;
}

.logos::before,
.logos::after {
  content: '';
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logos::before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff);
}

.logos::after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
}

.logo_items {
  display: inline-flex;
  animation: slides 10s linear infinite;
}



.logo_items img {
  height: 100px;
  width: auto;
  flex-shrink: 0;
}
.client-testimonials {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.testimonial {
  background-image:  url('/images/landing/testimonial-bg.webp');
  background-size:contain;           /* Ensures image covers the container */
  background-repeat: no-repeat;     /* Prevents tiling */
  background-position: center;      /* Centers the image */
  outline: none;
  border: none;
   min-height: 300px; 
   max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  width: 100%;
  height: 50vh;
  background-color: #efefef;
  border-radius: 1rem;
  
}

@keyframes slides {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.custom-accordion .accordion-button {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid black;
  font-weight: 400;
  font-size: 2rem;
  color: black;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  align-items: center;
}

.custom-accordion .accordion-button:focus {
  box-shadow: none;
}

.testimonial {
  background-image: url('/images/landing/testimonial-bg.webp');
  background-size:contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(248, 249, 250, 0.85);

  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  min-height: 300px;
  color: #333;
  transition: opacity 0.5s ease-in-out;
}

.fade-target {
  transition: opacity 0.5s ease-in-out;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

.arrow-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

/* Remove default accordion borders */
.custom-accordion .accordion-item {
  border: none;
  margin-bottom: 1rem;
}

.custom-accordion .accordion-body {
  padding-left: 1.5rem;
  padding-top: 0.75rem;
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li::before {
  content: "✔";
  color:  var(--primary-color);
  font-weight: bold;
  margin-right: 0.5rem;
}
.leer-mas{

 
  color: black;
  font-size: 1rem;
  text-decoration: none;
  font-style: italic;

}
.blog-card{

max-height: 300px;
}

.blog-card h3 {
  font-size: 1.5rem;

  font-weight: 600;
 
  

}
.blog-card  p{

  font-size: 1rem;
overflow: hidden;
text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* truncate to 3 lines */
  -webkit-box-orient: vertical;
  line-clamp: 3; /* truncate to 3 lines */
  font-weight: 300;
 
  

}

.blog-card {
  cursor: pointer;

  max-width: 100dvw;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Optional: subtle border or background */
  border-radius: 8px;
  /* background-color: #fff; */
}

.blog-card:hover {
  
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  /* Optional: change background color slightly */
  background-color: #f9f9f9; 
}

#noticias {
  display: flex;
  gap: 2rem;
}

/* Default desktop layout: intro and posts side by side */
#intro-noticias {
  flex: 0 0 25%; /* roughly col-md-3 */
}

.posts-scroll-wrapper {
  flex: 1 1 75%;
  overflow-x: visible;
}

/* The row inside posts wrapper: horizontal scroll */
.posts-scroll-wrapper .row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Each card fixed width for horizontal scroll */
.posts-scroll-wrapper .blog-card {
  flex: 0 0 33%;
  scroll-snap-align: start;
}

/* Mobile: stack intro on top and posts scroll horizontally below */
@media (max-width: 768px) {
  #noticias {
    flex-direction: column;
  }
.posts-scroll-wrapper .blog-card {
  flex: 0 0 80%;
  scroll-snap-align: start;
}

  #intro-noticias {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 1rem;
  }

  .posts-scroll-wrapper {
    width: 100%;
  }
}


/* Large tablets / small desktops */
@media (max-width: 1200px) {
  :root {
    font-size: 16px; /* 1rem ≈ 15px */
  }
}

/* Tablets */
@media (max-width: 992px) {
  :root {
    font-size: 16px; /* 1rem = 14px */
  }
}

/* Landscape phones / small tablets */
@media (max-width: 768px) {
  :root {
    font-size: 16px; /* 1rem ≈ 13px */
  }
}

/* Portrait phones */
@media (max-width: 576px) {
  :root {
    
    font-size: 13px; /* 1rem = 12px */
  }
  .nav-bar{
    max-width:  10px !important;
  }
  .hero-content h1 {
  color: #FFF;
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;             /* 100% of 80px */
  letter-spacing: -0.25rem;
  margin-bottom: 1rem;
}




}

footer{
height: 100%;
width: 100%;



}
.bg-dark{

  background-color: #292B22 !important;
}
#img-footer{
  border-bottom: 100px red solid;
}
 .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #3e4038;
    color: white;
    font-size: 1rem;
    text-decoration: none !important; /* Remove underline */
    transition: background-color 0.3s, color 0.3s;
  }

  .icon-circle:hover {
   
    color: #000;
  }

  .text-light{
   color: #a9aaa7 !important;


  }
