/* ================= FONTS ================= */

@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&family=Tienne:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


/* ================= RESET ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Tienne", serif;
}

main {
    position: relative; width: 100%;
}

.owl-carousel {
    position: relative;
}

.owl-carousel .owl-nav {
    position: absolute; width: 103%; 
    top: 20%; left: -30px;
    z-index: 1;
}

#areas.owl-carousel .owl-nav button span {
    font-size: 80px; color: #fff;
}

#cards.owl-carousel .owl-nav button span {
    font-size: 80px; color: rgb(39 61 98);
}

.owl-carousel .owl-nav button.owl-next {
    position: absolute; right: 0;
}

#cards.owl-carousel .owl-nav button.owl-next {
    right: -30px;
}

.owl-carousel .owl-stage-outer {
    position: relative; z-index: 2;
	display: flex
}

/* ================= HEADER ================= */


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #263E60;
  backdrop-filter: blur(6px);
  transform: translateY(-100%);
  transition: transform 0.5s ease;
  z-index: 1000;
}

.header-inner {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto; padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff; 
	position: relative;
}

.site-header.visible {
  transform: translateY(0);
}

 .logo {
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.language {
	color: #263e60; text-decoration: none;
	position: absolute; right: 40px; top: 0%;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
	mix-blend-mode: difference;
}

.visible .language {
	top: 100%;
    background-color: #FFFFFF;
    padding: 1px 6px 3px 6px;
}

/* CONTENEDOR CENTRAL */
.header-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

/* LOGO */
.logo {
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

/* ================= MENU ================= */

.menu-wrapper {
  position: relative;
}

.menu-trigger {
  cursor: pointer;
  letter-spacing: 1.5px;
  font-size: 1.1rem;
  font-weight: 100;
}

/* MENÚ OCULTO POR DEFECTO */
.menu-dropdown {
  position: absolute;
  right: 0;
  top: -50%;
  background: #263E60;
  padding: 16px 24px;

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;

  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
  transition: opacity 0.3s ease, transform 0.35s ease;
}

/* MENÚ VISIBLE (controlado por JS) */
.menu-wrapper:hover .menu-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.menu-dropdown a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 100;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ================= HERO VIDEO ================= */

.hero {
  position: relative;
  height: 130vh;
  overflow: hidden;
}

.video-wrapper {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.video-wrapper video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

/* CONTENIDO SOBRE EL VIDEO */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  /*height: 100vh;*/
  background: rgba(0,0,0,0.35);
  color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero-content p {
  margin-top: 10px;
  font-size: 1rem;
}

/* ================= CONTENIDO ================= */

.content {
  padding: 50px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

 section {
    /*min-height: 100vh;*/
    position: relative;
}

.one {
    background: #111;
    color: white;
    height: 100vh;
}

.two {
    background: #222;
    color: white;
    padding-bottom: 120px;
}

.three {
    background: #333;
    color: white;
}

.overflow {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all .3s;
}

.overflow.hidden {
    opacity: 0; visibility: hidden;
}

.overflow h2 {
    text-align: center;
    font-size: 39px;
    font-weight: 400;
    line-height: 1.2;
}

video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

.box {
    background: white;
    color: black;
    padding: 60px 40px;
    font-size: 20px;
    line-height: 1.6;
}

.scroll-wrapper {
    position: relative;
    min-height: 100vh;
}

.one,
.two {
    position: absolute;
    inset: 0;

}

.two {
    opacity: 0;
    transform: scale(1.05);
}

section .ff-title {
	font-family: "Open Sans", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    color: #263e60;
    text-align: center;
    padding-bottom: 40px;
}


/* ================= secciones ================= */

.intro  {
	padding: 1em 0; margin: 1em 0;
}

.intro .ff-title {
    font-family: "Open Sans", sans-serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1em !important;
    color: #263E60;
    text-align: left !important;
    padding-bottom: 20px;
}

.intro p {
    font-family: "Open Sans", sans-serif;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 300;
    font-style: normal;
    color: #263E60;
}


.areas {
    background-color: rgb(38 62 96);
    padding: 3em 0; margin: 1em 0;
}

.areas .ff-title {
    font-family: "Open Sans", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    margin-bottom: 1em;
    text-align: center;
}

.areas .item {
    width: 90%; height: 200px;
    position: relative;
    cursor: pointer;
	-webkit-background-size: cover;
			background-size: cover;
	background-repeat: no-repeat;
	background-image: none;
}

.areas .item .flip-1,
.areas .item .flip-2 {
	z-index: 2;
	position: absolute; top: 0; left: 0; 
	width: 100%; height: 100%;
    display: flex;
    -ms-align-items: center;
        align-items: center;
	-webkit-transition: all .6s;
		 -o-transition: all .6s;
			transition: all .6s;
	
}

.areas .item .flip-1 {
    padding-left: 2em; padding-right: 2em;
    background-color: #fff;
}

.areas .item .flip-1 img {
    position: absolute; bottom: 5px; left: 2em;
	width: auto;
}

.areas .item:hover .flip-1 {
	opacity: 0; visibility: hidden;
	transform: rotateY(190deg);
}

.areas .item .flip-2 {
	opacity: 0; visibility: hidden;
	transform: rotateY(190deg);
	padding: 0 1em;
    border: solid 1px #FFFFFF;
}

.areas .item:hover .flip-2 {
	transform: rotateY(0deg);
	opacity: 1; visibility: visible;
}

.areas .item .flip-2 p {
	font-size: 13px; font-weight: 600; line-height: 18px;
	text-align: center; font-style: normal;
}

.areas .item:hover .flip-2 p {
	font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 200;
    color: #fff;
}

.areas .item .flip-2 a {
	position: absolute; left: 0;
	width: 100%; height: 100%; 
	display: flex;
	align-items: self-end;
	padding: .4em 0;
	filter: invert(1);
	z-index: 2;
}

.areas .item img.bg {
	position: absolute; left: 0; top: 0;
	object-fit: cover; object-position: center;
	opacity: 0; visibility: hidden;
}

.areas .item:hover img.bg {
	opacity: 1; visibility: visible;
}
	

.areas .item .flip-2:before {
	content: '';
	z-index: 1;
	position: absolute; left: 0; top: 0;
	width: 100%; height: 100%;
    background-color: #263e60;
	-webkit-transition: all .3s;
		 -o-transition: all .3s;
			transition: all .3s;
}

.areas .item p {
    font-family: "Open Sans", sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
    color: #263E60;
    font-style: normal;
    margin-bottom: 0;
	position: relative;
    z-index: 3;
	-webkit-transition: all .9s;
	-o-transition: all .9s;
	transition: all .9s;
}

.equipo {
	margin: 1em 0;  padding: 1em 0;
	background-color: #263e60;
}

.equipo .ff-title {
    font-size: 2rem; font-weight: 600; line-height: 1;
    text-align: center; margin-bottom: 1em; margin-top: 1em;
	color: #fff;
}

.equipo .team {
	display: flex; justify-content: center;
	gap: 1em
}

.equipo .team .team-member .head-img img {
	border-radius: 50%; margin: auto; margin-bottom: 1em;
	object-fit: cover; object-position: center;
	display: block;
    width: 85%; height: 85%;
	box-shadow: 0px 0px 1px 1px rgb(255 255 255 / 40%);
	transform: scale(1);
	transition: all .3s;
}

.equipo .team .team-member:hover .head-img img {
	-webkit-box-shadow: 0px 0px 13px 6px rgb(255 255 255 / 40%);
	box-shadow: 0px 0px 13px 6px rgb(255 255 255 / 40%);
	transform: scale(1.04);
	transition: all .3s;
}

.equipo .team .team-member p {
	font-size: 16px;
    font-weight: 500;
    line-height: 24px;
	color: #fff;
    text-align: center
}

.equipo .team .team-member p span {
	font-size: 13px; font-weight: 300;
	display: block;
}

.equipo p {
    font-size: 1.5rem; line-height: 1.5; font-weight: 300;
	font-family: "Open Sans", sans-serif;
}

.equipo .btn-primary {
    display: block; margin: auto;
    font-weight: 600;
    width: fit-content;
    border-radius: 0; margin-bottom: 1em; margin-top: 1em;
    background-color: #fff; border-color: #fff;
    color: rgb(39 61 98); 
    font-size: 1.3rem; padding-left: 1.5em; padding-right: 1.5em;
    transition: all .3s;
}

.equipo .btn-primary:hover {
	background-color: rgb(39 61 98);
    color: #fff; 
}


.transacciones {
    background-color: rgb(248 249 251);
    padding: 3em 0; margin: 1em 0;
}

.transacciones .ff-title {
    text-align: center;
    color: rgb(39 61 98);
    font-size: 2rem; font-weight: 600; line-height: 1;
    margin-bottom: 0.1em;
}

.transacciones p {
    text-align: center;
    font-size: 19px; font-weight: 300; line-height: 1.4;
    color: #6e6e6e;
}

.transacciones .card {
	position: relative;
    border: 0; border-radius: 0;
    padding: 1em; padding-bottom: 4em;
	box-shadow: 0px 4px 5px 2px rgb(0 0 0 / 15%);
	margin: 1em .7em;
	transition: all .8s;
}

.transacciones .card:hover {
	box-shadow: 0px 0px 2px 2px rgb(0 0 0 / 55%)
}

.transacciones .card .header-card {
    padding-bottom: 1em;
    border-bottom: 2px solid #dfdfdf;
}

.transacciones .card img {
    width: auto; max-width: 100%;
    margin: auto;
}

.transacciones .card .body-card {
    padding: 1em 0 3em; margin-bottom: .5em;
}

.transacciones .card p {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 14px; font-weight: 300; line-height: 1.3;
    color: #474646;
    margin-bottom: 0;
    text-align: center !important;
    letter-spacing: 0.03em;
}

.transacciones .card .bottom {
	position: absolute; left: 0; right: 0; bottom: 5px;
	width: 88%; margin: auto;
}

.transacciones .card .price {
    font-size: 14px; font-weight: 300; line-height: 1.3;
    color: #000; 
    padding-bottom: .5em; padding-top: .5em;
    border-bottom: 2px solid #dfdfdf;
    border-top: 2px solid #dfdfdf;
}

.transacciones .card .price p {
    margin-bottom: 0; text-align: left;
	font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.transacciones .card .year {
    padding-bottom: .5em; padding-top: .5em;
}

.transacciones .card .year p {
    margin-bottom: 0; text-align: center;
    font-size: 13px; font-weight: 300;
	font-family: "Manrope", sans-serif;
        text-align: center !important;
}


footer {
    background-color: rgb(39 61 98); 
    padding: 5em; padding-bottom: 2em;
}

footer .linkedin {
    margin-top: 2em;
    -webkit-filter: invert(1);
    -o-filter: invert(1);
    filter: invert(1);
}

footer img {
    margin: auto; display: block;
}

footer p {
    color: #fff;
    font-size: 14px; font-weight: 300; line-height: 22px;
}

footer p.direction{
    font-size: 18px; font-weight: 300; line-height: 22px;
	
}

footer p.copy {
    font-size: 18px; font-weight: 300; line-height: 22px;
	
}

footer ul {
    list-style: none;
    line-height: 30px;
}

footer ul li a {
    font-size: 18px; font-weight: 300; line-height: 22px;
    margin-bottom: .4em; cursor: pointer; cursor: pointer;
	text-decoration: none;  color: #fff;
	transition: all .3s;
}

footer ul li a:hover {
	color: #09aefe;
}

.link-whatsapp {
	position: fixed; bottom: 40px; right: 40px;
	z-index: 1024; opacity: 0; visibility: hidden;
	transition: all .3s;
}



.link-whatsapp.visible {
	opacity: 1; visibility: visible;
}

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

@media (max-width: 768px) {

  .header-inner {
    padding: 0 24px;
  }

  .menu-dropdown {
    gap: 20px;
    padding: 14px 18px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}


@-webkit-keyframes scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(calc(-250px * 7));
	}
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(calc(-250px * 7));
	}
}

.customers {
	background: white;
	height: 100px;
	margin: auto;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.customers::before,
.customers::after {
	background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
	content: "";
	height: 100px;
	position: absolute;
	width: 200px;
	z-index: 2;
}

.customers::after {
	right: 0;
	top: 0;
	transform: rotateZ(180deg);
}

.customers::before {
	left: 0;
	top: 0;
}

.customers .slide-track {
	-webkit-animation: scroll 40s linear infinite;
	animation: scroll 40s linear infinite;
	display: flex;
	width: calc(250px * 14);
}

.customers .slide {
	height: 100px;
	width: 250px;
}

/* ================= LOGO FADE IN ================= */

.logo-fade {
    opacity: 0;
    filter: blur(6px);
    animation: logoFadeIn 4.6s ease-out forwards;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        filter: blur(6px);
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

/* ================= SUBMENU ================= */

.submenu {
	position: relative;
}

.submenu-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	background: #263E60;
	padding: 18px 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 220px;

	opacity: 0;
	visibility: hidden;
	transform: translateY(15px);
	transition: all .3s ease;
	z-index: 10;
}

/* Hover para mostrar */
.submenu:hover .submenu-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.submenu-dropdown a {
	color: #fff;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 0.5px;
	transition: opacity .2s ease;
}

.submenu-dropdown a:hover {
	opacity: 0.7;
}



/** Internas ***/
section.portada {
	height: 380px;
}

section.portada .content-portada {
	position: relative; width: 100%; height: 100%;
}

section.portada .content-portada h1 {
	font-family: "Open Sans", sans-serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 50px;
	color: #fff;
	position: absolute;
    top: 50%;
    left: 90px;
}

section.portada .content-portada:before {
	content: '';
	position: absolute; top: 0; left: 0;
	background-color: #fff;
	width: 100%; height: 100%;
	background-color: rgb(38 62 96 / 47%);
}

section.portada .content-portada img {
	object-fit: cover; object-position: center;
	width: 100%; height: 100%;
}


section.contenido {
	margin: 1em 0; padding: 1em 0;
	width: 100%;
}

section.contenido .title {
	font-size: 46px; font-weight: 400; line-height: 59px;
	color: #000;
}

section.contenido .txt {
	font-family: "Open Sans", sans-serif;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 300;
    font-style: normal;
    color: #263E60;
}

section.section-blue {
	background-color: #263E60; 
	margin: 1em 0; padding: 2em 0;
}

section.section-blue .content-card {
	gap: 0 2em;
	display: flex;
}

section.section-blue .content-card .card {
	flex: 1;
	position: relative;
	padding: 1em;
	transform: scale(1);
	box-shadow: 0px 4px 5px 2px rgb(0 0 0 / 15%);
	transition: all .3s;
}

section.section-blue .content-card .card:hover {
	transform: scale(1.04);
	box-shadow: 0px 0px 2px 2px rgb(255 255 255 / 55%)
}

section.section-blue .content-card .card .title {
	font-size: 16px; font-weight: 400; line-height: 21px;
	color: #263E60; min-height: 63px; text-align: center;
}

section.section-blue .content-card .card .title img {
	display: block; margin: auto;
	
}

section.section-blue .title {
	font-size: 52px; line-height: 59px; font-weight: 400;
	color: #fff; text-align: center;
}

section.section-blue .txt {
	font-size: 32px; font-weight: 300; line-height: 39px;
	color: #fff; text-align: center;
}

section.section-blue .img-fluid {
	width: 300px; height: 300px;
	display: block; margin: auto;
}


section.section-blue .content-card .card p {
	font-size: 14px; font-weight: 300; line-height: 19px;
	text-align: center; color: #000;
}

section.section-white {
	 padding: 2em; margin: 2em;
}
section.section-white .img-fluid {
	width: 300px; height: 300px;
	display: block;
}

section.section-white p {
	font-size: 32px; font-weight: 300; line-height: 39px;
	color: #000; 
}

main.equipo-main .equipo {
	background-color: #fff;
}

main.equipo-main .equipo .team .team-member p {
	color: #263E60;
}

main.equipo-main .equipo .team .team-member .head-img img {
	border: 3px solid #263E60;
}
/** Internas ***/

.owl-carousel .owl-stage {
	display: flex;
	-ms-align-items: center;
		align-items: center;
}

.transacciones .item {
	padding: 1em 0;
}

.owl-carousel.owl-drag .owl-item,
.transacciones .item, .transacciones .item .card {
	height: 95%;
}

.transacciones-section {
	background-color: #fff; padding: 0; margin: 0;
}

.transacciones-section .card {
	width: 23%;
	transition: all 0.4s ease;
  	opacity: 1;
  	transform: scale(1);
}

.transacciones-section .card.hide {
	
	opacity: 0;
	transform: scale(0.8);
	pointer-events: none;
}

.transacciones-section .card .header-card img {
	display: block; margin: auto;
}

.filtros {
	display: flex;
	justify-content: center;
	gap: 0 1em
}

.filtros button {
	padding: 10px 18px;
	border: none;
	background: #eee;
	cursor: pointer;
	transition: all 0.3s ease;
}

.filtros button.active {
	background: #263e60;
	color: white;
}

.info-container {
	width: 90%; margin: auto;
}

.info {
	display: none;
	margin-top: 20px;
	padding: 20px;
	background: #f2f2f2;
}

.info .img-profile img {
	object-fit: cover; object-position: center;
	width: 100%; height: 100%;
}

.info .txt-profile p.title {
	font-size: 23px;
    font-weight: 600;
    line-height: 27px;
    color: #263e60;
}

.info .txt-profile p.title span {
	display: block;
    font-size: 17px;
    font-weight: 400;
    color: #263e60;
}

.info .txt-profile p {
	font-size: 17px; font-weight: 300; line-height: 21px;
	color: #000;
}

.info.active {
	display: block;
}

main.equipo-main .equipo .team {
	cursor: pointer;
}