/**
* Template Name: SalusUY
* Author: intersys.uy
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;700;900&display=swap');

:root {
  --default-font: 'Montserrat', sans-serif;
}

:root {
  --default-color: #212529;
  /* Default color used for the majority of the text content across the entire website */
  --default-accent-color: #3FAE2A;
  --default-contrast-color: #fff;
  --background-color: #fff;
  /* Background color for the entire website */
  --background-accent-color: #131F6B;
  --titles-color: #131F6B;
  --subtitles-color: #212529;

  --nav-background-color: #212529;
  /* The default color of the main navmenu links */
  --nav-color: #fff;
  --nav-background-color-active: #fff;
  /* Main navmenu links when they are hovered over or active */
  --nav-color-active: #131F6B;
  --nav-color-active-hover: #00B3E3;

  --btn-color: #131F6B;
  --btn-accent-color: #00B3E3;
  --btn-contrast-color: #fff;

  --background-color-footer: #3FAE2A;
  --color-footer: #fff;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font) !important;
  font-weight: 300;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: var(--nav-color-active-hover);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: var(--default-font);
}

.text-justify {
  text-align: justify !important;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--btn-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--btn-contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--btn-accent-color), transparent 20%);
  color: var(--btn-contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/* Ventana flotante compacta */
#scroll-panel {
  position: fixed;
  bottom: 20px;
  right: 70px;
  z-index: 99999;
  background-color: var(--background-color);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  display: inline-block;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  min-width: max-content;
  white-space: nowrap;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Animación slide-in */
#scroll-panel.show {
  transform: translateX(0);
  opacity: 1;
}

/* Texto arriba del botón */
.scroll-panel-text {
  font-size: 12px;
  margin-bottom: 8px;
  color: #000;
}

#scroll-panel .btn-get-started {
  font-size: 14px;
  font-weight: bold;
  color: var(--btn-contrast-color);
  background-color: var(--btn-color);
  padding: 6px 18px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
}

/* Hover: fondo azul y texto blanco */
#scroll-panel .btn-get-started:hover,
#scroll-panel .btn-get-started:focus,
#scroll-panel .btn-get-started:active {
  background-color: var(--btn-accent-color);
  color: var(--btn-contrast-color);
  outline: none;
  box-shadow: none;
}



/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;

}

/* Header wrapper */
.site-header-home {
  background: color-mix(in srgb, var(--nav-background-color), transparent 60%);
}

.site-header:hover {
  background: var(--nav-background-color-active);
}

.site-header:hover .logo img:first-child {
  opacity: 0;
}

.site-header:hover .hover-img {
  opacity: 1;
}

.header-logo .hover-img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header-logo .logo img:first-child {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Header subpages */
.site-header-subpages {
  background: var(--nav-background-color-active);
}

.site-header-subpages {
  background: var(--nav-background-color-active);
}

.site-header-subpages .logo img:first-child {
  opacity: 0;
}

.site-header-subpages .hover-img {
  opacity: 1;
}

/*--------------------------------------------------------------
# Hero 
--------------------------------------------------------------*/
.hero-interna {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  z-index: 1;
  margin-top: 0px;
  /* = altura del header */
}

.hero-interna-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/*--------------------------------------------------------------
# Section 
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 50px 150px;
  overflow: clip;
  font-size: 18px;
}

.section strong {
  font-weight: 500;
}

.section li {
  font-weight: 300;
  line-height: 1.8;
  position: relative;
  padding-left: 40px;
}

.section li::before {
  content: "\f26a";
  /* Unicode del ícono bi-check-circle */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.2rem;
  color: var(--default-accent-color);
}

.section-title h1 {
  font-size: 32px;
  font-weight: 500;
  color: var(--titles-color);
  position: relative;
  text-align: center;
}

.section-title h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--subtitles-color);
  position: relative;
  text-align: center;
}

.section h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--titles-color);
  margin: 30px 0px;
}

.section h4 {
  font-size: 20px;
  font-weight: 500;
  color: var(--titles-color);
  margin: 30px 0px;
}


.section p {
  font-weight: 300;
}

.section .btn-get-started {
  background-color: var(--btn-color);
  color: var(--btn-contrast-color);
  font-family: var(--default-font);
  font-size: 20px;
  padding: 8px 30px 10px 30px;
  border-radius: 4px;
}

.section .btn-get-started:hover,
.section .btn-get-started:active,
.section .btn-get-started:focus {
  background-color: color-mix(in srgb, var(--btn-accent-color), transparent 10%);
  color: var(--btn-contrast-color);
  outline: none;
  /* opcional, quita el borde del focus */
  box-shadow: none;
  /* opcional, elimina brillo azul en algunos navegadores */
}

.section-with-image {
  background-color: color-mix(in srgb, var(--default-accent-color), transparent 80%);
}

.section-with-image h2 {
  font-size: 42px;
  font-weight: 500;
  color: var(--titles-color);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details {
  width: 100%;
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
  display: block;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.portfolio-details-slider:before {
  content: "";
  background: var(--background-color);
  position: absolute;
  inset: 0;
  z-index: 2;
}

/*--------------------------------------------------------------
# Carousel
--------------------------------------------------------------*/
/* Contenedor de los indicadores */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  /* asegura que el contenedor ocupe todo el ancho del padre */
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

/* Botones de los indicadores */
.carousel-indicators button {
  flex: 0 0 auto;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.6);
  border: none;
  margin: 0;
  padding: 0;
  opacity: 0.6;
  transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.15s ease;
}

.carousel-indicators button:hover {
  background-color: var(--nav-color-active-hover) !important;
}

.carousel-indicators button.active:hover {
  background-color: var(--nav-color-active-hover) !important;
}

/* Estado activo */
.carousel-indicators button.active {
  background-color: var(--nav-color) !important;
  opacity: 1;
  transform: scale(1.2);
}

/* Quitar salto al hacer clic / foco */
.carousel-indicators button:focus {
  outline: none;
  box-shadow: none;
}

/*--------------------------------------------------------------
# Product Section
--------------------------------------------------------------*/
.product .item {
  position: relative;
}

.product .item .item-img {
  margin: 0 20px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 4px solid var(--background-color);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.2);
}

.product .item .item-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

.product .item .item-img .social {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-bottom: 20px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.product .item .item-img .social a {
  transition: 0.3s;
  color: var(--btn-contrast-color);
  font-size: 30px;
  margin: 0 8px;
}

.product .item .item-img .social a:hover {
  color: color-mix(in srgb, var(--btn-contrast-color), transparent 40%);
}

.product .item .item-info {
  margin-top: 30px;
}

.product .item .item-info h4 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 18px;
}

.product .item .item-info span {
  font-style: italic;
  display: block;
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.product .item .item-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.product .item:hover .item-img .social {
  padding-bottom: 0;
  visibility: visible;
  opacity: 1;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.2);
}


/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-accent-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action .cta-btn {
  font-family: var(--deafult-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--default-accent-color);
  color: var(--default-accent-colorr);
}

.call-to-action .cta-btn:hover {
  background: var(--default-accent-color);
  border: 2px solid var(--accent-color);
}

.call-to-action .icon-box {
  background-color: var(--background-color);
  padding: 20px 5px;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease-out 0s;
}

.call-to-action .icon-box i {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
  line-height: 0;
  transition: all 0.4s ease-out 0s;
  background-color: color-mix(in srgb, var(--default-accent-color), transparent 80%);
  color: var(--default-accent-color);
}

.call-to-action h2 {
  margin-bottom: 10px;
  font-size: 34px;
  font-weight: 500;
  color: var(--default-contrast-color);
}

.call-to-action h3 {
  font-size: 14px;
  font-weight: 300;
  color: var(--default-contrast-color);
  margin-top: 0;
}

.call-to-action .icon-box h3 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--default-accent-color);
}

.call-to-action p {
  color: var(--default-contrast-color);
  font-family: var(--default-font);
}

.call-to-action .icon-box p {
  margin-bottom: 0;
}

.call-to-action .icon-box:hover i {
  background-color: color-mix(in srgb, var(--default-accent-color), transparent 0%);
  color: var(--default-contrast-color);
}

.call-to-action .icon-boxes .col-md-6:nth-child(2) .icon-box,
.call-to-action .icon-boxes .col-md-6:nth-child(4) .icon-box {
  margin-top: -40px;
}

.call-to-action-number {
  font-size: 100px;
  font-weight: 500 !important;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-item {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.features .features-item+.features-item {
  margin-top: 50px;
}

.features .features-item h3 {
  font-weight: 700;
  font-size: 26px;
}

/*--------------------------------------------------------------
# Accordion
--------------------------------------------------------------*/
/* Header */
.marcas-accordion .accordion-button {
  background-color: #fff;
  color: var(--background-accent-color);
  font-weight: 400;
  font-size: 1rem;
  border: none;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  padding: 1.25rem 1.5rem;
}

.marcas-accordion .accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.marcas-accordion .accordion-button:not(.collapsed) {
  background-color: #fff;
  box-shadow: none;
}

.marcas-accordion .accordion-button::after {
  transition: transform 0.3s ease;
}

.marcas-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.marcas-accordion .accordion-body {
  padding: 1.25rem 1.5rem;
  background-color: #fff;
}

/* Flecha del accordion en blanco */
.marcas-accordion .accordion-button::after {
  filter: invert(1);
}

/* Ingredientes Accordion  */
#IngredientesAccordion .accordion-button {
  background-color: var(--background-accent-color);
  color: var(--default-contrast-color);
  /*background-color: #fff;
  color: #666666;*/
  font-weight: 400;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 0;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}

#IngredientesAccordion .accordion-button:focus {
  box-shadow: none;
  outline: none;
}

#IngredientesAccordion .accordion-button:not(.collapsed) {
  /*background-color: #fff;
  color: #666666;*/
  background-color: var(--background-accent-color);
  color: var(--default-contrast-color);
  box-shadow: none;
}

#IngredientesAccordion .accordion-button::after {
  transition: transform 0.3s ease;
  filter: invert(1);
}

#IngredientesAccordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

#IngredientesAccordion .accordion-body {
  padding: 1.25rem 1.5rem;
  background-color: #fff;
  color: #666666;
}


/*--------------------------------------------------------------
# Tablas generales y accordions
--------------------------------------------------------------*/

/* Fuente y peso general para todas las tablas */
table,
table th,
table td {
  font-family: var(--default-font) !important;
  font-weight: 300 !important;
}

/* Contenedor de tablas con scroll si es necesario */
.table_component,
.marcas-accordion .table-responsive {
  overflow: auto;
  width: 100%;
}

/* Tablas principales */
.table_component table {
  border: 1px solid #dededf;
  width: 100%;
  border-collapse: separate;
  /* para bordes redondeados */
  border-spacing: 0;
  text-align: left;
  border-radius: 10px;
  /* bordes redondeados */
  overflow: hidden;
  /* recorta bordes de las celdas */
}

.table_component caption {
  caption-side: top;
  text-align: left;
}

/* Encabezado principal */
.table_component th {
  border: 1px solid #dededf;
  background-color: var(--background-accent-color);
  /* azul */
  color: var(--default-contrast-color);
  /* blanco */
  padding: 5px;
  font-weight: 500;
  text-align: center;
}

/* Celdas */
.table_component td {
  border: 1px solid #dededf;
  background-color: #ffffff;
  color: #000000;
  padding: 5px;
}

/* Hover funcional filas del cuerpo */
.table_component tbody tr:hover td {
  background-color: rgba(19, 31, 107, 0.1);
  /* azul clarito */
  transition: background-color 0.3s ease;
}

/*--------------------------------------------------------------
# Accordions (marcas-accordion)
--------------------------------------------------------------*/

/* Encabezado del accordion azul con texto blanco */
.marcas-accordion .accordion-button {
  background-color: var(--background-accent-color);
  color: var(--default-contrast-color);
  font-weight: 500;
}

/* Mantener colores al abrir */
.marcas-accordion .accordion-button:not(.collapsed) {
  background-color: var(--background-accent-color);
  color: var(--default-contrast-color);
}

/* Tablas dentro de accordion */
.marcas-accordion table {
  width: 100%;
  border-collapse: separate;
  /* para bordes redondeados */
  border-spacing: 0;
  border-radius: 6px;
  /* bordes redondeados */
  overflow: hidden;
}

/* Celdas de tablas dentro de accordion */
.marcas-accordion th,
.marcas-accordion td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  background-color: #ffffff;
  color: #000;
}

/* Hover para filas del tbody dentro de accordion */
.marcas-accordion tbody tr:hover td {
  background-color: rgba(19, 31, 107, 0.1);
  /* azul clarito */
  transition: background-color 0.3s ease;
}

/* Opcional: encabezado de tabla dentro de accordion */
.marcas-accordion th {
  font-weight: 500;
  background-color: #f0f0f0;
  /* gris claro */
  color: #000;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--color-footer);
  background-color: var(--background-color-footer);
  font-family: var(--default-font);
  font-size: 14px;
  font-weight: 300;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 40px;
}

.footer .footer-about .logo {
  margin-bottom: 25px;
  text-decoration: none;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--color-footer);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 1px;
  font-family: var(--default-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--default-font);
  font-weight: 400;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--color-footer), transparent 50%);
  font-size: 16px;
  margin-right: 10px;
  transition: 0.3s;
  color: var(--color-footer);
}

.footer .social-links a:hover {
  color: color-mix(in srgb, var(--color-footer), transparent 50%);
  border-color: var(--color-footer);
}

.footer h4 {
  font-size: 16px;
  font-family: var(--default-font);
  font-weight: 500;
  position: relative;
  padding: 20px 0;
  color: color-mix(in srgb, var(--color-footer), transparent 0%);

}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  line-height: 1;
  color: var(--color-footer);
  text-decoration: none;
}

.footer .footer-links ul a:hover {
  color: color-mix(in srgb, var(--color-footer), transparent 50%);
}

.footer .footer-contact p a {
  margin-bottom: 5px;
  color: var(--color-footer);
  text-decoration: none;
}

/*--------------------------------------------------------------
# Media query
--------------------------------------------------------------*/
/* Media query ≤976px */
@media screen and (max-width: 976px) {

  /* hero interna*/
  .hero-interna {
    height: 250px;
    margin-top: 0px;
  }


  .hero-interna-img {
    width: 100%;
    height: auto;
    display: block;
  }

/* section */
#explora {
margin-top: 30px;
}

.section-title h1 {
  font-size: 24px;
}

.section {
  padding: 10px 2px;
}

.section h2 h3 {
  font-size: 18px;
}
.section-with-image {
  padding: 15px 20px;
}

.section-with-image h2 {
  font-size: 30px;
  margin-top: 20px;
}

.section table {
  font-family: var(--default-font) !important;
  font-weight: 300;
}

/* product-details */
.product .item .item-img {
  margin: 0 20px;
}

/* call-to-action*/
.call-to-action h2 {
  font-size: 24px;
  margin-top: 30px;
}

.call-to-action-number {
  font-size: 40px;
}

.icon-box {
  margin: 2px 30px;
}

/* footer*/
.footer .footer-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer .footer-about .logo {
  justify-content: center;
}

.footer .footer-about .social-links {
  justify-content: center;
}

.footer .footer-links {
  text-align: center;
}
}

/* Media query ≤480px */
@media screen and (max-width: 480px) {

  /* hero interna*/
  .hero-interna {
    height: 150px;
    margin-top: 0px;
  }
}

.hero-interna-img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 1440px) {
  .section h3 {
    font-size: 22px;
  }
}