:root {
  --color-black: #000;
  --color-white: #fff;
  --header-top-padding: 20px;
  --header-mobile-top-padding: 14px;
  --container-icon-offset: max(12px, calc((100vw - 1320px) / 2 + 12px));

  --text-size-90: 90px;
  --text-line-90: 90px;
  --text-size-65: 70px;
  --text-line-65: 70px;
  --text-size-45: 45px;
  --text-line-45: 50px;
  --text-size-30: 32px;
  --text-line-30: 35px;
  --text-size-25: 24px;
  --text-line-25: 28px;
  --text-size-20: 20px;
  --text-line-20: 25px;
  --text-size-16: 16px;
  --text-line-16: 20px;
}

html, body {margin: 0;padding: 0;overflow-x: hidden;
font-family: "raleway", sans-serif;}

body * {font-family: "raleway", 'Montserrat';}

section {scroll-margin-top:100px;}

.header-floating {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: var(--header-top-padding) 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.logo-header {
    max-width: 180px;
    height: 60px;
}

.menu-toggle-btn {
    border: 0;
    background: transparent;
    color: var(--color-white);
    font-size: 34px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    position: relative;
    z-index: 10001;
}

.menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: fit-content;
    min-width: 330px;
    max-width: 92vw;
    background: #fff;
    z-index: 10000;
    padding: var(--header-top-padding) var(--container-icon-offset) 48px 56px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body.menu-open .menu-drawer {
    transform: translateX(0);
}

body.menu-open .menu-toggle-btn {
    opacity: 0;
    pointer-events: none;
}

.menu-close-btn {
    color: var(--color-black);
    opacity: 1 !important;
    pointer-events: auto !important;
    margin-left: auto;
    height: 60px;
}

.menu-drawer-nav {
    margin-top: calc(var(--header-top-padding) * 2);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-drawer-nav a {
    color: var(--color-black);
    text-decoration: none;
    font-size: var(--text-size-45);
    line-height: var(--text-line-45);
    font-weight: 500;
}

/* Textos */
.tx-90 {
    font-size: var(--text-size-90);
    line-height: var(--text-line-90);
}

.tx-65 {
    font-size: var(--text-size-65);
    line-height: var(--text-line-65);
}

.tx-45 {
    font-size: var(--text-size-45);
    line-height: var(--text-line-45);
}

.tx-30 {
    font-size: var(--text-size-30);
    line-height: var(--text-line-30);
}

.tx-25 {
    font-size: var(--text-size-25);
    line-height: var(--text-line-25);
}

.tx-20 {
    font-size: var(--text-size-20);
    line-height: var(--text-line-20);
}


.tx-white {color: var(--color-white);}
.tx-black {color: var(--color-black);}
.tx-balance {text-wrap-style: balance;}

a.link {text-decoration: none;}
a.link:hover {text-decoration: underline;}

/* Buttons */
.btn {
    border: 1px solid var(--color-white);
    border-radius: 200px;
    font-size: var(--text-size-20);
    line-height: var(--text-line-20);
    font-weight: 300;
    padding: 5px 20px;
    transition: backdrop-filter 0.3s ease,border 0.3s ease,color 0.3s ease;
}

.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    transition: backdrop-filter 0.3s ease,border 0.3s ease,color 0.3s ease;
}

.btn-outline-white:hover {
    backdrop-filter: blur(10px);
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-black {
    background: var(--color-black);
    border: 1px solid var(--color-black);   
    color: var(--color-white);
    transition: backdrop-filter 0.3s ease,border 0.3s ease,color 0.3s ease;
}

.btn-black:hover {
    backdrop-filter: blur(10px);
    color: var(--color-black);
    border: 1px solid var(--color-black);
}

.btn-outline-black {
    backdrop-filter: blur(10px);
    color: var(--color-black);
    border: 1px solid var(--color-black);
    transition: backdrop-filter 0.3s ease,border 0.3s ease,color 0.3s ease;
}

.btn-outline-black:hover {
    background: var(--color-black);
    border: 1px solid var(--color-black);   
    color: var(--color-white);
}

.btn-big {
    font-size: var(--text-size-30);
    padding: 10px 40px;
}


/* Sections */
.hero-section{
    min-height: 50vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    background-image: url(../img/bg-hero.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.general-section{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10vw 0;
}


/* Identities Carrousel */
.identities-carousel {overflow: hidden;}
.embla__viewport {overflow: hidden;cursor: grab;}
.embla__viewport:active {cursor: grabbing;}
.embla__container {display: flex;align-items: stretch;}
.embla__slide {flex: 0 0 auto;overflow: hidden;}
.embla__slide img {display: block;width: 100%;object-fit: cover;height: 600px;}


/* Services Carousel */
.carousel-caption {text-align: start;padding-bottom: 0px;}
.carousel-control-next, .carousel-control-prev {
    bottom: 45px;
    align-items: end;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 35px;
    height: 35px;
    background-size: contain;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='28' stroke='white' stroke-width='2' fill='none'/%3E%3Cpath d='M34 20 L24 30 L34 40' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='28' stroke='white' stroke-width='2' fill='none'/%3E%3Cpath d='M26 20 L36 30 L26 40' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}



/* Horizontal Section */
.div-flotante {
    position: static;
    margin-bottom: 24px;
}


.horizontal-wrapper {
    /* background: #000; */
    color: #fff;
    overflow: visible;
    position: relative;
}

.horizontal-track {
    display: block;
    width: 100%;
}

.horizontal-panel {
    width: 100%;
    min-height: 70vh;
    flex: 0 0 auto;
    display: flex;
    align-items: end;
    justify-content: start;
    padding: 40px 24px;
}

.horizontal-panel .content {
    max-width: 900px;
    width: 100%;
}

.bg-black-texture {
    background-image: url(../img/Textura.webp);
    background-size: 100px 100px;
    background-position: center;
    background-repeat: repeat;
}

.panel-1, .panel-2, .panel-3 {
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 728px) {

    .panel-1 {background-image: url(../img/bg-horizontal-1.webp);}
    .panel-2 {background-image: url(../img/bg-horizontal-2.webp);}
    .panel-3 {background-image: url(../img/bg-horizontal-3.webp);}

    .div-flotante {
        position: absolute;
        top: 7vw;
        margin-bottom: 0;
        z-index: 2;
    }

    .horizontal-track {
        display: flex;
        width: max-content;
    }

    .horizontal-panel {
        width: 100vw;
        min-height: 100vh;
        flex: 0 0 80vw;
        padding: 0 0 3vw 0;
    }
}


/* Habilidades */ 
.bullet-svg {
    width: 50px;
}

.bullet-green {fill: #7EADA7;}
.bullet-orange {fill: #DB551C;}
.bullet-yellow {fill: #D3B837;}


.bullet-wrapper {
    position: relative;
    display: inline-block;
}

.bullet-overlay {
    transition: transform 1s ease;
    transform: scale(.9);
    pointer-events: none; 
}

.bullet-point:hover + .bullet-overlay {
    transform: scale(100);
}

.bullet-point-content {
    position: relative;
    z-index: 3;
}


.logo-footer {max-width: 230px;}

.safiro {
    font-family: 'Safiro', sans-serif;
}

@font-face {
    font-family: 'Safiro';
    src: url('../fonts/safiro.otf') format('opentype');
}

@media (min-width: 728px) {
    .p-5 {padding: 6rem !important;}
}

@media (max-width: 728px) {
    :root {
        --text-size-90: 35px;
        --text-line-90: 40px;
        --text-size-65: 30px;
        --text-line-65: 30px;
        --text-size-45: 20px;
        --text-line-45: 20px;
        --text-size-30: 16px;
        --text-line-30: 16px;
        --text-size-25: 14px;
        --text-line-25: 14px;
    }


    section {scroll-margin-top: 70px;}

    .hero-section{
        min-height: 75vh;
        background-image: url(../img/bg-hero-mob.webp);
        background-position: center;
    }

    .header-floating {
        padding: var(--header-mobile-top-padding) 0;
    }

    .logo-header {
        height: 40px;
    }

    .menu-drawer {
        min-width: 250px;
        padding: var(--header-mobile-top-padding) 12px 40px 28px;
    }

    .horizontal-panel {
        min-height: auto;
        padding: 40px 0px;
    }

    img.icon-horizontal {
        max-width: 40%;
        margin:auto;
    }

    .horizontal-wrapper {
        text-align: center;
    }
}