/* ===== VARIABLES CSS ===== */
:root {
  --green: #B3262E;
  --green-10: #F9E6E7;
  --green-50: #FDEFF0;
  --green-100: #F4D3D5;
  --green-200: #E9A8AD;
  --green-300: #DD7D84;
  --green-400: #D2535B;
  --green-500: #C63841;
  --green-600: #B3262E;
  --green-700: #991F26;
  --green-800: #7F191F;
  --green-900: #661316;
  --green-950: #3D0A0C;
  --black-50: #666;
  --black-55: #444;
  --black-100: #1f1f1f;
  --black-150: #333;
  --white-50: #fff;
  --white-100: #ddd;
  --font-primary: 'Poppins', sans-serif;
  --texto-xs: 12px;
  --texto-s: 14px;
  --texto-m: 16px;
  --texto-l: 18px;
  --texto-xl: 20px;
  --texto-xxl: 22px;
  --texto-xxxl: 24px;
  --texto-xxxxl: 36px;
  --texto-nav: 20px;
  --texto-zoom: 40px;
  --texto-32: 32px;
  --texto-30: 30px;
  --texto-26: 26px;
  --texto-28: 28px;
}

/* ===== FUENTES ===== */
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box !important;
}
html {
  scroll-behavior: smooth;
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
}
body {
  margin: 0;
  text-align: left;
  background-color: var(--white-50);
  color: var(--black-50);
  font-size: var(--texto-m);
  font-family: var(--font-primary);
  line-height: 1.80857;
  font-weight: normal;
}
a {
  color: var(--black-100);
  text-decoration: none !important;
  outline: none !important;
  transition: all .3s ease-in-out;
}
h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0;
  font-weight: normal;
  position: relative;
  padding: 0 0 10px 0;
  line-height: normal;
  color: var(--black-100);
  margin: 0;
}
h1 { font-size: var(--texto-xxl); }
h2 { font-size: var(--texto-xxl); }
h3 { font-size: var(--texto-l); }
h4 { font-size: var(--texto-m); }
h5 { font-size: var(--texto-s); }
h6 { font-size: var(--texto-xs); }
ul, li, ol {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-primary);
}
p {
  margin: 0;
  font-weight: 500;
  font-size: var(--texto-m);
  line-height: 24px;
}
img {
  max-width: 100%;
  height: auto;
}
button {
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
:focus { outline: 0; }

/* ===== GRID SYSTEM ===== */
.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1500px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
[class*="col-"] {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col { flex-basis: 0; flex-grow: 1; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* ===== UTILITIES ===== */
.full { float: left; width: 100%; margin: 0; padding: 0; }
.img-fluid { max-width: 100%; height: auto; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.text-center { text-align: center !important; }
.position-relative { position: relative !important; }
.justify-content-center { justify-content: center !important; }
.align-items-center { align-items: center !important; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important; }
.rounded { border-radius: .25rem !important; }
.bg-white { background-color: var(--white-50) !important; }
.m-0 { margin: 0 !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* ===== NAVBAR ===== */
.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 1rem;
}
.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.navbar-nav .nav-link {
  padding-right: 0;
  padding-left: 0;
}
.navbar-collapse {
  max-width: 100%;
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}
.navbar-toggler {
  padding: .25rem .75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: .25rem;
  cursor: pointer;
}
.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background: no-repeat center center;
  background-size: 100% 100%;
}
.navbar-dark .navbar-toggler-icon {
  background-image: url("images/menu_icon.png");
  width: 28px;
  height: 28px;
  background-size: contain;
  background-repeat: no-repeat;
}
.collapse:not(.show) { display: none; }

/* ===== HEADER ===== */
.header {
  width: 100%;
  padding: 35px 0 10px;
  background: var(--white-50);
}
.header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  text-align: center;
}
.logo img {
  height: auto;
  max-height: 120px;
  width: auto;
}
.logo_section {
  flex: 0 0 auto;
}
.navigation.navbar {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
  font-family: var(--font-primary);
  padding-top: 30px !important;
}
.navigation.navbar-dark .navbar-nav .nav-link {
  padding: 0;
  margin: 0 18px;
  color: var(--black-100);
  font-size: var(--texto-l);
  line-height: 20px;
  font-weight: 500;
  text-transform: uppercase;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}
.navigation.navbar-dark .navbar-nav .nav-link:hover,
.navigation.navbar-dark .navbar-nav .active > .nav-link,
.navigation.navbar-dark .navbar-nav .nav-link.active {
  color: var(--green-800);
}
.in_page .header {
  border-bottom: 2px solid var(--green-700);
}

/* ===== MEGA MENU ===== */
.nav-item.megamenu {
  position: relative;
}
.mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white-50) !important;
  padding: 30px 50px;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: max-content;
  max-width: 100vw;
  overflow-x: auto;
  box-sizing: border-box;
}
.nav-item.megamenu:hover .mega-dropdown {
  display: block;
}
.mega-row {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  flex-wrap: nowrap;
}
.mega-col {
  flex: 1;
  min-width: 200px;
  color: var(--green-600);
}
.mega-col .dropdown-header {
  color: var(--green-800);
  font-size: var(--texto-m);
  border-bottom: 2px solid #F4D3D5;
  margin-bottom: 10px;
  padding-bottom: 5px;
}
.mega-col .dropdown-item {
  color: var(--black-150) !important;
  padding: 6px 0;
  font-size: var(--texto-s);
  display: block;
}
.mega-col .dropdown-item:hover {
  background-color: #B3262E !important;
  color: var(--black-150) !important;
  border-radius: 4px;
}
.lista-puntos {
  list-style: disc;
  padding-left: 40px;
  font-size: var(--texto-s);
}
.lista-puntos li {
  list-style: disc !important;
}

/* ===== BANDA SELLO ===== */
.banda-sello {
  position: absolute;
  top: 30px;
  left: 10px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  z-index: 900;
  transition: all 0.3s ease;
}
.sello-mini {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #B3262E, #7F191F);
  color: var(--white-50);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  line-height: 1.1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease;
}
.sello-mini span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.9;
}
.banda-texto {
  background: transparent;
  border-left: 5px solid #B3262E;
  padding-left: 10px;
  color: #B3262E;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 400px;
}
.banda-texto strong {
  color: #0a5e21;
  font-weight: 700;
}


/* ===== CAROUSEL ANUNCIOS ===== */
.carousel-section {
  width: 100%;
  background: linear-gradient(135deg, #991F26, #C63841);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 40px 0;
  color: var(--white-50);
  font-family: var(--font-primary);
}
.carousel-section::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 20%, transparent 70%);
  animation: floatBackground 15s linear infinite;
  z-index: 0;
}
@keyframes floatBackground {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.carousel-section h1 {
  position: absolute;
  z-index: 500;
  top: 28px;
  left: 24px;
  font-size: 52px;
  line-height: 1.15;
  color: var(--white-50);
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.carousel-section #carouselText {
  width: 50%;
  position: absolute;
  z-index: 300;
  line-height: 1.6;
  left: 40px;
  bottom: 40px;
  text-align: justify;
  color: var(--white-50);
  opacity: 0.9;
  font-size: 18px;
  padding-left: 20px;
  border-left: 2px solid var(--white-50);
  backdrop-filter: blur(2px);
  pointer-events: none;
}
.card {
  position: absolute;
  background: transparent;
  height: 100%;
  inset: 0;
}
.card .img {
  width: 40%;
  height: 80%;
  border-radius: 5%;
  overflow: hidden;
  position: absolute;
  max-height: 100%;
}
.card .img picture,
.card .img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.carousel-section .card span {
  font-family: var(--font-primary);
  opacity: 0;
  z-index: 200;
  font-size: 60px;
  position: absolute;
  left: 30px;
  top: 50px;
  color: var(--white-50);
  max-width: 800px;
  line-height: 1.1;
  white-space: normal;
  overflow-wrap: break-word;
}
.active .img {
  position: absolute;
  right: 60px;
  top: 16%;
  transform: rotate(0) scale(0.85);
  z-index: 300;
}
.active span {
  opacity: 1;
  top: 150px;
}
.card:not(.active) .img,
.card:not(.active) span {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}
.card.active .img,
.card.active span {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
}
.carousel-section .card.active .card-link {
  position: absolute;
  inset: 0;
  z-index: 350;
  pointer-events: auto;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* ===== NOSOTROS ===== */
.nosotros-sidytar {
  padding: 50px 0;
  background-color: var(--white-50);
  color: #661316;
  font-family: var(--font-primary);
}
.about-us__inner {
  display: flex;
  flex-direction: column;
  
}
.about-us__content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;

}
.about-us__image img {
  display: block;
  max-width: 500px;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.about-us__features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 20px;
  margin-top: 20px;
}


.about-us__content > h2 {
  font-size: var(--texto-xxxxl);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-700);
}
.feature {
  display: grid;
  justify-items: center;
  gap: .6rem;
  min-width: 180px;
  text-align: center;
}
.icon-circle {
  --size: 72px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--green-800);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  flex: 0 0 auto;
}
.icon-circle i {
  font-size: calc(var(--size) * .46);
  color: var(--white-50);
  line-height: 1;
}
.feature > span:last-child {
  display: block;
  font-size: var(--texto-m);
  color: var(--green-800);
  font-weight: 600;
}
.feature:hover .icon-circle {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* ===== CONTACTO ===== */
.contact-section {
  margin-bottom: 50px;
}
.contact-section .left-text {
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}
.contact-box {
  background: var(--white-50);
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  margin: auto;
}
.contact-left {
  background-color: var(--white-50);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: auto;
  padding-left: 30px;
}
.map-container {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
}
.map-cover,
#mapWrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#mapWrap[hidden] {
  display: none !important;
}
.map-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.map-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: rgba(0,0,0,.55);
  color: var(--white-50);
  padding: .6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  backdrop-filter: blur(2px);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}
.contact-details {
  padding: 30px;
}
.contact-details h3 {
  font-weight: 700;
  font-size: var(--texto-l);
  color: var(--green-900);
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  margin-bottom: 15px;
  font-size: var(--texto-m);
  color: var(--black-150);
  padding-left: 20px;
}
.contact-list i {
  margin-right: 10px;
  color: var(--green-800);
}
.form-container {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-container form select {
  width: 100%;
  padding: 12px 40px 12px 15px; /* más espacio a la derecha */
  margin-bottom: 20px;
  border: 1px solid var(--white-100);
  border-radius: 4px;
  font-size: var(--texto-m);
  font-family: inherit;
  background-color: var(--white-50);
  color: var(--black-150);

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Flecha personalizada */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23666' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7l4.5 5 4.5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 14px;
}

.form-container select:focus {
    outline: none;
    border-color: #0d6efd; /* o tu color corporativo */
    box-shadow: 0 0 0 2px rgba(13,110,253,0.2);
}
.form-container form input,
.form-container form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid var(--white-100);
  border-radius: 4px;
  font-size: var(--texto-m);
}
.form-container form button {
  background-color: var(--green-800);
  border: none;
  color: var(--white-50);
  padding: 12px 20px;
  font-size: var(--texto-m);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: fit-content;
}
.form-container form button:hover {
  background-color: var(--green-900);
}

/* ===== PESTAÑAS / TABS ===== */
.impresion-wrapper {
  background: var(--white-50);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.1);
  margin: 0 auto;
  width: 92%;
  display: flex;
  flex-wrap: nowrap;
  min-height: 75vh;
}
.product-sidebar {
  max-width: 350px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  font-family: var(--font-primary);
  width: 295px;
  background: #f8f9fa;
  border-right: 1px solid #dee2e6;
  transition: all 0.3s ease-in-out;
}
.impresion-content {
  overflow-y: auto;
  flex: 1;
  background: var(--white-50);
  padding: 2rem;
}
.sidebar-title-button {
  display: flex;
  align-items: center;
  font-size: var(--texto-28);
  font-weight: 600;
  color: var(--green-800);
}
.sidebar-toggle {
  background: none;
  font-size: var(--texto-l);
  color: var(--black-55);
  border-radius: 6px;
  width: 100%;
  border: none;
  text-align: left;
  font-weight: 600;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
  cursor: pointer;
}
.sidebar-toggle:hover {
  background: #e9ecef;
}
.sidebar-toggle img {
  height: 15px;
  padding-left: 5px;
}
.toggle-icon {
  font-weight: bold;
  font-size: var(--texto-l);
  color: var(--green-800);
  float: right;
  transition: transform 0.3s ease;
}
.submenu {
  margin-top: 10px;
  display: block;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  list-style: none;
  padding-left: 1rem;
  background: #fafafa;
}
.submenu:not(.collapsed) {
  max-height: 600px;
}
.submenu li {
  position: relative;
  margin-bottom: 8px;
  margin-left: 5px;
  display: list-item;
  padding: 0.5rem 0;
}
.submenu li::before,
.submenu li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 30px;
  height: 1px;
  background: var(--green-800);
}
.submenu li::before { top: 0; }
.submenu li::after { bottom: 0; }
.submenu li a {
  font-size: var(--texto-l);
  display: block;
  padding: 0.5rem 0;
  color: #212529;
  text-decoration: none;
  transition: color 0.2s;
}
.submenu li a:hover {
  color: #991F26;
}
.impresion-tab {
  opacity: 0;
  display: none;
  transform: translateY(20px);
}
.impresion-tab.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeInUp {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.impresion-tab h3 {
  color: var(--green-800) !important;
  font-weight: 600;
  font-size: 1.8rem;
}
.impresion-tab p {
  font-size: var(--texto-l);
  color: var(--black-50);
  line-height: 1.6;
}
.impresion-tab ul li {
  font-size: var(--texto-l);
}
.impresion-tab img {
  max-width: 70%;
  height: auto;
}
.slider-logo {
  height: 100px;
  overflow: hidden;
  position: relative;
  max-width: 80%;
  margin: 20px auto;
}
.slide-track-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: scroll 30s linear infinite;
  width: max-content;
  gap: 10px;
}
.slide-track-logo img {
  max-width: 80%;
  height: auto;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== IMÁGENES Y TARJETAS ===== */
.imagenes-tarjeta {
  padding: 30px;
  background: var(--white-50);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}
.detalle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.detalle-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.detalle-grid img:hover {
  transform: scale(1.03);
}
.detalle-grid p {
  padding: 10px;
  text-align: center;
}

/* ===== TABLAS ===== */
.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  background-color: transparent;
  border-collapse: collapse;
}
.table td,
.table th {
  padding: .75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}
.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}
.table-bordered {
  border: 1px solid #dee2e6;
}
.table-bordered td,
.table-bordered th {
  border: 1px solid #dee2e6;
}
.table-success,
.table-success > td,
.table-success > th {
  background-color: #c3e6cb;
}
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll {
  max-height: 500px;
  overflow-y: auto;
  display: block;
}

/* ===== TAGS & BADGES ===== */
.badge {
  display: inline-block;
  padding: .25em .4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
}

/* ===== BOTONES & CTA ===== */
.mas-info-container {
  text-align: center;
}
.mas-info-container .btn-cta,
.btn-cta {
  display: inline-block;
  padding: 12px 32px;
  margin-top: 20px;
  font-size: var(--texto-s);
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: var(--white-50);
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-weight: 600;
  text-decoration: none;
}
.mas-info-container .btn-cta:hover,
.btn-cta:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(14px) scale(.98);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-950);
  padding-top: 20px;
  padding-bottom: 0;
  font-family: var(--font-primary);
  color: #ffffffcc;
}
.footer h3 {
  text-transform: none;
  font-size: var(--texto-l);
  margin-bottom: 8px;
  margin-top: 0;
  color: var(--white-50);
  font-weight: 600;
}
.footer h4 {
  display: inline-block;
  text-transform: none;
  font-size: var(--texto-m);
  margin-top: 8px;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 12px;
  color: var(--white-50);
  font-weight: 600;
  vertical-align: middle;
}
.footer img {
  max-width: 140px;
  height: auto;
  margin-bottom: 8px;
  display: block;
}
.footer p {
  max-width: 400px;
  color: var(--white-50);
  font-size: var(--texto-s);
  font-weight: 100;
  line-height: 1.5;
  margin-bottom: 8px;
  margin-top: 0;
}
.footer .container {
  max-width: 100% !important;
  padding-right: 5px !important;
  padding-left: 5px !important;
}
.gap-footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  max-width: 1800px;
  margin: auto;
  padding: 15px 20px;
}
.gap-footer-columns > div {
  flex: 0 1 auto;
  min-width: auto;
  max-width: none;
  width: auto;
}
ul.link_menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.link_menu li {
  margin-bottom: 8px;
}
ul.link_menu li a {
  color: #ffffffcc;
  font-size: var(--texto-s);
  text-decoration: none;
  transition: 0.3s ease;
}
ul.link_menu li a:hover {
  color: #DD7D84;
}
ul.social_icon {
  display: inline-flex;
  margin: 0;
  padding: 0;
  gap: 10px;
  vertical-align: middle;
  margin-top: 8px;
}
ul.social_icon li {
  display: inline-block;
  list-style: none;
}
ul.social_icon li a {
  background-color: var(--white-50);
  color: #661316;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: var(--texto-s);
  transition: all 0.3s ease;
}
ul.social_icon li a:hover {
  background-color: var(--green-700);
  color: #661316;
}
.copyright {
  background-color: var(--green-800);
  padding: 15px 0;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
}
.copy-barra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  font-size: var(--texto-m);
  gap: 20px;
  padding: 0 20px;
}
.copy-barra.container {
  max-width: 1500px !important;
  padding-right: 40px !important;
  padding-left: 40px !important;
}
.copyright p {
  color: #ffffffcc;
  font-size: var(--texto-s);
  margin: 0;
  text-align: left;
  white-space: nowrap;
  flex-shrink: 0;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-menu a {
  color: #ffffffcc;
  font-size: var(--texto-s);
  margin: 0 8px;
  text-decoration: none;
  white-space: nowrap;
}
.footer-menu a:hover {
  color: var(--green-300);
}

/* Columnas de contacto del footer */
.footer .link_menu li,
.footer .columna-contacto li {
  font-size: var(--texto-s);
  line-height: 1.8;
  color: #ffffffcc;
}
.footer .columna-contacto li i {
  font-size: var(--texto-m);
  vertical-align: middle;
}

/* ===== ICONOS FLOTANTES ===== */
.float-sm {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}
.float-sm .fl-fl {
  width: 200px;
  height: 45px;
  right: 0;
  display: flex;
  align-items: center;
  border-radius: 0 5px 5px 0;
  transition: transform 0.3s ease;
  overflow: hidden;
  transform: translateX(155px);
}
.float-sm .fl-fl:hover {
  transform: translateX(0);
}
.float-sm .fl-fl i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  font-size: var(--texto-xl);
  color: var(--white-50);
  flex-shrink: 0;
}
.float-sm .fl-fl a {
  flex: 1;
  padding-left: 10px;
  color: var(--white-50);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 45px;
}
.float-ln { background-color: #0077b5; }
.float-ln i { background-color: #005983; }
.float-wa { background-color: #25D366; }
.float-wa i { background-color: #1ebe5b; }
.float-up { background-color: var(--black-150); }
.float-up i { background-color: var(--black-100); }

/* ===== TÍTULOS PRINCIPALES ===== */
.page-title {
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: .2px;
  font-weight: 800;
  color: var(--green-900);
  display: block;
  margin: 1.9rem 0;
  text-align: left;
  overflow-wrap: anywhere;
  hyphens: auto;
  position: relative;
}
.page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #B3262E, #D2535B);
  border-radius: 2px;
}
.page-title.center {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.left-text {
  flex: 1 1 400px;
  padding: 10px;
  box-sizing: border-box;
  transition: all 0.5s ease;
}
.left-text h2 {
  font-size: var(--texto-xxxxl);
  font-weight: 800;
  letter-spacing: 2px;
  position: relative;
  text-transform: uppercase;
  color: var(--green-700);
  transition: transform 0.3s ease, color 0.3s ease;
}
.left-text h2:hover {
  transform: translateX(8px) scale(1.05);
  color: var(--green-900);
}
.left-text h4 {
  font-size: var(--texto-l);
  font-weight: 800;
  text-align: center;
  letter-spacing: 2px;
  position: relative;
  text-transform: uppercase;
  color: var(--green-700);
  transition: transform 0.3s ease, color 0.3s ease;
}
.left-text p {
  font-size: var(--texto-m);
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: var(--black-100);
  opacity: 0.9;
  text-align: justify;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ===== LEGAL ===== */
.contenedor-legal .aviso-lista {
  border: 2px solid var(--green);
  border-radius: 10px;
  max-width: 700px;
  text-align: left;
}
.card-legal {
  border: 2px solid var(--green);
  border-radius: 10px;
  background: var(--white-50);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}
.card-legal .titulo {
  font-weight: 600;
  font-size: 1rem;
  color: #495057;
  margin: 0;
  text-align: center;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-legal .texto-legal {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ===== CAROUSEL TITLE ===== */
.carousel-title {
  position: absolute !important;
  top: 20px !important;
  right: 30px !important;
  z-index: 500 !important;
  padding: 10px 25px !important;
  font-weight: 600 !important;
  font-size: var(--texto-l) !important;
  color: var(--white-50) !important;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 25px !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* ===== POPUP CONFIRM ===== */
.popup-confirm[hidden] {
  display: none !important;
}
.popup-confirm {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}
.popup-content {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  text-align: center;
  max-width: 400px;
  animation: fadeIn .4s ease;
}
.popup-content h3 {
  color: var(--green-800);
  margin-bottom: .5rem;
}
.popup-content p {
  color: var(--black-55);
  margin-bottom: 1rem;
}
.popup-content button {
  background: var(--green-800);
  color: #fff;
  border: none;
  padding: .6rem 1.2rem;
  border-radius: 6px;
  font-size: var(--texto-m);
  cursor: pointer;
  transition: background .3s;
}
.popup-content button:hover {
  background: var(--green-900);
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== BANNER COOKIES ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black-150);
  color: #fff;
  text-align: center;
  padding: 15px 20px;
  font-size: 14px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.25);
  z-index: 9999;
  animation: slideUp 0.4s ease;
}
.cookie-banner p {
  display: inline-block;
  margin: 0 10px 0 0;
}
.cookie-banner .cookie-buttons {
  display: inline-block;
}
.cookie-banner button {
  background: var(--green-600);
  border: none;
  color: #fff;
  margin-left: 10px;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cookie-banner button:hover {
  background: var(--green-800);
}
.cookie-banner a {
  color: var(--green-200);
  margin-left: 10px;
  text-decoration: underline;
  font-weight: 500;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== SIMEC STRIP ===== */
.simec-strip {
  height: 90px;
  background: #B3262E;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.simec-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}
.strip-text {
  position: relative;
  z-index: 3;
  font-size: 15px;
  letter-spacing: 0.4px;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}
.node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ffffff;
  opacity: 0.3;
  z-index: 2;
  animation: pulse 4s ease-in-out infinite;
}
.n1 { left: 18%; top: 35%; animation-delay: 0s; }
.n2 { left: 42%; top: 65%; animation-delay: 1s; }
.n3 { left: 70%; top: 30%; animation-delay: 2s; }
.n4 { left: 85%; top: 55%; animation-delay: 3s; }
@keyframes pulse {
  0% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.2); }
  100% { opacity: 0.2; transform: scale(0.8); }
}

/* ===== SECCIÓN SOLUCIONES / CONTENT ===== */
.content-section {
  padding: 80px 0;
  background: var(--white-50);
}
.content-block {
  margin-bottom: 120px;
}
.content-block h2 {
  color: var(--green-800);
  font-size: var(--texto-32);
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}
.content-block h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--green-600), var(--green-300));
  border-radius: 2px;
}
.content-block p {
  color: var(--black-55);
  font-size: var(--texto-m);
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}
.product-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(179, 38, 46, 0.12);
  transition: transform 0.3s ease;
  margin: 0 auto;
  display: block;
}
.product-img:hover {
  transform: translateY(-4px);
}
.imagenes-fila {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 0;
}
.imagenes-fila img {
  width: 50%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}
.product-img-natural {
  width: auto;
  max-width: 100%;
  height: auto;
}

/* Iconos sociales en contacto */
.contact-details .social-icons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  list-style: none;
  padding: 0 50px;
  margin-top: 20px;
}
.contact-details .social-icons li {
  display: inline-block;
}
.contact-details .social-icons li a {
  background-color: var(--green-800);
  color: var(--white-50);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  transition: all 0.3s ease;
}
.contact-details .social-icons li a:hover {
  background-color: var(--green-900);
  transform: scale(1.1);
}

/* ===== SECCIÓN NUESTROS SERVICIOS ===== */
.section-servicios {
  background: var(--green-700);
  color: #fff;
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}
.section-servicios::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.section-servicios::after { display: none; }

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
  gap: 24px;
  flex-wrap: wrap;
}
.services-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}
.services-header-left h2 {
  font-size: var(--texto-xxxxl);
  letter-spacing: 2px;
  position: relative;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white-50);
  transition: transform 0.3s ease, color 0.3s ease;
}

.services-header-right {
  max-width: 320px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
}
.services-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-item {
  display: flex;
  justify-content: left;   /* centra el conjunto icono+texto */
  align-items: center;
  margin-left: 80px;
  gap: 50px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
}
.service-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  bottom: 0;
  width: 0;
  background: rgba(255, 255, 255, 0.05);
  transition: width 0.35s ease;
  border-radius: 0 8px 8px 0;
}
.service-item:hover::before {
  width: calc(100% + 40px);
}

.service-item:hover .service-num {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}
.service-name {
  font-size: 18px;
  font-weight: 500;
  width: 380px;
  text-align: left;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.2px;
  transition: letter-spacing 0.3s;
}
.service-item:hover .service-name {
  letter-spacing: 0.8px;
}
.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
  transition: all 0.3s;
}
.service-item:hover .service-icon-wrap {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: rotate(15deg);
}
.wave-divider-servicios {
  position: relative;
  height: 120px;
  overflow: hidden;
  margin-top: 80px;
}
.wave-divider-servicios svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
  display: block;
}

/* ===== UTILITIES FINALES ===== */
#main-content {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.img-larger {
  max-width: 100% !important;
}
.enlace-corporativo {
  color: #b23a48;              /* variante clara del granate */
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(178, 58, 72, 0.4);
  transition: all 0.2s ease;
}

.enlace-corporativo:hover {
  color: #7a1c26;              /* granate más oscuro */
  border-bottom: 1px solid #7a1c26;
}
/* ===== MEDIA QUERIES ===== */
@media (min-width: 576px) {
  .container { max-width: 540px; }
  .col-sm { flex-basis: 0; flex-grow: 1; max-width: 100%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
  .container { max-width: 720px; }
  .col-md { flex-basis: 0; flex-grow: 1; max-width: 100%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  .offset-md-1 { margin-left: 8.333333%; }
  .reverse-row { flex-direction: row-reverse; }
  .content-block .col-md-6:first-child { padding-right: 60px; }
  .content-block.reverse-row .col-md-6:first-child {
    padding-left: 60px;
    padding-right: 15px;
  }
}

@media (min-width: 992px) {
  .container { max-width: 960px; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  .navbar-expand-lg { flex-flow: row nowrap; justify-content: flex-start; }
  .navbar-expand-lg .navbar-nav { flex-direction: row; }
  .navbar-expand-lg .navbar-nav .nav-link { padding-right: .5rem; padding-left: .5rem; }
  .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-expand-lg .navbar-toggler { display: none; }
  .navigation .navbar-collapse {
    display: flex !important;
    justify-content: center !important;
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }
  .about-us__features { grid-template-columns: repeat(6, 1fr); }
  .product-sidebar {
    display: block !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
  }
}

@media (min-width: 1200px) {
  .container { max-width: 1140px; }
  .page-title {
    font-size: clamp(2.4rem, 2.2vw, 3.6rem);
    text-align: left;
    padding-left: 1rem;
    max-width: 32ch;
    margin: 1.75rem 0 2rem;
  }
  .page-title::after { height: 5px; }
  .gap-footer-columns { justify-content: space-evenly; }
}

@media (min-width: 1600px) {
  .carousel-section { min-height: 460px; padding: 48px 0; }
  .carousel-section h1 { font-size: 56px; top: 32px; left: 32px; }
  .carousel-section #carouselText { width: 45%; font-size: 19px; }
  .card span { font-size: 76px; max-width: 1100px; }
  .active .img { top: 15%; right: 50px; }
}

@media (max-width: 1550px) {
  .banda-sello {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    margin: 10px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
    transform: none !important;
    z-index: 20;
  }
  .sello-mini { width: 70px; height: 70px; font-size: 18px; }
  .banda-texto { border-left: 3px solid var(--green); padding-left: 8px; padding-top: 8px; font-size: 14px; max-width: 90%; }
}

@media (max-width: 1400px) and (min-width: 992px) {
  .navigation .navbar-nav > li:nth-child(2).nav-item.megamenu > .mega-dropdown {
    left: -80px !important;
  }
}

@media (max-width: 1200px) and (min-width: 992px) {
  .navigation .navbar-nav > li:nth-child(2).nav-item.megamenu > .mega-dropdown {
    left: -140px !important;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .gap-footer-columns { gap: 40px; }
  .gap-footer-columns > div { flex: 1 1 280px; min-width: 260px; }
}

@media (max-width: 992px) {
  .about-us__features { grid-template-columns: repeat(3, 1fr); }
  .navbar-expand-md > .container,
  .navbar-expand-md > .container-fluid { padding-right: 0; padding-left: 0; }
  .navigation.navbar .navbar-collapse {
    position: fixed !important;
    top: var(--header-height, 100px);
    left: 0;
    width: 100vw !important;
    background: rgba(252, 252, 252, 0.98);
    padding-top: 20px;
    z-index: 9999;
    display: none !important;
    text-align: center;
    overflow-y: auto;
  }
  .navigation.navbar .navbar-collapse.show { display: block !important; }
  .navigation.navbar .navbar-nav { flex-direction: column; align-items: center; gap: 25px; }
  .navigation.navbar .navbar-nav .nav-link { color: var(--green-800) !important; font-size: 20px; text-transform: uppercase; }
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white-50);
    padding: 10px 20px;
    position: relative;
    z-index: 1000;
  }
  .logo_section,
  .logo_section .full,
  .logo_section .center-desk,
  .logo { display: flex; align-items: center; justify-content: flex-start; flex: 1 1 auto; }
  .logo img { display: block; max-height: 60px; width: auto; }
  .navigation { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; }
  .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    padding: 0;
    margin-left: auto;
    cursor: pointer;
    z-index: 3001;
  }
  .navbar-toggler-icon {
    background-image: url("../images/menu_icon.png") !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 36px !important;
    height: 36px !important;
    background-color: transparent !important;
  }
  .mega-dropdown { position: static !important; display: block !important; background: transparent !important; box-shadow: none !important; padding: 10px 0 !important; }
  .mega-row { flex-direction: column !important; align-items: center; gap: 10px !important; }
  .mega-col { width: 100%; }
  .mega-col .dropdown-header { border-bottom: 2px solid var(--green-200); margin-bottom: 6px; color: var(--green); font-weight: 700; }
  .mega-col .dropdown-item { padding: 5px 0; color: #222 !important; }
  .mega-col .dropdown-item:hover { background-color: rgba(102, 19, 22, 0.08); border-radius: 6px; }
  .carousel-section {
    min-height: 450px !important;
    max-height: 450px !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 50px 10px 10px !important;
    display: flex !important;
    flex-direction: column !important;
  }
  #slider_parent {
  position: relative !important;
  min-height: 255px !important;
  width: 100% !important;
  order: 1 !important;
}

  .carousel-section .card {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    opacity: 0 !important; visibility: hidden !important;
    transition: opacity 0.5s ease, visibility 0.5s ease !important;
    pointer-events: none !important;
  }
  .carousel-section .card.active {
    opacity: 1 !important; visibility: visible !important;
    position: absolute !important; pointer-events: auto !important;
  }
  .carousel-section .card.active .card-link {
    display: flex !important; flex-direction: column !important;
    align-items: center !important; justify-content: flex-start !important;
    min-height: 100% !important; padding: 10px 10px 15px !important; gap: 8px !important;
  }
  .carousel-section .card.active span {
    order: 1 !important; position: static !important;
    font-size: 1.3rem !important; line-height: 1.15 !important;
    max-height: 65px !important; margin: 0 !important;
    margin-top: 20px !important;
    overflow: hidden !important; flex-shrink: 0 !important; text-align: center !important;
  }
  .carousel-section .card.active .img {
    order: 2 !important; position: static !important;
    max-height: 170px !important; height: 170px !important;
    width: 85% !important; max-width: 280px !important;
    margin: 0 auto !important; flex-shrink: 0 !important;
  }
  .carousel-section .card.active .img img {
    object-fit: contain !important; width: 100% !important; height: 100% !important;
  }
  .carousel-section #carouselText {
    order: 2 !important; position: static !important;
    margin-bottom: 40px;
    width: 100% !important; max-height: none !important; overflow: visible !important;
    padding: 12px 15px !important; font-size: 13.5px !important; line-height: 1.4 !important;
    text-align: justify !important; flex: 1 1 auto !important; display: flex !important; align-items: center !important;
  }
  .carousel-section .pre_active,
  .carousel-section .pre_inactive,
  .carousel-section .post_active,
  .carousel-section .post_inactive { display: none !important; margin-top: auto; }
  .float-sm { top: auto !important; bottom: 20px !important; transform: none !important; }
  html, body { overflow-x: hidden; }
  .carousel-section { overflow: hidden; }
  .mega-dropdown { width: 100%; left: 0; right: 0; }
  .slider-logo { overflow: hidden; }
  .container, .container-fluid, .row { max-width: 100%; overflow-x: hidden; }
  .impresion-wrapper { width: 100%; margin: 0; }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    background-color: var(--white-50);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .navbar-collapse.show { max-height: 80vh; }
  .navbar-nav {
    display: flex; flex-direction: row; align-items: center;
    justify-content: center; width: 100%;
    padding: 2rem 1rem; gap: 1rem; margin: 0; list-style: none;
  }
  .navbar-nav .nav-item { width: 100%; text-align: center; }
  .navbar-nav .nav-link {
    display: block; width: 100%;
    color: var(--green) !important;
    font-size: 1.2rem; font-weight: 600;
    text-transform: uppercase; text-decoration: none;
    padding: 0.75rem 0;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .navbar-nav .nav-link:hover { background-color: #f1f1f1; color: #1e7e34 !important; }
  body.menu-open { overflow: hidden; }
  .megamenu .mega-dropdown { display: none !important; }
  .impresion-wrapper { flex-direction: column; }
  .product-sidebar { display: none; width: 100%; border-right: none; border-bottom: 1px solid #dee2e6; }
  .product-sidebar.open { display: block; animation: slideDown 0.3s ease forwards; }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 991px) {
  .header .container > .row {
    display: flex !important; flex-direction: row !important;
    align-items: center !important; justify-content: space-between !important; flex-wrap: nowrap !important;
  }
  .header .logo_section { flex: 0 0 auto !important; width: auto !important; max-width: none !important; padding-right: 0 !important; }
  .header .logo { text-align: left !important; }
  .header .logo img { display: block; max-height: 100px; width: auto; }
  .header .navigation.navbar {
    flex: 1 1 auto !important; display: flex !important;
    align-items: center !important; justify-content: flex-end !important; padding-top: 0 !important;
  }
  .navbar-toggler { display: inline-block !important; margin-left: auto !important; }
  .header .col-md-12, .header .col-md-10, .header .offset-md-1 { max-width: none !important; flex: unset !important; }
}
@media (min-width: 769px) {
  .about-us__content {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "image titulo" "image texto";
    column-gap: 40px;
    row-gap: 0 !important;
  }
  .about-us__image        { grid-area: image; }
  .about-us__content > h2 { 
    grid-area: titulo; 
    align-self: end; 
    margin-bottom: 10px !important; 
    padding-bottom: 0 !important;
  }
  .left-text              { grid-area: texto; }
}

@media (max-width: 768px) {
  .about-us__content { flex-direction: column; text-align: center; gap: 20px !important;}
  .about-us__image img { max-width: 300px; }
  .about-us__content > h2 { 
    order: 1 !important; 
    width: 100%;
    margin-bottom: -20px;
    margin-top: -10px;
    font-size: var(--texto-28) !important;
    letter-spacing: 1px !important;
  }
  .icon-circle {
    --size: 40px;
  }
  .feature > span:last-child {
    font-size: var(--texto-s);
    margin: 0px 10px;
  }
  .page-title.center {
  margin-left: 10px !important;
  margin-right: 10px !important;
  word-break: normal !important;
  hyphens: none !important;
  overflow-wrap: normal !important;
}
  .about-us__image         { order: 2 !important; }
  .left-text               { order: 3 !important; }
  .about-us__features { justify-content: center;  }
  .gap-footer-columns { flex-direction: column; gap: 30px; }
  .copy-barra { flex-direction: column !important; text-align: center !important; gap: 10px !important; }
  .copyright p { text-align: center !important; }
  .footer-menu { justify-content: center !important; }
  .hero-container { flex-direction: column; text-align: center; gap: 60px; }
  .hero-text, .hero-image { flex: 1 1 100%; }
  .hero-icons { justify-content: center; }
  .banda-sello {
    position: static !important; z-index: auto !important;
    display: flex; flex-direction: row; align-items: center;
    justify-content: center; gap: 8px;
    margin: 10px auto; width: 100%; text-align: center;
  }
  .sello-mini { width: 60px; height: 60px; font-size: 16px; flex-shrink: 0; }
  .sello-mini span { font-size: 10px; }
  .banda-texto { border-top: none !important; border-left: 3px solid #B3262E !important; padding-left: 8px; padding-top: 0; font-size: 13px; line-height: 1.4; max-width: 85%; }
  .carousel-title { top: 15px !important; right: 15px !important; padding: 8px 20px !important; font-size: var(--texto-m) !important; }
  .simec-strip { height: auto; padding: 20px 0; }
  .strip-text { font-size: 14px; line-height: 1.4; }
  .float-sm .fl-fl {
    width: 150px !important;
    height: 30px !important;
    transform: translateX(115px) !important;
  }
  .float-sm .fl-fl i {
    width: 38px !important;
    height: 38px !important;
    font-size: var(--texto-m) !important;
  }
  .float-sm .fl-fl:hover {
    transform: translateX(0) !important;
  }
}

@media (max-width: 767px) {
  .gap-footer-columns { flex-direction: column; gap: 30px !important; }
  .gap-footer-columns > div { min-width: 100% !important; max-width: 100% !important; }
}

@media (max-width: 640px) {
  .about-us__features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .gap-footer-columns { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
  .gap-footer-columns > div { flex: 1 1 100%; min-width: unset; }
  ul.social_icon { justify-content: center; }
  .footer-menu a { display: block; margin: 5px 0; }
  .service-item { grid-template-columns: 56px 1fr auto; gap: 16px; padding: 22px 0; }
  .service-num { font-size: 38px; }
  .service-name { font-size: 15px; }
  .services-header-left h2 { font-size: 34px; }
  .services-header-right { text-align: left; max-width: 100%; }
}

@media (max-width: 480px) {
  .sello-mini { width: 50px; height: 50px; font-size: 14px; }
  .banda-texto { font-size: 12px; max-width: 90%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .page-title.reveal-up { animation: none; opacity: 1; transform: none; }
}

/* ===== GALERÍA ===== */
.galeria-section {
   padding: 40px 0 80px;
   background: var(--white-50);
}
.galeria-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 12px;
}
.galeria-item {
   position: relative;
   overflow: hidden;
   border-radius: 8px;
   aspect-ratio: 4/3;
   cursor: pointer;
   background: var(--green-100);
}
.galeria-item img {
   width: 100%; height: 100%;
   object-fit: cover; display: block;
   transition: transform 0.4s ease;
}
.galeria-item:hover img { transform: scale(1.06); }
.galeria-overlay {
   position: absolute; inset: 0;
   background: rgba(127, 25, 31, 0.55);
   display: flex; align-items: center; justify-content: center;
   opacity: 0; transition: opacity 0.3s ease;
}
.galeria-overlay span { color: #fff; font-size: 36px; font-weight: 300; }
.galeria-item:hover .galeria-overlay { opacity: 1; }

/* Lightbox */
.galeria-lightbox {
   display: none; position: fixed; inset: 0;
   background: rgba(0,0,0,0.92); z-index: 99999;
   align-items: center; justify-content: center;
   backdrop-filter: blur(4px);
}
.galeria-lightbox.activo { display: flex; }
.lightbox-contenido {
   max-width: 90vw; max-height: 88vh;
   display: flex; flex-direction: column;
   align-items: center; gap: 12px;
}
.lightbox-contenido img {
   max-width: 90vw; max-height: 82vh;
   object-fit: contain; border-radius: 6px;
   box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.lightbox-contador {
   color: rgba(255,255,255,0.6);
   font-size: 13px; margin: 0;
}
.lightbox-cerrar {
   position: fixed; top: 20px; right: 28px;
   background: none; border: none; color: #fff;
   font-size: 42px; cursor: pointer; opacity: 0.8;
   transition: opacity 0.2s; z-index: 100001; padding: 0;
}
.lightbox-cerrar:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
   position: fixed; top: 50%; transform: translateY(-50%);
   background: rgba(255,255,255,0.1);
   border: 1px solid rgba(255,255,255,0.2);
   color: #fff; font-size: 36px;
   width: 52px; height: 52px; border-radius: 50%;
   cursor: pointer; display: flex;
   align-items: center; justify-content: center;
   transition: background 0.2s; z-index: 100001; padding: 0;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover {
   background: rgba(179,38,46,0.6);
   border-color: transparent;
}

@media (max-width: 992px) {
   .galeria-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
   .galeria-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
   .lightbox-prev { left: 8px; }
   .lightbox-next { right: 8px; }
}