body {
		font-family: "Poppins", sans-serif;
}

@media (min-width: 1200px) {
		.container:not(.container-bs):not(.container-xl-custom):not(.container-xxl-custom) {
				max-width: 1200px;
		}
}

.custom-border-radius-1 {
		border-radius: 7px !important;
}

.custom-text-underline-1 {
		border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.custom-btn-border-radius {
		border-radius: 12px;
}

.custom-btn-arrow-effect-1 > svg {
		transition: ease transform 300ms;
}

.custom-btn-arrow-effect-1:hover > svg {
		transform: translate3d(8px, 0, 0);
}

.custom-select-1.custom-select-1-arrow-position:before {
		right: 30px;
}

.custom-svg-1 {
		position: absolute;
		left: 0;
		top: -100px;
		width: 640px;
}

.custom-svg-2 {
		position: absolute;
		top: 43%;
		left: -260px;
		width: 190px;
		transform: translate3d(0, -50%, 0);
}

.custom-svg-3 {
		display: none;
		position: absolute;
		right: 0;
}

@media (min-width: 576px) {
		.custom-svg-3 {
				display: block;
				bottom: -80px;
				width: 80px;
		}
}

@media (min-width: 1440px) {
		.custom-svg-3 {
				bottom: -150px;
				width: 150px;
		}
}

.custom-bg-color-grey-1 {
		background-color: #f4f4f4 !important;
}

.custom-alert-bg-color-1 {
		background-color: #fffcd6 !important;
}

@media (max-width: 575px) {
		.custom-section-background {
				background-color: #FFF !important;
		}
}

.custom-section-background .container:before {
		content: '';
		position: absolute;
		top: 50%;
		right: 85%;
		width: 100vw;
		height: calc( 100% + 150px);
		background: #FFF;
		z-index: 0;
		transform: translate3d(0, -50%, 0);
}

@media (max-width: 575px) {
		.custom-section-background .container:before {
				opacity: 0;
		}
}

@media (min-width: 1920px) {
		.custom-background-style-1 {
				background-size: cover;
		}
}

@media (max-width: 575px) {
		.custom-background-style-1 {
				background-image: none !important;
				background-color: #FFF;
		}
}

@media (min-width: 2050px), (max-width: 991px) {
		.custom-background-size-1 {
				background-size: cover !important;
		}
}

@media (min-width: 2050px) {
		.custom-background-size-1 {
				background-position: 14vw 50% !important;
		}
}

.custom-svg-background-1 {
		position: absolute;
		width: 1000%;
		top: 0;
		left: 50%;
		height: 100%;
		transform: translate3d(-50%, 0, 0);
}

@media (max-width: 991px) {
		.custom-svg-background-1 {
				left: 77%;
		}
}

@media (max-width: 575px) {
		.custom-svg-background-1 {
				left: 82%;
		}
}

@media (max-width: 991px) {
		.custom-remove-mobile-border-left {
				border-left: 0 !important;
		}
}

@media (max-width: 575px) {
		.custom-remove-mobile-xs-border-left {
				border-left: 0 !important;
		}
}

.custom-divider > hr {
		height: 4px !important;
}

@-webkit-keyframes customLineAnim {
		from {
				stroke-dasharray: 1600;
				stroke-dashoffset: 1600;
		}
		to {
				stroke-dasharray: 2500;
				stroke-dashoffset: 1600;
		}
}

@keyframes customLineAnim {
		from {
				stroke-dasharray: 1600;
				stroke-dashoffset: 1600;
		}
		to {
				stroke-dasharray: 2500;
				stroke-dashoffset: 1600;
		}
}

.customLineAnim {
		-webkit-animation-name: customLineAnim;
						animation-name: customLineAnim;
}

@-webkit-keyframes customLineAnim2 {
		from {
				stroke-dasharray: 2650;
				stroke-dashoffset: 2650;
		}
		to {
				stroke-dasharray: 2650;
				stroke-dashoffset: 0;
		}
}

@keyframes customLineAnim2 {
		from {
				stroke-dasharray: 2650;
				stroke-dashoffset: 2650;
		}
		to {
				stroke-dasharray: 2650;
				stroke-dashoffset: 0;
		}
}

.customLineAnim2 {
		-webkit-animation-name: customLineAnim2;
						animation-name: customLineAnim2;
}

@-webkit-keyframes customLineProgressAnim {
		from {
				width: 0;
		}
		to {
				width: 60px;
		}
}

@keyframes customLineProgressAnim {
		from {
				width: 0;
		}
		to {
				width: 60px;
		}
}

.customLineProgressAnim {
		-webkit-animation-name: customLineProgressAnim;
						animation-name: customLineProgressAnim;
}

/*
 * Social Icons
 */
.custom-social-icons-divider > li + li {
		position: relative;
		margin-left: 20px;
}

.custom-social-icons-divider > li + li:before {
		content: '';
		border-left: 1px solid #dadcdd;
		height: 80%;
		position: absolute;
		left: -13px;
		top: 50%;
		transform: translate3d(0, -50%, 0);
}

/*
 * Header
 */
#header .header-container {
		height: 110px;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
		border-radius: 5px !important;
}

#header .header-nav-features .header-nav-feature.px-4 .header-nav-features-dropdown.show {
		right: calc( 100% - 30px) !important;
}

.custom-left-border-1 {
		position: relative;
}

.custom-left-border-1:before {
		content: '';
		position: absolute;
		top: 50%;
		left: -22px;
		height: 60%;
		border-left: 1px solid #CCC;
		transform: translate3d(0, -50%, 0);
}

/*
* Icon Style
*/
.custom-icon-style-1 {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 195px;
		height: 95px;
}

.custom-icon-style-1:before {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		border: 2px solid #CCC;
		border-radius: 7px;
		/*transform: rotate(45deg);*/
		z-index: 0;
		transition: ease background 300ms;
}

.custom-icon-style-1 svg {
		position: relative;
		z-index: 1;
}

.custom-icon-box-style-1 h3 {
		transition: ease color 300ms;
}

/*
* Thumb Info
*/
.custom-thumb-info-style-1 .thumb-info-wrapper {
		border-radius: 25px !important;
		border: 5px solid transparent !important;
		transition: ease border 300ms;
}

.custom-thumb-info-style-1 h3 {
		transition: ease color 300ms;
}

.custom-img-thumbnail-style-1.img-thumbnail.img-thumbnail-hover-icon:before {
		border-radius: 0 !important;
}

/*
* Testimonial
*/
.custom-testimonial-style-1 blockquote {
		padding: 5px 20px !important;
}

.custom-testimonial-style-1 blockquote p {
		font-family: "Poppins", sans-serif;
}

.custom-testimonial-style-1.testimonial-with-quotes blockquote:before {
		content: "\f10d";
		font-family: "Font Awesome 6 Free";
		font-weight: 900;
		font-size: 20px;
}

@media (min-width: 1200px) {
		.custom-carousel-box-shadow-1 {
				position: relative;
		}
		.custom-carousel-box-shadow-1:before {
				content: '';
				position: absolute;
				top: 50%;
				left: 50%;
				width: 65%;
				height: 0px;
				box-shadow: 0 0 40px 120px rgba(0, 0, 0, 0.07);
				transform: translate3d(-50%, -50%, 0);
				z-index: 0;
		}
}

/*
* Accordion
*/
.custom-accordion-style-1 > .card {
		border: 1px solid transparent !important;
		transition: ease border-color 300ms;
}

.custom-accordion-style-1 > .card .card-header a {
		position: relative;
		padding: 23px 30px;
		background-color: #f4f4f4;
		transition: ease background-color 300ms, ease color 300ms;
}

.custom-accordion-style-1 > .card .card-header a:after {
		content: '+';
		position: absolute;
		top: 50%;
		right: 25px;
		font-size: inherit;
		font-weight: inherit;
		transform: translate3d(0, -50%, 0) rotate(45deg);
		transform-origin: 50% 50%;
		transition: ease transform 300ms;
}

.custom-accordion-style-1 > .card .card-header a.collapsed:after {
		transform: translate3d(0, -50%, 0) rotate(0deg);
}

.custom-accordion-style-1 > .card .card-header + .collapse.show,
.custom-accordion-style-1 > .card .card-header + .collapsing {
		border: 1px solid #CCC;
		border-top: 0;
}

.custom-accordion-style-1 > .card + .card {
		margin-top: 17px;
}

/*
* Services Detail
*/
.custom-nav-list-effect-1 > li > a {
		position: relative;
		transition: ease padding 300ms, ease color 300ms;
}

.custom-nav-list-effect-1 > li > a:before {
		content: '';
		position: absolute;
		top: 50%;
		left: 0;
		width: 0;
		height: 0;
		border-top: 4px solid #CCC;
		opacity: 0;
		visibility: hidden;
		transform: translate3d(0, -50%, 0);
		transition: ease opacity 300ms, ease width 300ms;
}

.custom-nav-list-effect-1 > li.active > a, .custom-nav-list-effect-1 > li.open > a, .custom-nav-list-effect-1 > li:hover > a {
		padding-left: 45px;
		font-weight: 700;
}

.custom-nav-list-effect-1 > li.active > a:before, .custom-nav-list-effect-1 > li.open > a:before, .custom-nav-list-effect-1 > li:hover > a:before {
		width: 30px;
		opacity: 1;
		visibility: visible;
}

.custom-feature-box-justify-center {
		justify-content: center;
}

.custom-feature-box-justify-center .feature-box-icon,
.custom-feature-box-justify-center .feature-box-info {
		flex: 0 0 auto;
}

/*
* Contact
*/
.custom-form-style-1 .form-control {
		border: 0;
		background: #f4f4f4;
		border-radius: 35px;
		height: auto;
		padding: 20px 25px;
}

/*
* Datepicker
*/
.datepicker {
		padding: 10px;
		margin: 0 auto;
		line-height: 1.1em;
}

.datepicker.datepicker-inline {
		line-height: 1.7em;
		width: 100%;
}

.datepicker table {
		width: 100%;
}

.datepicker table tr td {
		border-radius: 0;
}

.datepicker table thead tr th {
		cursor: pointer;
		font-size: 12.8px;
		font-size: 0.8rem;
		text-align: center;
		font-weight: normal;
}

.datepicker table thead tr th.prev {
		content: '\f0d9';
		font-family: 'Font Awesome 6 Free';
		font-weight: 900;
}

.datepicker table thead tr th.next {
		content: '\f0da';
		font-family: 'Font Awesome 6 Free';
		font-weight: 900;
}

.datepicker table thead tr th:hover {
		color: #FFF;
}

.datepicker table thead tr:last-child th {
		font-weight: 600;
}

.datepicker table thead tr:last-child th:hover {
		color: #CCC;
}

.datepicker table td {
		text-align: center;
		font-size: 12px;
		font-size: 0.75rem;
}

.datepicker table td.day {
		transition: background-color .1s ease-in .1s, color .1s ease-in .1s;
		cursor: pointer;
}

/*
* Footer
*/
#footer {
		background: #333333;
}

#footer a:not(.btn):not(.no-footer-css), #footer li, #footer span, #footer p {
		color: #888888;
}

.custom-list-style-1 > li {
		margin-bottom: 0;
		padding-top: 10px;
		padding-bottom: 10px;
}

.custom-list-style-1 > li + li {
		border-top: 1px solid #46474a;
}

.custom-list-style-1 > li:first-child {
		padding-top: 0;
}

.custom-list-style-1 > li:last-child {
		padding-bottom: 0;
}
/* Sugerencias: visibilidad de zonas de vídeo basadas en .active */
#uploadArea,
#recordArea {
  display: none;
}

#uploadArea.active,
#recordArea.active {
  display: block !important; /* gana al style="display:none" inline */
}
#uploadArea1,
#recordArea1,
#uploadArea2,
#recordArea2 {
    display: none;
}

#uploadArea1.active,
#recordArea1.active,
#uploadArea2.active,
#recordArea2.active {
    display: block !important;
}
/* Top bar: layout y alineación */
.header-top .header-row{ display:flex; align-items:center; }
.header-top .header-column.col-auto.px-0:first-child{ flex:0 0 auto; } /* email */
.header-top .header-column.col.px-0{ flex:1 1 auto; }                 /* combos+usuario */

.header-top .header-nav-top .social-icons,
.header-top .header-nav-top .header-social-icons{
  display:flex;
  justify-content:flex-end !important;
  align-items:center;
  gap:16px;
  margin:0;
}

.header-top .social-icons > li{ margin:0; }
.header-top select.form-select{ margin-bottom:0 !important; }

/* El menú del usuario flotante, sin empujar nada */
.header-top .dropdown-menu{ position:absolute; right:0; left:auto; }

/* (opcional) Igualar padding lateral al del header inferior si notaras milímetros de diferencia */
.header-top .container{ padding-left:15px; padding-right:15px; }

/* --- FIX: que los estilos de .social-icons NO afecten al dropdown --- */

/* 1) Estilos del menú de usuario en modo lista normal */
.header-top .dropdown-menu{
  position: absolute;          /* ya lo tenías, mantiene el float */
  right: 0; left: auto;
  min-width: 220px;
  padding: .5rem 0;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  z-index: 1100;
}

/* 2) Resetea los <a> del dropdown (anula lo circular de .social-icons li a) */
.header-top .dropdown-menu .dropdown-item{
  display: flex !important;
  align-items: center;
  gap: .6rem;
  width: auto !important;
  height: auto !important;
  padding: .6rem 1rem !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #4a4a4a !important;
  font-weight: 500;
  line-height: 1.2;
}

/* Hover/active limpio, con fondo suave y texto visible */
.header-top .dropdown-menu .dropdown-item:hover,
.header-top .dropdown-menu .dropdown-item:focus{
  background: #f5f7f9 !important;
  color: #111 !important;
}

/* 3) Los iconos del dropdown NO son “burbujas” */
.header-top .dropdown-menu .dropdown-item i{
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  background: none !important;
  border-radius: 0 !important;
  color: inherit !important;
  font-size: 1rem;
}

/* 4) Si el tema aplica estilos genéricos a enlaces dentro de .social-icons, limítalos a hijos directos */
.header-top .header-nav-top .social-icons > li > a{
  /* aquí mantienes tus estilos de icono superior si los necesitas */
}

/* 5) Separador algo más sutil */
.header-top .dropdown-menu .dropdown-divider{
  margin: .35rem 0;
  opacity: .5;
}
/* --- FIX: evitar que el icono de usuario se oscurezca en hover --- */
.header-top .dropdown > a,
.header-top .dropdown > a:hover,
.header-top .dropdown > a:focus {
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  border: none !important;
  transition: none !important;
}

/* Si quieres que cambie ligeramente el color del icono, usa este bloque en lugar del de arriba */
.header-top .dropdown > a:hover i {
  color: #0c4a6e !important; /* azul oscuro corporativo */
}
/* El contenedor dropdown debe crear contexto y estar por encima */
.header-top .dropdown{
  position: relative;
  z-index: 1055;
}

/* Enlace del icono: área clicable y sin hacks del tema */
.header-top .dropdown > a{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  border: none !important;
  transition: none !important;
  pointer-events: auto !important;
  cursor: pointer;
}

/* Por si el tema dejó algún pointer-events:none en los anchors del top */
.header-top .header-nav-top .social-icons > li > a{
  pointer-events: auto !important;
}

/* El menú flotante y visible por encima de los selects */
.header-top .dropdown-menu{
  position: absolute;
  right: 0; left: auto;
  z-index: 1100;
  min-width: 220px;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  transform: none !important;
  transition: none !important;
}

/* Ocultar cuando NO tiene la clase show */
.header-top .dropdown-menu:not(.show){
  display: none !important;
}

/* Mostrar cuando SÍ tiene la clase show */
.header-top .dropdown-menu.show{
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* CRITICAL: Forzar que TODO el contenido del menú sea visible inmediatamente */
.header-top .dropdown-menu *,
.header-top .dropdown-menu .dropdown-item,
.header-top .dropdown-menu .dropdown-item i,
.header-top .dropdown-menu li,
.header-top .dropdown-menu a{
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.header-top .dropdown-menu.show *{
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}

/* 1) Limitar estilos de social-icons SOLO al icono del toogle, no a todo el li */
.header-top .header-nav-top .social-icons > li > a {
  /* aquí puedes dejar tus estilos del icono si quieres */
}

/* 2) Neutralizar el hover del <li> sobre los enlaces del menú */
.header-top .header-nav-top .social-icons li:hover .dropdown-menu .dropdown-item,
.header-top .header-nav-top .social-icons li:hover .dropdown-menu .dropdown-item i {
  color: #4a4a4a !important;
  background: transparent !important;
}

/* 3) Asegurar colores y fondo correctos del dropdown (por si el tema insiste) */
.header-top .dropdown-menu .dropdown-item {
  color: #4a4a4a !important;
  background: transparent !important;
}
.header-top .dropdown-menu .dropdown-item:hover,
.header-top .dropdown-menu .dropdown-item:focus {
  background: #f5f7f9 !important;
  color: #111 !important;
}

/* 4) (Importante) Evitar reglas genéricas que afectan a TODOS los <a> dentro del li */
.header-top .header-nav-top .social-icons li:hover > a {
  /* efecto hover solo para el TOGGLE, no para descendientes */
  color: inherit !important;
}

/* 5) Mantener el dropdown por encima y clicable */
.header-top .dropdown { position: relative; z-index: 1055; }
.header-top .dropdown-menu { right: 0; left: auto; z-index: 1100; }
/* ===========================
   ICONO DE USUARIO (efecto suave)
   =========================== */

/* 1) Botón del icono de usuario */
.header-top .dropdown > a {
  width: 46px;          /* área clicable mayor */
  height: 46px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: inherit !important;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* 2) Icono más grande */
.header-top .dropdown > a i {
  font-size: 2.25rem !important;  /* ≈36px */
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* 3) Efecto hover: leve giro y resplandor */
.header-top .dropdown > a:hover {
  transform: scale(1.08);
  box-shadow: 0 0 8px rgba(13,110,253,0.25);  /* azul suave */
}
.header-top .dropdown > a:hover i {
  transform: rotate(8deg);
  color: #0c4a6e !important;
}

/* 4) Dropdown: animación de aparición */
.header-top .dropdown-menu {
  position: absolute;
  right: 0;
  left: auto;
  min-width: 220px;
  padding: .5rem 0;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  background: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.2s ease-out;
  z-index: 1100;
}

/* 5) Cuando el menú se abre (Bootstrap añade .show) */
.header-top .dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
}

/* 6) Items del menú (ligero highlight en hover) */
.header-top .dropdown-menu .dropdown-item {
  transition: background-color .2s ease, color .2s ease, padding-left .15s ease;
}
.header-top .dropdown-menu .dropdown-item:hover {
  background-color: #f0f4ff !important;  /* tono azul claro */
  color: #0c4a6e !important;
  padding-left: 1.1rem !important;
}

@media (max-width: 768px) {
    .document-card .btn {
        font-size: 0.875rem;
        padding: 0.5rem !important;
    }
    .document-card h4 {
        font-size: 1rem;
    }
}

#intro .shape-divider-bottom {
  height: 120px !important;
}

#intro .col-md-10 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* CONTENEDOR DE SERVICIOS */
.portfolio-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
	 font-size: 0.8rem;
}

/* CADA CARD */
.portfolio-list .isotope-item {
    flex: 1;
    max-width: 19.5%;   /* ✅ 5 casi a pantalla completa */
}

/* RESPONSIVE TABLET */
@media (max-width: 992px) {
    .portfolio-list {
        flex-wrap: wrap;
    }
    .portfolio-list .isotope-item {
        max-width: 48%;  /* ✅ 2 por fila */
    }
}

/* RESPONSIVE MÓVIL */
@media (max-width: 576px) {
    .portfolio-list .isotope-item {
        max-width: 100%; /* ✅ 1 por fila */
    }
}
/* ✅ Reduce el espacio entre el título y las tarjetas */
#intro {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#intro .shape-divider-bottom {
    height: 80px !important; /* antes 215px */
}

.services-wrapper,
.bg-transparent.py-2.mt-1 {
    margin-top: -20px !important; /* acerca aún más las tarjetas */
    padding-top: 0 !important;
}
#intro .shape-divider-bottom {
    height: 50px !important;
}
.services-wrapper {
    padding-top: 0 !important;
}
/* ✅ Da más espacio vertical a la sección de servicios */
.services-wrapper,
.bg-transparent.py-2.mt-1 {
    padding-bottom: 80px !important;
}

/* ✅ Asegura que el contenedor se adapte a tarjetas altas */
.portfolio-list {
    min-height: 520px !important;
}
