@import url(http://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic,700,700italic,800,800italic);
@import url(http://fonts.googleapis.com/css?family=Raleway:400,100,200,300,500,600,700,800,900);
@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic);
html, body {
	height: 100%;
	width: 100%;
	padding: 0;
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 1;
	font-weight: 400;
	border: none;
	color: #444;
	position: relative;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 500;
	margin: 0px 0px 10px;
	color: #272727;
	font-family: "Open Sans", sans-serif;
	text-transform: uppercase;
}
h4 {
	font-size: 16px;
	font-family: "Raleway", sans-serif;
	font-weight: 700;
	line-height: 22px;
}
h3 {
	font-size: 26px;
}
p {
	margin-bottom: 22px;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	line-height: 25px;
	color: #727272;
	font-weight: 400;
}
a {
	color: #7EC13F;
	background: none;
	text-decoration: none;
	outline: none;
}
a:hover, a:active, a:focus {
	color: #F5514B;
	text-decoration: none;
	outline: none;
}
::selection {
	background: #F5514B;
	color: #FFF;
}
::-moz-selection {
	background: #F5514B;
	color: #FFF;
}
img {
	max-width: 100%;
}
/* ===================================================== */
/* FORMULARIOS PROFESIONALES */
/* ===================================================== */

.form-control,
select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {

    display: inline-block;
    width: 100%;
    height: 48px;
    padding: 12px 15px;
    margin-bottom: 20px;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: #2C3E50;

   background: rgba(255, 255, 255, 0.08);
color: #000000;
border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* TEXTAREA MÁS ALTO */
textarea {
    min-height: 130px;
    resize: vertical;
}

/* EFECTO HOVER */
.form-control:hover,
select:hover,
textarea:hover,
input:hover {
    border-color: #3498db;
}

/* EFECTO FOCUS MODERNO */
.form-control:focus,
select:focus,
textarea:focus,
input:focus {

    outline: none;
    border-color: #2980b9;
    background: #f9fbfd;

    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.15);
}

/* PLACEHOLDER MÁS LEGIBLE */
::placeholder {
    color: #95a5a6;
    font-weight: 400;
}
/*-----------------------------------------------------------------*/

/* Common Elements
/*-----------------------------------------------------------------*/

::-webkit-input-placeholder {
	color: #FFF !important;
	font-weight: 600;
	letter-spacing: 1px;
}
:-moz-placeholder {
	color: #FFF !important;
	font-weight: 600;
	letter-spacing: 1px;
}
::-moz-placeholder {
	color: #FFF !important;
	font-weight: 600;
	letter-spacing: 1px;
}
:-ms-input-placeholder {
	color: #FFF !important;
	font-weight: 600;
	letter-spacing: 1px;
}
.clear {
	clear: both;
}
.scrollup {
	width: 35px;
	height: 35px;
	position: fixed;
	bottom: 30px;
	right: 15px;
	display: none;
	background: rgba(126, 193, 63, .8);
	text-align: center;
}
.scrollup i {
	color: #fff;
	font-size: 15px;
	display: block;
	line-height: 33px;
}
.scrollup:hover {
	background: rgba(126, 193, 63, .9);
}
.section {
	padding: 100px 0 70px;
	position: relative;

}
.section .container {
	position: relative;
}
.title-box {
	border-bottom-width: 0px;
	margin-bottom: 55px;
	position: relative;
}
.title-box h2.title {
	font-weight: 700;
	font-size: 29px;
	line-height: 32px;
	text-transform: uppercase;
}
.title-box h2:before {
	bottom: 0;
	content: "";
	display: block;
	height: 2px;
	left: 0;
	margin: -22px auto;
	position: absolute;
	width: 40px;
	background: #00AAB3;
}
.title-box.white h2.title:before {
	background: #FFF;
}
.title-box.white h2.title {
	color: #FFF;
}
.title-box.text-center h2:before {
	bottom: 0;
	content: "";
	display: block;
	height: 2px;
	left: 0;
	right: 0;
	margin: -22px auto;
	position: absolute;
	width: 40px;
	background: #575051;
}
.title-box.text-right:before {
	left: auto;
	right: 0;
}
.title-box.text-center:before {
	left: 50%;
	margin-left: -20px;
}
.color-white h2 {
	color: #fff !important;
}
#pageloader {
	width: 100%;
	height: 100%;
	position: fixed;
	background-color: #FFF;
	z-index: 999999;
}
.loader {
	position: absolute;
	width: auto;
	height: auto;
	margin: -25px 0 0 -25px;
	top: 50%;
	left: 50%;
	text-align: center;
}
.overlay {
	background: rgba(0, 0, 0, 0.4) url("../images/pattern.png") repeat;
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
}
section {
	position: relative;
}
.parallax .container {
	position: relative;
}
.parallax {
	background-attachment: fixed !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}
/*-----------------------------------------------------------------*/

/* Buttons
/*-----------------------------------------------------------------*/

.btn {
	box-shadow: none;
	line-height: 22px;
	font-weight: 600;
	padding: 6px 23px;
	font-size: 15px;
	border-radius: 20px;
	border: 2px solid transparent;
	color: #262B37;
	transition: all 200ms ease 0s;
}
.btn-red {
	background: rgb(243, 88, 91);
	border-color: rgb(243, 88, 91);
	color: #FFF;
}
.btn-red:hover, .btn-red:focus {
	background: #FFF;
	border-color: FFFF;
	color: #000;
}
.btn-white {
	background: #FFF;
	border-color: FFFF;
	color: #5F5A5A;
}
.btn-white:hover, .btn-white:focus {
	color: #FFF;
	background: #7EC13F;
	border-color: #7EC13F;
}
.btn-gray-border:hover, .btn-gray-border:focus {
	color: #FFF;
	background: rgb(243, 88, 91);
	border-color: rgb(243, 88, 91);
}
.btn-green {
	background: #7EC13F;
	border-color: #7EC13F;
	color: #FFF;
}
.btn-green:hover, .btn-green:focus {
	color: #FFF;
	background: transparent;
	border-color: #FFF;
}
.btn-gray-border {
	border: 2px solid #7A7A7B;
	background: transparent;
	color: #4F4F50;
}
.btn-gray-border:hover, .btn-gray-border:focus {
	color: #FFF;
	background: #7EC13F;
	border-color: #7EC13F;
}
/*-----------------------------------------------------------------*/

/* spacing & margin
/*-----------------------------------------------------------------*/

.margin-top-5 {
	margin-top: 5px !important;
}
.margin-top-10 {
	margin-top: 10px !important;
}
.margin-top-15 {
	margin-top: 15px !important;
}
.margin-top-20 {
	margin-top: 20px !important;
}
.margin-top-25 {
	margin-top: 25px !important;
}
.margin-top-30 {
	margin-top: 30px !important;
}
.margin-top-35 {
	margin-top: 35px !important;
}
.margin-top-40 {
	margin-top: 40px !important;
}
.margin-top-45 {
	margin-top: 45px !important;
}
.margin-top-50 {
	margin-top: 50px !important;
}
.no-margin-bottom {
	margin-bottom: opx !important;
}
.margin-bottom-5 {
	margin-bottom: 5px !important;
}
.margin-bottom-10 {
	margin-bottom: 10px !important;
}
.margin-bottom-15 {
	margin-bottom: 15px !important;
}
.margin-bottom-20 {
	margin-bottom: 20px !important;
}
.margin-bottom-25 {
	margin-bottom: 25px !important;
}
.margin-bottom-30 {
	margin-bottom: 30px !important;
}
.margin-bottom-35 {
	margin-bottom: 35px !important;
}
.margin-bottom-40 {
	margin-bottom: 40px !important;
}
.margin-bottom-50 {
	margin-bottom: 50px !important;
}
.margin-bottom-50 {
	margin-bottom: 50px !important;
}
.margin-bottom-60 {
	margin-bottom: 60px !important;
}
.margin-bottom-70 {
	margin-bottom: 70px !important;
}
.margin-bottom-80 {
	margin-bottom: 80px !important;
}
.margin-bottom-90 {
	margin-bottom: 90px !important;
}
.margin-left-5 {
	margin-left: 5px !important;
}
.margin-left-10 {
	margin-left: 10px !important;
}
.margin-left-15 {
	margin-left: 15px !important;
}
.margin-left-20 {
	margin-left: 20px !important;
}
.margin-left-25 {
	margin-left: 25px !important;
}
.margin-left-30 {
	margin-left: 30px !important;
}
.margin-left-90 {
	margin-left: 90px !important;
}
.margin-right-5 {
	margin-right: 5px !important;
}
.margin-right-10 {
	margin-right: 10px !important;
}
.margin-right-15 {
	margin-right: 15px !important;
}
.margin-right-20 {
	margin-right: 20px !important;
}
.margin-right-25 {
	margin-right: 25px !important;
}
.margin-right-30 {
	margin-right: 30px !important;
}
.padding-top-5 {
	padding-top: 5px;
}
.padding-top-10 {
	padding-top: 10px;
}
.padding-top-15 {
	padding-top: 15px;
}
.padding-top-20 {
	padding-top: 20px;
}
.padding-top-25 {
	padding-top: 25px;
}
.padding-top-30 {
	padding-top: 30px;
}
.padding-top-35 {
	padding-top: 35px;
}
.padding-top-40 {
	padding-top: 40px;
}
.padding-top-45 {
	padding-top: 45px;
}
.padding-top-50 {
	padding-top: 50px;
}
.padding-top-55 {
	padding-top: 55px;
}
.padding-top-60 {
	padding-top: 60px;
}
.padding-top-70 {
	padding-top: 70px;
}
.padding-top-80 {
	padding-top: 80px;
}
.padding-top-90 {
	padding-top: 90px;
}
.padding-top-100 {
	padding-top: 100px;
}
.padding-bottom-5 {
	padding-bottom: 5px;
}
.padding-bottom-10 {
	padding-bottom: 10px;
}
.padding-bottom-15 {
	padding-bottom: 15px;
}
.padding-bottom-20 {
	padding-bottom: 20px;
}
.padding-bottom-25 {
	padding-bottom: 25px;
}
.padding-bottom-30 {
	padding-bottom: 30px;
}
.padding-bottom-35 {
	padding-bottom: 35px;
}
.padding-bottom-40 {
	padding-bottom: 40px;
}
.padding-bottom-45 {
	padding-bottom: 45px;
}
.padding-bottom-50 {
	padding-bottom: 50px;
}
.padding-bottom-55 {
	padding-bottom: 55px;
}
.padding-bottom-60 {
	padding-bottom: 60px;
}
.padding-bottom-70 {
	padding-bottom: 70px;
}
.padding-bottom-80 {
	padding-bottom: 80px;
}
.padding-bottom-90 {
	padding-bottom: 90px;
}
.padding-bottom-100 {
	padding-bottom: 100px;
}
.padding-5 {
	padding: 5px;
}
.padding-10 {
	padding: 10px;
}
.padding-15 {
	padding: 15px;
}
.padding-20 {
	padding: 20px;
}
.padding-25 {
	padding: 25px;
}
.padding-30 {
	padding: 30px;
}

/*-----------------------------------------------------------------*/
/* Navigation
/*-----------------------------------------------------------------*/

/* HEADER */

#header {
    top: 0;
    width: 100%;
    position: fixed;
    z-index: 99999;
}

/* MENÚ */
#main-menu {
    z-index: 300;
    visibility: visible;
}

.menu-bg {
    background: transparent;
    backdrop-filter: blur(1px) saturate(180%);
    -webkit-backdrop-filter: blur(1px) saturate(180%);

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);

    transition: all 0.4s ease;
}

.menu-bg #main-menu ul li a {
    color: #1d1d1f; /* negro Apple */
}

.menu-bg #main-menu ul li a:hover {
    color: #000;
}

#main-menu ul {
    display: block;
    width: 100%;
    text-align: center;
}

#main-menu ul li {
    display: inline-block;
    position: relative;
}

#main-menu ul li a {
    display: inline-block;
    padding: 6px 10px;
    line-height: 50px; /* bajamos un poco */
    color: #FFF;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

#main-menu ul li a:hover {
	color:#FFF;
}

#main-menu ul.nav>li>a:hover, #main-menu ul.nav>li>a:focus {
	background: none;
}

#main-menu ul li.active > a, #main-menu ul li.active.has-child > a {
	color: #FFF;
	box-shadow: inset 0 -2px 0 #FFF;
}

.clear-toggle {
	display:none;
	clear:both;
}
.navbar-toggle {
	color: #FFF;
	margin-top: 4px;
	font-size: 32px;
	margin-bottom: 0px;
	padding-top: 9px;
	position: absolute;
	right: 0px;
	padding-right: 0;
}

/* LOGO */
.logo-nav {
    float: left;
    width: 300px;
    height: 90px; /* antes 150px */
    display: flex;
    align-items: flex-start; /*lo sube arriba */
    justify-content: center;
    padding-top: 0px; /* ajuste fino */
}

.logo-nav img {
    width: 50%;
    height: auto;
    border-radius: 12px;

    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.4),
        0 0 35px rgba(0, 180, 255, 0.4);

    transform: perspective(800px) rotateY(-6deg) rotateX(2deg);
    transition: all 0.4s ease-in-out;
}

.logo-nav img:hover {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow:
        0 15px 25px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 200, 255, 0.6);
}


/*-----------------------------------------------------------------*/

/* Slider
/*-----------------------------------------------------------------*/

.home {
	overflow: hidden;
	font-family: "Raleway", sans-serif;
}
.home .slides {
	display: inline-block;
	width: 100%;
}
.home .flexslider {
	overflow: hidden;
}
.big {
	font-size: 50px;
	font-weight: bold;
	line-height: 70px;
	text-transform: uppercase;
	margin: 6px -10px;
	color: #fff;
}
.small {
	font-size: 20px;
	font-weight: 200;
	color: #FFF;
	margin: 30px 0px 0px;
	text-transform: uppercase;
	font-weight: 600;
}
.home .flexslider .slides img {
	background-position: center 0;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
}
.home .flexslider .slides img.parallax {
	background-attachment: fixed;
}
.flexslider.video img {
	background: none !important;
}
#video_player {
	bottom: 0;
	height: auto;
	min-height: 100%;
	min-width: 100%;
	position: absolute;
	right: 0;
	width: auto;
}
.slider-text-wrapper {
	position: absolute;
	width: 100%;
	height: 250px;
	top: 50%;
	left: 0;
	margin-top: -125px;
	text-align: center;
	z-index: 999;
}
.slider-text-wrapper .btn {
	margin-top: 60px;
	border: 2px solid #FFF;
	background: transparent;
	color: #FFF;
}
.flex-control-nav {
	bottom: 40px;
	z-index: 999;
	position: absolute;
	width: 100%;
	text-align: center;
}
.flex-control-nav li {
	display: inline-block;
}
.flex-control-paging li a {
	width: 6px !important;
	height: 6px !important;
	box-shadow: none !important;
	background: #fff !important;
	display: inline-block !important;
	text-indent: -9999px !important;
	border-radius: 50% !important;
	margin: 0 6px !important;
	cursor: pointer !important;
	z-index: 9999 !important;
}
.flex-control-paging li a.flex-active {
	background: #18263a;
}
.flexslider {
	position: relative;
}
.flex-prev {
	color: #333;
	font-size: 40px;
	height: 40px;
	left: 20px;
	margin-top: -20px;
	position: absolute;
	top: 50%;
	width: 40px;
	z-index: 2;
}
.home .flex-prev, .home .flex-next {
	color: #FFF;
	transition: none 0s ease 0s;
	z-index: 999;
}
.flex-next {
	color: #333;
	font-size: 40px;
	height: 40px;
	right: 0px;
	margin-top: -20px;
	position: absolute;
	top: 50%;
	width: 40px;
	z-index: 2;
}
.home .flex-prev, .home .flex-next {
	color: #fff;
	transition: none;
}
#home {
	width: 100%;
	height: 100%;
	color: #fff;
}

.slider-overlay {
    
    background: url("../images/pattern.png") repeat rgba(0, 0, 0, 0); 
    
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 5; /* Bajamos el z-index para que no "asfixie" visualmente la imagen */
    width: 100%;
    height: 100%;    
    mix-blend-mode: overlay; 
}

/* --- Ajustes exclusivos para Móvil (pantallas menores a 768px) --- */
@media screen and (max-width: 767px) {
    
    /* 1. Reducir el tamaño de las flechas */
    .flex-direction-nav a {
        width: 35px !important;
        height: 35px !important;
        line-height: 35px !important;
        font-size: 18px !important; /* Tamaño del icono interno */
        background: rgba(0, 0, 0, 0.4) !important; /* Fondo sutil para que se vean */
        border-radius: 50%; /* Las hace circulares y más elegantes */
        text-align: center;
    }

    /* 2. Mover la flecha IZQUIERDA */
    .flex-direction-nav .flex-prev {
        left: 0px !important; /* Separación del borde izquierdo */
        top: auto !important;
        bottom: 240px !important; /* Las bajamos cerca del pie del slider */
        opacity: 1 !important; /* Que siempre sean visibles en móvil */
    }

    /* 3. Mover la flecha DERECHA */
    .flex-direction-nav .flex-next {
        right: 0px !important; /* Separación del borde derecho */
        top: auto !important;
        bottom: 240px !important; /* Misma altura que la otra flecha */
        opacity: 1 !important;
    }

    /* 4. Quitar efectos de desplazamiento al pasar el mouse (que no existen en móvil) */
    .flex-direction-nav .flex-prev:hover, 
    .flex-direction-nav .flex-next:hover {
        background: rgba(0, 0, 0, 0.6) !important;
    }
}

/*-----------------------------------------------------------------*/
/*  Flexslider
/*-----------------------------------------------------------------*/

.flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {
	outline: none;
}
.slides, .flex-control-nav, .flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}
.flexslider {
	margin: 0;
	padding: 0;
}
.flexslider .slides>li {
	display: none;
	-webkit-backface-visibility: hidden;
}
.flexslider .slides img {
	width: 100%;
	display: block;
	height: 630px;
}
.flex-pauseplay span {
	text-transform: capitalize;
}
.slides:after {
	content: "\0020";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
html[xmlns] .slides {
	display: block;
}
* html .slides {
	height: 1%;
}
.no-js .slides>li:first-child {
	display: block;
}
.flex-control-nav {
	position: absolute;
	bottom: 20px;
	text-align: center;
	width: 100%;
}
.flex-control-nav li {
	margin: 0 3px;
	display: inline-block;
}
.flex-control-nav li a {
	width: 30px;
	height: 5px;
	background: #FFF;
	text-indent: -9999px;
	display: block;
	opacity: 0.4;
}
.flex-control-nav li a.flex-active {
	opacity: 1;
}
.flex-direction-nav .flex-prev:hover, .flex-direction-nav .flex-next:hover {
	opacity: 1;
}
/*-----------------------------------------------------------------*/

/* About
/*-----------------------------------------------------------------*/

.features-icon-box {
	margin-bottom: 50px;
}
.features-icon-box .features-icon {
	position: absolute;
	width: 60px;
	height: 60px;
	line-height: 41px;
	font-size: 45px;
	color: #7EC13F;
}
.features-icon-box .features-info {
	margin-left: 80px;
}
/*-----------------------------------------------------------------*/

/* Fun Facs
/*-----------------------------------------------------------------*/

#facts {
	background: url(../images/fondo2.png) no-repeat;
	padding: 150px 0px 100px;
}
.facts-box {
	text-align: center;
}
.facts-box h3 {
	font-size: 40px;
	margin-bottom: 12px;
	color: #FFF;
	font-weight: 700;
}
.facts-box span {
	color: #FFF;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
}
.facts-box i {
	color: #FFF;
	font-size: 50px;
	margin-bottom: 30px;
}
/*-----------------------------------------------------------------*/

/* Tab
/*-----------------------------------------------------------------*/

.content-tab-1 .nav {
	text-align: center;
	text-transform: uppercase;
}
.content-tab-1>.nav>li {
	float: none;
	display: inline-block;
	border: 2px solid #B1AEAE;
	padding: 3px 20px;
	box-shadow: 0px 0px 2px #F2F2F2;
	margin-bottom: 5px;
}
.content-tab-1>.nav li>a {
	color: #CFD9E6;
	background-color: transparent;
	transition: all 0.2s ease 0s;
}
.content-tab-1>.nav li>a>i {
	color: #474846;
	font-size: 35px;
	margin-bottom: 10px;
}
.content-tab-1>.nav>li>a>h4 {
	display: block;
	color: #4D3F3F;
	font-size: 16px;
	margin-bottom: 0px;
}
.content-tab-1>.nav>li.active>a>h4, .content-tab-1>.nav>li.active>a>i {
	color: #FFF;
}
.content-tab-1>.nav>li.active {
	border: 2px solid #7EC13F;
	background: #7EC13F;
}
.tab-content-main {
	padding: 70px 0px 0px;
}
.tab-content-main img {
	float: left;
	margin-right: 75px;
}
.tab1-features {
	margin-bottom: 30px;
}
.tab1-features .icon {
	position: absolute;
	width: 40px;
	height: 40px;
	background: #7EC13F;
	color: #FFF;
	text-align: center;
	line-height: 35px;
	font-size: 20px;
	border: 2px solid transparent;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.7s ease-in-out;
	-ms-transition: all 0.7s ease-in-out;
	-o-transition: all 0.7s ease-in-out;
	transition: all 0.7s ease-in-out;
}
.tab1-features:hover .icon {
	border-color: #7EC13F;
	color: #7EC13F;
	background: transparent;
}
.tab1-features .info {
	margin-left: 60px;
}
.tab-carousel.owl-theme .owl-controls {
	text-align: center;
	position: absolute;
	top: 45%;
	width: 100%;
}
.tab-carousel.owl-theme .owl-controls .owl-buttons div {
	display: block;
	width: 30px;
	height: 30px;
	line-height: 20px;
	font-size: 20px;
	border-radius: 0;
	opacity: 1;
	background: #7EC13F;
	position: absolute;
	margin: 0;
}
.tab-carousel .owl-prev {
	left: 0;
	position: absolute;
}
.tab-carousel .owl-next {
	right: 0;
	position: absolute;
}
.tab-carousel .owl-prev:hover, .tab-carousel .owl-next:hover {
	background: #4F3B3B;
}
.tab-carousel .item img {
	display: block;
	width: 100%;
	height: auto;
}
.tab2-services-box {
	margin-bottom: 30px;
	padding: 15px;
	border: 1px solid #E1DDDD;
}
.tab2-services-box .media {
	margin-bottom: 30px;
}
.tab2-services-box .services-info h4 {}
.tab2-services-box .services-info p {
	margin-bottom: 0;
}
.features-tab3 {
	margin-top: 20px;
	display: inline-block;
}
.features-tab3 .features-left, .features-tab3 .features-right {
	padding-top: 20px;
}
.features-tab3 .features-left h4, .features-tab3 .features-right h4, .features-tab3 .features-left p, .features-tab3 .features-right p {
	line-height: 25px;
}
.features-tab3 .features-left .features-item, .features-tab3 .features-right .features-item {
	margin-bottom: 40px;
}
.features-tab3 .features-left .features-icon, .features-tab3 .features-right .features-icon {
	width: 55px;
	height: 55px;
	line-height: 55px;
	text-align: center;
	color: #7EC13F;
	font-size: 22px;
	font-weight: 600;
	border: 1px solid #7EC13F;
	position: relative;
	border-radius: 28px;
	transition: all 0.7s ease-in-out 0s;
}
.features-tab3 .features-left .features-item:hover .features-icon, .features-tab3 .features-right .features-item:hover .features-icon {
	color: #FFF;
	border-color: #7EC13F;
	background: #7EC13F;
}
.features-tab3 .features-left .features-icon {
	float: right;
}
.features-tab3 .features-right .features-icon {
	float: left;
}
.features-tab3 .features-left .features-info {
	text-align: right;
	margin-right: 90px;
}
.features-tab3 .features-right .features-info {
	text-align: left;
	margin-left: 90px;
}
.tab4-services-box {
	margin-bottom: 30px;
	text-align: center;
}
.tab4-services-box .icon {
	text-align: center;
	font-size: 47px;
	display: inline-block;
	color: #7EC13F;
	width: 100px;
	height: 100px;
	border: 1px solid #7EC13F;
	line-height: 100px;
	border-radius: 50%;
	margin-bottom: 20px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.7s ease-in-out;
	-ms-transition: all 0.7s ease-in-out;
	-o-transition: all 0.7s ease-in-out;
	transition: all 0.7s ease-in-out;
}
.tab4-services-box .info {
	margin-top: 20px;
}
.tab4-services-box .info h4 {
	margin-bottom: 14px;
}
.tab4-services-box:hover .icon {
	background: #7EC13F;
	color: #FFF;
	border-color: #7EC13F;
}
.core-features .list {
	margin: 0px;
	padding: 0px 0px 0px 7px;
}
.core-features .list li {
	font-size: 15px;
	margin: 0px 0px 12px;
	font-weight: 600;
	line-height: 20px;
	position: relative;
	padding: 0px 0px 0px 25px;
	list-style: outside none none;
	color: #6E6D6D;
}
.core-features .list li::after {
	top: 0px;
	left: 0px;
	content: "\f058";
	position: absolute;
	font-family: "FontAwesome";
}
/*-----------------------------------------------------------------*/

/* History
/*-----------------------------------------------------------------*/

#history {
	background: url(../images/historia/historia1.jpg);
}
ul.timeline {
	margin: 40px auto 0;
	width: 100%;
	background: url(../images/timeline-bg.jpg) center center repeat-y;
	height: auto;
	position: relative;
	padding: 0 0 80px;
	z-index: 200;
}
.timeline .year {
	background: #FFFFFF;
	clear: both;
	color: #3C3D3D;
	font-size: 18px;
	font-weight: 600;
	height: auto;
	margin: 31px auto;
	text-align: center;
	width: 75px;
	height: 75px;
	border-radius: 50%;
	line-height: 72px;
	left: -35px;
	border: 3px solid #919191;
	position: relative;
	top: -5px;
	left: auto;
}
.timeline .timeline-item {
	float: left;
	padding: 20px;
	width: 47.5%;
	background: rgba(0, 0, 0, .7);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	margin: 10px 0;
	position: relative;
	z-index: 550;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}
.timeline .timeline-item h4 {
	color: #FFF;
	font-size: 15px;
}
.timeline .timeline-item p {
	color: #FFF;
}
.timeline .timeline-item span {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	color: #FFF;
}
.timeline .timeline-item:after {
	content: '';
	position: absolute;
	right: -6.8%;
	display: block;
	width: 18px;
	height: 18px;
	background: #FFF;
	border: 2px solid #FFF;
	border-radius: 100px;
	top: 18px;
	z-index: 20;
}
.timeline .timeline-item:nth-of-type(2n):before {
	border-top: 10px solid rgba(0, 0, 0, 0);
	border-bottom: 10px solid rgba(0, 0, 0, 0);
	border-left: 10px solid rgba(0, 0, 0, 0);
	border-right: 10px solid rgba(0, 0, 0, 0.7);
	content: "";
	right: 100%;
	position: absolute;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}
.timeline .timeline-item:before {
	border-top: 10px solid rgba(0, 0, 0, 0);
	border-bottom: 10px solid rgba(0, 0, 0, 0);
	border-right: 10px solid rgba(0, 0, 0, 0);
	border-left: 10px solid rgba(0, 0, 0, 0.7);
	content: "";
	right: -20px;
	position: absolute;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}
.timeline .timeline-item:nth-of-type(2n) {
	float: right;
	clear: right;
}
.timeline .year+.timeline-item {
	margin-top: -20px;
}
.timeline .timeline-item:nth-of-type(2n):after {
	left: -6.8%;
}
.timeline .end-icon:before {
	clear: both;
}
.timeline .end-icon {
	height: 64px;
	border: 3px solid #919191;
	border-radius: 300px;
	background: #FFF;
	color: #868586;
	font-size: 24px;
	bottom: 0px;
	left: 50%;
	margin-left: -32px;
	text-align: center;
	padding: 19px 0px;
	clear: both;
	position: absolute;
	width: 64px;
}
/*-----------------------------------------------------------------*/
/* Works imagenes */
/*-----------------------------------------------------------------*/

#works {
	position: relative;
	padding-bottom: 0;
	line-height: 0;
}

/* IMPORTANTE PARA MIXITUP */
.work-grid .mix {
	opacity: 0;
	display: none;
}

.filtering {
	display: inline-block;
	text-align: center;
	margin: 0;
	padding: 0;
}

.filter {
	position: relative;
	display: inline-block;
	margin-right: 10px;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.25s linear;
	padding: 20px 24px;
	margin-bottom: 15px;
	color: #5C5C5C;
	font-weight: 600;
	font-size: 14px;
	border: 2px solid #B1AEAE;
}

.filter:last-child {
	margin-right: 0;
}

.filter.active,
.filter:hover {
	color: #FFF;
	background: #7EC13F;
	border-color: #7EC13F;
}

.work-main {
	width: 100%;
	clear: both;
	margin-top: 60px;
	display: inline-block;
}

.work-grid {
	width: 100%;
	padding: 0;
	margin: 0 -8px; /* 👈 Compensa el padding */
}


/* ITEM */
.work-grid .work-item {
	overflow: hidden;
	position: relative;
}


/* EFECTO 3D EN CADA FOTO */
.work-grid .work-item .work-image {
	background: #fff;
	padding: 6px;
	border-radius: 12px;
	box-shadow: 
		0 6px 12px rgba(0,0,0,0.15),
		0 2px 4px rgba(0,0,0,0.08);
	transition: all 0.3s ease;
}

/* Efecto al pasar el mouse */
.work-grid .work-item:hover .work-image {
	transform: translateY(-6px);
	box-shadow: 
		0 14px 24px rgba(0,0,0,0.25),
		0 6px 12px rgba(0,0,0,0.15);
}


/* CAPTION */
.work-grid .work-item .work-caption {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	opacity: 0;
	transition: all 0.4s ease;
}

.work-grid .work-item .work-caption h4 {
	font-size: 18px;
	color: #FFF;
	margin: 30px 0 0 30px;
	letter-spacing: 1px;
}

.work-grid .work-item .work-caption p {
	font-size: 18px;
	color: #FFF;
	margin: 2px 0 0 30px;
	letter-spacing: 1px;
}

.work-grid .work-item .hover-link {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
	opacity: 0;
	transition: all 0.3s ease;
}


.work-grid .work-item .hover-link a {
	font-size: 25px;
	line-height: 50px;
	text-align: center;
	display: inline-block;
	background: #FFF;
	color: #444;
	width: 50px;
	height: 50px;
	border-radius: 100%;
	cursor: pointer;
}

/* HOVER */
.work-grid .work-item:hover .hover-link,
.work-grid .work-item:hover .work-caption {
	opacity: 1;
}

.work-grid .work-item:hover .work-caption {
	background: rgba(0, 0, 0, 0.72);
}

/* COLUMNAS CON ESPACIO */
.thumnail-img {
	position: relative;
	float: left;
	width: 25%;
	padding: 10px; /* 👈 Espacio entre fotos */
	box-sizing: border-box;
	overflow: hidden;
}

.lightbox img,
.mfp-content img,
.pp_pic_holder img {
    max-width: 90% !important;
    max-height: 87vh !important;
    margin: auto;
}



/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
	.thumnail-img {
		width: 33.33%;
	}
}

@media (max-width: 768px) {
	.thumnail-img {
		width: 50%;
	}
}

@media (max-width: 480px) {
	.thumnail-img {
		width: 100%;
	}
}



/*-----------------------------------------------------------------*/

/* Call To Action
/*-----------------------------------------------------------------*/

#cta {
	background: url(../images/galpon.jpg) no-repeat;
	padding: 130px 0px 130px;
}
#cta h2 {
    color: #ffffff;
    font-size: 14spx;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.6;
    text-shadow:
        1px 1px 0px #000,
        2px 2px 0px #111,
        3px 3px 0px #222,
        4px 4px 8px rgba(0,0,0,0.6);
}

#cta h2 {
    text-transform: lowercase; /* todo en minúscula */
}

#cta h2::first-letter {
    text-transform: uppercase; /* solo la primera letra en mayúscula */
}




/* Services
/*-----------------------------------------------------------------*/

#services {
	padding-bottom: 50px;
	background: #FFF;
}
.services-box {
	text-align: center;
	margin-bottom: 50px;
	border: 1px solid #EAE7E7;
	padding: 29px 10px 20px;
}
.services-box .services-icon {
	width: 80px;
	height: 80px;
	color: #FFF;
	font-size: 38px;
	line-height: 80px;
	border-radius: 50%;
	display: inline-block;
	margin: 0px auto;
	background: #7EC13F none repeat scroll 0% 0%;
}
.services-box .services-desc {
	margin-top: 25px;
}
.services-box .services-desc h4 {
	margin: 31px 0px 20px;
}
/*-----------------------------------------------------------------*/

/*  Why Choose Us
/*-----------------------------------------------------------------*/

#why-choose {
	background: #FBFBFB;
}
.tabs-main {
	padding-right: 15px;
	margin-bottom: 30px;
}
.accordion-main {
	padding-left: 15px;
	margin-bottom: 30px;
}
.tabs .nav-tabs li a {
	border-radius: 1px;
	color: #272727;
	font-weight: 700;
	font-size: 16px;
	padding: 8px 16px;
	background: #F3F0F0;
	border-top: 2px solid #F3F0F0;
}
.tabs .nav-tabs li.active a {
	border-top: 2px solid #7EC13F;
	background: #FFF;
	color: #272727;
	font-weight: 700;
	font-size: 16px;
	text-transform: none;
}
.tabs .nav-tabs li a:hover {
	background: #ededed;
}
.tabs .nav-tabs li.active a:hover {
	background: #FFF;
}
.tabs .tab-content {
	border: 1px solid #dbdbdb;
	border-top: none;
	padding: 25px 15px;
	font-size: 14px;
	color: #a9a9a9;
}
.panel-group .panel-heading {
	cursor: pointer;
	padding: 15px 15px;
}
.panel-body ul li {
	margin-bottom: 5px;
	line-height: 20px;
	font-weight: 300;
}
.panel-body ul li i {
	margin-right: 5px;
}
.panel-title {
	font-size: 16px;
	font-weight: 600;
	color: #272727;
	text-transform: none;
}
.panel-group .panel {
	background: rgba(243, 243, 243, 0.59);
	border: 1px solid #F0EDED;
	margin-bottom: 20px;
	border-radius: 0px;
	box-shadow: 0px 1px 0px #CCC;
}
.panel-group .panel-body {
	border: none;
}
#accordion .accordion-toggle:after {
	/* symbol for "opening" panels */
	font-family: 'FontAwesome';
	content: "\f068";
	float: right;
	color: #393535;
	font-size: 12px;
}
#accordion .panel-heading.collapsed .accordion-toggle:after {
	/* symbol for "collapsed" panels */
	content: "\f067";
}
/*-----------------------------------------------------------------*/

/* ===================================================== */
/* VIDEO SECTION */
/* ===================================================== */

#video {
    background: url(../videos/fondo4.png) no-repeat;
    background-size: cover;
}

/* Espacio entre texto izquierdo y sus 4 videos */
@media (min-width: 992px) {
    #video .col-md-6:first-child .video-caption-main {
        margin-bottom: 80px; /* Ajusta si necesitas más o menos */
    }
}

/* ===================================================== */
/* TEXTOS */
/* ===================================================== */



/*-----------------------------------------------------------------*/

/* Testimonial
/*-----------------------------------------------------------------*/

#testimonials {
	background: url(../images/parallax/testimonials.jpg) no-repeat;
}
#testimonials {
	color: #fff;
	position: relative;
	padding: 100px 0px;
}
#testimonials .container {
	position: relative;
}
#testimonials .items {
	margin-bottom: 30px;
	margin-top: -7px;
	color: #fff;
	text-align: center;
}
#testimonials .testimonial-pic {
	margin: 10px 0px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
}
#testimonials .desc {
	font-size: 19px;
	line-height: 36px;
	margin-bottom: 30px;
	font-style: italic;
	font-family: "Roboto";
}
#testimonials .name {
	color: #FFF;
	font-weight: 600;
	margin-top: 20px;
	font-size: 18px;
}
#testimonials .owl-controls .owl-page span {
	background: none;
	display: block;
	margin: 5px 4px;
	opacity: 1;
	width: 12px;
	height: 12px;
	margin-right: 10px;
	border: 2px solid #ccc;
}
#testimonials .owl-controls .owl-page.active span {
	background: #7EC13F;
	border-color: #7EC13F;
}



/*-----------------------------------------------------------------*/
/*  Contacto
/*-----------------------------------------------------------------*/

#contact {
    background: url(../images/parallax/contact.jpg) no-repeat;
}

.contact-form {
    display: block;
    padding: 0 0 30px 0;
}

.contact-info {
    margin-bottom: 65px;
}

.contact-info p {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 16px;
    color: #fff;
}

.contact-intro {
    max-width: 750px;
    margin: 20px auto 40px auto;
}

.contact-intro p {
    font-size: 17px;
    line-height: 1.7;
    color: #ffffff;
    font-weight: 400;
    opacity: 0.95;
}

/* En computador */
@media (min-width: 992px) {
    .btn-container {
        text-align: center;
    }
}

/* En móvil */
@media (max-width: 991px) {
    .btn-container {
        text-align: center;
    }
}

/* ===================================================== */
/* FORMULARIO SOLO PARA COMPUTADOR */
/* ===================================================== */

@media (min-width: 992px) {

    .contact-form .form-control {
        height: 55px;
        font-size: 16px;
    }

    .contact-form textarea.form-control {
        min-height: 180px;
    }

    .contact-form .col-md-6,
    .contact-form .col-md-12 {
        margin-bottom: 25px;
    }

}



/* ================= FOOTER ================= */

.footer-modern {
    background-color: #1a1a1a;
    color: #b0b0b0;
    padding: 60px 0 30px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b0b0b0;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: #3498db;
}

/* ================= REDES SOCIALES ================= */

.social-icons-modern {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(6px);
}

.social-btn:hover {
    transform: translateY(-5px);
}

.facebook:hover { background-color: #3b5998; }
.twitter:hover { background-color: #1da1f2; }
.instagram:hover { background-color: #e1306c; }
.linkedin:hover { background-color: #0077b5; }

/* ================= RESPONSIVE NAV ================= */

@media (min-width: 992px) {
    #main-menu.collapse {
        display: block !important;
    }
}

@media (max-width: 992px) {

    #main-menu {
        background: #202020;
    }

    .navbar-right {
        float: none !important;
        margin-right: 0 !important;
    }

    .clear-toggle {
        display: block;
    }

    .navbar-toggle {
        display: block !important;
    }

    #main-menu ul li {
        display: block;
        text-align: left;
    }

    #main-menu ul li a {
        line-height: 23px;
        display: block;
        border-bottom: 1px solid #2C2C2C;
        padding: 5px 20px;
        background: transparent;
    }

    #main-menu ul li a:hover,
    #main-menu ul li.active a {
        background: #2C2C2C !important;
        color: #FFF;
    }

    #main-menu ul li.active > a {
        box-shadow: none !important;
    }
}

/* ================= LOGO ================= */

.logo-nav {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
}

.logo-slogan {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 0.20em;
    margin-top: 3px;
}

/* ================= GALERÍA ELECTRORIL ================= */

.electroril-main-img {
    position: relative;
    padding: 10px;
    margin-bottom: 30px;
    cursor: zoom-in;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.electroril-main-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    transform: scale(1.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover solo en desktop */
@media (min-width: 992px) {
    .electroril-main-img img:hover {
        transform: scale(1.12);
        box-shadow: 0 35px 60px rgba(0, 0, 0, 0.45);
    }
}

/* Tablet */
@media (max-width: 991px) {
    .electroril-main-img img {
        transform: scale(1.02);
    }
}

/* Móvil */
@media (max-width: 576px) {
    .electroril-main-img {
        padding: 5px;
    }

    .electroril-main-img img {
        border-radius: 8px;
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
        transform: scale(1);
    }
}

/* ================= MODAL ================= */

.electroril-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    overscroll-behavior: contain;
}

.electroril-modal-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: zoomElectroril 0.4s ease;
}

@keyframes zoomElectroril {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.electroril-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #FFD700;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Modal móvil */
@media (max-width: 767px) {

    .electroril-modal-img {
        width: 95%;
        max-height: 80vh;
        object-fit: contain;
    }

    .electroril-close {
        top: 10px;
        right: 15px;
        font-size: 60px;
        padding: 10px;
    }
}

@media (max-width: 991px) {

    .electroril-modal {
        overflow: hidden;
        touch-action: none;
    }

    .electroril-modal-img {
        transition: transform 0.1s ease-out;
        transform-origin: center center;
        will-change: transform;
    }
}

/* ================= GALERÍA WORK ================= */

.work-grid .work-item .work-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
}

.work-grid .work-item .work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ================= UTILIDADES ================= */

img:not([src]),
img[src=""] {
    opacity: 0;
}



/* Subir sección Why Choose */
#why-choose .container {
    margin-top: -50px;
}

/* Subir sección Services */
#services .container {
    margin-top: -50px;
}

/* Título elegante 3D */
.title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    
    /* efecto 3D */
    text-shadow:
        1px 1px 0px #cfcfcf,
        2px 2px 0px #bdbdbd,
        3px 3px 0px #aaaaaa,
        4px 4px 6px rgba(0,0,0,0.9);
    
    margin-bottom: 40px;
}

/* ===================================================== */
/* VIDEOS */
/* ===================================================== */


.video-caption-main {
    margin-bottom: 30px;
}

.video-caption {
    margin-bottom: 30px;
    color: #E7E7E7;
}

.video-caption h4 {
    line-height: 26px;
    font-size: 18px;
    color: #FFF;
}

.video-caption p {
    color: #FFF;
}

.video-caption .video-icon {
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    color: #FFF;
    font-size: 30px;
    float: left;
    border-radius: 50%;
    border: 1px solid #FFF;
    transition: all 0.5s ease-in-out;
}

.video-caption:hover .video-icon {
    background: #FFF;
    color: #7EC13F;
}

.video-caption .video-caption-info {
    margin-left: 100px;
}



.video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    transition: 0.4s;
}

.video-thumb:hover img {
    transform: scale(1.05);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 22px;
    color: #fff;
    transition: 0.3s;
}

/* Subir título sección video */
#video .container {
    margin-top: -40px;
}


.big-play {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 28px;
}

.video-thumb:hover .video-play {
    background: #7EC13F;
}

.video-big {
    margin-bottom: 20px;
}

/* ===================================================== */
/* MAGNIFIC POPUP FULLSCREEN */
/* ===================================================== */

.mfp-bg {
    z-index: 999999 !important;
    background: rgba(0, 0, 0, 0.95) !important;
}

.mfp-wrap {
    z-index: 1000000 !important;
}

.mfp-content {
    max-width: 90%;
}

.video-modal {
    max-width: 1000px;
    margin: 40px auto;
}

.video-modal video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}


.video-thumb {
    position: relative;
    margin-bottom: 20px;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    transition: 0.4s;
}

.video-thumb:hover img {
    transform: scale(1.05);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    text-align: center;
    line-height: 70px;
    font-size: 28px;
    color: #fff;
    transition: 0.3s;
}

.video-thumb:hover .video-play {
    background: #7EC13F;
}


@media (min-width: 992px) {
    #video .row > .col-md-6:first-of-type {
        margin-top: 120px;
    }
}



/* Reducir altura del video popup */
.video-modal video {
    max-height: 82vh;   /* ocupa máximo 70% del alto de la pantalla */
    width: 200vh; ;
    max-width: 100%;
}


/* ===================================================== */
/* VERSION CELULAR */
/* ===================================================== */

@media (max-width: 576px) {

    /* Forzar 2 videos por fila */
    #video .col-sm-6,
    #video .col-6 {
        width: 50%;
        float: left;
    }

    /* Ajustar espacio entre videos */
    .video-thumb {
        margin-bottom: 15px;
    }

    /* Reducir tamaño botón play */
    .video-play {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 16px;
    }

    .big-play {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 20px;
    }

    /* Ajustar popup video en celular */
    .video-modal {
        width: 95%;
        margin: 10px auto;
    }

    .video-modal video {
        width: 100%;
        max-height: 195vh;
        height: auto;
    }

    /* Ajustar textos */
    .video-caption h4 {
        font-size: 16px;
    }

    .video-caption p {
        font-size: 14px;
    }

}


/* ===================================================== */
/* CLIENTES - TODOS IGUALES Y MÁS GRANDES */
/* ===================================================== */

.clients-carousel .item {
    padding: 0 30px; /* separación uniforme */
}

/* Caja fija para todos */
.clients-carousel .item figure {
    width: 160px;      /* MISMO ANCHO */
    height: 180px;     /* MISMA ALTURA */
    margin: auto;      /* centrar */

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    border-radius: 25px;
    padding: 25px;

    box-shadow:
        0 18px 40px rgba(0,0,0,0.25),
        inset 0 4px 8px rgba(255,255,255,0.9);

    transition: all 0.4s ease;
}

/* Imagen controlada */
.clients-carousel .item img {
    max-width: 100%;
    max-height: 120px;  /* todos se ajustan igual */
    object-fit: contain;
    transition: 0.4s ease;
}

/* Hover elegante */
.clients-carousel .item:hover figure {
    transform: translateY(-12px) scale(1.05);
    box-shadow:
        0 28px 60px rgba(0,0,0,0.35),
        inset 0 6px 12px rgba(255,255,255,1);
}

/* Responsive */
@media (max-width: 768px) {

    .clients-carousel .item {
        padding: 0 15px;
    }

    .clients-carousel .item figure {
        width: 180px;
        height: 130px;
    }

    .clients-carousel .item img {
        max-height: 80px;
    }
}

.slider-text-wrapper .container {
    color: #ffffff; /* Asegura el color blanco */
    text-align: center; /* Opcional: para centrar el contenido */
}

.slider-text-wrapper .big, 
.slider-text-wrapper .small {
    color: #ffffff;
    /* Sombra equilibrada: 2px de desenfoque para suavidad y un tono oscuro */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1.9); 
    margin-bottom: 15px;
}

.slider-text-wrapper .big {
    font-size: 3rem; /* Ajusta según tu diseño */
    font-weight: bold;
    text-transform: uppercase;
}

.slider-text-wrapper .small {
    font-size: 1.2rem;
    max-width: 800px; /* Evita que el texto sea demasiado ancho */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.footer-phone {
    margin-top: 15px;
}

.phone-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 14px;
    border-radius: 30px;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    box-shadow: 3px 3px 6px #000, -2px -2px 5px rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.phone-link i {
    font-size: 16px;
}

/* Texto blanco con sombra negra tipo 3D */
.phone-text {
    text-shadow: 2px 2px 3px #000;
}

/* Hover efecto flotante */
.phone-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 5px 5px 12px #000;
    background: linear-gradient(145deg, #0f0f0f, #333);
}

/* Tooltip "Llamar" */
.call-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    white-space: nowrap;
}

/* Mostrar tooltip al hover */
.phone-link:hover .call-tooltip {
    opacity: 1;
}

.sitemap-links li a {
    position: relative;
    transition: all 0.3s ease;
}

.sitemap-links li a:hover {
    padding-left: 8px;
    color: #00c853; /* Verde elegante */
}

.sitemap-links li a::before {
    content: "›";
    position: absolute;
    left: -12px;
    opacity: 0;
    transition: 0.3s;
}

.sitemap-links li a:hover::before {
    opacity: 1;
}

.footer-modern {
    position: relative;   
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    padding: 60px 0;

}

/* Capa oscura encima de la imagen */
.footer-modern::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.85),
        rgba(0, 40, 30, 0.85)
    );
    z-index: 0;
}

/* Asegura que el contenido quede encima */
.footer-modern .container {
    position: relative;
    z-index: 2;
}

.whatsapp-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #transparent; /* ← FONDO VERDE */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.4),
        inset 0 -3px 6px rgba(0,0,0,0.3),
        inset 0 3px 6px rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    z-index: 9999;
    animation: whatsappPulse 2.5s infinite;
}

.whatsapp-btn img {
    width: 45px;
    height: 45px;
    object-fit: contain;

}
/* Hover elegante */
.whatsapp-btn:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 
        0 12px 25px rgba(0,0,0,0.5),
        0 0 20px rgba(37,211,102,0.6);
}

/* Pulso elegante tipo alerta */
@keyframes whatsappPulse {
    0% {
        box-shadow: 
            0 0 0 0 rgba(37, 211, 102, 0.6),
            0 8px 20px rgba(0,0,0,0.4);
    }
    70% {
        box-shadow: 
            0 0 0 18px rgba(37, 211, 102, 0),
            0 8px 20px rgba(0,0,0,0.4);
    }
    100% {
        box-shadow: 
            0 0 0 0 rgba(37, 211, 102, 0),
            0 8px 20px rgba(0,0,0,0.4);
    }
}



/* ===============================
   SECCIÓN PRESENCIA
================================= */

#presencia {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1f2d, #0f3d4c, #145a6b);
    overflow: hidden;
}





/* ===============================
   TEXTO DESCRIPTIVO
================================= */

#presencia .title-box p {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 15px;
    color: #ffffff;
    text-align: center;
    text-shadow:
        0 2px 4px rgba(0,0,0,0.6),
        0 0 10px rgba(0,180,255,0.3);
    animation: fadeText 1.5s ease forwards;
    opacity: 0;
}

@keyframes fadeText {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   CAJAS DE PAÍSES
================================= */

.country-box {
    margin-top: 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
    transition: 0.4s ease;
}

.country-box:nth-child(1) { animation-delay: 0.2s; }
.country-box:nth-child(2) { animation-delay: 0.4s; }
.country-box:nth-child(3) { animation-delay: 0.6s; }
.country-box:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   BANDERAS
================================= */

.flag-img {
    width: 95px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
}

/* Hover elegante */
.country-box:hover .flag-img {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.country-box h4 {
    margin-top: 15px;
    color: #fff;
    font-weight: 600;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}

/* ===============================
   RESPONSIVE MÓVIL
   2 BANDERAS POR FILA
================================= */

@media (max-width: 768px) {

    #presencia {
        padding: 70px 0;
    }

    #presencia .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .country-box {
        width: 50%;
        margin-top: 30px;
    }

    .flag-img {
        width: 80px;
        height: 55px;
    }

    #presencia .title-box p {
        font-size: 18px;
    }
}

.mobile-break {
    display: inline;
}

@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
}

.section-ajustada {
    padding-top: 0px;
}

#video {
    position: relative;
    padding: 100px 0;
    background-color: #045a6b;
    overflow: hidden;
}


/* ===================================================== */
/* SECCIÓN SOLICITUD COMPLETA */
/* ===================================================== */

#solicitud {
    position: relative;
    background: url(../images/galpon.jpg) no-repeat center center;
    background-size: cover;
    padding: 100px 0;
}

/* CAPA OSCURA */
#solicitud::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 0;
}

/* CONTENIDO ENCIMA */
#solicitud .container {
    position: relative;
    z-index: 2;
}

/* ===================================================== */
/* TEXTOS BLANCOS 3D */
/* ===================================================== */

#solicitud h4,
#solicitud label,
#solicitud p {
    color: #ffffff !important;
    text-shadow:
        1px 1px 2px rgba(0,0,0,0.9),
        2px 2px 4px rgba(0,0,0,0.8);
    font-weight: 500;
}

#solicitud h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

/* Líneas divisorias */
#solicitud hr {
    border-top: 1px solid rgba(255,255,255,0.3);
    margin: 30px 0;
}

/* ===================================================== */
/* FORMULARIO */
/* ===================================================== */

.solicitud-form {
    display: block;
    padding: 0 0 30px 0;
}

#solicitud .form-control {
    height: 55px;
    font-size: 16px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffffff;
    font-weight: 500;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

#solicitud textarea.form-control {
    min-height: 180px;
}

/* Placeholder */
#solicitud .form-control::placeholder {
    color: rgba(255,255,255,0.85);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Focus elegante */
#solicitud .form-control:focus {
    background: rgba(255,255,255,0.18);
    border-color: #00c853;
    box-shadow: 0 0 12px rgba(0, 200, 83, 0.7);
    color: #ffffff;
}

/* Espaciado columnas */
#solicitud .col-md-6,
#solicitud .col-md-12 {
    margin-bottom: 25px;
}

/* Radios y checkboxes */
#solicitud input[type="radio"],
#solicitud input[type="checkbox"] {
    accent-color: #00c853;
    transform: scale(1.1);
    margin-right: 6px;
}

/* ===================================================== */
/* BOTÓN 3D PROFESIONAL */
/* ===================================================== */

#solicitud .btn-green {
    background: linear-gradient(145deg, #00c853, #009624);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 40px;
    font-size: 18px;
    border-radius: 8px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

#solicitud .btn-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.7);
}

/* ===================================================== */
/* RESPONSIVE */
/* ===================================================== */

@media (max-width: 991px) {

    #solicitud {
        padding: 70px 20px;
    }

    #solicitud .form-control {
        height: 50px;
    }

    #solicitud textarea.form-control {
        min-height: 150px;
    }

}

/* --- 1. Preparación del Contenedor del Slider --- */
.home {
    overflow: hidden; /* Importante: oculta el desborde de la imagen durante el zoom */
    position: relative;
}

.flexslider .slides li {
    overflow: hidden; /* Asegura que el zoom se mantenga dentro de la diapositiva */
    position: relative;
}

/* --- 2. Efecto Ken Burns (Zoom In/Out + Movimiento) en la Imagen --- */
.flexslider .slides img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo el espacio sin deformarse */
    
    /* Animación por defecto (cuando la slide no está activa) */
    transform: scale(1.1) translate(0, 0); /* Ligeramente agrandada y centrada */
    transition: transform 10s ease-in-out; /* Transición suave al cambiar de slide */
}

/* Animación cuando la slide está activa */
.flex-active-slide img {
    /* Cambiamos a 25s, linear para que sea constante y 'alternate' para un vaivén suave */
    animation: kenBurnsLento 25s linear infinite alternate !important;
    
    /* Aseguramos que el origen del zoom sea el centro */
    transform-origin: center center; 
}

@keyframes kenBurnsLento {
    0% {
        /* Empezamos en 1.1 para que la imagen siempre desborde el contenedor y no se vea el fondo */
        transform: scale(1.1) translate(0, 0);
    }
    100% {
        /* Zoom in suave hasta 1.3 con un leve desplazamiento para dar dinamismo */
        transform: scale(1.3) translate(-1%, -1%);
    }
}

/* --- Mejora para el texto tipo PowerPoint (Suave y por partes) --- */

/* Títulos: Entrada elegante desde la izquierda con opacidad */
.flex-active-slide .slider-text-wrapper h2, 
.flex-active-slide .slider-text-wrapper .big {
    animation: fadeInPowerPoint 1.5s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

/* Párrafos: Aparecen un poco después */
.flex-active-slide .slider-text-wrapper p, 
.flex-active-slide .slider-text-wrapper .small {
    animation: fadeInPowerPoint 1.5s ease-out forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

/* Botón: El toque final */
.flex-active-slide .slider-text-wrapper .btn {
    animation: fadeInPowerPoint 1.5s ease-out forwards;
    animation-delay: 1.8s;
    opacity: 0;
}

@keyframes fadeInPowerPoint {
    from {
        opacity: 0;
        transform: translateX(-20px); /* Ligero barrido lateral */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- 3. Animación de Texto Secuencial y Suave --- */

/* Estado inicial de los elementos (ocultos y desplazados) */
.slider-text-wrapper .container h2,
.slider-text-wrapper .container .big,
.slider-text-wrapper .container p,
.slider-text-wrapper .container .small,
.slider-text-wrapper .container .btn {
    opacity: 0;
    transform: translateY(20px); /* Aparecen desde abajo */
    /* Usamos una transición 'cubic-bezier' para un movimiento muy elegante */
    transition: opacity 1.2s cubic-bezier(0.23, 1, 0.32, 1), 
                transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Estado activo: cuando la slide aparece, los elementos se muestran */
.flex-active-slide .slider-text-wrapper .container * {
    opacity: 1;
    transform: translateY(0);
}

/* --- 4. Delays (Retrasos) para la aparición Secuencial --- */

/* 1º: El Título (h2 o .big) */
.flex-active-slide .slider-text-wrapper .container h2,
.flex-active-slide .slider-text-wrapper .container .big {
    transition-delay: 0.5s; /* Pequeña espera inicial */
}

/* 2º: El Párrafo (.small) */
.flex-active-slide .slider-text-wrapper .container p,
.flex-active-slide .slider-text-wrapper .container .small {
    transition-delay: 1.0s; /* Aparece después del título */
}

/* 3º: El Botón (.btn) */
.flex-active-slide .slider-text-wrapper .container .btn {
    transition-delay: 1.5s; /* Aparece al final */
}

/* --- 5. Ajustes de Capas y Visibilidad --- */
.slider-overlay {
    background: rgba(0, 0, 0, 0.5); /* Oscurece un poco más el fondo para que el texto resalte */
    z-index: 1;
}

.slider-text-wrapper {
    z-index: 2; /* Asegura que el texto esté por encima de la imagen y el overlay */
}

/* Ajustes para Celulares (Pantallas menores a 768px) */
@media screen and (max-width: 767px) {
    
    /* 1. Reducir el título principal */
    .slider-text-wrapper .container h2.big,
    .slider-text-wrapper .container .big {
        font-size: 24px !important; /* Tamaño más pequeño para móvil */
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }

    /* 2. Reducir el párrafo descriptivo */
    .slider-text-wrapper .container p.small,
    .slider-text-wrapper .container .small {
        font-size: 14px !important; /* Legible pero compacto */
        line-height: 1.5 !important;
        padding: 0 25px; /* Evita que el texto toque los bordes */
    }

    /* 3. Ajustar el botón */
    .slider-text-wrapper .container .btn {
        padding: 8px 15px !important;
        font-size: 13px !important;
        margin-top: 15px !important;
    }

    /* 4. Ajuste del contenedor del texto */
    .slider-text-wrapper {
        padding-top: 3%; /* Baja un poco el texto para que no tape el centro de la foto */
    }
}