:root {
  --bg-color: #18191b;
  --theme-color: #0e0f11;
  --main-color: #FF0000; }

/* --------------- Menu --------------- */
.navbar {
  position: absolute;
  left: 0;
  top: 30px;
  padding: 0;
  margin: 0;
  width: 100%;
  background: transparent;
  z-index: 9999999; }
  .navbar.nav-scroll {
    padding: 0;
    position: fixed;
    top: -80px;
    padding: 15px 0;
    -webkit-transition: -webkit-transform .8s;
    transition: -webkit-transform .8s;
    -o-transition: transform .8s;
    transition: transform .8s;
    transition: transform .8s, -webkit-transform .8s;
    -webkit-transform: translateY(80px);
    -ms-transform: translateY(80px);
    transform: translateY(80px);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px); }
  .navbar .logo {
    padding: 7px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px; }
  .navbar .navbar-nav {
    padding: 2px 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    margin-left: 15px; }
    .navbar .navbar-nav .nav-link {
      padding: 5px 20px;
      border-radius: 30px;
      font-size: 14px;
      color: #fff; }
      .navbar .navbar-nav .nav-link.active {
        background: rgba(255, 255, 255, 0.1); }
  .navbar .topnav .butn {
    padding: 7px 20px;
    background: #fff;
    color: #1d1d1d;
    margin-right: 15px; }

/* --------------- footer --------------- */
.footer-sa {
  background: var(--bg-color);
  border-radius: 30px 30px 0 0; }
  .footer-sa .logo {
    width: 160px; }
  .footer-sa .contact-info .item {
    margin-bottom: 50px; }
    .footer-sa .contact-info .item span {
      font-size: 12px;
      text-transform: uppercase;
      margin-bottom: 10px; }
  .footer-sa .contact-info .social-icon a {
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s; }
    .footer-sa .contact-info .social-icon a:hover {
      border-color: #fff; }
  .footer-sa .sub-footer .copy p {
    font-size: 14px; }
    .footer-sa .sub-footer .copy p a {
      color: #fff; }
  .footer-sa .sub-footer .links {
    width: 100%; }
    .footer-sa .sub-footer .links a {
      font-size: 14px; }
    .footer-sa .sub-footer .links .active {
      color: #fff; }

body {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  background-color: var(--theme-color); }

main {
  background-image: url(../img/bg-main.jpg);
  background-size: cover; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  margin: 0; }

h1 {
  font-size: 64px;
  letter-spacing: -3px; }

h2 {
  font-size: 48px;
  letter-spacing: -3px; }

h3 {
  font-size: 40px;
  letter-spacing: -2px; }

h4 {
  font-size: 36px;
  letter-spacing: -2px; }

h5 {
  font-size: 32px;
  letter-spacing: -1px; }

h6 {
  font-size: 24px; }

.sub-bg {
  background: var(--bg-color); }

.sub-color {
  color: #a4a4a4; }

.sub-head {
  font-size: 20px; }

p {
  font-size: 16px;
  font-weight: 400;
  color: #a4a4a4;
  margin: 0; }

.sec-head .sub-head {
  position: relative;
  padding-left: 25px;
  font-size: 18px;
  font-weight: 300; }
  .sec-head .sub-head:after {
    content: '';
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 0; }

.text-indent {
  text-indent: 20%; }

.loader-wrap svg {
  fill: #1d1d1d; }

.crv-butn span {
  background: var(--main-color);
  color: #0e0f11; }

.crv-butn .text {
  line-height: 40px;
  font-size: 15px;
  font-weight: 500;
  padding: 0 20px;
  border-radius: 30px;
  position: relative; }
  .crv-butn .text:after {
    content: '';
    width: 30px;
    height: 30px;
    background: var(--main-color);
    position: absolute;
    top: 5px;
    right: -15px;
    z-index: -1;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s; }

.crv-butn .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 35px;
  margin-left: -10px;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s; }
  .crv-butn .icon img {
    width: 15px;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s; }

.crv-butn:hover .text:after {
  border-radius: 50%;
  top: calc(50% - 5px);
  right: 0;
  height: 10px; }

.crv-butn:hover .icon {
  margin-left: 5px; }
  .crv-butn:hover .icon img {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg); }

.butn.butn-bord {
  border: 1px solid rgba(255, 255, 255, 0.3); }
  .butn.butn-bord:hover {
    background: #fff;
    color: #212121; }

.icon.invert img {
  -webkit-filter: invert(1);
  filter: invert(1); }

.butn .icon {
  width: 18px; }

.butn:hover .icon.invert img {
  -webkit-filter: invert(0);
  filter: invert(0); }

/* ====================== [ Start Responsive ] ====================== */
@media screen and (max-width: 992px) {
  .header-dm .caption {
    height: 700px; }
  .header-dm .mimg {
    width: 98%;
    top: -15px;
    right: 1%; }
  .header-dm .mimg .shaps.top {
    width: 90%;
    height: 220px; }
  .sec-head .sub-head {
    margin-bottom: 30px; }
  .text-indent {
    text-indent: inherit; }
  .intro-vid {
    margin-top: 120px; }
  .services-dm .item .title h2 {
    font-size: 80px; }
  .works-dm .sec-head {
    padding-left: 0; }
  .works-mp .works-grid,
  .works-mp .items {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    height: auto !important;
  }

}

@media screen and (max-width: 768px) {
  .header-dm .caption h1 {
    font-size: 40px;
    letter-spacing: -1px; }
  .services-dm .item {
    display: block !important; }
  .services-dm .item .title h2 {
    font-size: 60px;
    margin-bottom: 10px; }
  .intro-vid {
    margin-top: 0; }
    .intro-vid .bg-img .states {
      display: none; }
  .testimonials-dm .sec-head .states .ml-80 {
    margin-left: 15px !important; } }

/* --------------- helpers / interactions --------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.progress-wrap {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s ease;
}

.progress-wrap.active-progress {
  opacity: 1;
  transform: translateY(0);
}

.links a {
  position: relative;
}

.links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width .3s ease;
}

.links a:hover::after {
  width: 100%;
}

.social-icon a {
  transition: transform .3s ease, border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}

.social-icon a:hover {
  transform: translateY(-4px);
}

/* --------------- footer tweaks --------------- */
.footer-sa {
  background: #111;
}

.footer-sa .bord-thin-top-light {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-sa .links a {
  margin-left: 24px;
  font-size: 14px;
  letter-spacing: .5px;
}

.footer-sa .social-icon a:hover {
  border-color: #ff2b2b;
  background: rgba(255, 43, 43, 0.12);
  box-shadow: 0 0 12px rgba(255, 43, 43, .35);
}

.footer-sa .social-icon a:hover i {
  color: #ff2b2b;
}

/* --------------- burger social icons --------------- */
.hamenu .social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.hamenu .social-icon a {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(15px);
  animation: socialFade .6s ease forwards;
}

.hamenu .social-icon a i {
  font-size: 18px;
  line-height: 1;
  width: auto;
  height: auto;
}

.hamenu .social-icon a:nth-child(1) { animation-delay: .2s; }
.hamenu .social-icon a:nth-child(2) { animation-delay: .3s; }
.hamenu .social-icon a:nth-child(3) { animation-delay: .4s; }
.hamenu .social-icon a:nth-child(4) { animation-delay: .5s; }

.hamenu .social-icon a:hover {
  border-color: #ff2b2b;
  background: rgba(255, 43, 43, 0.08);
  box-shadow: 0 0 12px rgba(255, 43, 43, 0.25);
  transform: translateY(-4px);
}

.hamenu .social-icon a:hover i {
  color: #ff2b2b;
}

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

/* --------------- menu / logo motion --------------- */
.hamenu .logo {
  opacity: 0;
  transform: translateY(-15px) scale(.95);
  animation: logoFade .7s ease forwards;
  animation-delay: .15s;
}

.hamenu .logo img {
  transition: transform .4s ease;
}

.hamenu .logo img:hover {
  transform: scale(1.05);
}

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

.menu-toggle {
  width: 32px;
  height: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .35s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.menu-toggle:hover span {
  background: #ff2b2b;
}

.menu-icon .icon {
  transition: all .35s ease;
}

.menu-icon.active .icon {
  transform: rotate(90deg);
  opacity: .8;
}


/* --------------- social icons (shared) --------------- */
.social-icon {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-icon a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.social-icon a:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
}

/* --------------- progress scroll button --------------- */
.progress-wrap {
  width: 44px;
  height: 44px;
  right: 22px;
  bottom: 22px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: opacity .35s ease, transform .25s ease;
}

.progress-wrap:hover {
  transform: translateY(-3px);
}

.progress-wrap svg path {
  stroke-width: 3;
}

/* --------------- whatsapp floating button --------------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 9999;
  display: flex;
  align-items: center;
  width: 56px;
  height: 56px;
  padding: 6px;
  border-radius: 40px;
  overflow: hidden;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.06);
  transition: all .35s ease;
}

.wa-float .wa-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(37,211,102,.5);
  animation: waPulse 3s infinite;
}

.wa-float .wa-icon i {
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.wa-float .wa-text {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: all .3s ease;
  color: #fff;
  line-height: 1.05;
}

.wa-float .wa-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.wa-float .wa-subtitle {
  display: block;
  font-size: 12px;
  opacity: .8;
}

@media (hover:hover) {
  .wa-float:hover {
    width: 190px;
    padding-right: 16px;
  }

  .wa-float:hover .wa-text {
    opacity: 1;
    transform: translateX(0);
  }
}

.wa-float.wa-peek {
  width: 90px;
  padding-right: 16px;
}

.wa-float.wa-peek .wa-text {
  opacity: 1;
  transform: translateX(0);
}

.wa-float.is-light {
  background: rgba(255,255,255,0.70);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    0 0 0 1px rgba(0,0,0,0.06);
}

.wa-float.is-light .wa-text {
  color: #111;
}

.wa-float.is-light .wa-subtitle {
  opacity: .7;
}

/* --------------- global polish --------------- */
.cursor {
  display: none !important;
}

@media (max-width: 768px) {
  .wa-float {
    bottom: 150px;
  }

  .wa-float .wa-text {
    display: none;
  }

  .wa-float:hover {
    width: 56px;
    padding-right: 6px;
  }

  .social-icon {
    flex-wrap: wrap;
  }
}


/* =========================================
   VIDEO CARD – EUFORIA PREMIUM
========================================= */

.video-card{
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 24px;
    text-decoration: none;
    isolation: isolate;
    cursor: pointer;
}

.video-card img{
    width: 100%;
    display: block;
    border-radius: 24px;
    transition: transform .6s ease;
}

/* Overlay base */
.video-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.08) 0%,
        rgba(0,0,0,0.12) 45%,
        rgba(0,0,0,0.26) 100%
    );
    opacity: .72;
    transition: all .4s ease;
    z-index: 1;
}

/* Contenido inferior */
.video-overlay-content{
    position: absolute;
    left: 28px;
    bottom: 24px;
    z-index: 3;
    color: #fff;
    transform: translateY(10px);
    opacity: 0;
    transition: all .35s ease;
}

.video-overlay-content .video-label{
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.video-overlay-content h4{
    margin: 0;
    color: #fff;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 600;
}

/* Play */
.custom-play{
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.item .custom-play .vid-button {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.8);
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 34px;
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
    cursor: pointer;
    position: relative;
    transition: all .35s ease;
    animation: euforiaPlayPulse 2.8s ease-in-out infinite;
}

.custom-play .vid-button i{
    margin-left: 4px;
}

.custom-play .vid-button::before{
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    opacity: .65;
    animation: euforiaPlayRing 2.8s ease-out infinite;
    pointer-events: none;
}

.custom-play .vid-button::after{
    content: "";
    position: absolute;
    inset: -28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.10);
    opacity: 0;
    animation: euforiaPlayRingOuter 2.8s ease-out infinite;
    pointer-events: none;
}

/* Hover premium */
.video-card:hover img{
    transform: scale(1.05);
}

.video-card:hover::before{
    opacity: .92;
}

.video-card:hover .custom-play .vid-button{
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,1);
    box-shadow: 0 18px 42px rgba(0,0,0,.35);
}

.video-card:hover .video-overlay-content{
    transform: translateY(0);
    opacity: 1;
}

/* Animaciones */
@keyframes euforiaPlayPulse{
    0%, 100%{
        transform: scale(1);
        box-shadow: 0 12px 35px rgba(0,0,0,.25);
    }
    50%{
        transform: scale(1.03);
        box-shadow: 0 16px 42px rgba(0,0,0,.32);
    }
}

@keyframes euforiaPlayRing{
    0%{
        transform: scale(.92);
        opacity: .55;
    }
    70%{
        transform: scale(1.08);
        opacity: .12;
    }
    100%{
        transform: scale(1.12);
        opacity: 0;
    }
}

@keyframes euforiaPlayRingOuter{
    0%{
        transform: scale(.86);
        opacity: 0;
    }
    35%{
        opacity: .12;
    }
    100%{
        transform: scale(1.18);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 991px){
.custom-play .vid-button{
    width: 90px;
    height: 90px;
    font-size: 26px;
}

    .video-overlay-content{
        left: 20px;
        bottom: 18px;
    }

    .video-overlay-content h4{
        font-size: 20px;
    }
}

.accordion-button{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px;
}

.accordion-button .acc-icon{
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.accordion-button .acc-icon::before,
.accordion-button .acc-icon::after{
    content: "";
    position: absolute;
    background: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.accordion-button .acc-icon::before{
    width: 18px;
    height: 2px;
}

.accordion-button .acc-icon::after{
    width: 2px;
    height: 18px;
}

.accordion-button:not(.collapsed) .acc-icon::after{
    display: none;
}

.title .list span{
    color: #fff !important;
    font-size: 13px;
    letter-spacing: .3px;
}


.img-box .states h2{
    color:#fff !important;
    font-weight:700;
}

.img-box .states span{
    color:#fff !important;
    letter-spacing:.5px;
}
.img-box .states h2{
    font-size:64px;
}


.butn-vid .play-button .vid{
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#111;
    font-size:18px;
    transition: all .35s ease;
}

/* halo animado */

.butn-vid .play-button .vid::before{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    border-radius:50%;
    border:2px solid #ff1a1a;
    animation: euforiaPulse 2.5s infinite;
}

@keyframes euforiaPulse{

    0%{
        transform: scale(1);
        opacity:.7;
    }

    70%{
        transform: scale(1.8);
        opacity:0;
    }

    100%{
        transform: scale(1.8);
        opacity:0;
    }

}

/*.play-button .vid:hover{
    background:#ff1a1a;
    color:#fff;
    transform: scale(1.08);
}
.play-button .vid i{
    margin-left:3px;
    font-size:16px;
}


.img-box:hover .butn-vid .play-button .vid{
    transform: scale(1.08);
    background:#ff1a1a;
    color:#fff;
}

.img-box:hover .play-button .vid::before{
    border-color:#ff1a1a;
    animation-duration:1.6s;
}

.butn-vid .cont{
    transition: all .35s ease;
}

.img-box:hover .butn-vid .cont{
    transform: translateX(6px);
}

.img-box:hover .play-button .vid{
    box-shadow:0 0 20px rgba(255,26,26,.45);
}*/


/* ========================================
   BOTÓN REEL EUFORIA - SOLO ABOUT / NOSOTROS
======================================== */

.euforia-reel .play-button .vid{
    position: relative;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 20px;
    transition: all .35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
    overflow: visible;
    z-index: 2;
}

.euforia-reel .play-button .vid i{
    font-size: 20px;
    margin-left: 3px;
    position: relative;
    z-index: 3;
}

/* aro blanco */
.euforia-reel .play-button .vid::after{
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.18);
    z-index: 1;
}

/* aro rojo exterior */
/*.euforia-reel .play-button .vid::before{
    content: "";
    position: absolute;
    inset: -28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 40, 40, .30);
    z-index: 0;
    animation: euforiaRing 4s linear infinite;
}*/

/* hover del botón */
.euforia-reel .play-button .vid:hover{
    background: #ff1a1a;
    color: #fff;
    transform: scale(1.06);
    box-shadow: 0 0 24px rgba(255,26,26,.28);
}

/* hover desde toda la tarjeta */
.img-box:hover .euforia-reel .play-button .vid{
    background: #ff1a1a;
    color: #fff;
    transform: scale(1.06);
    box-shadow: 0 0 24px rgba(255,26,26,.28);
}

.img-box:hover .euforia-reel .play-button .vid::before{
    border-color: rgba(255, 40, 40, .45);
}

/* texto al lado */
.euforia-reel .cont{
    transition: transform .35s ease, opacity .35s ease;
}

.img-box:hover .euforia-reel .cont{
    transform: translateX(6px);
}

/* animación sutil del aro */
@keyframes euforiaRing{
    0%{
        transform: rotate(0deg) scale(1);
    }
    50%{
        transform: rotate(180deg) scale(1.015);
    }
    100%{
        transform: rotate(360deg) scale(1);
    }
}


/* =========================================
   MODAL YOUTUBE / VIMEO – EUFORIA
========================================= */

.YouTubePopUp-Wrap{
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999999 !important;

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

    width: 100% !important;
    height: 100% !important;
    padding: 80px 24px 24px !important;

    background: rgba(0,0,0,.92) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.YouTubePopUp-Content{
    position: relative !important;

    width: min(1180px, calc(100vw - 48px)) !important;
    max-width: 1180px !important;

    height: auto !important;
    aspect-ratio: 16 / 9 !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;

    background: #000 !important;
    border-radius: 18px;
    box-shadow: 0 25px 80px rgba(0,0,0,.7);
}

.YouTubePopUp-Content iframe{
    position: absolute !important;
    inset: 0 !important;

    display: block !important;
    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: inherit;

    background: #000 !important;
}

/* Botón propio de Euforia */
.EuforiaVideoClose{
    appearance: none !important;
    -webkit-appearance: none !important;

    position: absolute !important;

    inset: auto 0 auto auto !important;
    top: -56px !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: #fff !important;
    background-image: none !important;
    box-shadow: 0 8px 25px rgba(0,0,0,.35);

    transform: none !important;
    cursor: pointer !important;
    z-index: 30 !important;
}

.EuforiaVideoClose::before,
.EuforiaVideoClose::after{
    content: "" !important;
    position: absolute !important;

    top: 20px !important;
    left: 11px !important;

    width: 20px !important;
    height: 2px !important;

    border-radius: 2px !important;
    background: #111 !important;
}

.EuforiaVideoClose::before{
    transform: rotate(45deg) !important;
}

.EuforiaVideoClose::after{
    transform: rotate(-45deg) !important;
}

.EuforiaVideoClose:hover{
    background: #ff1a1a !important;
    transform: scale(1.06) !important;
}

.EuforiaVideoClose:hover::before,
.EuforiaVideoClose:hover::after{
    background: #fff !important;
}

@media (max-width: 768px){

    .YouTubePopUp-Wrap{
        padding: 64px 12px 20px !important;
    }

    .YouTubePopUp-Content{
        width: calc(100vw - 24px) !important;
        max-width: none !important;
        aspect-ratio: 16 / 9 !important;
        border-radius: 10px;
    }

    .EuforiaVideoClose{
        top: -46px !important;
        right: 0 !important;

        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    .EuforiaVideoClose::before,
    .EuforiaVideoClose::after{
        top: 18px !important;
        left: 10px !important;
        width: 18px !important;
    }
}


/* =========================================
   CIERRE MODAL DE VIDEO – EUFORIA
========================================= */

.YouTubePopUp-Content{
    position: relative !important;
    overflow: visible !important;
}

.EuforiaVideoClose{
    appearance: none;
    -webkit-appearance: none;

    position: absolute !important;
    top: -56px !important;
    right: 0 !important;

    width: 42px !important;
    height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: #fff !important;
    box-shadow: 0 8px 25px rgba(0,0,0,.35);

    cursor: pointer !important;
    z-index: 20 !important;

    transition:
        transform .25s ease,
        background-color .25s ease;
}

.EuforiaVideoClose::before,
.EuforiaVideoClose::after{
    content: "";
    position: absolute;

    top: 20px;
    left: 11px;

    width: 20px;
    height: 2px;

    border-radius: 2px;
    background: #111;
}

.EuforiaVideoClose::before{
    transform: rotate(45deg);
}

.EuforiaVideoClose::after{
    transform: rotate(-45deg);
}

.EuforiaVideoClose:hover{
    background: #ff1a1a !important;
    transform: scale(1.06);
}

.EuforiaVideoClose:hover::before,
.EuforiaVideoClose:hover::after{
    background: #fff;
}

@media (max-width: 768px){

    .EuforiaVideoClose{
        top: -47px !important;

        width: 38px !important;
        height: 38px !important;
    }

    .EuforiaVideoClose::before,
    .EuforiaVideoClose::after{
        top: 18px;
        left: 10px;

        width: 18px;
    }
}


/* =========================================
   MODAL VIDEO MP4 LOCAL – EUFORIA
========================================= */

.EuforiaLocalVideoModal{
    position: fixed;
    inset: 0;
    z-index: 999999999;

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

    padding: 80px 24px 24px;

    background: rgba(0,0,0,.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.EuforiaLocalVideoContent{
    position: relative;

    width: min(1180px, calc(100vw - 48px));
    max-width: 1180px;
    aspect-ratio: 16 / 9;

    background: #000;
    border-radius: 18px;
    box-shadow: 0 25px 80px rgba(0,0,0,.7);
}

.EuforiaLocalVideoContent video{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;

    border-radius: inherit;
    background: #000;
}

.EuforiaLocalVideoClose{
    appearance: none;
    -webkit-appearance: none;

    position: absolute;
    top: -56px;
    right: 0;

    width: 42px;
    height: 42px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,.35);

    cursor: pointer;
    z-index: 30;
}

.EuforiaLocalVideoClose::before,
.EuforiaLocalVideoClose::after{
    content: "";
    position: absolute;

    top: 20px;
    left: 11px;

    width: 20px;
    height: 2px;

    border-radius: 2px;
    background: #111;
}

.EuforiaLocalVideoClose::before{
    transform: rotate(45deg);
}

.EuforiaLocalVideoClose::after{
    transform: rotate(-45deg);
}

@media (max-width: 768px){

    .EuforiaLocalVideoModal{
        padding: 64px 12px 20px;
    }

    .EuforiaLocalVideoContent{
        width: calc(100vw - 24px);
        border-radius: 10px;
    }

    .EuforiaLocalVideoClose{
        top: -46px;
        width: 38px;
        height: 38px;
    }

    .EuforiaLocalVideoClose::before,
    .EuforiaLocalVideoClose::after{
        top: 18px;
        left: 10px;
        width: 18px;
    }
}


/* =========================================
   CUADRÍCULA PORTAFOLIO – EUFORIA
   Evita superposición de proyectos
========================================= */

.works-mp .works-grid {
    position: relative;
    height: auto !important;
}

.works-mp .works-grid .items {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    height: auto !important;
    margin-bottom: 70px;
}

.works-mp .works-grid .item {
    position: relative;
    width: 100%;
    height: auto;
}

.works-mp .video-card {
    width: 100%;
    height: auto;
}

.works-mp .video-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Tablet y celular */

@media (max-width: 991px) {

    .works-mp .works-grid .items {
        width: 100%;
        margin-bottom: 45px;
    }

}

@media (max-width: 767px) {

    .works-mp .works-grid .items {
        margin-bottom: 35px;
    }

    .works-mp .video-card {
        border-radius: 18px;
    }

    .works-mp .video-card img {
        border-radius: 18px;
    }

}