/***********************
	Author: @edgardsite
	WSO ICON:
	<i class="fa-li fa aga-wso-icon"></i>
************************/

@font-face {
  font-family: 'wso-icon';
  src:  url('../fonts/wso-icon.eot?qcqjve');
  src:  url('../fonts/wso-icon.eot?qcqjve#iefix') format('embedded-opentype'),
    url('../fonts/wso-icon.ttf?qcqjve') format('truetype'),
    url('../fonts/wso-icon.woff?qcqjve') format('woff'),
    url('../fonts/wso-icon.svg?qcqjve#wso-icon') format('svg');
  font-weight: normal;
  font-style: normal;
}
i.aga-wso-icon {
  font-family: 'wso-icon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.aga-wso-icon:before {
  content: "\e900";
}

/********************************
**   CSS - GLOBAL
********************************/

h2.font30, h3.font30 {
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1
}
h2.font40, h3.font40 {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
}
h2.font50, h3.font50 {
	font-size: 3.125rem;
	font-weight: 700;
	line-height: 1.2;
}
.bg-wso-grey {
	background-color: #f5f5f7;
}
.text-green {
	color: #28a745;
}
.text-wso-red { color: #CA0027 !important; }
.text-md-wso {
	font-size: 52px !important;
    line-height: 52px !important;
	font-weight: 700;
}
.banner-slogan {
	font-size: 1.2rem;
} 
.fab.fa-x-twitter{
	font-family:sans-serif;
}
.fab.fa-x-twitter::before{
	content:"𝕏";
	font-size:1.2em;
}
#book form label {
	margin-left:20px;
	margin-bottom: 0;
}
.text-justify {
    text-align: justify;
}
.rounded-wso {
	overflow: hidden;
	border-radius: 50px 0 50px 0;
	box-shadow: -15px 15px 15px 2px rgba(128, 128, 128, 0.3);
}
.rounded-wso-left {
	overflow: hidden;
	border-top-left-radius: 30px;
	border-bottom-left-radius: 30px;
}
.line-height-14 {
	line-height: 1.4;
}

/********************************
**   END: CSS - GLOBAL
********************************/

/********************************
**   CSS - HOME
********************************/

#experience a.btn i {
    margin-left: 5px;
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 5px 7px;
}
#experience a.btn:hover i {
    border: 1px solid #666;
}
#experience-cards .card .fa-li {padding-right: 10px;}
#experience-cards .card {
	border-radius: 5rem .1rem .1rem;
	box-shadow: -6px 6px 0.5rem 1px rgba(31, 45, 61, 0.1);
	margin-bottom: 3.5rem;
}
#experience-cards .card-img-top {
    border-top-left-radius: 5rem;
	border-top-right-radius: .1rem;
}
#experience-cards .card .card-title {
	font-size: 17px;
    font-weight: 700;
}
#experience-cards .card-body {
	background-image: url('/assets/imgs/logo-element.svg');
	background-position: 170px 10px;
    background-size: 250px;
    background-repeat: no-repeat;
}
#monitoreo .parallax-container {
	background-attachment: fixed!important;
}
.wso-marker {
  width: 16px;
  height: 16px;
}
.marker-popup {
  cursor: pointer;
}
.modal-content {
	border-radius: 0.1rem;
}

/* WSO Trayectoria Counters (no conflict with theme .counter) */
.wso-trayectoria .wso-counter-number{
  display:flex;
  justify-content:center;
  align-items:baseline;
  gap:5px;
  white-space:nowrap;
  line-height:1.05;
    font-size: 2.5rem;
    font-weight: 700;
}

/* Units like USD / Horas smaller */
.wso-trayectoria .wso-unit{
  font-size:.55em;
  font-weight:700;
  opacity:.9;
  letter-spacing:.02em;
}

/* Optional: keep spacing consistent */
.wso-trayectoria .wso-counter-title{
  font-size:14px;
  font-weight:700;
  margin-top:6px;
}

.wso-trayectoria .wso-counter-subtitle{
  font-size:12px;
  opacity:.9;
  margin-top:4px;
  line-height:1.25;
}

/********************************
**   END: CSS - HOME
********************************/

/********************************
**   CSS - BOOKING FORM
********************************/

#book {
    background: rgba(228, 228, 228, 0.9);
    background: linear-gradient(245deg, 
        rgba(210, 210, 210, 0.9) 0%, 
        rgba(255, 255, 255, 0.95) 30%, 
        rgba(200, 200, 200, 0.9) 50%, 
        rgba(255, 255, 255, 0.95) 70%, 
        rgba(180, 180, 180, 0.9) 100%);
    border: 3px solid rgba(199, 199, 199, 1);
    border-radius: 60px 0 60px 0;
    padding: 40px 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.5), 
                inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
#book .form-control {
	background-color: transparent;
	border-color: #909195;
	border-radius: 3rem;
}
.book-link {
	display: flex!important;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	padding: 6px 18px!important;
}
.book-link i {
	margin-right: 0.5rem;
	font-size: 1.7rem;
}
.btn-radius12 {
	border-radius: 12px!important;
}

/********************************
**   END: CSS - BOOKING FORM
********************************/

/********************************
**   CSS - TIMELINE
********************************/

#timeline .card-right .card {border-radius: 0 5rem 0 5rem;}
#timeline .card-left .card {border-radius: 5rem 0 5rem 0;}
#timeline .card-right, #timeline .card-left {margin-top: 20px;}
#timeline .card-body {padding-top:35px;}
#timeline .card {height: 100%;}

.timeline-section .card-body {
	background-image: url('/assets/imgs/logo-element.svg');
	background-position: -3rem .6rem;
    background-size: 250px;
    background-repeat: no-repeat;
}
#page-title .page-title > span {
    background-color: rgba(255,255,255,0.85);
    padding: 4px 8px;
    color: #333333 !important;
	border-radius:1px;
}
#executive-protection .col-lg-5 img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
#razones ul li {margin-bottom: 15px;}
#razones ul li i {color:#828282!important;}
.background-guards {
    background: rgba(245, 245, 247, 1);
    background: linear-gradient(90deg,
		rgba(232, 232, 232, 1) 0%,
		rgba(255, 255, 255, 1) 50%,
		rgba(232, 232, 232, 1) 100%);
}
.main-timeline {
	position: relative;
}
.main-timeline::after {
	content: "";
	position: absolute;
	width: 3px;
	background-color: #CA0027;
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -3px;
}
.timeline-2 {
	position: relative;
	background-color: inherit;
	width: 50%;
}
.timeline-2::after {
	content: "\e900";
	font-family: 'wso-icon' !important;
	color: #fff;
	font-size: .9rem;
	font-weight: normal;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: 30px;
	height: 30px;
	right: -13px;
	background-color: #CA0027;
	top: 20px;
	border-radius: 50%;
	z-index: 1;
}
.main-timeline .timeline-2 .card-body h4 {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}
.left-2 {
	padding: 0px 40px 20px 0px;
	left: 0;
}
.right-2 {
	padding: 0px 0px 20px 40px;
	left: 50%;
}
.left-2::before {
	content: " ";
	position: absolute;
	top: 18px;
	z-index: 1;
	right: 30px;
	border: medium solid white;
	border-width: 10px 0 10px 10px;
	border-color: transparent transparent transparent white;
}
.right-2::before {
	content: " ";
	position: absolute;
	top: 18px;
	z-index: 1;
	left: 30px;
	border: medium solid white;
	border-width: 10px 10px 10px 0;
	border-color: transparent white transparent transparent;
}
.right-2::after {
	left: -16px;
}

/********************************
**   END: CSS - TIMELINE
********************************/

/********************************
**   CSS - JS MAP
********************************/

div.wso-riskMap {
	width: 100%;
	height: 510px;
}
#wso-jsmap {
	background-color: rgba(68, 68, 70,1);
}
.underJSmap {
	background-color: rgba(59, 59, 61,1);
    color: #FFF;
    margin-top:-8px;
}
.jvectormap-marker {
    cursor: pointer;
}
.modal-footer {
	padding: .5rem 1.25rem;
}
#markerModalBody img.wso-icon-modal {
	width: 24px;
	height: 24px;
	margin-right: 5px;
}
.modal #markerModalBody p {
	margin-bottom: 5px;
}
.alert.alert-secondary {
	background-color: rgba(193, 195, 206, 0.1);
	border-color: rgba(193, 195, 206, 0.2);
}
#wso-jsmap.icons-presence .presence {
	display: flex;
	align-items: center;
}
#wso-jsmap.icons-presence .alert {
	padding: 0.6rem 1rem;
	box-shadow: -5px 7px 7px 2px rgba(0, 0, 0, 0.1);
}
#wso-jsmap.icons-presence h4 {
	margin-bottom: 0px;
	font-size: 1.1rem;
    line-height: 1;
    letter-spacing: normal;
}
#wso-jsmap.icons-presence p {
	font-size: .6rem;
	margin-bottom: 0px;
	line-height: 1.1;
	letter-spacing: normal;
}

/********************************
**   END: CSS - JS MAP
********************************/

/********************************
**   CSS - CONTACT US
********************************/

.location-box {
	background-color: #f8f9fa;
	border-radius: 5px;
	text-align: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.location-box i {
	color:#CA0027;
}

/********************************
**   CSS - FOOTER
********************************/

footer {
	background-color: #1e2022;
}

.footer-widgets-wrap .icon-check-circle {
	margin-right: 10px;
}
.footer-widgets-wrap .fa-ul {
    margin-left: 3em;
}
.footer-widgets-wrap .fa-li {
	left: -2.6em;
}
.footer-widgets-wrap .fa-ul>li {
	margin-bottom: 20px;
}

/********************************
**   CSS - CSS Media Queries
********************************/

@media (min-width: 992px) {
	.cont-wso {
		padding-right: 2rem;
		padding-left: 2rem;
	}
}

@media (min-width: 1200px) { }
@media (min-width: 992px) and (max-width: 1199px){ }

@media (min-width: 768px) and (max-width: 991px){
	h2.font40 {
	font-size: 2.25rem;
	line-height: 1.1;
	}
	h2.font50 {
	font-size: 2.75rem; 
	line-height: 1.1;
	}
}
@media (min-width: 768px) {
	.right-2 .card, .right-2 .card img {
	border-top-right-radius: 5rem;
	}
	.left-2 .card, .left-2 .card img {
	border-top-left-radius: 5rem;
	}
}
@media (max-width: 767px) {
	.main-timeline::after {
	left: 31px;
	}
	.timeline-2 {
	width: 100%;
	padding-left: 70px;
	padding-right: 25px;
	}
	.timeline-2::before {
	left: 60px;
	border: medium solid white;
	border-width: 10px 10px 10px 0;
	border-color: transparent white transparent transparent;
	}
	.left-2::after, .right-2::after {
	left: 14px;
	}
	.left-2::before {
	right: auto;
	}
	.right-2 {
	left: 0%;
	}
	.right-2 .card, .right-2 .card img,
	.left-2 .card, .left-2 .card img {
	border-top-right-radius: 5rem;
	}
	h2.font40 {
	font-size: 2rem;
	line-height: 1.1;
	}
	h2.font50 {
	font-size: 2.5rem; 
	line-height: 1.1;
	}
}
@media (max-width: 991px) {
	.cont-wso {
		padding-right: 3rem;
		padding-left: 3rem;
	}
	.footer-widgets-wrap .footer-li {
	padding-top: 30px;
	}
}

/********************************
**   END - CSS Media Queries
********************************/

/* ==========================================================================
   WSO SVG INTERACTION: hover, tooltip, subtle motion
   Paste into custom.css
   ========================================================================== */

#wso-home-svg-wrap{
  position: relative;
  overflow: visible !important; /* prevent tooltip clipping */
}

/* make sure Bootstrap containers do not clip the tooltip */
#wso-home-svg-wrap .container,
#wso-home-svg-wrap .row,
#wso-home-svg-wrap .col,
#wso-home-svg-host{
  overflow: visible !important;
}

#wso-home-svg{
  width: 100%;
  height: auto;
  display: block;
  outline: none !important; /* remove blue outline on the whole svg */
}

/* Remove focus outlines (blue stroke/box) */
#wso-home-svg:focus,
#wso-home-svg *:focus,
#wso-home-svg .wso-node:focus{
  outline: none !important;
}

/* Mobile tap highlight off */
#wso-home-svg-wrap,
#wso-home-svg,
#wso-home-svg .wso-node{
  -webkit-tap-highlight-color: transparent;
}

/* Make nodes feel interactive */
#wso-home-svg .wso-node{
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
}

/* Subtle highlight on hover or active */
#wso-home-svg .wso-node:hover,
#wso-home-svg .wso-node.is-active{
  filter: drop-shadow(0 10px 18px rgba(30, 32, 34, 0.18));
}

/* Accent fill on hover/active */
#wso-home-svg .wso-node:hover .wso-accent,
#wso-home-svg .wso-node.is-active .wso-accent{
  fill: #CA0027 !important;
}

/* Float animation */
#wso-home-svg .wso-float{
  animation: wsoFloat 3.8s ease-in-out infinite;
}

@keyframes wsoFloat{
  0%{ transform: translateY(0); }
  50%{ transform: translateY(-4px); }
  100%{ transform: translateY(0); }
}

/* Pulse animation */
#wso-home-svg .wso-pulse{
  animation: wsoPulse 2.8s ease-in-out infinite;
}

@keyframes wsoPulse{
  0%{ filter: drop-shadow(0 0 0 rgba(202, 0, 39, 0.0)); }
  50%{ filter: drop-shadow(0 12px 22px rgba(202, 0, 39, 0.20)); }
  100%{ filter: drop-shadow(0 0 0 rgba(202, 0, 39, 0.0)); }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce){
  #wso-home-svg .wso-float,
  #wso-home-svg .wso-pulse{
    animation: none !important;
  }
}

/* Tooltip bubble */
.wso-svg-tooltip{
  position: absolute;
  z-index: 9999; /* ensure it stays above everything */
  max-width: 280px;
  background: #ffffff;
  border: 1px solid rgba(30, 32, 34, 0.12);
  box-shadow: 0 14px 34px rgba(30, 32, 34, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.wso-svg-tooltip.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.wso-svg-tooltip .wso-tt-title{
  font-weight: 700;
  color: #1e2022;
  margin: 0 0 4px 0;
  font-size: 14px;
}

.wso-svg-tooltip .wso-tt-desc{
  margin: 0;
  color: #5b6168;
  font-size: 13px;
  line-height: 1.35;
}

.wso-svg-tooltip .wso-tt-tag{
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #CA0027;
}

/* ==========================================================================
   WSO Homepage Form Validation
   ========================================================================== */

#book form .form-control {
  border: 1px solid #1e2022;
  box-shadow: none;
}

#book form.was-validated .form-control:invalid {
  border-color: #CA0027;
}

#book form.was-validated .form-control:valid {
  border-color: rgba(30, 32, 34, 0.35);
}

#book form .wso-field-error {
  display: none;
  font-size: 12px;
  margin-top: 6px;
  color: #CA0027;
}

#book form.was-validated .form-control:invalid + .wso-field-error {
  display: block;
}

/* ==========================================================================
   WSO Lead Success Overlay
   ========================================================================== */

#wsoLeadOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

#wsoLeadOverlay .wso-lead-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

#wsoLeadOverlay .wso-lead-overlay-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#wsoLeadOverlay .alert {
  max-width: 520px;
  width: 100%;
  border-radius: 14px;
}

/* Prevent scroll while overlay is open */
body.wso-overlay-open {
  overflow: hidden;
}

/* ==========================================================================
   WSO Lead Success Overlay (force full cover)
   ========================================================================== */

#wsoLeadOverlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
}

#wsoLeadOverlay .wso-lead-overlay-backdrop{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.75);
}

#wsoLeadOverlay .wso-lead-overlay-card{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}