:root {
  /* Paleta de colores primarios */
  --color-primary-900: #35545E;
  --color-primary-500: #009ca1;
  --color-primary-300: #65c3CC; 
  --color-primary-100: #dbf1f2;
  --color-primary-50: #effefd;
  --color-primary-25: #E2F5F6;
  --color-gray: #646464;
  --color-acent:#E75B4E;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6  {
    margin-top: 0;
    margin-bottom: .2rem;
    
}

 [data-scroll-container] {
      overflow: hidden;
    }
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
  color: var(--color-primary-900);
  background: radial-gradient(circle at 20% 30%, #f5fbfb 0%, #ffffff 80%),
              radial-gradient(circle at 80% 50%, #f5fbfb 0%, #ffffff 80%),
              radial-gradient(circle at 50% 80%, #f5fbfb 0%, #ffffff 80%);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;

}

h1 { font-family: 'Nunito', sans-serif; font-weight: 900;font-size: 72px; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);}
h2 { font-family: 'Nunito', sans-serif; color: var(--color-primary-900); font-weight: 800;font-size:40px ; letter-spacing: 0px; }
h3 { font-family: 'Nunito', sans-serif;}
h4 { font-family: 'Nunito', sans-serif; color: var(--color-primary-500); font-weight: 500;font-size:14px;text-transform: uppercase; letter-spacing: 2px; padding-top: 2rem;}
h5 { font-family: 'Nunito', sans-serif;color: var(--color-primary-900); font-weight: 800;font-size:18px ;}
h6 { font-family: 'Nunito', sans-serif;color: var(--color-primary-900); font-weight: 800;font-size:14px ; text-align: left;}
p { font-family: 'Nunito', sans-serif; color: var(--color-gray); font-size: 14px;}
.gradient { background: linear-gradient(90deg, #65C3CC, #CAEEF2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* Para navegadores modernos */
  color: transparent;     /* Fallback */
}
.color-acent  { color: var(--color-primary-900)!important;
}

.btn-primary {
  background-color: var(--color-primary-900);
  color: white;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.color-primary  {color: var(--color-primary-500);}
.color-transp  {color:transparent!important;}

.nav-link{color: var(--color-primary-900);}
.nav-link:hover {color: var(--color-primary-500);}

.primary-900,
.primary-900:focus
.primary-900:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active
{color: #fff; background-color:var(--color-primary-900);}
.primary-900-outline,
.primary-900-outline:focus,
.primary-900-outline:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active
{color:var(--color-primary-900); background-color:white; border:1px solid var(--color-primary-900);}
.primary-500,
.primary-500:focus,
.primary-500:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active
{color: #fff; background-color:var(--color-primary-500);}


.primary-900:hover {
  background-color: var(--color-primary-500);
}
.primary-500:hover {
  background-color: var(--color-primary-900);
}
.primary-900-outline:hover {
  background-color:#EEF2F2;border-color:var(--color-primary-900);color:var(--color-primary-900);
}
.primary-900,
.primary-500,
.primary-900-outline {
  transition: background-color 0.3s linear 0s;
transition-duration: 0.3s;
    transition-timing-function: linear;
    transition-delay: 0s;
}

#navb{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    background: transparent !important;
     font-family: 'Nunito', sans-serif;
}

#navb.scrolled {
  background-color: white!important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    width: 160px;
    transition-duration: 0.5s;
    transition-timing-function: linear;
    transition-delay: 0s;
        z-index: 99999;

}
#navb.scrolled .navbar-brand  {
    width: 120px;
}

section {padding-top:60px; padding-bottom:96px;}


#head {width: 100vw;      /* 100% del ancho del viewport */
  height: 100vh;     /* 100% del alto del viewport */
  display: flex;     /* Opcional, para alinear contenido */
  align-items: center;
  justify-content: center;
  padding: 2rem;     /* Espaciado interno opcional */
  box-sizing: border-box;
  background-image: url(assets/img/bg.png);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    text-align: center;
   position: relative;
  }


.header-overlay {
 position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    padding-top: 15vh;
}


.img-slider {
height: 70vh;
    margin-top: 12vh;}

.gapul {gap: 1.5rem;}

.card {
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  /*max-width: 320px;*/
  text-align: center;
  font-family: 'Nunito', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
  border: 1px solid #d8d8d873;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.card-services {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    /* max-width: 320px; */
    font-family: 'Nunito', sans-serif;
    display: grid;
    text-align: left;
    gap: 24px;
    border: 1px solid #d8d8d873;
    justify-items: start;
    align-content: baseline;
}
.card-profesional {
      display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    font-family: 'Nunito', sans-serif;
    gap: 4px;
    text-align: center;
    border: 1px solid #d8d8d873;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--color-primary-900);
    background-color: var(--color-primary-25);
    width: 64px;
    height: 64px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
     flex-shrink: 0;
}

.btn {
    display: inline-flex
;
    align-items: center;
    gap: 0.5rem;
}
.icon {
  width: 20px;
  height: 20px;
}
.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #35545E;
  margin: 0;
}

.card-body {
   font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  margin: 0;
  padding: 0;
  gap: 20px;
  display: flex;
  flex-wrap: wrap;             /* Permite que los botones pasen a otra línea */
  justify-content: left; 


  /*font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  margin: 0;
  padding: 0;
  gap: 20px;
    display: flex*/
;
}

.card-feature {
  font-size: 0.875rem;
  color: #009ca1;
  background-color: #effefd;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}

.card-img-top {
    width: 130px;
    margin: 0 auto;
}




p.card-text {color:var(--color-primary-500);}


.card-contact {
    display: flex; align-items: flex-start;   gap: 1rem;
}


#prefooter {
   background: url(assets/img/bg-footer.png); background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
        padding-top: 160px!important;
    padding-bottom: 40px!important;
}
footer {
   background-color:var(--color-primary-900);color:var(--color-primary-500);font-size: 14px;
}
.footerlist  { 
    font-family: 'Nunito', sans-serif;
    color: var(--color-primary-900);
    font-size: 13px;
    list-style: none;
    text-align: left;
    padding: 0;
  }
.footerlist li {
    line-height: 24px;
}
.row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.footerlist li a { 
    color: var(--color-primary-900);
    text-decoration:none;
   
  }
  .footerlist li a:hover {
    color: var(--color-primary-50);
   
  }


@media (min-width: 576px) and (max-width: 1024px){

 h1 {font-size: calc(2.2rem + 1.5vw);}
  h2 {font-size: 32px;}
  h6 {font-size: 16px;}
  p, .card-body {font-size: 16px;}
  .img-slider {
height: 60vh;
    margin-top: 22vh;}
}

@media (max-width: 991.98px) {
  .img-slider {
height: 60vh;
    margin-top: 22vh;}

   .navbar-collapse {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    background-color: white;
    width: 100vw;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
  }

  .navbar-collapse.show {
    max-height: 100vh;
    height: 100vh;
    opacity: 1;
    visibility: visible;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  .navbar-toggler {
    z-index: 1000;
  }

  .gapul {
    text-align: center;
    gap: 1.5rem;
    margin-right: auto !important;
    font-size: 1.25rem;
    margin-top: 10rem;
  }
}
@media (max-width: 575.98px) {
  .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 1);
    padding-left: calc(var(--bs-gutter-x) * 1);
    margin-right: auto;
    margin-left: auto;
}
.col-custom {
  width: 50%;
  flex: 0 0 50%;
  padding: 0.5rem;
  box-sizing: border-box;
}
.col-custom-t {
  width: 33%;
  flex: 0 0 33%;
  padding: 0.5rem;
  box-sizing: border-box;
}

.card-profesional {

    padding: 1rem;
}
}
   @media (min-width: 481px ) {
 .m-block{  display:none!important;  }
 .m-hide{  display:block!important; }
  }
 @media (max-width: 480px ) {
  h1 {font-size: calc(2.2rem + 1.5vw);}
  h2 {font-size: 32px;}
  h6 {font-size: 16px;}
  p, .card-body {font-size: 16px;}
  section {padding-top: 60px;padding-bottom: 0;}
 .m-block{  display:block!important;  }
 .m-hide{  display:none!important;  }
  }   
