/*

Rojo #e73a1a
Rojo oscuro #a4191b
Azul 001732  0, 23, 50

Elegance Template

https://templatemo.com/tm-528-elegance

==================================================
CSS SITEMAP >>>>

  01. GENERAL CSS
  02. HEADER CSS
  03. SOCIAL ICONS CSS
  04. WELCOME BLOCK CSS
  05. ABOUT BLOCK CSS
  06. SERVICES BLOCK CSS
  07. WORK BLOCK CSS
  08. CONTACT BLOCK CSS
  09. TESTIMONOALS BLOCK CSS
  10. SKILLS BLOCK CSS


==================================================*/

/*==============================================
01. GENERAL CSS
================================================*/

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
body {
  font: 16px/1.6 'Raleway', Arial, Helvetica, sans-serif;
  color: #fff;
  text-align:center;
  background: #222;
}
img {
  border: 0;
  max-width: 100%;
}
html {
  -ms-overflow-style: scrollbar;
}
.alltrans,
.social-icons li a,
.owl-nav > button,
.owl-nav > button:after,
.counter-box,
.about-img:after,
.gallery-img img,
.form-control,
.owl-dot,
.subscribe-row,
.close-btn,
.close-btn:before,
.close-btn:after,
.tag-btn,
.btn {
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
a {
  color: #fff;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #fff;
  outline: none;
  text-decoration: underline;
}
@media screen and (-ms-high-contrast:active), (-ms-high-contrast:none) {
  a:active {
    background-color: transparent;
  }
}
p {
  margin: 0 0 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 600;
  text-transform:uppercase;
}
h1,
h2 {
  font-size: 32px;
}
h3 {
  font-size: 30px;
  font-weight: 600;
}
h4 {
  font-size: 22px;
  font-weight: 600;
}
h5 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}
h6 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}
#main {
  padding: 0;
  background: #fff;
}
.no-margin {
  margin: 0 !important;
}
figure {
  margin:0;
}
.opacity-no {
  opacity: 1 !important;
}

video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%; 
  min-height: 100%;
}
#video:after {
  content: '';
  opacity: 0.75;
  background: #4096ee; /* Old browsers */
  background: -moz-linear-gradient(top, #4096ee 0%, #39ced6 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #4096ee 0%,#39ced6 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #001732 0%,#a4191b 100%); /*background: linear-gradient(to bottom, #4096ee 0%,#39ced6 100%);*/ /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4096ee', endColorstr='#39ced6',GradientType=0 ); /* IE6-9 */
  position:fixed;
  left:0;
  top:0;
  right:0;
  bottom: 0;
}
.wrapper-background-dark:after {
  background: #222;
  opacity:0.95;
}
.section-inner {
  padding:20px 30px 0;
}
.fp-scrollable {
  height:calc(100vh - 200px) !important;
}
.titulo-rojo{
  color: #ff0000;
  background-color: rgba(255,255,255,0.3);
  padding: 10px 15px;
  border-radius: 5px;
}
#fp-nav ul li a span {
 display: none;
}

.btn {
  background: #fff;
  color: #222;
  text-align:center;
  line-height:52px;
  padding:0 35px;
  border-radius: 0px;
  text-transform:uppercase;
  font-weight:600;
  border:2px solid transparent;
  border-radius: 10px;
}
.btn:hover, .btn:focus {
  color:#fff;
  border-color:#fff;
  background:none;
}
.btn:focus {
  box-shadow:none;
  outline:none;
}
.btn.btn-xs {
  line-height:34px;
  font-size:12px;
  padding:0 20px;
  font-weight: 500;
}
.btn.btn-outline {
  background:none;
  border-color:#fff;
  color:#fff;
  border-width:1px;
}
.btn.btn-outline:hover, .btn.btn-outline:focus {
  background:#fff;
  color:#222;
}
.btn.btn-dark {
  color: #222;
  border-color: #222;
}
.btn.btn-dark:hover, .btn.btn-dark:focus {
  background: #222;
  color: #fff;
}
.owl-carousel .owl-stage {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.owl-carousel .owl-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex: 1 0 auto;
}
.preloader {
  background: -moz-linear-gradient(top, #4096ee 0%, #39ced6 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #4096ee 0%,#39ced6 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #4096ee 0%,#39ced6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4096ee', endColorstr='#39ced6',GradientType=0 ); /* IE6-9 */
  height: 100%;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
  text-align: center;
}
.preloader-bounce {
  left: 0;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  position: absolute;
}
.preloader-bounce > span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0.3em;
  display: inline-block;
  vertical-align: middle;
  -webkit-animation: bounce 0.6s infinite alternate;
  animation: bounce 0.6s infinite alternate;
  background: #fff;
}
.preloader-bounce > span:nth-child(2){
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
  background: #fff;
}
.preloader-bounce > span:nth-child(3){
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
  background: #fff;
}

@-webkit-keyframes bounce {
  from {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-1.2em);
    transform: translateY(-1.2em);
  }
}

@keyframes bounce {
  from {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-1.2em);
    transform: translateY(-1.2em);
  }
}

#fullpage {
  z-index: 99;
}

/*==============================================
11. SKILLS BLOCK CSS
================================================*/
/* Modal 360 */
.modal {
    display: none;
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow: hidden;
}

.modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #1e1e1e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

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

.modal-header {
    padding: 20px;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.modal-body {
    padding: 30px;
    text-align: center;
}

.image-360-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #0c0c0c;
}

.image-360-view {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.image-360-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
}

.control-btn {
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
}

.control-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 117, 252, 0.5);
}

/* .auto-rotate {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.auto-rotate label {
    cursor: pointer;
} */

.modal-description {
    margin-top: 25px;
    padding: 20px;
    background: #252525;
    border-radius: 12px;
    text-align: left;
}

.modal-description h3 {
    margin-bottom: 10px;
    color: #ff0000;
    font-size: 20px;
}

.modal-description p {
    line-height: 1.6;
    color: #d0d0d0;
}

/* Animaciones */
/* .animate {
    opacity: 0;
}

.fadeInUp {
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */

/* Efectos de neón para el modal */
.modal-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(45deg, #ff0066, #6600ff, #00ccff, #ff0066);
    background-size: 400%;
    border-radius: 18px;
    animation: neon-border 8s linear infinite;
    filter: blur(8px);
    opacity: 0.7;
}

@keyframes neon-border {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 300% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .image-360-container {
        height: 300px;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .image-360-container {
        height: 250px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

.gallery-iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .gallery-iframe {
    transform: scale(1.05);
}

/*==============================================
02. HEADER CSS
================================================*/
#header {
  padding:20px 0;
  position: fixed;
  left:0;
  right:0;
  top:0;
  z-index:999;
}
.container-fluid {
  padding:0 20px;
}
#logo {
  text-decoration: none;
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 700;
}
#logo2 {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  object-fit: cover;
}
.navbar {
  padding: 0;
  display: flex;
  align-items: center;
}
.navbar-toggle {
  display:none;
}
.navbar-nav {
  -ms-flex-direction: row;
  -webkit-flex-direction: row;
  flex-direction: row;
}
.navbar-nav li {
  margin-left: 30px;
}
.navbar-nav li a {
  color:#fff;
  font-size: 15px;
  text-decoration:none;
  display:block;
  font-weight: 500;
  opacity: 0.9;
}
.navbar-nav li a:after {
  content:'';
  display:block;
  height: 2px;
  background:#fff;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-transform:scale(0);
  transform:scale(0);
  margin-top: 4px;
}
.navbar-nav li a:hover:after, .navbar-nav li.active a:after{
  -webkit-transform:scale(1);
  transform:scale(1);
}
.navbar-nav li a:hover {
  opacity: 1;
}
.navbar-nav li.active a {
  opacity: 1;
}
.collapse:not(.show) {
  display:block;
}
.navbar-logo {
    height: 40px; 
    width: auto;
    margin-right: 20px;
    vertical-align: middle;
}

/*==============================================
03. SOCIAL ICONS CSS
================================================*/
#social-icons {
  padding:0;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right:0;
  z-index: 199;
}
.social-icons {
  margin:0;
  padding:0;
  list-style:none;
}
.social-icons li {
  display: block;
  margin: 1px 0px;
}
.social-icons li a {
  width:50px;
  height:50px;
  display:inline-block;
  line-height:50px;
  text-align:center;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255,255,255,1);
  font-size:18px;
}
.social-icons li a:hover {
  color:#1e1e1e;
  background-color: #fff;
}


/*==============================================
04. WELCOME BLOCK CSS
================================================*/
.welcome-box {
  font-size:20px;
  line-height:1.7;
}
.welcome-first{
  font-size: 32px;
  display: block;
  text-transform: uppercase;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.welcome-box p {
  max-width: 620px;
  width:100%;
  margin:0 auto 30px;
  color: #fff;
}
.welcome-title {
  font-weight: 700;
  font-size: 120px;
  margin-bottom: 10px;
  letter-spacing:0.02em;
}
.welcome-title span {
  font-size:36px;
  display:block;
  font-weight:300;
  line-height:1.2;
}
.welcome-box .btn {
  margin-top: 10px;
}
.next-section {
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.next-section span {
  margin-top: 15px;
  display: block;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
}
.next-section i:hover {
  opacity: 1;
}

/*==============================================
05. ABOUT ME
================================================*/
.about-img {
  margin: 0 auto 40px;
  position:relative;
}
.about-img img {
  border-radius: 10px;
  -webkit-box-shadow: 0 0 40px rgba(0,0,0,.3);
  box-shadow: 0 0 40px rgba(0,0,0,.3);
}
.about-contentbox {
  margin-top: 80px;
  text-align:left;
  line-height:1.8;
}
.about-contentbox span {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 300;
}
.about-contentbox h2 {
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 700;
}
.facts-list {
  margin-top: 30px;
}
.facts-list .item {
  overflow: hidden;
  text-align:center;
  border-radius: 10px;
  width: 100%;
  display: inline-block;
  text-transform:capitalize;
  font-size:14px;
  padding: 30px 0px;
  background: rgba(0,0,0,0.25);
}
.counter-box span {
  font-size: 26px;
  font-weight: 700;
}
.counter-icon {
  font-size: 30px;
  margin-bottom: 10px;
  opacity: 0.75;
}
.facts-list .item:hover {
  background:#fff;
  color:#1e1e1e;
}
.facts-list .owl-dots {
  margin-bottom: 30px;
}
.count-number, .counted {
  display:block;
  font-size:36px;
  font-weight:700;
  line-height:1;
  margin-bottom:10px;
}

/*==============================================
06. SERVICES BLOCK CSS
================================================*/
.title-block {
  margin-bottom: 40px;
}
.title-block span {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 300;
}
.services-list .item {
  background-color: rgba(250,250,250,0.25);
  border-radius: 10px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.service-icon {
  display:block;
  margin: 0 auto 0;
  font-size: 64px;
}
.service-box {
  font-size:15px;
  padding:40px 20px;
  height:100%;
}
.services-list .item:hover {
  background-color: #f00;
  color: #fff;
  /* color: #1e1e1e; */
}
.service-box h3 {
  font-size:22px;
  font-weight:700;
  text-transform: capitalize;
  margin-bottom: 10px;
  padding: 10px;
}
.service-box p:last-child {
  margin:0;
}
.owl-carousel .owl-dots .owl-dot {
  border-radius: 3px;
}
.owl-dots {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    margin-top: 50px
}

.owl-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255, 255, 255, .2)
}

.owl-carousel .owl-dots .owl-dot:focus {
    outline: none
}

.owl-carousel .owl-dots .owl-dot.active {
    background: #fff
}

/*==============================================
07. WORK BLOCK CSS
================================================*/
.gallery-section {
  text-align: center;
}
.portfolio-item img {
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 9;
  border-radius: 10px;
}
.portfolio-item .thumb-inner {
  color: black;
  position: absolute;
  z-index: 99;
  bottom: 0;
  text-align: left;
  padding: 20px;
  background-color: rgba(250,250,250,0.5);
  width: 100%;
  height: 60px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.portfolio-item .thumb-inner h4 {
  margin-bottom: 0;
  font-size: 16px;
  margin-top: 0px;
}
.portfolio-item .thumb-inner p {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  margin-bottom: 0px;
}
.portfolio-item:hover .thumb-inner p {
  position: relative;
  opacity: 1;
  visibility: visible;
  color: #4a4a4a;
}
.portfolio-item:hover .thumb-inner {
  border-radius: 10px;
  height: 100%;
  background-color: rgba(250,250,250,0.7)
}
.portfolio-item:hover .thumb-inner h4 {
   margin-top: 30%;
  color: #1e1e1e;
  margin-bottom: 20px;
}

.img2 {
  border-radius: 10px;
  margin: 10px 0 0 0;
}

.img3 {
  width: 27%;
  align-items: left;
}

.img4 {
  width: 7%;
}


/*==============================================
08. CONTACT BLOCK CSS
================================================*/
::-webkit-input-placeholder {
  color:#fff !important;
  opacity:1;
}
::-moz-placeholder {
  color:#fff !important;
  opacity:1;
}
:-ms-input-placeholder {
  color:#fff !important;
  opacity:1;
}
:-moz-placeholder {
  color:#fff !important;
  opacity:1;
}
.input-field {
  margin-bottom:15px;
}
.form-control {
  height: 50px;
  color:#fff;
  border: none;
  background:rgba(250,250,250,0.05);
  border: 1px solid rgba(250,250,250,0.5);
  border-radius: 10px;
  padding:4px 22px;
  font-size:14px;
  margin-bottom: 30px;
}
.form-control2 {
  height: 50px;
  width: 97%;
  color:#fff;
  border: none;
  background:rgba(250,250,250,0.05);
  border: 1px solid rgba(250,250,250,0.5);
  border-radius: 10px;
  padding:4px 22px;
  font-size:14px;
  margin-bottom: 30px;
}
.form-control:focus {
  box-shadow:none;
  outline:none;
  background:rgba(0,0,0,0.05);
  border: 1px solid rgba(250,250,250,1);
  color:#fff;
}
.form-control3 {
  height: 50px;
  width: 97%;
  color:rgba(250,250,250,0.5);
  border: none;
  background:rgba(250,250,250,0.05);
  border: 1px solid rgba(250,250,250,0.5);
  border-radius: 10px;
  padding:4px 22px;
  font-size:14px;
  margin-bottom: 30px;
}
.form-control3:focus {
  box-shadow:none;
  outline:none;
  background:rgba(0,0,0,0.5);
  border: 1px solid rgba(0,0,0,1);
  color:#000;
}
.index .form-control.form-control-dark {
  background: rgba(250,250,250, 0.75);
  color: #fff;
}
.index .form-control.form-control-dark:focus {
  background: rgba(54, 40, 158, 0.85);
  color: #fff;
}
.index .form-control.form-control-dark::-webkit-input-placeholder {
  color: #fff !important;
}
.index .form-control.form-control-dark::-moz-placeholder {
  color:#fff !important;
}
.index .form-control.form-control-dark:-ms-input-placeholder {
  color:#fff !important;
}
.index .form-control.form-control-dark:-moz-placeholder {
  color:#fff !important;
}
.form-control.form-control-dark:focus {
  background: rgba(0, 0, 0, 0.2);
}
.form-control.form-control-dark {
  background: rgba(0, 0, 0, 0.1);
  color: #222;
  border: none;
}
.form-control.form-control-dark::-webkit-input-placeholder {
  color:#222 !important;
  opacity:0.7;
}
.form-control.form-control-dark::-moz-placeholder {
  color:#222 !important;
  opacity:0.7;
}
.form-control.form-control-dark:-ms-input-placeholder {
  color:#222 !important;
  opacity:0.7;
}
.form-control.form-control-dark:-moz-placeholder {
  color:#222 !important;
  opacity:0.7;
}
textarea.form-control {
  height:123px;
  padding-top:15px;
}
.contact-section .btn {
  width:100%;
}
.contact-box {
  text-align:left;
}
.contact-box h4 {
  font-size:24px;
}
.contact-box h4:after {
  content:'';
  display:block;
  width:50px;
  height:2px;
  background:#fff;
  margin:12px 0;
}
.contact-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 30px;
  background: rgba(250,250,250,0.25);
  border-radius: 10px;
  padding: 30px;
  font-weight: 700;
}
.contact-row i {
  width:55px;
  font-size: 30px;
  display:block;
}
.contact-row i.fa-envelope {
  font-size: 25px;
}
/* Placeholder para select (opción por defecto) */
.form-control option[value=""][disabled] {
    color: rgba(255, 255, 255, 0.7);
}

/* Opciones normales */
.form-control option {
    color: #000; /* Color del texto de las opciones (fondo blanco por defecto) */
    background: #fff;
    padding: 10px;
}

/* Estilos para el hover de las opciones */
.form-control option:hover {
    background: #007bff;
    color: #000;
}

/* Focus state */
.form-control:focus {
    outline: none;
    border-color: rgba(250, 250, 250, 0.8);
    background: rgba(250, 250, 250, 0.1);
}

/* Estilos para cuando está abierto (algunos navegadores) */
.form-control:active,
.form-control:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Deshabilitar la opción por defecto */
.form-control option[disabled] {
    color: rgba(255, 255, 255, 0.5);
}

/* Estilos para el contenedor del select */
.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Para navegadores Webkit (Chrome, Safari) */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
.form-control {
      padding-right: 40px;
  }
  
  .form-control option {
      background: #fff;
      color: #000;
      padding: 12px;
  }
}

/* Estilos para estados de validación */
.form-control:invalid {
    border-color: rgba(255, 255, 255, 0.3);
}

.form-control:valid {
    border-color: rgba(250, 250, 250, 0.7);
}

/*==============================================
09. TESTIMONOALS BLOCK CSS
================================================*/
.testimonials-section .item {
  background-color: rgba(250,250,250,0.25);
  padding: 40px;
  border-radius: 10px;
}
.testimonials-section .item img {
  width: 140px;
  height: 140px;
  margin: 0 auto;
}
.testimonials-section .item h4 {
  margin-top: 40px;
  font-size: 22px;
  text-transform: capitalize;
  font-weight: 700;
}
.testimonials-section .item p {
  font-size: 17px;
  font-style: italic;
}

/*==============================================
10. SKILLS BLOCK CSS
================================================*/
.skills-row {
  margin-top: 80px;
}
.skill-item {
  border-bottom: 1px solid rgba(250,250,250,0.1);
  margin-bottom: 50px;
  padding-bottom: 50px;
}
.last-skill {
  border-bottom: none;
}
.skills-row span {
  display: inline-block;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  background-color: #fff;
  color: #1e1e1e;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  left: 0;
  top: -21px;
  position: absolute;
  z-index: 999;
}
.skills-row h6 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  text-align: right;
  margin-bottom: -10px;
}
.skill-bar {
  width: 70%;
  height: 6px;
  border-radius: 3px;
  background-color: rgba(250,250,250,0.25);
  position: relative;
}
.filled-bar {
  position: absolute;
  z-index: 99;
  width: 99%;
  height: 6px;
  background-color: #fff;
  border-radius: 3px;
}
.filled-bar-2 {
  position: absolute;
  z-index: 99;
  width: 100%;
  height: 6px;
  background-color: #fff;
  border-radius: 3px;
}
.filled-bar-3 {
  position: absolute;
  z-index: 99;
  width: 0%;
  height: 6px;
  background-color: #fff;
  border-radius: 3px;
}

/* Nuevos panorama 360 */
/* Asegurar que el contenedor de Pannellum tenga dimensiones adecuadas */
#panoramaA {
    width: 100%;
    height: 500px;
    min-height: 400px;
    border-bottom: 3px solid #f0f0f0;
    position: relative;
}

/* Mejorar el responsive */
@media (max-width: 768px) {
    #panoramaA {
        height: 300px;
        min-height: 300px;
    }
    
    .modal1-title {
        font-size: 1.4rem;
    }
    
    .modal1-description h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    #panoramaA {
        height: 250px;
        min-height: 250px;
    }
}

/*PANORAMA 360*/
.panorama1 {
    width: 600px;
    height: 400px;
}
.panorama2 {
    width: 600px;
    height: 400px;
}
.panorama3 {
    width: 600px;
    height: 400px;
}
.panorama4 {
    width: 600px;
    height: 400px;
}
.panorama5 {
    width: 600px;
    height: 400px;
}
.panorama6 {
    width: 600px;
    height: 400px;
}
.panorama {
    width: 600px;
    height: 400px;
}
.controls {
    position: absolute;
    bottom: 0;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding-bottom: 3px;
}
.ctrl {
    padding: 8px 5px;
    width: 30px;
    text-align: center;
    background: rgba(200, 200, 200, 0.8);
    display: inline-block;
    cursor: pointer;
}
.ctrl:hover {
    background: rgba(200, 200, 200, 1);
}

/*Mosaico grid*/
.mosaico-grid {
    display: grid;
    gap: 5px;
    padding: 5px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    place-items: center;      /* shorthand para align-items y justify-items */
    margin: 0 auto;           /* centra el contenedor */
}

.mosaico-grid img {
    width: 50%;
    height: 80%; /* Altura fija opcional */
    object-fit: cover; /* Mantiene proporciones */
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.mosaico-grid img:hover {
    transform: scale(1.27);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .mosaico-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .mosaico-grid img {
        height: 70%;
    }
}

.contador-pesos {
    display: inline-flex;
    align-items: center;
    background-color: white;
    padding: 15px 25px;
    border-radius: 12px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.precio {
    font-size: 24px;
    font-weight: bold;
    color: black;
    margin-right: 5px;
    transition: color 0.3s ease;
}

.counter {
    font-size: 24px;
    font-weight: bold;
    color: black;
    transition: color 0.3s ease;
}

/* Efecto hover */
.contador-pesos:hover {
    background-color: #ff0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.contador-pesos:hover .precio,
.contador-pesos:hover .counter {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .contador-pesos {
        padding: 10px 20px;
    }
    
    .precio, .counter {
        font-size: 20px;
    }
}

.titulo-responsive {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.texto {
    margin: 0;
}

.icono {
    width: 20px;
    height: 20px;
    min-width: 20px;
}

#titulo-rojo{
  color: #ff0000;
  background-color: rgba(0,0,0,0.5);
  padding: 10px 15px;
  display: inline-block;
  border-radius: 5px;
}


/*Modal3*/
/* .buttons-container {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 7px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
}

.modal-button {
  background: linear-gradient(135deg, var(--color1, #ff6b6b), var(--color2, #ff8e53));
  color: white;
  border: none;
  padding: 10px 10px;
  font-size: 15px;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-weight: 600;
  text-align: center;
  min-height: 70px;
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.modal-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.modal-button i {
  font-size: 2rem;
  margin-bottom: 5px;
}

.modal3-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
  padding: 20px;
}

.modal3 {
  background: white;
  width: 90%;
  max-width: 1000px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.4s ease;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  color: black;
}

.modal3-header {
  background: linear-gradient(135deg, var(--modal-color1, #ff6b6b), var(--modal-color2, #ff8e53));
  color: white;
  padding: 25px 30px;
  text-align: center;
  position: relative;
}

.modal3-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.modal3-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.close-modal3 {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-modal3:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal3-content {
  padding: 30px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.features-section, .pricing-section {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
}

.section-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--modal-color1, #ff6b6b);
}

.features-list {
  list-style: none;
}

.features-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.features-list li:last-child {
  border-bottom: none;
}

.feature-icon {
  color: var(--modal-color1, #ff6b6b);
  margin-right: 15px;
  font-size: 1.2rem;
  min-width: 20px;
}

.price-display {
  text-align: center;
  margin: 25px 0;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--modal-color1, #ff6b6b);
}

.period {
  font-size: 1.2rem;
  color: #777;
}

.cta-button {
  background: linear-gradient(135deg, var(--modal-color1, #ff6b6b), var(--modal-color2, #ff8e53));
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 1.1rem;
  margin-top: 20px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.modal3-footer {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #777;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
      opacity: 0;
      transform: translateY(50px);
  }
  to { 
      opacity: 1;
      transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .content-grid {
      grid-template-columns: 1fr;
  }
  
  .buttons-container {
      grid-template-columns: 1fr;
  }
  
  .modal3-title {
      font-size: 1.8rem;
  }
} */

/* MODAL1 - INICIO */
/* MODAL1 - ESTILOS COMPATIBLES CON FULLPAGE */
.modal1-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.modal1-overlay.active {
    display: flex;
}

.modal1 {
    background: white;
    width: 95%;
    max-width: 1200px;
    max-height: 95vh;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
    display: flex;
    flex-direction: column;
}

.modal1-header {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #e12a21 0%, #30375c 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal1-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.close-modal1 {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal1:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal1-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.image-360-container {
    flex: 1;
    min-height: 400px;
    position: relative;
}

#panorama5 {
    width: 100%;
    height: 500px;
    border-bottom: 3px solid #f0f0f0;
}

.modal1-description {
    padding: 25px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.modal1-description h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.modal1-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .modal1 {
        width: 98%;
        max-height: 98vh;
    }
    
    .modal1-header {
        padding: 15px 20px;
    }
    
    .modal1-title {
        font-size: 1.4rem;
    }
    
    #panorama5 {
        height: 300px;
    }
    
    .modal1-description {
        padding: 20px;
    }
}

/* Prevenir conflictos con fullpage */
body.modal1-open {
    overflow: hidden !important;
}

body.modal1-open #fullpage {
    filter: blur(2px);
    transition: filter 0.3s ease;
}
/* MODAL1 - FIN  */

/* MODAL2 - INICIO */
.modal2-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.modal2-overlay.active {
    display: flex;
}

.modal2 {
    background: white;
    width: 95%;
    max-width: 1400px;
    max-height: 95vh;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
    display: flex;
    flex-direction: column;
}

.modal2-header {
    background: linear-gradient(135deg, #e12a21 0%, #30375c 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal2-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.close-modal2 {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal2:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal2-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cube-iframe-container {
    flex: 1;
    position: relative;
    background: #000;
    aspect-ratio: 16/9; /* Proporción estándar */
    min-height: 400px;
}

#cube-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;  
}

.modal2-description {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.modal2-description h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.modal2-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .modal2 {
        width: 98%;
        max-height: 98vh;
    }
    
    .modal2-header {
        padding: 15px 20px;
    }
    
    .modal2-title {
        font-size: 1.4rem;
    }
    
    .cube-iframe-container {
        min-height: 400px;
    }
    
    .modal2-description {
        padding: 15px 20px;
    }
}

/* Prevenir conflictos con fullpage */
body.modal2-open {
    overflow: hidden !important;
}

body.modal2-open #fullpage {
    filter: blur(2px);
    transition: filter 0.3s ease;
}

/* MODAL2 - FIN */


/* MODAL3 - INICIO */
.buttons-container {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 7px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
}

.modal-button {
  /* background: linear-gradient(135deg, var(--color1, #ff6b6b), var(--color2, #ff8e53)); */
  background: linear-gradient(135deg, #e12a21 0%, #30375c 100%);
  color: white;
  border: none;
  padding: 10px 10px;
  font-size: 15px;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-weight: 600;
  text-align: center;
  min-height: 70px;
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.modal-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.modal-button i {
  font-size: 2rem;
  margin-bottom: 5px;
}

.modal3-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Mayor z-index que fullpage */
    animation: fadeIn 0.3s ease;
}

.modal3 {
    background: white;
    width: 97%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Asegurar que el modal no afecte el scroll de fullpage */
.modal3-overlay.active {
    display: flex;
}

/* Prevenir que el modal interfiera con los controles de fullpage */
#fullpage {
    position: relative;
    z-index: 1;
}

.modal3-overlay {
    z-index: 9999;
}

/* Cuando el modal está abierto, deshabilitar temporalmente algunos estilos de fullpage */
body.modal-open {
    overflow: hidden !important;
}

body.modal-open #fullpage {
    /* Opcional: agregar blur o oscurecer el fondo cuando el modal está abierto */
    filter: blur(2px);
    transition: filter 0.3s ease;
}

.modal3-header {
  /* background: linear-gradient(135deg, var(--modal-color1, #ff6b6b), var(--modal-color2, #ff8e53)); */
  background: linear-gradient(135deg, #e12a21 0%, #30375c 100%);
  color: white;
  padding: 25px 30px;
  text-align: center;
  position: relative;
}

.modal3-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.modal3-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.close-modal3 {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-modal3:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal3-content {
  padding: 30px;
  flex: 1;
  overflow-y: auto;
  max-height: calc(90vh - 200px); /* Ajusta según la altura de header y footer */
}

.modal3-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    max-height: calc(90vh - 200px); /* Ajusta según la altura de header y footer */
}

/* Scroll personalizado para el modal */
.modal3-content::-webkit-scrollbar {
    width: 8px;
}

.modal3-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal3-content::-webkit-scrollbar-thumb {
    /* background: linear-gradient(135deg, var(--modal-color1, #ff6b6b), var(--modal-color2, #ff8e53)); */
    background: linear-gradient(135deg, #e12a21 0%, #30375c 100%);
    border-radius: 10px;
}

.modal3-content::-webkit-scrollbar-thumb:hover {
    /* background: linear-gradient(135deg, var(--modal-color1), var(--modal-color2)); */
    background: linear-gradient(135deg, #e12a21 0%, #30375c 100%);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.features-section, .pricing-section {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
}

.section-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--modal-color1, #ff6b6b);
}

/* .features-list {
  list-style: none;
} */
.features-list {
    max-height: 400px; /* Altura máxima antes de mostrar scroll */
    overflow-y: auto;
    margin: 20px 0;
}

.features-list::-webkit-scrollbar {
    width: 6px;
}

.features-list::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}

.features-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.features-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.features-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: black;
}

.features-list li:last-child {
  border-bottom: none;
}

.feature-icon {
  color: var(--modal-color1, #ff6b6b);
  margin-right: 15px;
  font-size: 1.2rem;
  min-width: 20px;
}

.price-display {
  text-align: center;
  margin: 25px 0;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--modal-color1, #ff6b6b);
}

.period {
  font-size: 1.2rem;
  color: #777;
}

.cta-button {
  background: linear-gradient(135deg, var(--modal-color1, #ff6b6b), var(--modal-color2, #ff8e53));
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 1.1rem;
  margin-top: 20px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.modal3-footer {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #777;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
      opacity: 0;
      transform: translateY(50px);
  }
  to { 
      opacity: 1;
      transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .content-grid {
      grid-template-columns: 1fr;
  }
  
  .buttons-container {
      grid-template-columns: 1fr;
  }
  
  .modal3-title {
      font-size: 1.8rem;
  }
}
/* MODAL3 - FIN */

/* MODAL4 - INICIO */
.modal4-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal4-overlay.active {
    display: flex;
}

.modal4 {
    background: white;
    width: 90%;
    /* max-width: 1200px; */
    height: 77vh;
    /* max-height: 800px; */
    border-radius: 15px;
    /* overflow: hidden; */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    /* display: flex; */
    flex-direction: column;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

/* HEADER FIJO */
.modal4-header {
    /* background: linear-gradient(135deg, #e44d26 0%, #f16529 100%); */
    background: linear-gradient(135deg, #e12a21 0%, #30375c 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    min-height: 70px;
    box-sizing: border-box;
}

.modal4-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.close-modal4 {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 15px;
}

.close-modal4:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* SECCIÓN DE VIDEO - ALTURA FIJA */
.modal4-video-section {
    flex: 1;
    min-height: 527px;
    max-height: 70vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden !important;
}

.video-container {
    width: 95%;
    height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden !important;
}

#modal4-video {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    position: relative !important;
    /* object-fit: contain; */
    z-index: 1 !important;
}

/* SECCIÓN DE INFORMACIÓN - ALTURA FIJA */
.modal4-info-section {
    background: #f8f9fa;
    padding: 25px 30px;
    border-top: 2px solid #e9ecef;
    flex-shrink: 0;
    min-height: 17px;
}

.modal4-subtitle {
    color: #333;
    margin: 0 0 12px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.modal4-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* LOADING */
.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
}

.video-loading.active {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .modal4 {
        width: 95%;
        height: 95vh;
        max-height: none;
    }
    
    .modal4-header {
        padding: 15px 20px;
        min-height: 70px;
    }
    
    .modal4-title {
        font-size: 1.4rem;
    }
    
    .modal4-video-section {
        max-height: 50vh;
        min-height: 300px;
    }
    
    .modal4-info-section {
        padding: 20px;
        min-height: 100px;
    }
    
    .modal4-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .modal4 {
        width: 98%;
        height: 98vh;
    }
    
    .modal4-header {
        padding: 12px 15px;
        min-height: 60px;
    }
    
    .modal4-title {
        font-size: 1.2rem;
    }
    
    .modal4-video-section {
        max-height: 45vh;
        min-height: 250px;
    }
    
    .modal4-info-section {
        padding: 15px;
        min-height: 90px;
    }
    
    .modal4-subtitle {
        font-size: 1.1rem;
    }
}

/* PREVENIR CONFLICTOS */
body.modal4-open {
    overflow: hidden !important;
}

body.modal4-open #fullpage {
    filter: blur(2px);
}
/* MODAL4 - FIN */



/* MODAL5 - INICIO */
.modal5-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal5-overlay.active {
    display: flex;
}

.modal5 {
    background: white;
    width: 57%;
    /* max-width: 1200px; */
    height: 77vh;
    /* max-height: 800px; */
    border-radius: 15px;
    /* overflow: hidden; */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    /* display: flex; */
    flex-direction: column;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

/* HEADER FIJO */
.modal5-header {
    /* background: linear-gradient(135deg, #e44d26 0%, #f16529 100%); */
    background: linear-gradient(135deg, #e12a21 0%, #30375c 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    min-height: 70px;
    box-sizing: border-box;
}

.modal5-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.close-modal5 {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 15px;
}

.close-modal5:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* SECCIÓN DE VIDEO - ALTURA FIJA */
.modal5-img-section {
    flex: 1;
    min-height: 527px;
    max-height: 70vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden !important;
}

.imagen-container5 {
    width: 95%;
    height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden !important;
}

#imagen-contenedor5 {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    position: relative !important;
    /* object-fit: contain; */
    z-index: 1 !important;
}

/* SECCIÓN DE INFORMACIÓN - ALTURA FIJA */
.modal5-info-section {
    background: #f8f9fa;
    padding: 25px 30px;
    border-top: 2px solid #e9ecef;
    flex-shrink: 0;
    min-height: 17px;
}

.modal5-subtitle {
    color: #333;
    margin: 0 0 12px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.modal5-description {
    color: #000;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .modal5 {
        width: 95%;
        height: 95vh;
        max-height: none;
    }
    
    .modal5-header {
        padding: 15px 20px;
        min-height: 70px;
    }
    
    .modal5-title {
        font-size: 1.4rem;
    }
    
    .modal5-video-section {
        max-height: 50vh;
        min-height: 300px;
    }
    
    .modal5-info-section {
        padding: 20px;
        min-height: 100px;
    }
    
    .modal5-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .modal5 {
        width: 98%;
        height: 98vh;
    }
    
    .modal5-header {
        padding: 12px 15px;
        min-height: 60px;
    }
    
    .modal5-title {
        font-size: 1.2rem;
    }
    
    .modal5-video-section {
        max-height: 45vh;
        min-height: 250px;
    }
    
    .modal5-info-section {
        padding: 15px;
        min-height: 90px;
    }
    
    .modal5-subtitle {
        font-size: 1.1rem;
    }
}

/* PREVENIR CONFLICTOS */
body.modal5-open {
    overflow: hidden !important;
}

body.modal5-open #fullpage {
    filter: blur(2px);
}
/* MODAL5 - FIN */



.clickable{
  cursor: pointer;
  transition: all 0.3s state;
}

.clickable:hover{
  color: #007bff;
  text-decoration: underline;
}

.clickable-element{
  cursor: pointer;
  transition: all 0.3s state;
  display: inline-block;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
}

.clickable-element:hover{
  color: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.clickable-icon{
  cursor: pointer;
  transition: all 0.3s state;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.clickable-icon:hover{
  color: #007bff;
  transform: translateX(5px);
}

/* Igualando a GooGle SteetView*/
.fake-streetview-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Roboto', Arial, sans-serif;
}

.panoramic-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Elementos comunes de Street View */
.streetview-element {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    color: white;
}

/* ===== DIRECCIÓN (ARRIBA IZQUIERDA) - CORREGIDA ===== */
.address-container {
    top: 12px;
    left: 12px;
    padding: 8px 12px;
    min-width: 220px;
}

.address-columns {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.address-text-content {
    flex: 1;
}

.address-main {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 3px;
    color: white;
}

.address-secondary {
    font-size: 11px;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.9);
}

.maps-link {
    font-size: 10px;
    color: #8ab4f8 !important;
    text-decoration: none;
}

.maps-link:hover {
    text-decoration: underline;
}

.address-icon-column {
    display: flex;
    align-items: center;
}

.location-pin {
    font-size: 16px;
    opacity: 0.9;
}

/* ===== CUADRO CON 4 ESQUINAS (ARRIBA DERECHA) - CORREGIDA ===== */
.frame-container {
    top: 10px;
    right: 10px;
    text-decoration: none;
    padding: 12px;
    transition: all 0.3s ease;
}

.frame-container:hover {
    background: rgba(0, 0, 0, 0.9);
}

.frame-content {
    width: 60px;
    height: 60px;
    position: relative;
}

.corner-frame {
    width: 100%;
    height: 100%;
    position: relative;
}

.corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1.5px solid white;
}

.corner.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.corner.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.corner.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.corner.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* ===== CONTROLES (DERECHA CENTRO) - CORREGIDA ===== */
.controls-container {
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Brújula - Versión corregida */
.compass-circle {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compass-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.compass-arrow.north {
    top: 6px;
    border-bottom: 12px solid white;
}

.compass-arrow.south {
    bottom: 6px;
    border-top: 12px solid #ea4335; /* Rojo Google */
}

/* Controles de zoom - Versión corregida */
.zoom-controls {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zoom-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 4px;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.zoom-btn:hover {
    background: white;
    transform: scale(1.1);
}

/* ===== LEYENDA INFERIOR - CORREGIDA ===== */
.legend-container {
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.8);
}

.legend-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-text {
    color: white;
    font-size: 10px;
    text-decoration: none;
    opacity: 0.8;
}

.legend-text:hover {
    opacity: 1;
}

.legend-separator {
    color: white;
    font-size: 10px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .fake-streetview-container {
        height: 400px;
    }
    
    .address-container {
        min-width: 200px;
        padding: 6px 10px;
    }
    
    .address-main {
        font-size: 11px;
    }
    
    .address-secondary {
        font-size: 10px;
    }
    
    .maps-link {
        font-size: 9px;
    }

     .location-pin {
        font-size: 12px;
    }
    
    .frame-content {
        width: 50px;
        height: 50px;
    }
    
    .corner {
        width: 8px;
        height: 8px;
    }
    
    .compass-circle {
        width: 40px;
        height: 40px;
    }
    
    .compass-arrow.north {
        top: 4px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 10px solid white;
    }
    
    .compass-arrow.south {
        bottom: 4px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 10px solid #ea4335;
    }
    
    .zoom-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .legend-content {
        gap: 8px;
    }
    
    .legend-text,
    .legend-separator {
        font-size: 9px;
    }
}

/* Efectos de hover para elementos interactivos */
.frame-container,
.zoom-btn {
    cursor: pointer;
}

/* Animación sutil para el marco de esquinas */
@keyframes cornerGlow {
    0%, 100% { border-color: rgba(255, 255, 255, 0.8); }
    50% { border-color: rgba(66, 133, 244, 0.8); }
}

.corner {
    animation: cornerGlow 3s ease-in-out infinite;
}

.corner.top-right { animation-delay: 0.5s; }
.corner.bottom-left { animation-delay: 1s; }
.corner.bottom-right { animation-delay: 1.5s; }

/*Validacion de formulario*/
.error-mensaje {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
}

/* Estilos para campos con error */
input.error, textarea.error {
    border-color: #dc3545 !important;
    background-color: #fff5f5 !important;
}

/* Estilo opcional para campos requeridos */
input[required]::after, textarea[required]::after {
    content: " *";
    color: #dc3545;
}


/*Modal 5*/
