/* 
  LogoFacilito - Custom CSS
  This file contains custom styling for the LogoFacilito landing page
*/

/* ===== GENERAL STYLES ===== */
:root {
  --primary-color: #f3324c;
  --secondary-color: #2c2c2c;
  --accent-color: #ff9d4d;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #525252;
  --success-color: #28a745;
  --border-radius: 18px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s ease;
  --light-grey: #f4f5f6;
}

body {
  font-family: "DM Sans", sans-serif !important;
  color: var(--dark-color);
  overflow-x: hidden;
}

section {
  margin-bottom: 90px !important;
}

section.top-section {
  margin-top: 130px !important;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

a {
  text-decoration: none !important;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

/* BOTONES */
.lf-btn {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position:relative;
  overflow:hidden;
  font-size: 1rem;
  border-radius: 0.9rem;
  transition: 0.4s;
  padding-block: 0.45rem;
}

.lf-btn.btn-white {
  background-color: #fff;
  border: 1px solid #fff;
}

.lf-btn.btn-white:hover {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.lf-btn.btn-dark {
  background-color: #000;
  border: 1px solid #000;
  color: white;
}

.lf-btn.btn-dark:hover {
  background-color: #181818;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-service {
  background-color: transparent;
  border: 0;
}

.package-button {
  border: 2px solid;
}








.short-line {
  border-bottom: 3px solid black;
}



.bg-black {
  background-color: #000;
}

.bg-grey {
  background-color: #f4f5f6;
}

.bg-red {
  background-color: var(--primary-color) !important;
}



.logo-header {
  height: 2.75rem;
}

.logo-footer {
  height: 3.75rem;
}

.logo-paquetes {
  height: 5.2rem;
}

.degrade-text {
  background: -webkit-linear-gradient(90deg,rgb(161, 161, 161) 0%, rgba(255, 255, 255, 1) 70%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.btn {
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  transition: var(--transition);
}




.btn-primary:hover,




.mask {
  margin-top: 0;
  width: 100vw;
  height: 98vh;
  overflow: hidden;
  position: relative;
}



.video-wrapper {
  width: 100%;
  aspect-ratio: 24/9;
  min-height: 650px;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrapper .panorama-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  min-width: 100%;
  max-width: none;
  object-fit: cover;
  will-change: transform, opacity;
  animation: panoramaPan 30s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
  transition: opacity 0.4s ease;
  z-index: 1;
}

@keyframes panoramaPan {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-100% + 100vw), 0, 0);
  }
}

.hero_content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 55%;
  padding: 5% 5% 8.5%;
  display: flex;
  align-items: center;
  z-index: 3;
}

.hero_content h1 {
  font-size: clamp(2.9vw, 3vw, 3.1vw);
  line-height: 3.75rem;
  margin: 0;
  font-weight: 600;
  color:#fff;
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
}

.hero_content h6 {
  font-weight: 400;
  color:#fff;
  font-size: 1.1vw;
  margin-block: 2.5rem;
  font-family: 'DM Sans', sans-serif;
}

.hero-more-projects {
  position: relative ;
  z-index: 3;
  bottom: clamp(7.5%, 8.5%, 9%);
}

.inside-swipper {
  border-radius: 1.11rem;
  overflow: hidden;
  background-color: white;
  box-shadow: 6px 12px 20px 1px rgba(0,0,0,0.20);
}

.inside-swipper.selected img {
  scale: 0.975 0.96;
}

.mySwiper .swiper-slide img {
  scale: 1;
  transition: 0.5s;
  border-radius: calc(0.95rem);
  width: 100%;
  aspect-ratio: 16/9;
}

.mySwiper .swiper-slide:hover {
  cursor: pointer;
}

.mySwiper .swiper-slide:hover img {
  scale: 0.985 0.975;
}

.swiper-button-prev, .swiper-button-next {
  color: rgb(117, 117, 117) !important;
  margin-inline: -0.5rem;
}

.swiper-button-prev::after, .swiper-button-next::after {
  font-size: 25px !important;
}

.swiper-pagination-bullet-active {
  background-color: #000 !important;
}

/* Desenfoque INICIO */
.gradient-blur {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  backdrop-filter: blur(100px);
  mask: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .5) 15% , rgba(0, 0, 0, .85) 35%, rgba(0,0,0,1) 100%);
  background: linear-gradient(90deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 54%, rgba(237, 221, 83, 0) 59%);
  background-color: #000000ab;
  display: flex;
  flex-direction: column;
  justify-content: start;
  pointer-events: none;
}
/* Desenfoque FIN */


.inverted-radius {
  background: var(--primary-color);
  border-radius: 1rem;
  padding-block: 0.75rem;
  box-shadow: 6px 12px 24px 1px rgba(0,0,0,0.33)
}

.client-text h1 {
  font-size: 2.2rem;
  font-family: 'DM Sans', sans-serif;
}

.client-text h6 {
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
}


.big-text {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 4rem;
}

.section-title {
    font-weight: 600;
    margin-bottom: 2.25rem;
    position: relative;
    display: inline-block;
    font-size: 3rem;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: white;
  box-shadow: var(--box-shadow);
}

.navbar {
  padding: 15px 0;
  transition: padding 0.4s ease;
  width: 100%;
}

.navbar.scrolled-vaq {
  padding: 5px 0;
}

.navbar.scrolled-vaq img {
  scale: 0.8;
}


.nav-link {
  font-weight: 400;
  padding: 0.4rem 1.75rem !important;
  color: white !important;
}

.nav-link.active{
  background-color: var(--gray-color);
  border-radius: 1rem;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}




/* ===== SERVICES SECTION ===== */
.services-section {
  background-color: white;
  padding: 50px 0;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
}


.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* ===== PACKAGES SECTION ===== */
.icons-paq {
  height: 36px;
  max-width: 45px;
  margin-right: 10px;
  margin-top: -4px;
}

.icons-paq.medium {
  height: 48px;
}

.packages-section {
  background-color: white;
  padding: 50px 0;
}

.package-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 40px 30px 40px 30px;
  height: 100%;
  position: relative;
  transition: var(--transition);
  max-width: 350px;
}

.package-card.first {
  max-width: 550px;
}

.package-card.first:hover {
  transform: none;
  background-color: var(--light-color);
  color: inherit;
}

.package-features.first li{
  padding: 2px 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.329);
  height: 38px;
}

.package-card:hover {
  transform: scale(1.04) translateY(-10px);
  background-color: #000;
  color: white;
}

.package-card:hover li {
  border-bottom: 2px solid rgb(109, 109, 109);
}

.package-card.first:hover li {
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.package-features:hover span{
  color: 2px solid rgb(160, 160, 160);
}


.package-badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background-color: #000;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
}

.package-title {
  margin-bottom: 15px;
  font-weight: 600;
}

.package-title h3{
  font-size: 1.6rem;
}

.package-title h6{
  font-size: 0.8rem;
}

.package-price {
  font-size: 2.5rem;
  font-weight: 600;
}

.package-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.package-features li{
  padding: 6px 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  height: 38px;
  text-wrap: nowrap;
  overflow: hidden;
}

.package-note {
  padding-inline: 20px;
  font-size: 0.85rem;
  color: var(--gray-color);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
  background-color: white;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 30px;
}

.portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}



.portfolio-item:hover img {
  transform: scale(1.1);
}


/* ===== TESTIMONIALS SECTION ===== */

.testimonial-card {
  background-color: var(--dark-color);
  border-radius: var(--border-radius);
  padding-inline: 30px;
  padding-top: 5rem;
  padding-bottom: 3rem;
  box-shadow: var(--box-shadow);
  height: 300px;
  /* clip-path: polygon(60% 0%, 60% 30%, 100% 30%, 100% 100%, 0 100%, 0% 60%, 0 0); */
  clip-path: polygon(20% 0%, 25% 10%, 100% 10%, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0 0);
}


.testimonial-content {
  margin-bottom: 20px;
  color: #cfcfcf;
}

.testimonial-author {
  display: flex;
  align-items: center;
  color: var(--light-color);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-author h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

.testimonial-author p {
  margin-bottom: 0;
  color: var(--light-color);
  font-size: 1rem;
}

/* ===== AGENCY SECTION ===== */
.agency-section {
  background-color: white;
  padding: 80px 0;
}





/* .agency-section h3{
  font-size: 
} */







/* ===== FOOTER ===== */
.footer {
    background-color: var(--light-color);
    color: rgb(17, 17, 17);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgb(17, 17, 17);
}

.footer-links {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(39, 39, 39, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
  width: 1.5rem;
  height: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--dark-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 18px;
}

.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  color: white;
}

.tiktok:hover {
  color: white;
  background-color: #000;
}

.youtube:hover {
  color: white;
  background-color: #ee0f0f;
}

.linkedin:hover {
  color: white;
  background-color: #3a72eb;
}


.footer-divider {
    margin: 40px 0;
    background-color: rgba(255, 255, 255, 0.1);
}

.copyright {
    color: var(--dark-color);
    font-size: 0.9rem;
}

.footer-legal {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 0;
}

.footer-legal a {
    color: var(--dark-color);
    font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

.img-top-separation {
  margin-top: -23rem;
}

.img-bottom-separation {
  margin-bottom: 22rem;
}

.nav-item {
  font-size: 1rem;
}


/* Estilo animación para el navbar */
.wrapper-nav-anim{
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background: #000;
  clip-path: circle(25px at calc(100% - 45px) 25px);
  transition: all 0.3s ease-in-out;
}

#active:checked ~ .wrapper-nav-anim{
  clip-path: circle(75%);
}

.menu-btn{
  position: absolute;
  z-index: 2;
  right: 20px;
  top: 0.5rem;
  height: 50px;
  width: 50px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

#active:checked ~ .menu-btn{
  color: #fff;
}

#active:checked ~ .menu-btn i:before{
  content: "\f00d";
}

.wrapper-nav-anim ul{
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  list-style: none;
  text-align: center;
}

.wrapper-nav-anim ul li{
  margin: 5px 0;
}

.wrapper-nav-anim ul li a{
  color: none;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  padding: 5px 30px;
  color: #fff;
  border-radius: 24px;
  background: #000;
  position: relative;
  line-height: 50px;
  transition: all 0.3s ease;
}

.wrapper-nav-anim ul li a:after{
  position: absolute;
  content: "";
  background: #fff;
  background: linear-gradient(#d6d6d6, #a5a5a5, #5c5c5c);
  left: -2%;
  top: -5%; /* if the font is 'Oswald'*/
  border-radius: 24px;
  transform: scaleY(0);
  z-index: -1;
  animation: rotate 1.5s linear infinite;
  transition: transform 0.3s ease;
}
.wrapper-nav-anim ul li a:hover:after{
  transform: scaleY(1);
}
.wrapper-nav-anim ul li a:hover{
  color: #fff;
}

input[type="checkbox"]{
  display: none;
}

.content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  text-align: center;
  width: 100%;
  color: #202020;
}
.content .title{
  font-size: 40px;
  font-weight: 700;
}
.content p{
  font-size: 35px;
  font-weight: 600;
}

.fw-500 {
  font-weight: 500;
}


/* Cards animadas para servicios */
.myPackageSwiper {
  cursor: grab;
}

.myPackageSwiper:target {
  cursor: grabbing;
}
  
.card {
  position: relative;
  width: 16.5vw !important;
  height: 330px;
  margin: 20px 0.5rem;
  background: #fff;
  border-radius: 16px !important;
  display: inline-block;
  overflow: hidden;
}
  
.card .face{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
  
.card .face.face1{
  box-sizing: border-box;
}

.card .face.face1 img{
  aspect-ratio: 1/1.1;
}

.card .face.face1 img:hover{
  cursor: default;
  scale: 1;
}

.card .face.face2{
  background-color: black;
  transition: 0.5s;
  height: 60px;
  clip-path: polygon(20% 0%, 20% 0%, 100% 0%, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0 0);
  border-radius: 15px;
  padding-top: 0rem;
}

.card:hover .face.face2{
  cursor: default;
  height: 55%;
  border-radius: 0 0 15px 15px;
  clip-path: polygon(25% 0%, 30% 10%, 100% 10%, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0 0);
  padding-top: 2rem;
  border-radius: 1rem;
}

.card .face.face2:before{
  content:'';
  position: absolute;
  top:0;
  left:0;
  width: 50%;
  height: 100%;
  border-radius: 15px 0 0 15px;
}

.card .face.face2 p{
  transition: 0.5s;
  display: none;
  font-weight: 300;
  line-height: 1.2rem;
}

.card .face.face2 h2{
  margin: 0;
  padding: 0;
  font-size: 1.25em;
  font-weight: 400;
  color: #fff;
  transition: 0.5s;
  text-shadow: 0 2px 5px rgba(0,0,0, .2);
}

.card:hover .face.face2 p{
  display: block;
  margin-bottom: 0;
  font-size: 0.925rem;
}

/* Forma de carpeta en el elemento (Ancho amplio y solapa consistente) */
.portfolio-wrapper {
  clip-path: polygon(0 0, clamp(220px, 22vw, 340px) 0, calc(clamp(220px, 22vw, 340px) + 36px) 44px, 100% 44px, 100% 100%, 0 100%);
  padding-top: 55px !important;
  background-color: #f1f2f4;
  border-radius: 36px;
  width: 100%;
}

.box-portafolio {
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  height: auto;
  background-color: #ffffff;
  border-radius: 26px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.box-portafolio:hover {
  transform: translateY(-8px);
  background-color: #ffffff;
  box-shadow: 0 22px 48px -12px rgba(0, 0, 0, 0.12);
}

.box-portafolio-imagen {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 260px;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eaedf0;
  position: relative;
}

.box-portafolio-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.box-portafolio:hover .box-portafolio-imagen img {
  transform: scale(1.05);
}

.box-portafolio-title {
  font-size: clamp(1.3rem, 1.6vw, 1.65rem);
  font-weight: 700;
  color: var(--dark-color, #1a1a1a);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.box-portafolio:hover .box-portafolio-title {
  color: var(--primary-color, #f3324c);
}

.box-portafolio-category {
  font-size: 1rem;
  color: #6c757d;
  font-weight: 500;
  margin-bottom: 0;
}

  .w-85 {
    width: 85%;
  }



  .galery-image-mask {
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 7/9;
  }

  .galery-image-mask.horizontal {
    aspect-ratio: 18/9;
  }

#mobile-hero {
  display: none;
}

.image-wrapper {
  overflow: hidden;
  position: relative;
}

.object-cover {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  display: block;
}

.object-cover-people {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  object-position: top;
}


/* ===== Tarjetas de personas en Nosotros ===== */
.people-card {
  position: relative;
  height: 625px;
  width: 100%;
  border-radius: 1rem;
  background-color: transparent;
  overflow: hidden;
  cursor: pointer;
}

/* Agregado pseudo-elemento para el efecto de deslizamiento */
.people-card::before {
  content: "";
  position: absolute;
  top: -100%; /* Inicia completamente abajo */
  left: 0;
  width: 100%;
  height: 95%;
  background-color: #5c5c5c;
  transition: top 0.7s ease-out;
  z-index: 1;
  border-radius: 1rem;
}

.people-card .image-wrapper,
.people-card .people-card-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.4s ease-in, height 0.45s ease-in;
}

/* Estado inicial */
.people-card .image-wrapper {
  opacity: 1;
  border-radius: 1rem;
  height: 70%;
  z-index: 2; /* Agregado z-index para estar sobre el pseudo-elemento */
}

.people-card .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.people-card .people-card-info {
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 1.5rem 2.5rem;
  height: 90%;
  z-index: 3;
  color: white;
}

.people-card .people-card-info p {
  margin-bottom: 1rem;
  font-weight: 200 !important;
  font-size: 1.35rem;
  font-style: italic;
}

/* Hover */
.people-card:hover {
  color: white;
}

/* El pseudo-elemento se desliza hacia arriba en hover */
.people-card:hover::before {
  top: 0; /* Se desliza hasta cubrir completamente la tarjeta */
}

.people-card:hover .image-wrapper {
  height: 50%;
  opacity: 0;
}

.people-card:hover .people-card-info {
   opacity: 1;
}

.folder-border {
  background-color: #ececec;
  border-radius: var(--border-radius);
  padding-inline: 40px;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  height: 160px;
  clip-path: polygon(27% 24%, 100% 24%, 100% 35%, 100% 100%, 75% 100%, 50% 100%, 7% 100%, 0 100%, 0 0, 23% 0);
}
  

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1650px) {
  .card {
    width: 21.5vw !important;
  }
}


@media (max-width: 1399px) {

  section {
    margin-bottom: 25px !important;
  }

  section.top-section {
    margin-top: 30px !important;
  }

  .w-85 {
    width: 90%;
  }

  .video-wrapper {
    aspect-ratio: 21/9;
    margin-top: 18px;
    min-height: 650px;
  }

  .mask {
    height: 95vh;
  }


  .gradient-blur {
    aspect-ratio: 11/9;
  }

  .hero-more-projects {
    bottom: clamp(7.5%, 8.5%, 9.5%);
  }

  .hero_content {
    width: 52.5%;
  }

  .hero_content h1 {
    font-size: 3.5dvw;
    line-height: 3.25dvw;
  }

  .hero_content h6 {
    font-size: 1.1rem;
    margin-block: 1.75rem;
  }

  .client-text h1 {
    font-size: 1.75rem;
  }

  .client-text h6 {
    font-size: .9rem;
  }

  .mySwiper .swiper-slide img {
    border-radius: calc(1rem - 1px);
    aspect-ratio: 14/9;
  }

  .card {
    position: relative;
    min-width: 270px;
    height: 320px;
    margin: 20px 0.2rem;
  }

  .card {
    width: 24.5vw !important;
  }

  .card:hover .face.face2{
    height: 55%;
    padding-top: 1.5rem;
  }

  .card .face.face2 h2{
    font-size: 1.1em;
  }

  .img-top-separation {
    margin-top: -18rem;
  }

  .img-bottom-separation {
    margin-bottom: 18rem;
  }

  .testimonial-card {
    clip-path: polygon(27% 0%, 35% 14%, 100% 14%, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0 0);
    padding-top: 4.5rem;
    padding-bottom: 1rem;
    padding-inline: 20px;
  }

  .testimonial-avatar {
    width: 45px;
    height: 45px;
  }

  .testimonial-author h5 {
    font-size: 1.15rem;
    margin-bottom: 4px;
  }

  .main-headline {
    padding: 6% 5% 0% 5%;
  }

  .big-text {
    font-size: 3rem;
    line-height: 3.75rem;
  }

  .lf-btn {
    border-radius: 0.8rem;
  }

  .portfolio-wrapper {
    clip-path: polygon(26% 0%, 31% 5%, 100% 5%, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0 0);
  }

  .people-card .image-wrapper {
    height: 67.5%;
  }

  .folder-border {
    clip-path: polygon(30% 24%, 100% 24%, 100% 35%, 100% 100%, 75% 100%, 50% 100%, 7% 100%, 0 100%, 0 0, 25% 0);
  }
}

@media (max-width: 1199px) {
  .video-wrapper {
    aspect-ratio: 18 / 9;
    min-height: 600px;
  }

  .hero_content {
    width: 62.5%;
    padding: 5% 5% 10% 2.5%;
  }

  .card {
    width: 26vw !important;
  }

  .package-card {
    min-width: 235px;
  }

  .lf-btn {
    padding-block: 0.3rem;
  }

  .testimonials-carousel {
    display: none;
  }
}

@media (max-width: 991px) {

  .big-text {
    font-size: 2.75rem;
    line-height: 3.1rem;
  }

  .w-85 {
    width: 100%;
  }

  .package-card {
    padding: 30px 20px 30px 20px;
  }

  .package-card.first {
    max-width: 360px;
  }

  .package-note {
    padding: 12px;
    font-size: 0.65rem;
  }





  .footer-legal {
    justify-content: flex-start;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .img-top-separation {
    margin-top: -11.5rem;
  }

  .img-bottom-separation {
    margin-bottom: 10rem;
  }

  .gradient-blur {
    width: 50%;
    backdrop-filter: blur(0.125rem);
    height: 100%;
  }

  .hero_content {
    width: 65%;
    padding: 5% 5% 10% 0%;
  }

  .hero_content h1 {
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 3.25rem;
  }

  .client-text h1 {
    font-size: 2rem;
  }

  .hero-more-projects {
    width: 98%;
  }

  .client-text h1 {
    font-size: 1.65rem;
    line-height: 35px;
  }

  .card {
    width: 36.5vw !important;
  }

  .wrapper-nav-anim {
    width: 70vw;
  }

  .mask {
    height: 65vh;
  }

  .folder-border {
    clip-path: polygon(35% 30%, 100% 30%, 100% 35%, 100% 100%, 75% 100%, 50% 100%, 7% 100%, 0 100%, 0 0, 30% 0);
    height: 180px;
    padding-inline: 30px;
  }

  .testimonial-card {
    padding-inline: 3rem;
    padding-top: 5rem;
  }


  
}

@media (max-width: 767px) {
  .mask {
    height: 85dvh;
  }

  #mobile-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    object-fit: cover;
  }

  #mobile-hero {
    display: block;
    margin-top: 75dvh;
  }

  #nombre-cliente {
    font-size: 1.75rem;
  }

  .big-text {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .icons-paq {
    height: 20px;
    max-width: 45px;
    margin-right: 8px;
  }

  .package-card.first {
    max-width: 300px;
  }

  .card{
    min-width: 90vw;
  }
  
  .scrolled-btn {
    top: -0.5rem;
  }

  .logo-header {
    height: 2.5rem;
  }

  .logo-footer {
    height: 2.75rem;
  }



  .mask {
    height: calc(92dvh + 4vw);
  }

  .gradient-blur {
    display: none;
  }

  .hero_content {
    bottom: 0;
    left: 0;
    padding: 5% 0% 7.5% 0%;
    align-items: flex-end;
    width: 100dvw;
    mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 10%, rgba(0, 0, 0, .5) 45% , rgba(0, 0, 0, .65) 60%, rgba(0,0,0,1) 100%);
    background-color: #000;
  }

  .hero_content h1 {
    font-size: calc(2.75rem - 1vw);
    line-height: 2.9rem;
  }

  .hero_content h6 {
    font-size: 1.05rem;
    margin-block: 1.3rem;
  }

  .hero-more-projects {
    bottom: -10px;
    width: 100dvw;
    left: 0;
    padding: 0 20px;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .package-card.first {
    padding: 20px 10px 20px 5px;
  }

  .service-card,
  .package-card {
    margin-bottom: 20px;
    padding: 20px 24px 20px 24px;
    height: auto;
  }

  .package-card:hover {
    transform: scale(1.03) translateY(-5px);
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }

  .testimonial-card {
    padding-inline: 20px;
    padding-top: 5rem;
    padding-bottom: 1rem;
    clip-path: polygon(30% 0%, 40% 10%, 100% 10%, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0 0);
  }



  .card {
    width: 290px !important;
    height: 300px;
    margin: 12px 0.25rem; 
  }


  .lf-btn.btn-white {
    border: 1px solid #000;
  }

  .menu-btn{
    top: 0.5rem;
    height: 40px;
    width: 40px;
    line-height: 40px;
    display: flex;
    align-items: center;
  }

  .package-features li{
    height: 32px;
    font-size: 0.9rem;
  }

  .inside-swipper {
    border-radius: 0.75rem;
    box-shadow: 5px 10px 14px 1px rgba(0,0,0,0.20);
  }

  .galery-image-mask {
    border-radius: 10px;
  }

  .galery-image-mask.horizontal {
    aspect-ratio: 18/9;
  }

  .people-card {
    height: 450px;
  }

  .agency-section {
    padding: 0 50px;
  }

  .wrapper-nav-anim ul li a{
    font-size: 1.1rem;
    padding: 5px 25px;
    border-radius: 20px;
    line-height: 40px;
  }

  .incluye-list h6{
    font-weight: 100 !important;
  }
}

@media (max-width: 575px) {


  .package-title {
    font-size: 1.35rem;
  }

  .package-price {
    font-size: 1.7rem;
  }

  .footer-divider {
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .section-title {
    font-size: 1.75rem;
  }

  .img-top-separation {
    margin-top: -5rem;
  }

  .img-bottom-separation {
    margin-bottom: 5rem;
  }

  .card {
    min-width: 250px !important;
    height: 300px;
    margin: 0px 0.25rem;
    border-radius: 15px;
  }

  .package-note {
    padding: 10px;
    font-size: 0.60rem;
  }


  .mask {
    height: 98dvh;
  }

  .video-wrapper {
    margin-top: 6px;
    min-height: 78dvh;
  }

  .hero_content h1 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 2rem;
  }

  .hero_content h6 {
    font-size: 1rem;
    font-weight: 200;
    line-height: 1.2rem;
    margin-block: 1.25rem;
  }

  .client-text h1 {
    font-size: 1.35rem;
    line-height: 25px;
  }

  .client-text h6 {
    font-size: 0.8rem;
  }

  .big-text {
    font-size: 2.1rem;
    line-height: 2.4rem;
  }

  .footer-legal {
    align-items: center;
  }

  .icons-paq {
    height: 18px;
    max-width: 24px;
    margin-right: 5px;
  }

  .logo-paquetes {
    height: 2.8rem;
  }

  .hero-more-projects {
    bottom: -10px;
    width: 100dvw;
    left: 0;
    padding: 0 20px;
  }




  .box-portafolio {
    padding: 12px;
    border-radius: 18px;
  }

  .box-portafolio-imagen {
    aspect-ratio: 16 / 10;
    min-height: 200px;
    height: auto;
    border-radius: 14px;
    margin-bottom: 8px;
  }
  
  .portfolio-wrapper {
    clip-path: none;
    padding-top: 24px !important;
  }

  .box-portafolio:hover {
    transform: none;
  }

  .box-portafolio-title {
    font-size: 1.25rem;
  }

  .galery-image-mask {
    border-radius: 8px;
  }

  .galery-image-mask.horizontal {
    aspect-ratio: 14/9;
  }

  .testimonials-carousel .carousel-control-prev {
    left: -15px;
  }

  .testimonials-carousel .carousel-control-next {
    right: -15px;
  }

  .testimonials-carousel .carousel-control-prev-icon,
  .testimonials-carousel .carousel-control-next-icon {
    width: 25px;
    height: 25px;
  }

  .wrapper-nav-anim ul li a{
    font-size: 1rem;
    padding: 5px 20px;
    line-height: 35px;
  }

  .package-card {
    min-width: 200px;
  }

  .people-card .image-wrapper {
    height: 19rem;
  }

  .folder-border {
    clip-path: polygon(50% 25%, 100% 25%, 100% 35%, 100% 100%, 75% 100%, 50% 100%, 7% 100%, 0 100%, 0 0, 40% 0);
    height: 200px;
    padding-inline: 20px;
  }

  .folder-border h6 {
    font-weight: 100 !important;
  }

  .short-line {
    border-bottom: 3px solid black;
  }

  .inverted-radius {
    border-radius: .6rem;
    padding-block: 0.25rem;
  }

  .people-card .people-card-info p {
    font-size: 1.1rem;
  }

  .rounded-mobile {
    border-radius: 0 !important;
  }



  .mySwiper .swiper-slide img {
    border-radius: 0;
  }
}


/* ------------ CAROUSEL  ------------ */
/* Testimonials Carousel Styling */
.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next {
    width: 5%;
    opacity: 1;
}

.testimonials-carousel .carousel-control-prev {
    left: -5rem;
}

.testimonials-carousel .carousel-control-next {
    right: -5rem;
}

.testimonials-carousel .carousel-control-prev-icon,
.testimonials-carousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 50% 50%;
}











/* CONTENDOR REDONDEADO */

.contenedor {
  position: relative;
  background-color: white;
  width: 500px;
  height: 200px;
  border-radius: 20px;
}

/* Pseudoelemento para crear el recorte */
.contenedor::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 150px;
  width: 100%;
  height: 50px;
  background-color: #666;
  border-radius: 0 0 0 30%;
  border-bottom-left-radius: 20px;
}

.contenedor::before {
  content: "";
  position: absolute;
  background-color: #fff;
  top: 50px;
  right:0px;
  height: 60px;
  width: 25px;
  border-top-right-radius: 20px;
  box-shadow: 0 -25px 0 0 #666; /* This is where the magic happens! */
}
.contenedor>span::before {
  content: "";
  position: absolute;
  background-color: #fff;
  top: 0px;
  left:125px;
  height: 60px;
  width: 25px;
  border-top-right-radius: 25px;
  box-shadow: 0 -25px 0 0 #666; /* This is where the magic happens! */
}


.type-animation {
    text-align: center;
    color: #000;
    padding: 0;
    text-transform: none;
  }
  
.type-animation span {
  color: var(--verde_aqua);
  animation-delay: 2s;
  font-weight: 600;
}
  
.txt-rotate > .wrap {
  border-right: 0.08em solid #666;
}

/* YouTube Facade (Carga bajo demanda de alto rendimiento) */
.youtube-facade {
  cursor: pointer;
  background-color: #000;
}

.youtube-facade .youtube-thumbnail {
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.youtube-facade:hover .youtube-thumbnail {
  transform: scale(1.03);
  opacity: 0.92;
}

.youtube-play-btn {
  width: 72px;
  height: 72px;
  background-color: rgba(243, 50, 76, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.youtube-facade:hover .youtube-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background-color: #f3324c;
  box-shadow: 0 8px 30px rgba(243, 50, 76, 0.5);
}

/* ==========================================================================
   PÁGINA DE PROYECTO INDIVIDUAL (single.php - Inspiración León & Leal)
   ========================================================================== */
.project-single-page {
  color: #111;
  background-color: #fff;
}



.project-meta-strip {
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.06);
}


.project-big-image-wrapper {
  background-color: #f3f4f6;
  aspect-ratio: 16 / 9;
  width: 100%;
}

@media (min-width: 992px) {
  .project-big-image-wrapper {
    aspect-ratio: 21 / 10;
  }
}


.project-gallery-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}


.cursor-pointer {
  cursor: pointer;
}

.related-project-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  background-color: #fff;
  cursor: pointer;
}

.related-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12) !important;
}

.related-project-card:hover .related-project-thumb img {
  transform: scale(1.04);
}

.related-project-thumb {
  overflow: hidden;
  background-color: #f1f2f4;
}

.related-project-thumb img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================================
   ESTILOS SINGLE PROYECTO (MOBILE-FIRST POLISH)
   ======================================================== */
.project-single-page {
  overflow-x: hidden;
  padding-top: 60px;
}

@media (min-width: 992px) {
  .project-single-page {
    padding-top: 50px;
  }
}

.project-big-image-wrapper img,
.project-gallery-card:not(.ratio) img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.project-gallery-card.ratio > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-gallery-vertical {
  --bs-aspect-ratio: 133.33%;
  aspect-ratio: 3 / 4;
}

.project-gallery-placeholder {
  background: radial-gradient(circle at center, #1e2025 0%, #0d0e12 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  height: 100%;
}

.project-gallery-placeholder-logo {
  position: static !important;
  width: auto !important;
  max-width: 55% !important;
  max-height: 45% !important;
  height: auto !important;
  object-fit: contain !important;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-gallery-card:hover .project-gallery-placeholder-logo {
  opacity: 1;
  transform: scale(1.03);
}

.project-meta-mobile {
  max-width: 540px;
}

.project-meta-mobile .shadow-sm {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.project-story-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.project-story-media {
  min-height: 240px;
  background-color: #f6f7f9;
  position: relative;
  overflow: hidden;
}

.project-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .project-story-media {
    min-height: 440px;
    height: 100%;
  }
}

.project-testimonial-quote {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}

/* Utilidades responsivas de tipografía */
@media (min-width: 768px) {
  .fs-md-3 { font-size: 1.75rem !important; }
  .fs-md-5 { font-size: 1.25rem !important; }
}

/* ==========================================================================
   SECCIÓN SERVICIOS (servicios.php)
   Estilos específicos para la navegación por pestañas y paneles de servicios
   ========================================================================== */

/* Barra de navegación de servicios tipo píldora (horizontal scroll) */
.services-pills-nav {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  padding-top: 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.services-pills-nav::-webkit-scrollbar {
  display: none;
}

.service-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0.65rem 1.25rem;
  border-radius: .75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  color: #333333;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.service-pill-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.service-pill-btn.active {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.service-pill-btn.active .material-symbols-outlined {
  color: var(--primary-color);
}

/* Paneles de contenido de cada servicio con animación suave */
.service-content-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-content-panel.active {
  display: block;
  opacity: 1;
  animation: lfFadeIn 0.35s ease-out forwards;
}

@keyframes lfFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tarjeta de característica "¿Para quién es?" */
.service-feature-card {
  background: #fbfbfb;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.service-feature-card:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Lista de ítems incluidos con checklist corporativo */
.service-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.service-check-icon {
  color: var(--primary-color);
  font-size: 1.25rem;
  line-height: 1.4;
  flex-shrink: 0;
}

/* Contenedor de entregables con acento de marca */
.service-deliverables-box {
  background: #f8f9fa;
  border-left: 4px solid var(--primary-color);
  border-radius: 0 1.25rem 1.25rem 0;
  padding: 1.5rem 1.75rem;
}

/* Imagen destacada del servicio con micro-zoom en hover */
.service-hero-img-wrap {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.service-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-hero-img-wrap:hover img {
  transform: scale(1.03);
}

/* Píldora de categoría del servicio */
.badge-service-category {
  background-color: rgba(243, 50, 76, 0.1);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 50rem;
  display: inline-block;
}

/* ========================================================================
   SECCIÓN: ¿EN QUÉ PUNTO ESTÁS? - HOVER EFECTOS
   ======================================================================== */
.punto-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease !important;
  cursor: pointer;
}

.punto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(243, 50, 76, 0.35) !important;
}

.punto-card .punto-icon {
  transition: transform 0.3s ease;
}

.punto-card:hover .punto-icon {
  transform: scale(1.15);
}

.punto-btn {
  transition: color 0.25s ease;
}

.punto-btn-circle {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.25s ease !important;
}

.punto-card:hover .punto-btn-circle,
.punto-btn:hover .punto-btn-circle {
  background-color: var(--primary-color, #f3324c) !important;
  transform: translate(3px, -3px) scale(1.08);
}

.punto-card:hover .punto-btn-text,
.punto-btn:hover .punto-btn-text {
  color: var(--primary-color, #f3324c) !important;
}

/* ========================================================================
   SELECTOR DE PERFILES EN PARALELO (ZONA DE PRECIOS)
   ======================================================================== */
.package-parallel-tab {
  background-color: #ffffff;
  color: #1a1a1a;
  border: 2px solid transparent !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  outline: none;
}

.package-parallel-tab:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(243, 50, 76, 0.3) !important;
}

.package-parallel-tab.selected {
  background-color: #000000;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  border-color: #000000 !important;
}

.package-parallel-tab.selected .package-tab-desc {
  color: rgba(255, 255, 255, 0.75) !important;
}

.package-parallel-tab.selected .package-tab-price {
  color: #ffffff !important;
}

.package-tab-title {
  font-size: clamp(1.2rem, 1.4vw, 1.5rem);
  letter-spacing: -0.01em;
}

.package-tab-price {
  font-size: clamp(1.3rem, 1.6vw, 1.75rem);
  color: #1a1a1a;
  transition: color 0.25s ease;
}

/* ========================================================
   PÁGINA: TÉRMINOS Y CONDICIONES
   ======================================================== */
.terms-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.5rem;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.terms-card:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.14);
}

.terms-toc-link {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 0.5rem;
  color: #555555;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.terms-toc-link:hover {
  background-color: #f4f5f7;
  color: #000000;
  padding-left: 1.15rem;
}

.terms-toc-link.active {
  background-color: rgba(243, 50, 76, 0.08);
  color: var(--primary-color, #f3324c);
  font-weight: 700;
  padding-left: 1.15rem;
}

.scroll-margin-top {
  scroll-margin-top: 110px;
}


