@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,600;1,700&family=Playfair+Display:ital,wght@0,400;1,400;1,600&display=swap');

:root {
  --bg_color_1: #050c22;
  --bg_color_2: #1351ff;
  --bg_color_2_dark: #0c969c;
  --bg_color_3: #00276c;
  --bg_color_4: #fe6f73;
  --bg_color_5: #202a34;
  --bg_gray: #d7d8dd;
}

body {
  font-family: 'Montserrat', sans-serif;
}

.font_2 {
  font-family: 'Playfair Display', serif;
}

/* html {
  scroll-behavior: smooth;
} */
::selection {
  background-color: var(--bg_color_4);
  color: white;
}

img::selection {
  background-color: white;
}

a {
  text-decoration: none;
}

* {
  -webkit-transition: .25s all ease;
  -moz-transition: .25s all ease;
  -o-transition: width 1s ease-in-out;
  transition: .25s all ease;
}

/* Excluir elementos animados por JS para evitar lag */
#row1,
#row2,
.track,
.track-images,
.magnetic,
.parallax-bg-layer,
.parallax-element {
  transition: none !important;
}

.magnetic {
  display: inline-block;
  will-change: transform;
  transition: none !important;
  /* Avoid conflict with JS-driven transforms */
}

.full_width_image {
  min-width: 100%;
  height: auto;
}

.bg_color_1 {
  background-color: var(--bg_color_1);
  color: white;
}

.bg_color_2 {
  background-color: var(--bg_color_2);
}

.bg_color_3 {
  background-color: var(--bg_color_3);
}

.bg_color_4 {
  background-color: var(--bg_color_4);
}

.bg_color_5 {
  background-color: var(--bg_color_5);
}

.bg_gray {
  background-color: var(--bg_gray);
}

.bg_white {
  background-color: white;
}

.bg_gradient {
  background: rgb(19, 81, 255);
  background: -moz-linear-gradient(144deg, rgba(19, 81, 255, 1) 0%, rgba(0, 39, 108, 1) 100%);
  background: -webkit-linear-gradient(144deg, rgba(19, 81, 255, 1) 0%, rgba(0, 39, 108, 1) 100%);
  background: linear-gradient(144deg, rgba(19, 81, 255, 1) 0%, rgba(0, 39, 108, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1351ff", endColorstr="#00276c", GradientType=1);
}

.txt_white {
  color: white;
}

.txt_color_1 {
  color: var(--bg_color_1);
}

.txt_color_2 {
  color: var(--bg_color_2);
}

.txt_color_3 {
  color: var(--bg_color_3);
}

.txt_color_4 {
  color: var(--bg_color_4);
}

.menu_transparent {
  background-color: rgba(13, 24, 57, 0.85) !important;
  color: white;
  -webkit-box-shadow: 10px 10px 19px -10px rgba(0, 0, 0, 0.34);
  -moz-box-shadow: 10px 10px 19px -10px rgba(0, 0, 0, 0.34);
  box-shadow: 10px 10px 19px -10px rgba(0, 0, 0, 0.34);
}

.menu-color {
  background-color: rgba(255, 255, 255, .75) !important;
}

.navbar-toggler {
  background-color: white;
  border: white;
}

.navbar-toggler:focus {
  outline: none;
  background-color: var(--bg_gray);
  -webkit-box-shadow: 10px 10px 19px -10px rgba(0, 0, 0, 0.34);
  -moz-box-shadow: 10px 10px 19px -10px rgba(0, 0, 0, 0.34);
  box-shadow: 10px 10px 19px -10px rgba(0, 0, 0, 0.34);
}

.navbar-nav .nav-link {
  color: white;
}

.navbar-nav .nav-link:hover {
  color: var(--bg_color_2) !important;
}

.menu-color-scrolled {
  background-color: rgba(254, 111, 115, .8) !important;
  color: var(--bg_color_3) !important;
}

.menu-color-scrolled .navbar-nav .nav-link {
  color: white !important;
}

.menu-color-scrolled .navbar-nav .nav-link:hover {
  color: var(--bg_color_1) !important;
}

.menu-color-scrolled-2 {
  background-color: rgba(5, 12, 34, .8) !important;
  color: var(--bg_color_3) !important;
}

.menu-color-scrolled-2 .navbar-nav .nav-link {
  color: white !important;
}

.menu-color-scrolled-2 .navbar-nav .nav-link:hover {
  color: var(--bg_color_2) !important;
}

.menu-color-scrolled-3 {
  background-color: rgba(255, 255, 255, 0.5) !important;
  color: var(--bg_color_3) !important;
}

.menu-color-scrolled-3 .navbar-nav .nav-link {
  color: var(--bg_color_1) !important;
}

.menu-color-scrolled-3 .navbar-nav .nav-link:hover {
  color: var(--bg_color_3) !important;
}

.hero_txt {
  font-size: 50px;
  line-height: 45px;
  text-align: left;
}

@media (min-width: 576px) {
  .hero_txt {
    font-size: 60px;
    line-height: 55px;
  }
}

@media (min-width: 768px) {
  .hero_txt {
    font-size: 75px;
    line-height: 70px;
  }
}

@media (min-width: 992px) {
  .hero_txt {
    font-size: 100px;
    line-height: 95px;
  }
}

.hero_txt_small {
  font-size: 15px;
  line-height: 18px;
}

.container_txt_hero_speech {
  position: absolute;
  bottom: 20px;
  left: 100px;
}

.container_txt_hero_contact {
  position: absolute;
  bottom: 20px;
  right: 100px;
}

.icos_redes_float {
  position: fixed;
  z-index: 10000;
  width: auto;
  height: auto;
  bottom: 20px;
  right: 30px;
  text-align: center;
  z-index: 1000;
  color: var(--bg_color_2);
  transform: translate(0%, -0%);
}

.icos_redes_float a {
  color: var(--bg_color_2);
}

.icos_redes_float a:hover {
  color: var(--bg_color_2_dark);
}

.icos_redes_float i {
  font-size: 32px;
  margin-bottom: 24px;
  border-radius: 50%;
  border: 1px solid var(--bg_color_2);
  padding: 10px;
}

/* EFECTO CURSOR */
#hero-image-section {
  position: relative;
  cursor: none;
  /* Add this line to hide the cursor */
  z-index: 200;
  width: 100vw;
  /* Set the width to 100% of the viewport width */
  height: 100vh;
  /* Set the height to 100% of the viewport height */
}

#hero-image-section .cursor-image {
  position: absolute;
  pointer-events: none;
}

.cursor-image {
  display: none;
  opacity: 0.8;
}

@media (min-width: 576px) {
  .cursor-image {
    display: block !important;
  }
}

.bg_section_nosotros {
  background-image: url("../img/icon-bg.png");
  background-position: top right;
  background-repeat: no-repeat;
}

.txt_nosotros {
  font-size: 50px;
}

@media (min-width: 576px) {
  .txt_nosotros {
    font-size: 4em;
  }
}

@media (min-width: 768px) {
  .txt_proyectos {
    font-size: 10em;
  }
}

.txt_proyectos {
  font-size: 3em;
  line-height: 1em;
  text-fill-color: transparent;
  text-stroke-width: 5px;
  text-stroke-color: var(--bg_color_2);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: var(--bg_color_2);
}

@media (min-width: 576px) {
  .txt_proyectos {
    font-size: 4em;
  }
}

@media (min-width: 768px) {
  .txt_proyectos {
    font-size: 5em;
  }
}

@media (min-width: 992px) {
  .txt_proyectos {
    font-size: 8em;
  }
}

.txt_contacto {
  font-size: 2.5em;
  line-height: 1em;
  text-fill-color: transparent;
  text-stroke-width: 5px;
  text-stroke-color: white;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: white;
}

@media (min-width: 576px) {
  .txt_contacto {
    font-size: 4em;
  }
}

@media (min-width: 768px) {
  .txt_contacto {
    font-size: 6em;
  }
}

@media (min-width: 1200px) {
  .txt_contacto {
    font-size: 7em;
  }
}

@media (min-width: 1400px) {
  .txt_contacto {
    font-size: 10em;
  }
}

.txt_accordion_services {
  font-size: 50px;
}

.txt_accordion_services_desc {
  font-size: 30px;
  color: var(--bg_color_3);
}

@media (min-width: 576px) {
  .txt_accordion_services {
    font-size: 60px;
  }

  .txt_accordion_services_desc {
    font-size: 40px;
    color: var(--bg_color_3);
  }
}

@media (min-width: 768px) {
  .txt_accordion_services {
    font-size: 80px;
  }

  .txt_accordion_services_desc {
    font-size: 60px;
    color: var(--bg_color_3);
  }
}

@media (min-width: 992px) {
  .txt_accordion_services {
    font-size: 100px;
  }

  .txt_accordion_services_desc {
    font-size: 60px;
    color: var(--bg_color_3);
  }
}

#servicios .accordion-item {
  background-color: transparent;
}

#servicios .accordion-button:not(.collapsed),
#servicios .accordion-button {
  color: #0c63e4;
  background-color: transparent;
  box-shadow: none;
}

.accordion-button::after {
  display: none;
  opacity: 0;
}

.arrow_btn {
  display: none;
  opacity: 0;
}

.accordion-button[aria-expanded="true"] .plus_icon {
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* .accordion-button[aria-expanded="true"] .arrow_btn {
  display: inline-block;
  opacity: 1;
  transition: opacity 5s ease-in-out;
  animation:arrowLeft .3s linear 1;
  -webkit-animation:arrowReset .3s linear 1;
} */

@keyframes arrowLeft {
  0% {
    transform: translateX(-100px);
  }

  100% {
    transform: translateX(0px);
  }
}

.accordion-button:not(.collapsed) .arrow_btn {
  display: inline-block;
  opacity: 1;
  animation: arrowLeft .3s linear 1;
  -webkit-animation: arrowLeft .3s linear 1;
}

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

  100% {
    transform: translateX(-100px);
  }
}

ul.image li:before {
  /* font-family: "Font Awesome 5 Free";
  content: '\f2d1'; */
  content: '\f006';
  font-family: 'FontAwesome';
  margin: 0 5px 0 -15px;
}

.rotated-text {
  transform: rotate(1.25deg);
  transform-origin: left center;
  animation: rotate-text 10s linear infinite;
}

.stroke-text {
  text-fill-color: transparent;
  text-stroke-width: 3px;
  text-stroke-color: var(--bg_color_4);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: var(--bg_color_4);
}

.stroke-text-2 {
  text-fill-color: transparent;
  text-stroke-width: 3px;
  text-stroke-color: var(--bg_color_2);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: var(--bg_color_2);
}

/* MARQUEE */
.marquee {
  font-size: 200px;
  font-weight: 700;
  position: relative;
  max-width: 100%;
  height: 400px;
  padding: 0px 0px 100px 0px;
  overflow-x: hidden;
  overflow-y: hidden;
}

.track {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: none !important;
  cursor: grab;
  user-select: none;
}

.track:active {
  cursor: grabbing;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-images {
  position: relative;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

.track-images {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: none !important;
  cursor: grab;
  user-select: none;
}

.track-images:active {
  cursor: grabbing;
}

@keyframes marquee-images {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* GALLERY */
.image-container {
  display: inline-flex;
}

.column-image {
  width: 500px;
  padding: 0 30px;
  transform: skewY(-3deg) rotate(-2deg); /* Inclinación inicial */
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.column-image:nth-child(even) {
  transform: skewY(3deg) rotate(2deg); /* Inclinación opuesta */
}

.column-image img {
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.3);
  margin-bottom: 40px;
  transition: transform 0.4s ease;
}

.column-image img:hover {
  transform: scale(1.05) rotate(0deg) skew(0deg);
  z-index: 10;
  box-shadow: 0 20px 60px rgba(255, 111, 97, 0.4);
}

.marquee-inverse {
  font-size: 200px;
  font-weight: 700;
  position: relative;
  max-width: 100%;
  height: 350px;
  paddig: 10px 0px;
  overflow-x: hidden;
  overflow-y: hidden;
}

.track-inverse {
  /* position: absolute; */
  white-space: nowrap;
  will-change: transform;
  animation: marquee-inverse 10s linear infinite alternate;
}

@keyframes marquee-inverse {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0%);
  }
}


/* LOGOS PROYECTOS */
.logos .col_image img:hover {
  transform: scale(1.080);
  -webkit-filter: drop-shadow(5px 5px 5px #ffffff);
  filter: drop-shadow(5px 5px 5px #ffffff29);
  -webkit-transition: .25s all ease;
  -moz-transition: .25s all ease;
  -o-transition: width 1s ease-in-out;
  transition: .1s all ease;
}

.container_images_proyectos {
  width: 100%;
  overflow: hidden;
}

.card_images {
  width: 100% !important;
  overflow: hidden;
  white-space: nowrap;
  will-change: transform;
  cursor: grab;
  user-select: none;
}

#row1,
#row2 {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}

.card_images:active {
  cursor: grabbing;
}

#row1 {
  margin-left: -200px;
}

#row2 {
  margin-right: -200px;
}

.col_image {
  width: 12%;
  margin: 0 10px;
  display: inline-block;
}


.h {
  display: none;
}

.form-group {
  position: relative;
}

.form-group+.form-group {
  margin-top: 30px;
}

.form-label {
  position: absolute;
  left: 0;
  top: 10px;
  color: white;
  background-color: transparent;
  z-index: 10;
  transition: trans 150ms ease-out, font-size 150ms ease-out;
}

.focused .form-label {
  transform: translateY(-165%);
  font-size: 0.75em;
  color: var(--bg_color_4)
}

.form-input {
  background-color: transparent;
  position: relative;
  padding: 12px 0px 5px 0;
  width: 100%;
  outline: 0;
  border: 0;
  box-shadow: 0 1px 0 0 #e5e5e5;
  color: white;
  transition: box-shadow 150ms ease-out;
}

.form-input:focus {
  box-shadow: 0 2px 0 0 var(--bg_color_2);
}

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus,
.form-input:-webkit-autofill:active {
  color: white !important;
  -webkit-text-fill-color: white !important;
  transition: background-color 9999s ease-in-out 0s;
}

.form-input.filled {
  box-shadow: 0 2px 0 0 lightgreen;
}

#btn-fom {
  background-color: transparent;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.6);
}

.circular-button {
  display: block;
  margin: auto;
  cursor: pointer;
  width: 180px;
  height: 180px;
  padding-top: 54px;
  border-radius: 50%;
  background-color: white;
  color: var(--bg_color_4);
  transition: background-color 0.1s ease;
  transition: color 0.1s ease;
}

.circular-button:hover {
  background-color: var(--bg_color_4);
  color: white !important;
}

/* === GALERÃA VERTICAL === */
#galeria-hero {
  min-height: 420px;
}

/* Ajustes de texto en hero de galería para mayor similitud visual */
#galeria-hero .hero_txt {
  line-height: 1;
}

#galeria-hero .hero_txt_small {
  opacity: .9;
}

.gallery-vertical {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.gallery-item {
  background: transparent;
  border-radius: 0;
  padding: 20px;
}

.gallery-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  padding: 0 !important;
}

.gallery-actions .btn-primary {
  background-color: var(--bg_color_2);
  border-color: var(--bg_color_2);
}

.gallery-actions .btn-outline-primary {
  color: #fff;
  background-color: var(--bg_color_4);
  border-color: var(--bg_color_4);
  border-radius: 24px;
}

.gallery-actions .btn-outline-primary:hover {
  background-color: transparent;
  color: var(--bg_color_4);
  border-color: var(--bg_color_4);
}

/* Deshabilitar botón Demo temporalmente */
.gallery-actions .btn-primary[disabled] {
  opacity: .6;
  pointer-events: none;
}

/* Etiqueta de código del template (sin borde) */
.gallery-code {
  font-weight: 700;
  color: var(--bg_color_1);
}

.gallery-aspects img {
  background: transparent;
  padding: 0;
}

@media (min-width: 992px) {
  .gallery-item {
    padding: 30px;
  }
}

/* Filtros de galería */
.gallery-filter .gallery-category {
  color: var(--bg_color_1);
}

.gallery-filter .gallery-category.active,
.gallery-filter .gallery-category:hover {
  color: var(--bg_color_4);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

/* Ocultar items filtrados */
.gallery-item.is-hidden {
  display: none !important;
}

/* Filtro por atributo en contenedor */
.gallery-vertical[data-filter]:not([data-filter="all"]) .gallery-item {
  display: none !important;
}

.gallery-vertical[data-filter="restaurantes"] .gallery-item[data-category="restaurantes"],
.gallery-vertical[data-filter="estetico"] .gallery-item[data-category="estetico"],
.gallery-vertical[data-filter="salud"] .gallery-item[data-category="salud"],
.gallery-vertical[data-filter="capacitacion"] .gallery-item[data-category="capacitacion"] {
  display: block !important;
}

/* Asegurar que elementos .wow visibles no queden ocultos por WOW */

/* PARALLAX */
.parallax-element {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.parallax-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

.parallax-bg-layer img {
  position: absolute;
  max-width: none;
  /* Allow large icons */
}

/* TEST DE VENTAS SCOPED */
.test-ventas-section .test-container {
  max-width: 900px;
  margin: 0 auto;
}

.test-ventas-section .question-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 50px;
  transition: all 0.3s ease;
  position: relative;
}

.test-ventas-section .question-card:hover {
  border-color: var(--bg_color_2);
}

.test-ventas-section .question-number {
  color: var(--bg_color_2);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.test-ventas-section .question-title {
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.test-ventas-section .option-pill {
  display: block;
  position: relative;
  margin-bottom: 15px;
  cursor: pointer;
}

.test-ventas-section .option-pill input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.test-ventas-section .pill-label {
  display: block;
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: white;
  transition: all 0.2s ease;
}

.test-ventas-section .option-pill:hover .pill-label {
  background: rgba(19, 81, 255, 0.1);
  border-color: var(--bg_color_2);
}

.test-ventas-section .option-pill input:checked+.pill-label {
  background: var(--bg_color_2);
  color: white;
  border-color: var(--bg_color_2);
  box-shadow: 0 0 20px rgba(19, 81, 255, 0.3);
}

.test-ventas-section .other-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 5px 10px;
  margin-left: 10px;
  width: auto;
  min-width: 200px;
  outline: none;
}

.test-ventas-section .other-input:focus {
  border-bottom-color: var(--bg_color_2);
}

/* HIGH-VISIBILITY ERROR STATES */
.test-ventas-section .question-card.invalid {
  border: 2px solid var(--bg_color_4);
  border-left: 12px solid var(--bg_color_4);
  /* Massive red left indicator */
  background: rgba(254, 111, 115, 0.1);
  box-shadow: 0 0 0 4px var(--bg_color_4);
  /* The "Stroke" Effect */
  animation: shake 0.4s ease-in-out, pulse-red 2s infinite ease-in-out;
}

.test-ventas-section .question-card.invalid .question-number {
  background: var(--bg_color_4);
  color: white !important;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(254, 111, 115, 0.5);
}

.test-ventas-section .question-card.invalid .question-title {
  color: var(--bg_color_4) !important;
  text-shadow: 0 0 10px rgba(254, 111, 115, 0.2);
}

.test-ventas-section .question-card.invalid::after {
  content: '⚠ RESPUESTA PENDIENTE';
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--bg_color_4);
  color: white;
  padding: 6px 15px;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 50px;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(254, 111, 115, 0.4);
  z-index: 10;
}

.test-ventas-section .is-invalid {
  border-color: var(--bg_color_4) !important;
  box-shadow: 0 0 15px rgba(254, 111, 115, 0.3) !important;
}

.test-ventas-section .error-label {
  display: none;
  color: var(--bg_color_4);
  font-size: 0.9rem;
  margin-top: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.test-ventas-section .question-card.invalid .error-label {
  display: block;
}

/* Animations for Feedback */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-8px);
  }

  50% {
    transform: translateX(8px);
  }

  75% {
    transform: translateX(-8px);
  }
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.2);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 77, 77, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
  }
}

/* HERO BREATHING ROOM */
#hero-image-section {
  min-height: 100vh;
  padding-top: 15vh;
  display: flex !important;
  align-items: flex-start !important;
}

@media (max-width: 768px) {
  #hero-image-section {
    padding-top: 130px;
  }
}

/* CONTACT FORM SCOPED FIX (prevent leakage) */
#form .form-input.is-invalid {
  box-shadow: 0 2px 0 0 #ff4d4d !important;
}

#form .is-invalid+.form-label {
  color: #ff4d4d !important;
}

/* VALIDATION SUMMARY STYLES */
.validation-summary-box {
  background: rgba(254, 111, 115, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid var(--bg_color_4);
  border-left: 8px solid var(--bg_color_4);
  border-radius: 15px;
  padding: 25px;
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.validation-summary-box.bounce-in {
  animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.test-ventas-section .form-group.invalid {
  position: relative;
  padding-left: 15px;
}

.test-ventas-section .form-group.invalid::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--bg_color_4);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--bg_color_4);
}

.test-ventas-section .form-group.invalid label {
  color: var(--bg_color_4) !important;
}

.test-ventas-section .is-invalid {
  border-color: var(--bg_color_4) !important;
  box-shadow: 0 0 15px rgba(254, 111, 115, 0.3) !important;
  background-color: rgba(254, 111, 115, 0.05) !important;
}

/* FOOTER BOTTOM BAR */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-bottom a:hover {
  text-decoration: underline !important;
}

.summary-header {
  color: var(--bg_color_4);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.summary-list li {
  background: rgba(254, 111, 115, 0.2);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(254, 111, 115, 0.3);
}

.project-card-premium {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-card-premium img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(5, 12, 34, 0.9) 0%, rgba(5, 12, 34, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card-premium:hover .project-overlay {
  opacity: 1;
}

.project-card-premium:hover img {
  transform: scale(1.1);
}

.project-overlay h3 {
  color: white;
  margin-bottom: 5px;
  font-size: 1.8rem;
}

.project-overlay p {
  color: var(--bg_color_2);
  font-weight: 600;
  margin: 0;
}

#ia-automatizacion .rounded-4 {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

#ia-automatizacion .rounded-4:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(19, 81, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.premium-image-card {
  padding: 0 !important;
  overflow: hidden;
  background: white;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 5px solid transparent;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-image-card.accent-blue:hover {
  border-bottom-color: var(--bg_color_2);
  box-shadow: 0 15px 40px rgba(19, 81, 255, 0.2);
}

.premium-image-card.accent-white:hover {
  border-bottom-color: white;
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.service-card-img-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  transition: clip-path 0.5s ease;
}

.premium-image-card:hover .service-card-img-wrapper {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
}

.service-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-image-card:hover .service-main-img {
  transform: scale(1.15) rotate(2deg);
}

.service-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

/* Modal Shared Element Transition Styling */
.modal.fade .modal-dialog {
  transform: none !important;
  transition: none !important;
  opacity: 1 !important;
  max-width: 1100px;
}

.modal.show .modal/* Modal Styling - Cinema Morph Logic */
.modal.fade .modal-dialog {
  transform: none !important;
  transition: none !important;
  opacity: 1 !important;
  max-width: 1100px;
}

#morph-portal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.morph-clone {
  position: fixed;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;
}

.morph-clone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  background: #050c22 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px;
  box-shadow: 0 50px 100px rgba(0,0,0,0.9) !important;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.modal.show .modal-content {
  opacity: 1;
  transform: scale(1);
}

.modal-body-wrapper {
  display: flex;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: 0.2s;
}

.modal.show .modal-body-wrapper {
  opacity: 1;
}

.modal .service-card-img-wrapper {
  height: 100%;
  min-height: 500px;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  background: #000;
  position: relative;
  overflow: hidden;
}

.modal .service-card-img-wrapper img {
  opacity: 0;
  transition: opacity 0.4s ease;
  transition-delay: 1s;
}

.modal.show .service-card-img-wrapper img {
  opacity: 1;
}

.modal-body-content {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
  transition-delay: 0.6s;
}

.modal.show .modal-body-content {
  opacity: 1;
  transform: translateX(0);
}

.modal-backdrop.show {
  opacity: 0.95;
  backdrop-filter: blur(15px);
}

.modal .btn-close {
  filter: invert(1);
  opacity: 0.8;
  z-index: 1060;
  transition: transform 0.3s ease;
}

.modal .btn-close:hover {
  transform: rotate(90deg) scale(1.2);
}

.premium-image-card h3 {
  transition: color 0.3s ease;
}

.premium-image-card.accent-blue:hover h3 {
  color: var(--bg_color_2);
}

.premium-image-card.accent-white:hover h3 {
  color: var(--bg_color_2);
}

.premium-image-card p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

.premium-image-card .font_2.txt_color_4 {
  font-weight: 600;
  transition: all 0.3s ease;
}

.premium-image-card:hover .font_2.txt_color_4 {
  transform: translateX(10px);
}