* {
	margin: 0;
	padding: 0;
	border: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

/* Nav */
.header {
  top: 0;
  height: auto;
  width: 100%;
  z-index: 100;
  background-color: #ffffff;
  transition: background 0.4s ease, height 0.4s ease;
}

.relative {
  position: relative !important;
}

.header-inner .col-md-6 {
	margin-top: 20px;
	margin-bottom: 20px;
}

.logo {
	width: 55%;
}

.header-inner .col-md-6 .buttons {
	text-align: right;
}

/* Botones de home */
section .container {
	width: 80%;
	align-content: center;
}

.demo-custom-height-1 {
	height: 79%;
}

/* Inicio contenido izquierda */
.jumbotron .txt-ficohsa h2,
.jumbotron .txt-ficohsa h2 strong {
	color: #ffffff;
	font-size: 30pt;
	line-height: 1.2;
}

.jumbotron .subtitle {
	background-color: #ffffff;
	padding: 5px;
	width: 80%;
	border-radius: 5px;
	margin-top: 40px;
}

.jumbotron .subtitle .txt-subtitle {
	font-size: 11pt;
	text-align: center;
}

.jumbotron .app-ficohsa {
	margin-top: 40px;
	display: flex;
}

.jumbotron .app-ficohsa .qr-app {
	width: 150px;
}

.jumbotron .app-ficohsa .qr-txt strong {
	font-size: 20pt;
	color: #ffffff;
}

.jumbotron .app-ficohsa .qr-txt {
	color: #ffffff;
	font-size: 12pt;
	margin-left: 30px;
	align-content: center;
}

/* Inicio contenido derecha */
.jumbotron .title-country {
	background-color: #42C4DD;
	padding: 5px;
	width: 70%;
	border-radius: 5px;
	margin: 0px auto;
}

.jumbotron .title-country .subtitle-country {
	color: #ffffff;
	font-size: 11pt;
	text-align: center;
}

.jumbotron .img-country {
	text-align: center;
	margin-top: 40px;
}

.jumbotron .img-country .c-buttons {
	width: 40%;
}

.jumbotron .img-country .c-buttons:nth-last-child(-n+4) {
	margin-top: 20px;
}

/* Menú */
#navbar {
	background-color: #fff;
	padding: 20px;
	height: 100px;
}

#navbar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

#navbar .campana .logo-campana {
	width: 25%;
}

#navbar a {
	color: #005AAA;
	text-decoration: none;
	font-size: 11pt;
}

#navbar a small {
	color: #000000;
}

#navbar .txt-menu:hover {
	border-bottom: solid 2px #005AAA;
}

.menu-toggle {
	display: none;
}

#menuItems {
	display: none;
	flex-direction: column;
	align-items: center;
	background-color: #fff;
	padding: 15px;
	border-top: 1px solid #ccc;
	gap: 10px;
	z-index: 200;
}

#menuItems #close-menu svg {
  transition: transform 0.2s ease;
}

#menuItems #close-menu:hover svg {
  transform: scale(1.1);
}

/* Mostrar el menú cuando se agrega la clase 'open' */
#menuItems.open {
  	display: flex;
}

/* Estilo de los enlaces */
#menuItems a {
	text-align: center;
	text-decoration: none;
	color: #005AAA;
	font-size: 13pt;
}

#menuItems a small {
	display: block;
	font-size: 10pt;
	color: #333;
}

/* Barra lateral */
#sidebar {
    position: fixed;
    top: 0; left: 0;
    height: 100%;
    width: 40px;
    background-color: #009ed7;
    color: white;
    overflow: hidden;
    transition: width 0.3s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* cursor normal para la barra */
    cursor: default;
    user-select: none;
}

#sidebar.pulsing {
	animation: pulse 2s infinite;
	transition: transform 0.3s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(79, 195, 247, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(79, 195, 247, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(79, 195, 247, 0);
  }
}

#sidebar.expanded {
    width: 220px;
    align-items: flex-start;
    padding-left: 10px;
}

.item {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 10px 0;
    position: relative;
}

.icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    cursor: pointer; /* cursor pointer SOLO en íconos */
}

/* TOOLTIP */
.tooltip {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 10;
}

/* Mostrar tooltip SOLO cuando sidebar NO está expandido y el ícono está en hover */
#sidebar:not(.expanded) .icon:hover .tooltip {
    opacity: 1;
    pointer-events: auto;
}

/* Descripciones y links solo visibles cuando la barra está expandida */
.desc {
    margin-left: 10px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}

#sidebar.expanded .desc {
    opacity: 1;
}

.desc a {
    color: #ffffff;
	font-weight: bold;
    text-decoration: none;
}

.desc a:hover {
	color: #152235;
}

/* App store y Google Play - solo visible expandido */
.tel-links {
	display: none;
    flex-direction: column;
    margin-left: 10px;
}

.tel-links a {
	color: #ffffff;
	font-weight: bold;
}

.tel-links a:hover {
	color: #152235;
}

.app-links {
    display: none;
    flex-direction: column;
    margin-left: 10px;
}

#sidebar.expanded .tel-links,
#sidebar.expanded .app-links {
    display: flex;
}

.app-links a {
    margin: 3px 0;
}

.app-links img {
    height: 40px;
    cursor: pointer;
}

/* Isotipo pequeño visible solo cuando NO está expandido */
.cls-1, .st0 {
	fill: #ffffff;
}

.isotipo-small {
    display: flex;
    justify-content: center;
    align-items: center;
}

#sidebar.expanded .isotipo-small {
    display: none;
}

/* Logo grande visible solo cuando está expandido */
.logo-expanded {
    display: none;
    margin-left: 10px;
}

#sidebar.expanded .logo-expanded {
    display: block;
}

.logo-expanded img {
    height: 40px;
}

.logo-expanded small a {
	color: #ffffff;
}

/* Contenido */
.sticky {
    position: fixed;
    top: 0;
    width: 99.2%;
}

.sticky + .content {
  padding-top: 60px;
}

.form-page {
    background-color: #f3f7fa;
    min-height: 100vh;
    width: 100%;
    padding: 0px !important;
}

.form-page iframe {
    background: #000;
    border: none;
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 991px) {
	.header .header-inner .col-md-6 {
		width: 100%;
	}

	.header-inner .col-md-6 {
		text-align: center;
	}

	.logo {
		width: 30%;
	}

	.header .header-inner .col-md-6:last-child,
	#navbar .col-md-2 {
		display: none;
	}

	#navbar .col-md-4 {
        width: 50%;
		float: left;
    }

	.menu-toggle {
		display: block;
	}

	#menuItems {
		position: fixed;
		top: 0;
		right: -100%; /* oculto fuera de pantalla */
		width: 80%;
		max-width: 300px;
		height: 100vh;
		background-color: #fff;
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 40px 20px;
		gap: 20px;
		z-index: 1000;
		transition: right 0.3s ease-in-out;
		box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
	}

	/* Cuando está visible */
	#menuItems.open {
		right: 0;
	}

	#menuItems a {
		text-align: center;
		text-decoration: none;
		color: #005AAA;
		font-size: 13pt;
	}

	#menuItems a small {
		display: block;
		font-size: 10pt;
		color: #333;
	}

	.jumbotron .txt-ficohsa h2, .jumbotron .txt-ficohsa h2 strong {
		font-size: 26pt;
		text-align: center;
	}

	.jumbotron .subtitle {
		width: 80%;
		margin-top: 25px;
		margin-left: auto;
		margin-right: auto;
	}

	.jumbotron .subtitle .txt-subtitle {
		font-size: 10pt;
	}

	.jumbotron .app-ficohsa {
		display: none;
	}

	.jumbotron .country {
		margin-top: 50px;
	}

	.jumbotron .img-country {
		margin-top: 20px;
	}

	.jumbotron .img-country .c-buttons {
		width: 25%;
	}

	#sidebar {
		display: none;
	}
}

@media (max-width: 480px) and (max-height: 932px) {
/* Teléfonos grandes, iPhone Plus, Pixel 7 Pro */
	.logo {
		width: 60%;
	}
	
	section .container {
		width: 95%;
	}

	.demo-custom-height-1 {
		height: 78%;
	} 

	.jumbotron .txt-ficohsa h2, .jumbotron .txt-ficohsa h2 strong {
		font-size: 20pt;
		text-align: center;
	}

	.jumbotron .subtitle {
		width: 95%;
		margin-top: 20px;
		margin-left: auto;
		margin-right: auto;
	}

	.jumbotron .subtitle .txt-subtitle {
		font-size: 10pt;
	}

	.jumbotron .app-ficohsa {
		display: none;
	}

	.jumbotron .country {
		margin-top: 30px;
	}

	.jumbotron .img-country {
		margin-top: 20px;
	}

	.jumbotron .img-country .c-buttons {
		width: 30%;
	}

	#navbar {
		height: 90px;
	}

	#navbar .campana .logo-campana {
		width: 55%;
	}
}

@media (max-width: 375px) and (max-height: 667px) {
/* Ajustes para móviles muy pequeños */
	.demo-custom-height-1 {
		height: 78%;
	} 

	.jumbotron .txt-ficohsa h2, .jumbotron .txt-ficohsa h2 strong {
		font-size: 18pt;
		text-align: center;
	}

	.jumbotron .subtitle {
		width: 100%;
		margin-top: 20px;
		margin-left: auto;
		margin-right: auto;
	}

	.jumbotron .subtitle .txt-subtitle {
		font-size: 10pt;
	}

	.jumbotron .app-ficohsa {
		display: none;
	}

	.jumbotron .country {
		margin-top: 20px;
	}

	.jumbotron .img-country {
		margin-top: 10px;
	}

	.jumbotron .img-country .c-buttons {
		width: 35%;
	}
}

@media (max-width: 374px) {
	.jumbotron .subtitle {
		display: none;
	}

	#navbar {
		height: 90px;
	}

	#navbar .campana .logo-campana {
		width: 60%;
	}
}

@media (min-width: 481px) and (max-width: 768px) and (max-height: 1024px) {
/* iPad Mini, Air */
	.logo {
		width: 35%;
	}

	.demo-custom-height-1 {
		height: 78%;
	} 

	.jumbotron .txt-ficohsa h2, .jumbotron .txt-ficohsa h2 strong {
		font-size: 26pt;
		text-align: center;
	}

	.jumbotron .subtitle {
		width: 80%;
		margin-top: 25px;
		margin-left: auto;
		margin-right: auto;
	}

	.jumbotron .subtitle .txt-subtitle {
		font-size: 10pt;
	}

	.jumbotron .app-ficohsa {
		display: none;
	}

	.jumbotron .country {
		margin-top: 30px;
	}

	.jumbotron .img-country {
		margin-top: 20px;
	}

	.jumbotron .img-country .c-buttons {
		width: 30%;
	}
}

@media (min-width: 800px) and (max-width: 884px) and (max-height: 1280px) {
/* iPad horizontal, tablets grandes apaisadas */
	.logo {
		width: 35%;
	}

	.demo-custom-height-1 {
		height: 78%;
	} 

	.jumbotron .txt-ficohsa h2, .jumbotron .txt-ficohsa h2 strong {
		font-size: 26pt;
		text-align: center;
	}

	.jumbotron .subtitle {
		width: 80%;
		margin-top: 25px;
		margin-left: auto;
		margin-right: auto;
	}

	.jumbotron .subtitle .txt-subtitle {
		font-size: 10pt;
	}

	.jumbotron .app-ficohsa {
		display: none;
	}

	.jumbotron .app-ficohsa .qr-app {
		width: 80px;
	}

	.jumbotron .app-ficohsa .qr-txt strong {
		font-size: 16pt;
	}

	.jumbotron .app-ficohsa .qr-txt {
		font-size: 10pt;
		margin-left: 20px;
	}

	.jumbotron .country {
		margin-top: 50px;
	}

	.jumbotron .img-country {
		margin-top: 20px;
	}

	.jumbotron .img-country .c-buttons {
		width: 25%;
	}
}

@media (min-width: 769px) and (max-width: 991px) and (max-height: 834px) {
/* iPad horizontal, tablets grandes apaisadas */
	.logo {
		width: 35%;
	}

	.demo-custom-height-1 {
		height: 78%;
	}

	.jumbotron .txt-ficohsa h2, .jumbotron .txt-ficohsa h2 strong {
		font-size: 26pt;
		text-align: center;
	}

	.jumbotron .subtitle {
		width: 80%;
		margin-top: 25px;
		margin-left: auto;
		margin-right: auto;
	}

	.jumbotron .subtitle .txt-subtitle {
		font-size: 10pt;
	}

	.jumbotron .app-ficohsa {
		display: none;
	}

	.jumbotron .country {
		margin-top: 50px;
	}

	.jumbotron .img-country {
		margin-top: 20px;
	}

	.jumbotron .img-country .c-buttons {
		width: 25%;
	}
}

@media (min-width: 992px) and (max-width: 1024px) and (max-height: 834px) {
/* iPad horizontal, tablets grandes apaisadas */
	.demo-custom-height-1 {
		height: 76%;
	}

	section .container {
		width: 90%;
		align-content: center;
	}

	.jumbotron .txt-ficohsa h2, .jumbotron .txt-ficohsa h2 strong {
		font-size: 26pt;
	}

	.jumbotron .subtitle {
		width: 80%;
		margin-top: 25px;
	}

	.jumbotron .subtitle .txt-subtitle {
		font-size: 10pt;
	}

	.jumbotron .app-ficohsa {
		margin-top: 25px;
	}

	.jumbotron .app-ficohsa .qr-app {
		width: 100px;
	}

	.jumbotron .app-ficohsa .qr-txt strong {
		font-size: 16pt;
	}

	.jumbotron .app-ficohsa .qr-txt {
		font-size: 10pt;
		margin-left: 20px;
	}

	.jumbotron .img-country .c-buttons {
		width: 45%;
	}
}

@media (min-width: 1025px) and (max-width: 1366px) and (max-height: 768px) {
/* Laptop 13 pulgadas */
	.demo-custom-height-1 {
		height: 73%;
	}

	.jumbotron .txt-ficohsa h2, .jumbotron .txt-ficohsa h2 strong {
		font-size: 26pt;
	}

	.jumbotron .subtitle {
		width: 80%;
		margin-top: 25px;
	}

	.jumbotron .subtitle .txt-subtitle {
		font-size: 10pt;
	}

	.jumbotron .app-ficohsa {
		margin-top: 25px;
	}

	.jumbotron .app-ficohsa .qr-app {
		width: 100px;
	}

	.jumbotron .app-ficohsa .qr-txt strong {
		font-size: 16pt;
	}

	.jumbotron .app-ficohsa .qr-txt {
		font-size: 10pt;
		margin-left: 20px;
	}
}

@media (min-width: 1367px) and (max-width: 1440px) and (max-height: 900px) {
/* Laptop 15 pulgadas */
	.demo-custom-height-1 {
		height: 76%;
	}
}

@media (min-width: 1441px) and (max-width: 1920px) and (max-height: 1080px) {
/* Monitores Full HD */
	.demo-custom-height-1 {
	    height: 76%;
	}
}

@media (max-width: 991px) and (orientation: landscape) {
	.logo {
		width: 20%;
	}

	.jumbotron .txt-ficohsa  {
		margin-bottom: -10px ;
	}

	.jumbotron .txt-ficohsa h2,
	.jumbotron .txt-ficohsa h2 strong {
		font-size: 12pt;
	}

	.jumbotron .txt-ficohsa .subtitle,
	.jumbotron .title-country {
		display: none;
	}

	.jumbotron .country,
    .jumbotron .img-country {
		margin-top: 0px;
	}

	#navbar {
		padding: 15px;
		height: 85px;
	}

	#navbar .campana .logo-campana {
		width: 20%;
	}

	#menuItems {
		max-height: 100vh;
		overflow-y: auto;
		max-width: 230px;
	}

	#menuItems a {
        font-size: 11pt;
    }

	#menuItems a small {
        font-size: 9pt;
    }
}