/* ========================================
   VISIONTECH - CSS UNIFICADO
   Combina main.css y custom.css
   ======================================== */

/* ========================================
   VARIABLES CSS
   ======================================== */
:root {
  /* Colores corporativos Visiontech */
  --primary-color: #027B80;
  --secondary-color: #099339;
  --accent-color: #929598;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  
  /* Variables del sistema */
  --one-unit: 1vw;
  --section-max-width: 9999px;
  --spx-stopper-max: 9999px;
  --spx-stopper-min: 0px;
  --browser-zoom: 1;
  --scrollbar-width: 0px;
}

/* ========================================
   RESET Y ESTILOS BASE
   ======================================== */
body, html {
  background: transparent;
  border: 0;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: auto;
  overflow-y: scroll;
}

/* ========================================
   CONTENEDORES DEL SITIO
   ======================================== */
#SITE_CONTAINER {
  position: relative;
}

#site-root {
  margin: 0 auto;
  min-height: 100%;
  position: relative;
  top: var(--wix-ads-height);
}

#site-root img:not([src]) {
  visibility: hidden;
}

#site-root svg img:not([src]) {
  visibility: visible;
}

/* ========================================
   DISEÑO RESPONSIVO
   ======================================== */
body:not(.responsive) #site-root {
  min-width: var(--site-width);
  width: 100%;
}

body:not([data-js-loaded]) [data-hide-prejs] {
  visibility: hidden;
}

/* ========================================
   OPTIMIZACIÓN MÓVIL
   ======================================== */
body.device-mobile-optimized:not(.disable-site-overflow) {
  overflow-x: hidden;
  overflow-y: scroll;
}

body.device-mobile-optimized:not(.responsive) #SITE_CONTAINER {
  margin-left: auto;
  margin-right: auto;
  overflow-x: visible;
  position: relative;
  width: 320px;
}

body.device-mobile-optimized:not(.responsive):not(.blockSiteScrolling) #SITE_CONTAINER {
  margin-top: 0;
}

body.device-mobile-optimized > * {
  max-width: 100% !important;
}

body.device-mobile-optimized #site-root {
  overflow-x: hidden;
  overflow-y: hidden;
}

/* ========================================
   LAYOUT DE GRID
   ======================================== */
#masterPage.mesh-layout {
  -ms-grid-rows: max-content max-content min-content max-content;
  -ms-grid-columns: 100%;
  align-items: start;
  display: -ms-grid;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: max-content max-content min-content max-content;
  justify-content: stretch;
}

#masterPage.mesh-layout #SITE_HEADER-placeholder,
#masterPage.mesh-layout #SITE_HEADER_WRAPPER {
  grid-area: 1/1/2/2;
  -ms-grid-row: 1;
}

#masterPage.mesh-layout #PAGES_CONTAINER,
#masterPage.mesh-layout #soapAfterPagesContainer,
#masterPage.mesh-layout #soapBeforePagesContainer {
  grid-area: 3/1/4/2;
  -ms-grid-row: 3;
}

#masterPage.mesh-layout #SITE_FOOTER-placeholder,
#masterPage.mesh-layout #SITE_FOOTER_WRAPPER {
  grid-area: 4/1/5/2;
  -ms-grid-row: 4;
}

/* ========================================
   TIPOGRAFÍA
   ======================================== */
ol.font_100, ul.font_100 {
  color: #080808;
  font-family: "Arial, Helvetica, sans-serif", serif;
  font-size: 10px;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  letter-spacing: normal;
  line-height: normal;
  margin: 0;
  text-decoration: none;
}

ol.font_100 li, ul.font_100 li {
  margin-bottom: 12px;
}

/* ========================================
   ENLACES Y BOTONES
   ======================================== */
a {
  cursor: pointer;
  text-decoration: none;
}

.auto-generated-link {
  color: inherit;
}

.StylableButton2545352419__root {
  -archetype: box;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  height: 100%;
  min-height: 10px;
  min-width: 10px;
  padding: 0;
  touch-action: manipulation;
  width: 100%;
}

.StylableButton2545352419__root[disabled] {
  pointer-events: none;
}

/* ========================================
   NAVBAR Y NAVEGACIÓN
   ======================================== */
.navbar {
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: normal;
  font-size: 1.5rem;
}

.navbar-brand img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
  padding: 8px 15px;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color) !important;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 10px;
  margin-top: 5px;
}

.dropdown-item {
  padding: 8px 20px;
  transition: background-color 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--light-gray);
}

/* Navbar móvil */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-collapse {
  transition: all 0.3s ease;
}

/* Asegurar que el navbar siempre esté visible */
.navbar.fixed-top {
  z-index: 1030;
}

/* ========================================
   CARRUSEL
   ======================================== */
.carousel {
  margin-top: 76px;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  width: 100%;
}

.carousel-item img {
  height: 500px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  padding: 20px;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
}

.carousel-caption h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* Controles del carrusel responsivos */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-indicators {
  bottom: 20px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Asegurar que las imágenes sean responsivas */
img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   BOTONES
   ======================================== */
.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #077a2e;
  border-color: #077a2e;
  transform: translateY(-2px);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ========================================
   SECCIONES Y TÍTULOS
   ======================================== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

/* ========================================
   CARDS Y COMPONENTES
   ======================================== */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-card {
  text-align: center;
}

.brand-card .card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.brand-card .card-text {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.brand-logo {
  width: 120px;
  height: 120px;
  background: var(--light-gray);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ========================================
   INFORMACIÓN DE CONTACTO
   ======================================== */
.contact-info {
  background: var(--light-gray);
  padding: 3rem 0;
}

.contact-item {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem;
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-item h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-item p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--secondary-color);
}

.footer img {
  max-width: 100%;
  height: auto;
}

.footer .social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer .social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.footer ul.list-unstyled li {
  margin-bottom: 8px;
}

/* ========================================
   IMÁGENES Y SECCIONES
   ======================================== */
.lyNaha {
  mix-blend-mode: var(--blendMode, normal);
  position: relative;
}

.lyNaha img {
  display: block;
  height: 100%;
  -webkit-mask-image: var(--mask-image, none);
  mask-image: var(--mask-image, none);
  -webkit-mask-position: var(--mask-position, 0);
  mask-position: var(--mask-position, 0);
  -webkit-mask-repeat: var(--mask-repeat, no-repeat);
  mask-repeat: var(--mask-repeat, no-repeat);
  -webkit-mask-size: var(--mask-size, 100% 100%);
  mask-size: var(--mask-size, 100% 100%);
  opacity: var(--mediaOpacity, 1);
  width: 100%;
}

.MW5IWV {
  height: 100%;
  left: 0;
  -webkit-mask-image: var(--mask-image, none);
  mask-image: var(--mask-image, none);
  -webkit-mask-position: var(--mask-position, 0);
  mask-position: var(--mask-position, 0);
  -webkit-mask-repeat: var(--mask-repeat, no-repeat);
  mask-repeat: var(--mask-repeat, no-repeat);
  -webkit-mask-size: var(--mask-size, 100%);
  mask-size: var(--mask-size, 100%);
  overflow: hidden;
  pointer-events: var(--fill-layer-background-media-pointer-events);
  position: absolute;
  top: 0;
  width: 100%;
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes slide-horizontal-new {
  0% {
    transform: translateX(100%)
  }
}

@keyframes slide-horizontal-old {
  80% {
    opacity: 1
  }
  to {
    opacity: 0;
    transform: translateX(-100%)
  }
}

@keyframes slide-vertical-new {
  0% {
    transform: translateY(-100%)
  }
}

@keyframes slide-vertical-old {
  80% {
    opacity: 1
  }
  to {
    opacity: 0;
    transform: translateY(100%)
  }
}

/* ========================================
   CLASES UTILITARIAS
   ======================================== */
.wixSiteProperties {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.has-click-trigger {
  cursor: pointer;
}

/* ========================================
   Z-INDEX MANAGEMENT
   ======================================== */
[data-z-counter] {
  z-index: 0;
}

[data-z-counter="0"] {
  z-index: auto;
}

/* ========================================
   FOCUS MANAGEMENT
   ======================================== */
:focus {
  outline: none;
}

/* ========================================
   UTILIDADES RESPONSIVAS
   ======================================== */
@supports(-webkit-appearance: none) and (stroke-color: transparent) {
  :root {
    --safari-sticky-fix: opacity;
    --experimental-safari-sticky-fix: translateZ(0);
  }
}

@supports(container-type: inline-size) {
  :root {
    --one-unit: 1cqw;
  }
}

/* ========================================
   MEDIA QUERIES
   ======================================== */

/* Tablets y dispositivos medianos */
@media (max-width: 768px) {
  /* Navbar responsivo */
  .navbar-brand img {
    max-height: 40px;
  }
  
  .navbar-nav .nav-link {
    margin: 5px 0;
    padding: 10px 15px;
  }
  
  /* Carrusel responsivo */
  .carousel {
    margin-top: 70px;
  }
  
  .carousel-item img {
    height: 400px;
  }
  
  .carousel-caption {
    padding: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
  }
  
  .carousel-caption h2 {
    font-size: 2rem;
  }
  
  .carousel-caption p {
    font-size: 1rem;
  }
  
  /* Hero section responsivo */
  .hero-section {
    padding: 80px 0;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section p {
    font-size: 1.1rem;
  }
  
  /* Secciones responsivas */
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  
  /* Cards responsivas */
  .card-body {
    padding: 1.5rem;
  }
  
  .brand-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }
  
  /* Información de contacto responsiva */
  .contact-info {
    padding: 2rem 0;
  }
  
  .contact-item {
    margin-bottom: 1.5rem;
  }
  
  .contact-item i {
    font-size: 1.5rem;
  }
}

/* Dispositivos móviles pequeños */
@media (max-width: 576px) {
  /* Navbar móvil */
  .navbar-brand img {
    max-height: 35px;
  }
  
  /* Carrusel móvil */
  .carousel {
    margin-top: 65px;
  }
  
  .carousel-item img {
    height: 300px;
  }
  
  .carousel-caption {
    padding: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    max-width: none;
  }
  
  .carousel-caption h2 {
    font-size: 1.5rem;
  }
  
  .carousel-caption p {
    font-size: 0.9rem;
  }
  
  /* Controles del carrusel móvil */
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  
  /* Hero section móvil */
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  /* Secciones móviles */
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  /* Cards móviles */
  .card-body {
    padding: 1rem;
  }
  
  .brand-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 0.8rem;
  }
  
  .brand-card .card-title {
    font-size: 1.3rem;
  }
  
  .brand-card .card-text {
    font-size: 0.85rem;
  }
  
  /* Información de contacto móvil */
  .contact-info {
    padding: 1.5rem 0;
  }
  
  .contact-item {
    margin-bottom: 1rem;
  }
  
  .contact-item i {
    font-size: 1.3rem;
  }
  
  .contact-item h4 {
    font-size: 1.1rem;
  }
  
  .contact-item p {
    font-size: 0.9rem;
  }
}

/* Dispositivos muy pequeños */
@media (max-width: 375px) {
  /* Carrusel muy pequeño */
  .carousel-item img {
    height: 250px;
  }
  
  .carousel-caption h2 {
    font-size: 1.3rem;
  }
  
  .carousel-caption p {
    font-size: 0.8rem;
  }
  
  /* Hero section muy pequeño */
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .hero-section p {
    font-size: 0.9rem;
  }
  
  /* Secciones muy pequeñas */
  .section-title {
    font-size: 1.6rem;
  }
  
  /* Cards muy pequeñas */
  .brand-logo {
    width: 70px;
    height: 70px;
  }
  
  .brand-card .card-title {
    font-size: 1.2rem;
  }
  
  .brand-card .card-text {
    font-size: 0.8rem;
  }
}

/* Asegurar márgenes laterales en móviles */
@media (max-width: 768px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .col-lg-4,
  .col-md-6,
  .col-md-4 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Optimización para pantallas muy grandes */
@media (min-width: 1200px) {
  .carousel-item img {
    height: 600px;
  }
  
  .hero-section {
    padding: 120px 0;
  }
  
  .hero-section h1 {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
} 