/* ============================================
   FIX CRÍTICO PARA MODAL - ESTO VA AL INICIO!
   ============================================ */

/* Reset completo para modal */
#imageModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

#imageModal.show {
    display: flex !important;
}

body.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
    position: fixed !important;
    width: 100% !important;
}

/* Asegurar que nada pueda estar encima del modal */
#imageModal * {
    z-index: 1000000 !important;
}

/* Botón de emergencia siempre visible */
.emergency-close {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #c39231 !important;
    color: white !important;
    border: 2px solid white !important;
    padding: 12px 24px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    z-index: 1000001 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    display: block !important;
    opacity: 0.9 !important;
}

.emergency-close:hover {
    background: #e6b450 !important;
    opacity: 1 !important;
}

@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon/icomoon.eot"); /* IE9 Compat Modes */
  src: url("../fonts/icomoon/icomoon.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
       url("../fonts/icomoon/icomoon.woff2") format("woff2"), /* Super Modern Browsers */
       url("../fonts/icomoon/icomoon.woff") format("woff"), /* Modern Browsers */
       url("../fonts/icomoon/icomoon.ttf") format("truetype"), /* Safari, Android, iOS */
       url("../fonts/icomoon/icomoon.svg#icomoon") format("svg"); /* Legacy iOS */
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Mejor rendimiento */
}
/* =======================================================
*
* 	Template Style 
*	Edit this section
*
* ======================================================= */
body {
  font-family: "Roboto", Arial, serif;
  line-height: 1.8;
  font-size: 16px;
  background: #000000; /* FONDO NEGRO */
  color: #c39231; /* DORADO PARA TODO EL TEXTO */
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.fh5co-offcanvas {
  overflow: hidden;
}

a {
  color: #c39231; /* DORADO */
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
a:hover {
  text-decoration: none !important;
  color: #e6b450 !important; /* DORADO MÁS CLARO AL HOVER */
}

p, ul, ol {
  margin-bottom: 1.5em;
  font-size: 18px;
  color: #c39231; /* DORADO */
  font-family: "Roboto", Arial, serif;
}

h1, h2, h3, h4, h5, h6 {
  color: #c39231; /* DORADO */
  font-family: "Roboto Slab", Arial, sans-serif;
  font-weight: 400;
  margin: 0 0 30px 0;
}

figure {
  margin-bottom: 2em;
}

::-webkit-selection {
  color: #000000; /* NEGRO */
  background: #c39231; /* DORADO */
}

::-moz-selection {
  color: #000000; /* NEGRO */
  background: #c39231; /* DORADO */
}

::selection {
  color: #000000; /* NEGRO */
  background: #c39231; /* DORADO */
}

.btn {
  margin-right: 4px;
  margin-bottom: 4px;
  font-family: "Roboto", Arial, serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  -webkit-appearance: none;
  border-radius: 0;
  -webkit-border-radius: 0;
}
.btn.btn-sm {
  padding: 5px 20px !important;
}
.btn.btn-md {
  padding: 10px 20px !important;
}
.btn.btn-lg {
  padding: 18px 36px !important;
}
.btn:hover, .btn:active, .btn:focus {
  box-shadow: none !important;
  outline: none !important;
}

.btn-primary {
  background: #c39231; /* DORADO */
  color: #000000; /* NEGRO */
  border: 2px solid #c39231; /* DORADO */
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: #d4a842 !important; /* DORADO MÁS CLARO */
  border-color: #d4a842 !important; /* DORADO MÁS CLARO */
  color: #000000 !important; /* NEGRO */
}
.btn-primary.btn-outline {
  background: transparent;
  color: #c39231; /* DORADO */
  border: 2px solid #c39231; /* DORADO */
}
.btn-primary.btn-outline:hover, .btn-primary.btn-outline:focus, .btn-primary.btn-outline:active {
  background: #c39231; /* DORADO */
  color: #000000; /* NEGRO */
}

.btn-success {
  background: #c39231; /* DORADO */
  color: #000000; /* NEGRO */
  border: 2px solid #c39231; /* DORADO */
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
  background: #d4a842 !important; /* DORADO MÁS CLARO */
  border-color: #d4a842 !important; /* DORADO MÁS CLARO */
  color: #000000 !important; /* NEGRO */
}
.btn-success.btn-outline {
  background: transparent;
  color: #c39231; /* DORADO */
  border: 2px solid #c39231; /* DORADO */
}
.btn-success.btn-outline:hover, .btn-success.btn-outline:focus, .btn-success.btn-outline:active {
  background: #c39231; /* DORADO */
  color: #000000; /* NEGRO */
}

.btn-info {
  background: #c39231; /* DORADO */
  color: #000000; /* NEGRO */
  border: 2px solid #c39231; /* DORADO */
}
.btn-info:hover, .btn-info:focus, .btn-info:active {
  background: #d4a842 !important; /* DORADO MÁS CLARO */
  border-color: #d4a842 !important; /* DORADO MÁS CLARO */
  color: #000000 !important; /* NEGRO */
}
.btn-info.btn-outline {
  background: transparent;
  color: #c39231; /* DORADO */
  border: 2px solid #c39231; /* DORADO */
}
.btn-info.btn-outline:hover, .btn-info.btn-outline:focus, .btn-info.btn-outline:active {
  background: #c39231; /* DORADO */
  color: #000000; /* NEGRO */
}

.btn-warning {
  background: #c39231; /* DORADO */
  color: #000000; /* NEGRO */
  border: 2px solid #c39231; /* DORADO */
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active {
  background: #d4a842 !important; /* DORADO MÁS CLARO */
  border-color: #d4a842 !important; /* DORADO MÁS CLARO */
  color: #000000 !important; /* NEGRO */
}
.btn-warning.btn-outline {
  background: transparent;
  color: #c39231; /* DORADO */
  border: 2px solid #c39231; /* DORADO */
}
.btn-warning.btn-outline:hover, .btn-warning.btn-outline:focus, .btn-warning.btn-outline:active {
  background: #c39231; /* DORADO */
  color: #000000; /* NEGRO */
}

.btn-danger {
  background: #c39231; /* DORADO */
  color: #000000; /* NEGRO */
  border: 2px solid #c39231; /* DORADO */
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
  background: #d4a842 !important; /* DORADO MÁS CLARO */
  border-color: #d4a842 !important; /* DORADO MÁS CLARO */
  color: #000000 !important; /* NEGRO */
}
.btn-danger.btn-outline {
  background: transparent;
  color: #c39231; /* DORADO */
  border: 2px solid #c39231; /* DORADO */
}
.btn-danger.btn-outline:hover, .btn-danger.btn-outline:focus, .btn-danger.btn-outline:active {
  background: #c39231; /* DORADO */
  color: #000000; /* NEGRO */
}

.btn-outline {
  background: none;
  border: 2px solid #c39231; /* DORADO */
  font-size: 16px;
  color: #c39231; /* DORADO */
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.btn-outline:hover, .btn-outline:focus, .btn-outline:active {
  box-shadow: none;
  background: #c39231; /* DORADO */
  color: #000000; /* NEGRO */
}

.btn.with-arrow {
  position: relative;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.btn.with-arrow i {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 0px;
  top: 50%;
  margin-top: -8px;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}
.btn.with-arrow:hover {
  padding-right: 50px;
}
.btn.with-arrow:hover i {
  color: #000000; /* NEGRO */
  right: 18px;
  visibility: visible;
  opacity: 1;
}

#fh5co-header {
  position: relative;
  margin-bottom: 0;
  z-index: 9999999;
}

.fh5co-cover,
.fh5co-hero {
  position: relative;
  height: 800px;
}
@media screen and (max-width: 768px) {
  .fh5co-cover,
  .fh5co-hero {
    height: 700px;
  }
}
.fh5co-cover.fh5co-hero-2,
.fh5co-hero.fh5co-hero-2 {
  height: 600px;
}
.fh5co-cover.fh5co-hero-2 .fh5co-overlay,
.fh5co-hero.fh5co-hero-2 .fh5co-overlay {
  position: absolute !important;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.7);
}

.fh5co-overlay {
  position: absolute !important;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
}

.fh5co-cover {
  background-size: cover;
  position: relative;
}
@media screen and (max-width: 768px) {
  .fh5co-cover {
    heifght: inherit;
    padding: 3em 0;
  }
}
.fh5co-cover .btn {
  padding: 1em 2em;
  opacity: .9;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  border-radius: 30px;
}
.fh5co-cover.fh5co-cover_2 {
  height: 600px;
}
@media screen and (max-width: 768px) {
  .fh5co-cover.fh5co-cover_2 {
    heifght: inherit;
    padding: 3em 0;
  }
}
.fh5co-cover .desc {
  top: 50%;
  position: absolute;
  width: 100%;
  margin-top: -100px;
  z-index: 2;
  color: #c39231; /* DORADO */
}
@media screen and (max-width: 768px) {
  .fh5co-cover .desc {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.fh5co-cover .desc h2 {
  color: #c39231; /* DORADO */
  font-size: 55px;
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 60px;
  letter-spacing: 1px;
}
@media screen and (max-width: 768px) {
  .fh5co-cover .desc h2 {
    font-size: 40px;
    line-height: 50px;
  }
}
.fh5co-cover .desc span {
  display: block;
  margin-bottom: 25px;
  font-size: 24px;
  letter-spacing: 1px;
  color: #c39231; /* DORADO */
}
.fh5co-cover .desc span i {
  color: #DA1212;
}
.fh5co-cover .desc span a {
  color: #c39231; /* DORADO */
}
.fh5co-cover .desc span a:hover, .fh5co-cover .desc span a:focus {
  color: #e6b450 !important; /* DORADO MÁS CLARO */
}
.fh5co-cover .desc span a.fh5co-site-name {
  padding-bottom: 2px;
  border-bottom: 1px solid #c39231; /* DORADO */
}

/* Superfish Override Menu */
.sf-menu {
  margin: 0 !important;
}

.sf-menu {
  float: right;
}

.sf-menu ul {
  box-shadow: none;
  border: transparent;
  min-width: 12em;
  *width: 12em;
}

/* MENÚ DORADO */
.sf-menu a {
  color: #c39231; /* DORADO */
  padding: 2.4em 1em !important;
  font-weight: normal;
  border-left: none;
  border-top: none;
  border-top: none;
  text-decoration: none;
  zoom: 1;
  font-size: 16px;
  border-bottom: none !important;
  font-weight: 300;
  text-transform: uppercase;
  font-family: "Roboto Slab", Arial, sans-serif;
  letter-spacing: 1px;
}

/* HOVER DEL MENÚ */
.sf-menu a:hover, .sf-menu a:focus, .sf-menu a.active {
  background: #1a1a1a !important; /* NEGRO MÁS CLARO */
  color: #e6b450 !important; /* DORADO MÁS CLARO */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.sf-menu li,
.sf-menu ul li,
.sf-menu ul ul li,
.sf-menu li:hover,
.sf-menu li.sfHover {
  background: transparent;
}

.sf-menu ul li a,
.sf-menu ul ul li a {
  text-transform: none;
  padding: 0.25em 1em !important;
  letter-spacing: 1px;
}

.sf-menu li:hover a,
.sf-menu li.sfHover a,
.sf-menu ul li:hover a,
.sf-menu ul li.sfHover a,
.sf-menu li.active a {
  color: #000;
}

.sf-menu ul li:hover,
.sf-menu ul li.sfHover {
  background: transparent;
}

.sf-menu ul li {
  background: transparent;
}

.sf-arrows .sf-with-ul {
  padding-right: 2.5em;
  *padding-right: 1em;
}

.sf-arrows .sf-with-ul:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  margin-top: -3px;
  height: 0;
  width: 0;
  border: 5px solid transparent;
  border-top-color: #c39231; /* DORADO */
}

.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
  border-top-color: #c39231; /* DORADO */
}

.sf-arrows ul .sf-with-ul:after {
  margin-top: -5px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: #c39231; /* DORADO */
}

.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
  border-left-color: #c39231; /* DORADO */
}

/* FONDO NEGRO DEL HEADER */
#fh5co-header-section {
  background: #000000; /* NEGRO */
  position: fixed !important; /* CAMBIADO: fixed en lugar de absolute */
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0;
  width: 100%;
  -webkit-box-shadow: 0px 5px 5px -4px rgba(255, 255, 255, 0.1);
  -moz-box-shadow: 0px 5px 5px -4px rgba(255, 255, 255, 0.1);
  -ms-box-shadow: 0px 5px 5px -4px rgba(255, 255, 255, 0.1);
  -o-box-shadow: 0px 5px 5px -4px rgba(255, 255, 255, 0.1);
  box-shadow: 0px 5px 5px -4px rgba(255, 255, 255, 0.1);
  /* Safari fixes */
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
@media screen and (max-width: 768px) {
  #fh5co-header-section {
    padding: 2.4em 0;
  }
}

/* ESPACIO PARA EL HEADER FIJADO */
#fh5co-page {
  padding-top: 120px;
}

@media screen and (max-width: 768px) {
  #fh5co-page {
    padding-top: 100px;
  }
}

.nav-header {
  position: relative;
  float: left;
  width: 100%;
}

/* LOGO DORADO */
#fh5co-logo {
  z-index: 2;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 700;
  float: left;
  margin-bottom: 0;
  margin-top: 1.2em;
}
#fh5co-logo a {
  color: #c39231; /* DORADO */
}
#fh5co-logo a i {
  color: #c39231; /* DORADO */
  font-size: 30px;
  padding-right: 12px;
}
#fh5co-logo a:hover, #fh5co-logo a:focus {
  color: #e6b450 !important; /* DORADO MÁS CLARO */
}
#fh5co-logo span {
  padding: 0;
  margin: 0;
  font-weight: 100;
}
@media screen and (max-width: 768px) {
  #fh5co-logo {
    width: 100%;
    float: none;
    margin-top: 0;
  }
}

#fh5co-menu-wrap {
  position: relative;
  z-index: 2;
  display: block;
  float: right;
}

#fh5co-primary-menu > li > ul li.active > a {
  color: #c39231 !important; /* DORADO */
}
#fh5co-primary-menu > li > .sf-with-ul:after {
  border: none !important;
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  float: right;
  margin-right: 0px;
  top: 50%;
  margin-top: -7px;
  content: "\e922";
  color: #c39231 !important; /* DORADO */
}
#fh5co-primary-menu > li > ul li {
  position: relative;
}
#fh5co-primary-menu > li > ul li > .sf-with-ul:after {
  border: none !important;
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  float: right;
  margin-right: 10px;
  top: 20px;
  font-size: 16px;
  content: "\e924";
  color: #c39231 !important; /* DORADO */
}

#fh5co-primary-menu .fh5co-sub-menu {
  padding: 10px 7px 10px;
  background: #000000; /* NEGRO */
  left: 0;
  -webkit-box-shadow: 0 5px 15px rgba(195, 146, 49, 0.2);
  -moz-box-shadow: 0 5px 15px rgba(195, 146, 49, 0.2);
  -ms-box-shadow: 0 5px 15px rgba(195, 146, 49, 0.2);
  -o-box-shadow: 0 5px 15px rgba(195, 146, 49, 0.2);
  box-shadow: 0 5px 15px rgba(195, 146, 49, 0.2);
}
#fh5co-primary-menu .fh5co-sub-menu > li > .fh5co-sub-menu {
  left: 100%;
}

.site-header.has-image #primary-menu .sub-menu {
  border-color: #333;
  -webkit-box-shadow: 0 5px 15px 4px rgba(195, 146, 49, 0.1);
  -moz-box-shadow: 0 5px 15px 4px rgba(195, 146, 49, 0.1);
  -ms-box-shadow: 0 5px 15px 4px rgba(195, 146, 49, 0.1);
  -o-box-shadow: 0 5px 15px 4px rgba(195, 146, 49, 0.1);
  box-shadow: 0 5px 15px 4px rgba(195, 146, 49, 0.1);
}
.site-header.has-image #primary-menu .sub-menu:before {
  display: none;
}

#fh5co-primary-menu .fh5co-sub-menu a {
  letter-spacing: 0;
  padding: 0 15px;
  font-size: 18px;
  line-height: 34px;
  color: #c39231 !important; /* DORADO */
  text-transform: none;
  background: none;
}
#fh5co-primary-menu .fh5co-sub-menu a:hover {
  color: #e6b450 !important; /* DORADO MÁS CLARO */
  background: #1a1a1a !important; /* NEGRO MÁS CLARO */
}

/* HERO CON LOGO - FIX SAFARI */
#fh5co-hero {
  min-height: 500px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  padding: 40px 0;
  margin-top: 0;
  background: #000000;
  /* Safari fixes */
  -webkit-flex-direction: column;
  flex-direction: column;
  height: auto;
  min-height: -webkit-min-content;
}

#fh5co-hero .container {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  width: 100%;
}

@media screen and (max-width: 768px) {
  #fh5co-hero {
    min-height: 350px;
    padding: 30px 0;
  }
}

@media screen and (max-width: 480px) {
  #fh5co-hero {
    min-height: 250px;
    padding: 20px 0;
  }
}

#fh5co-hero .btn {
  color: #c39231; /* DORADO */
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  border: 2px solid #c39231; /* DORADO */
}
#fh5co-hero .btn.btn-primary {
  padding: 15px 30px !important;
}
#fh5co-hero .btn:hover, #fh5co-hero .btn:focus {
  color: #000000 !important; /* NEGRO */
  border: 2px solid #c39231 !important; /* DORADO */
  background: #c39231 !important; /* DORADO */
}
#fh5co-hero .flexslider {
  border: none;
  z-index: 1;
  margin-bottom: 0;
}
#fh5co-hero .flexslider .slides {
  position: relative;
  overflow: hidden;
}
#fh5co-hero .flexslider .slides li {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  min-height: 700px !important;
}
#fh5co-hero .flexslider .slides .overlay-gradient {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.3);
}
#fh5co-hero .flexslider .flex-control-nav {
  bottom: 40px;
  z-index: 1000;
  display: none;
}
#fh5co-hero .flexslider .flex-control-nav li a {
  background: rgba(195, 146, 49, 0.2); /* DORADO CON TRANSPARENCIA */
  box-shadow: none;
  width: 12px;
  height: 12px;
  cursor: pointer;
}
#fh5co-hero .flexslider .flex-control-nav li a.flex-active {
  cursor: pointer;
  background: rgba(195, 146, 49, 0.7); /* DORADO CON TRANSPARENCIA */
}
#fh5co-hero .flexslider .flex-direction-nav {
  display: block;
}
#fh5co-hero .flexslider .flex-direction-nav a {
  top: 50%;
  margin-top: 40px;
}
#fh5co-hero .flexslider .flex-direction-nav a:before {
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\e923';
  color: #c39231; /* DORADO */
  text-shadow: none;
}
#fh5co-hero .flexslider .flex-direction-nav a.flex-next:before {
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\e924';
  color: #c39231; /* DORADO */
  text-shadow: none;
}
#fh5co-hero .flexslider .slider-text {
  display: table;
  opacity: 0;
  min-height: 700px;
  bottom: 0;
}
#fh5co-hero .flexslider .slider-text > .slider-text-inner {
  margin: 0;
  padding: 0;
  display: table-cell;
  vertical-align: middle;
  min-height: 700px;
}
#fh5co-hero .flexslider .slider-text > .slider-text-inner.desc {
  position: relative;
  top: 10%;
}
#fh5co-hero .flexslider .slider-text > .slider-text-inner .heading-section {
  font-size: 40px;
  font-weight: 400;
  color: #c39231; /* DORADO */
}
#fh5co-hero .flexslider .slider-text > .slider-text-inner .desc {
  padding: 2em;
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(195, 146, 49, 0.7); /* DORADO CON TRANSPARENCIA */
}
#fh5co-hero .flexslider .slider-text > .slider-text-inner h2 {
  font-size: 30px;
  font-weight: 300;
  color: #000000; /* NEGRO */
  line-height: 40px;
}
@media screen and (max-width: 768px) {
  #fh5co-hero .flexslider .slider-text > .slider-text-inner h2 {
    font-size: 40px;
  }
}
#fh5co-hero .flexslider .slider-text > .slider-text-inner .fh5co-lead {
  font-size: 20px;
  color: #000000; /* NEGRO */
}
#fh5co-hero .flexslider .slider-text > .slider-text-inner .fh5co-lead .icon-heart {
  color: #d9534f;
}

#fh5co-work-section, #fh5co-services-section,
#fh5co-team-section, #fh5co-contact-section {
  padding: 7em 0;
  background: #000000; /* NEGRO */
}

.grid-project {
  margin-bottom: 40px;
  float: left;
}
.grid-project .image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background-size: cover;
}
.grid-project .image:after {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.grid-project .image img {
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.grid-project .desc h3 {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 22px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.grid-project .desc h3 a {
  color: #c39231; /* DORADO */
}
.grid-project .desc span {
  color: rgba(195, 146, 49, 0.7); /* DORADO CON TRANSPARENCIA */
}
.grid-project:hover .image img, .grid-project:focus .image img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.grid-project:hover .image:after, .grid-project:focus .image:after {
  opacity: 1;
}
.grid-project:hover h3, .grid-project:focus h3 {
  color: #e6b450; /* DORADO MÁS CLARO */
}

#fh5co-section {
  float: left;
  width: 100%;
  display: block;
  background: #000000; /* NEGRO */
}
#fh5co-section .grid-project-section {
  width: 33.333333333%;
  float: left;
  position: relative;
  overflow: hidden;
}
#fh5co-section .grid-project-section > a > img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
#fh5co-section .grid-project-section .desc {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding-top: 30%;
  z-index: 99;
}
#fh5co-section .grid-project-section .desc h2 {
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  color: #c39231; /* DORADO */
  font-weight: 400;
  font-size: 24px;
}
#fh5co-section .grid-project-section:after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.4);
  content: '';
  z-index: 9;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
#fh5co-section .grid-project-section:hover:after, #fh5co-section .grid-project-section:focus:after {
  background: rgba(0, 0, 0, 0.2);
}
#fh5co-section .grid-project-section:hover > a > img, #fh5co-section .grid-project-section:focus > a > img {
  -webkit-transform: scale(1.15);
  -moz-transform: scale(1.15);
  -ms-transform: scale(1.15);
  -o-transform: scale(1.15);
  transform: scale(1.15);
}
@media screen and (max-width: 768px) {
  #fh5co-section .grid-project-section {
    width: 100%;
  }
}

.services-inner {
  margin-bottom: 4em;
}
.services-inner img {
  width: 100px;
  margin-bottom: 40px;
}

.fh5co-staff img {
  margin-bottom: 1.5em;
}
.fh5co-staff h3 {
  margin: 0 0 20px 0;
  font-weight: 700;
  font-size: 24px;
  color: #c39231; /* DORADO */
}
.fh5co-staff h4 {
  margin: 0 0 20px 0;
  font-weight: 300;
  color: rgba(195, 146, 49, 0.7); /* DORADO CON TRANSPARENCIA */
  font-family: "Roboto", Arial, serif;
}
.fh5co-staff .fh5co-social {
  text-align: center;
}
.fh5co-staff .fh5co-social a {
  color: #c39231; /* DORADO */
}

.about {
  margin-bottom: 5em;
}

.fh5co-heading {
  margin-bottom: 2.5em;
}

.fh5co-social {
  padding: 0;
  margin: 0;
}
.fh5co-social li {
  padding: 0;
  margin: 0;
  list-style: none;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.fh5co-social li a {
  font-size: 22px;
  color: #c39231; /* DORADO */
  padding: 0;
  margin: 0;
  padding: 2px;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  border-radius: 7px;
}
.fh5co-social li a i {
  color: #c39231; /* DORADO */
}
.fh5co-social li a:hover {
  color: #e6b450; /* DORADO MÁS CLARO */
}
.fh5co-social li a:hover, .fh5co-social li a:active, .fh5co-social li a:focus {
  outline: none;
  text-decoration: none;
}

.fh5co-table,
.fh5co-table-cell,
.fh5co-parallax {
  height: 500px;
}

.fh5co-parallax {
  background-color: #000000; /* NEGRO */
  background-attachment: fixed;
  background-size: cover;
  position: relative;
}
.fh5co-parallax .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: black;
  opacity: .2;
}

@media screen and (max-width: 768px) {
  .fh5co-parallax {
    height: inherit;
    padding: 4em 0;
  }
}
.fh5co-parallax .fh5co-intro h1 {
  color: #c39231; /* DORADO */
  font-size: 70px;
  font-weight: 300;
  margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
  .fh5co-parallax .fh5co-intro h1 {
    font-size: 30px;
  }
}
.fh5co-parallax .fh5co-intro p {
  color: #c39231; /* DORADO */
}
.fh5co-parallax .fh5co-intro p a {
  color: #c39231; /* DORADO */
  border-bottom: 2px solid rgba(195, 146, 49, 0.5); /* DORADO CON TRANSPARENCIA */
}
.fh5co-parallax .fh5co-intro p a:hover {
  color: #e6b450; /* DORADO MÁS CLARO */
}
.fh5co-parallax .fh5co-intro.box-area {
  padding: 40px;
  background: #000000; /* NEGRO */
  border: 1px solid #c39231; /* DORADO */
}

.fh5co-table {
  display: table;
}

.fh5co-table-cell {
  display: table-cell;
  vertical-align: middle;
}

#fh5co-contact-section {
  background: #000000; /* NEGRO */
}
#fh5co-contact-section .contact-info {
  margin: 0;
  padding: 0;
}
#fh5co-contact-section .contact-info li {
  list-style: none;
  margin: 0 0 20px 0;
  position: relative;
  padding-left: 40px;
}
#fh5co-contact-section .contact-info li i {
  position: absolute;
  top: .3em;
  left: 0;
  font-size: 22px;
  color: #c39231; /* DORADO */
}
#fh5co-contact-section .contact-info li a {
  font-weight: 400 !important;
  color: #c39231; /* DORADO */
}
#fh5co-contact-section .form-control {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
  border: none;
  border: 1px solid #c39231; /* DORADO */
  font-size: 18px;
  font-weight: 400;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  border-radius: 0px;
  background: #1a1a1a; /* NEGRO MÁS CLARO */
  color: #c39231; /* DORADO */
}
#fh5co-contact-section .form-control:focus, #fh5co-contact-section .form-control:active {
  border-bottom: 1px solid #e6b450; /* DORADO MÁS CLARO */
}
#fh5co-contact-section input[type="text"] {
  height: 50px;
}
#fh5co-contact-section .form-group {
  margin-bottom: 30px;
}

.section-title {
  font-weight: 700;
  color: #c39231; /* DORADO */
}

#map {
  width: 100%;
  height: 500px;
  position: relative;
}
@media screen and (max-width: 768px) {
  #map {
    height: 200px;
  }
}

.fh5co-social-icons > a {
  padding: 4px 10px;
  color: #c39231; /* DORADO */
}
.fh5co-social-icons > a i {
  font-size: 26px;
}
.fh5co-social-icons > a:hover, .fh5co-social-icons > a:focus, .fh5co-social-icons > a:active {
  text-decoration: none;
  color: #e6b450; /* DORADO MÁS CLARO */
}

#footer {
  width: 100%;
  float: left;
  background: #000000; /* NEGRO */
  padding: 7em 0 40px;
  border-top: 1px solid #c39231; /* DORADO */
}
#footer p {
  color: #c39231; /* DORADO */
}
#footer .section-title {
  color: #c39231; /* DORADO */
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1px;
}
#footer .float {
  float: left;
  margin-right: 10%;
}
#footer ul {
  padding: 0;
  margin: 0;
}
#footer ul li {
  padding: 0;
  margin: 0 0 10px 0;
  list-style: none;
  color: #c39231; /* DORADO */
}
#footer ul li a {
  color: #c39231; /* DORADO */
  text-decoration: none !important;
}
#footer ul li a:hover {
  color: #e6b450; /* DORADO MÁS CLARO */
}
#footer .contact-info {
  margin: 0 0 60px 0;
  padding: 0;
}
#footer .contact-info li {
  list-style: none;
  margin: 0 0 20px 0;
  position: relative;
  padding-left: 40px;
}
#footer .contact-info li i {
  position: absolute;
  top: 5px;
  left: 0;
  font-size: 22px;
  color: #c39231; /* DORADO */
}
#footer .contact-info li a {
  color: #c39231; /* DORADO */
}
#footer .contact-form .form-group input[type="name"],
#footer .contact-form .form-group input[type="text"],
#footer .contact-form .form-group input[type="email"],
#footer .contact-form .form-group textarea {
  font-size: 16px;
}
#footer .contact-form .form-group input[type="name"]::-webkit-input-placeholder,
#footer .contact-form .form-group input[type="text"]::-webkit-input-placeholder,
#footer .contact-form .form-group input[type="email"]::-webkit-input-placeholder,
#footer .contact-form .form-group textarea::-webkit-input-placeholder {
  color: rgba(195, 146, 49, 0.7); /* DORADO CON TRANSPARENCIA */
}
#footer .contact-form .form-group input[type="name"]:-moz-placeholder,
#footer .contact-form .form-group input[type="text"]:-moz-placeholder,
#footer .contact-form .form-group input[type="email"]:-moz-placeholder,
#footer .contact-form .form-group textarea:-moz-placeholder {
  /* Firefox 18- */
  color: rgba(195, 146, 49, 0.7); /* DORADO CON TRANSPARENCIA */
}
#footer .contact-form .form-group input[type="name"]::-moz-placeholder,
#footer .contact-form .form-group input[type="text"]::-moz-placeholder,
#footer .contact-form .form-group input[type="email"]::-moz-placeholder,
#footer .contact-form .form-group textarea::-moz-placeholder {
  /* Firefox 19+ */
  color: rgba(195, 146, 49, 0.7); /* DORADO CON TRANSPARENCIA */
}
#footer .contact-form .form-group input[type="name"]:-ms-input-placeholder,
#footer .contact-form .form-group input[type="text"]:-ms-input-placeholder,
#footer .contact-form .form-group input[type="email"]:-ms-input-placeholder,
#footer .contact-form .form-group textarea:-ms-input-placeholder {
  color: rgba(195, 146, 49, 0.7); /* DORADO CON TRANSPARENCIA */
}
#footer .contact-form .form-group input {
  color: #c39231; /* DORADO */
  background: #1a1a1a; /* NEGRO MÁS CLARO */
  border: 1px solid #c39231; /* DORADO */
  box-shadow: none;
}
#footer .contact-form .form-group textarea {
  color: #c39231; /* DORADO */
  background: #1a1a1a; /* NEGRO MÁS CLARO */
  border: 1px solid #c39231; /* DORADO */
  box-shadow: none;
}
#footer #btn-submit {
  color: #000000 !important; /* NEGRO */
  background: #c39231 !important; /* DORADO */
  border: 1px solid #c39231 !important; /* DORADO */
}
#footer #btn-submit:hover {
  background: #e6b450 !important; /* DORADO MÁS CLARO */
}
#footer .copy-right {
  border-top: 1px solid rgba(195, 146, 49, 0.3); /* DORADO CON TRANSPARENCIA */
  padding-top: 5em;
  margin-top: 5em;
}
#footer .copy-right p {
  color: #c39231; /* DORADO */
  font-size: 16px;
}
#footer .copy-right p a {
  color: #c39231; /* DORADO */
}
#footer .copy-right p a:hover {
  color: #e6b450; /* DORADO MÁS CLARO */
}

.js .animate-box {
  opacity: 0;
}

#fh5co-wrapper {
  overflow-x: hidden;
  position: relative;
  background: #000000; /* NEGRO */
}

.fh5co-offcanvas {
  overflow: hidden;
}
.fh5co-offcanvas #fh5co-wrapper {
  overflow: hidden !important;
}

#fh5co-page {
  position: relative;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  background: #000000; /* NEGRO */
}
.fh5co-offcanvas #fh5co-page {
  -moz-transform: translateX(-240px);
  -webkit-transform: translateX(-240px);
  -ms-transform: translateX(-240px);
  -o-transform: translateX(-240px);
  transform: translateX(-240px);
}

@media screen and (max-width: 768px) {
  #fh5co-menu-wrap {
    display: none;
  }
}

#offcanvas-menu {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 99;
  background: #000000; /* NEGRO */
  right: -240px;
  width: 240px;
  padding: 20px;
  overflow-y: scroll !important;
  border-left: 1px solid #c39231; /* DORADO */
}
#offcanvas-menu ul {
  padding: 0;
  margin: 0;
}
#offcanvas-menu ul li {
  padding: 0;
  margin: 0 0 10px 0;
  list-style: none;
}
#offcanvas-menu ul li a {
  font-size: 18px;
  color: #c39231; /* DORADO */
}
#offcanvas-menu ul li a:hover {
  color: #e6b450; /* DORADO MÁS CLARO */
}
#offcanvas-menu ul li > .fh5co-sub-menu {
  margin-top: 9px;
  padding-left: 20px;
}
#offcanvas-menu ul li.active > a {
  color: #e6b450; /* DORADO MÁS CLARO */
}
#offcanvas-menu ul .fh5co-sub-menu {
  display: block !important;
}

/* BOTÓN MENÚ MÓVIL DORADO */
.fh5co-nav-toggle {
  cursor: pointer;
  text-decoration: none;
}
.fh5co-nav-toggle.active i::before, .fh5co-nav-toggle.active i::after {
  background: #c39231; /* DORADO */
}
.fh5co-nav-toggle.dark.active i::before, .fh5co-nav-toggle.dark.active i::after {
  background: #c39231; /* DORADO */
}
.fh5co-nav-toggle:hover, .fh5co-nav-toggle:focus, .fh5co-nav-toggle:active {
  outline: none;
  border-bottom: none !important;
}

.fh5co-nav-toggle i {
  position: relative;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
  width: 30px;
  height: 2px;
  color: #c39231; /* DORADO */
  font: bold 14px/.4 Helvetica;
  text-transform: uppercase;
  text-indent: -55px;
  background: #c39231; /* DORADO */
  transition: all .2s ease-out;
  -webkit-transition: all .2s ease-out;
}

.fh5co-nav-toggle i::before, .fh5co-nav-toggle i::after {
  content: '';
  width: 30px;
  height: 2px;
  background: #c39231; /* DORADO */
  position: absolute;
  left: 0;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.fh5co-nav-toggle.dark i {
  position: relative;
  color: #c39231; /* DORADO */
  background: #c39231; /* DORADO */
  transition: all .2s ease-out;
  -webkit-transition: all .2s ease-out;
}

.fh5co-nav-toggle.dark i::before, .fh5co-nav-toggle.dark i::after {
  background: #c39231; /* DORADO */
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.fh5co-nav-toggle i::before {
  top: -7px;
}

.fh5co-nav-toggle i::after {
  bottom: -7px;
}

.fh5co-nav-toggle:hover i::before {
  top: -10px;
}

.fh5co-nav-toggle:hover i::after {
  bottom: -10px;
}

.fh5co-nav-toggle.active i {
  background: transparent;
}

.fh5co-nav-toggle.active i::before {
  top: 0;
  -webkit-transform: rotateZ(45deg);
  -moz-transform: rotateZ(45deg);
  -ms-transform: rotateZ(45deg);
  -o-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

.fh5co-nav-toggle.active i::after {
  bottom: 0;
  -webkit-transform: rotateZ(-45deg);
  -moz-transform: rotateZ(-45deg);
  -ms-transform: rotateZ(-45deg);
  -o-transform: rotateZ(-45deg);
  transform: rotateZ(-45deg);
}

.fh5co-nav-toggle {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 9999;
  display: block;
  margin: 0 auto;
  display: none;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .fh5co-nav-toggle {
    display: block;
    top: 0px;
  }
}

@media screen and (max-width: 480px) {
  .col-xxs-12 {
    float: none;
    width: 100%;
  }
}

.row-bottom-padded-lg {
  padding-bottom: 7em;
}
@media screen and (max-width: 768px) {
  .row-bottom-padded-lg {
    padding-bottom: 2em;
  }
}

.row-top-padded-lg {
  padding-top: 7em;
}
@media screen and (max-width: 768px) {
  .row-top-padded-lg {
    padding-top: 2em;
  }
}

.row-bottom-padded-md {
  padding-bottom: 4em;
}
@media screen and (max-width: 768px) {
  .row-bottom-padded-md {
    padding-bottom: 2em;
  }
}

.row-top-padded-md {
  padding-top: 4em;
}
@media screen and (max-width: 768px) {
  .row-top-padded-md {
    padding-top: 2em;
  }
}

.row-bottom-padded-sm {
  padding-bottom: 2em;
}
@media screen and (max-width: 768px) {
  .row-bottom-padded-sm {
    padding-bottom: 2em;
  }
}

.row-top-padded-sm {
  padding-top: 2em;
}
@media screen and (max-width: 768px) {
  .row-top-padded-sm {
    padding-top: 2em;
  }
}

.border-bottom {
  border-bottom: 1px solid rgba(195, 146, 49, 0.2); /* DORADO CON TRANSPARENCIA */
}

.lead {
  line-height: 1.8;
  color: #c39231; /* DORADO */
}

.no-js #loader {
  display: none;
}

.js #loader {
  display: block;
  position: absolute;
  left: 100px;
  top: 0;
}

.fh5co-loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url(../images/hourglass.svg) center no-repeat #000000; /* NEGRO */
}

/* Estilo para la imagen del logo */
#fh5co-logo .logo-image {
  height: 1em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  margin-top: -3px;
  filter: brightness(0) saturate(100%) invert(73%) sepia(40%) saturate(601%) hue-rotate(358deg) brightness(89%) contrast(87%); /* DORADO */
}

/* Estilos para el botón de WhatsApp */
.whatsapp-button-container {
  padding: 20px 0;
}

.whatsapp-button {
  display: inline-block;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
}

.whatsapp-button:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.whatsapp-img {
  max-width: 200px;
  margin: 0 auto;
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 8px rgba(195, 146, 49, 0.3);
  box-shadow: 0 4px 8px rgba(195, 146, 49, 0.3);
}

.whatsapp-text {
  color: #c39231; /* DORADO */
  font-size: 14px;
  line-height: 1.4;
}

/* Estilo para enlaces de dirección */
.contact-info a[href*="google.com/maps"] {
  color: #c39231; /* DORADO */
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.contact-info a[href*="google.com/maps"]:hover {
  color: #e6b450; /* DORADO MÁS CLARO */
  text-decoration: underline;
}

/* ============================================
   ESTILOS PARA EL HERO CON LOGO
   ============================================ */

.logo-hero-container {
  text-align: center;
  padding: 20px 0;
}

/* Logo para desktop/tablet */
.logo-hero {
  max-width: 70%;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
}

.logo-hero:hover {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}

/* Logo para móvil */
.logo-hero-mobile {
  max-width: 85%;
  height: auto;
  margin: 0 auto 15px;
  display: block;
}

/* Texto descriptivo */
.hero-tagline {
  margin-top: 20px;
  color: #c39231; /* Dorado */
  text-align: center;
}

.hero-tagline h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #c39231; /* Dorado */
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-tagline .lead {
  font-size: 18px;
  color: rgba(195, 146, 49, 0.9); /* Dorado con transparencia */
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .hero-tagline h2 {
    font-size: 22px;
    letter-spacing: 1px;
  }
  
  .hero-tagline .lead {
    font-size: 16px;
  }
  
  .logo-hero {
    max-width: 85%;
  }
}

@media screen and (max-width: 480px) {
  .hero-tagline h2 {
    font-size: 18px;
  }
  
  .hero-tagline .lead {
    font-size: 14px;
  }
  
  .logo-hero, .logo-hero-mobile {
    max-width: 90%;
  }
}

/* Clases de visibilidad responsiva */
.hidden-xs { display: block !important; }
.hidden-sm { display: block !important; }
.hidden-md { display: none !important; }
.hidden-lg { display: none !important; }

@media (max-width: 768px) {
  .hidden-xs, .hidden-sm { display: none !important; }
  .hidden-md, .hidden-lg { display: block !important; }
}

/* ============================================
   ESTILOS PARA ICONOS FONTAWESOME
   ============================================ */

/* Iconos FontAwesome en dorado */
.fas, .fab {
  color: #c39231 !important;
  margin-right: 10px;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

/* Iconos de contacto específicos */
.fas.fa-map-marker-alt,
.fas.fa-phone-alt,
.fas.fa-envelope,
.fas.fa-globe {
  font-size: 20px;
  width: 25px;
  display: inline-block;
  text-align: center;
}

/* Iconos de redes sociales */
.fab.fa-twitter,
.fab.fa-facebook-f,
.fab.fa-instagram,
.fab.fa-dribbble,
.fab.fa-youtube,
.fab.fa-heart {
  font-size: 24px;
  margin: 0 10px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.fab:hover {
  color: #e6b450 !important;
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

/* Icono de corazón en rojo para el copyright */
.fa-heart {
  color: #ff6b6b !important;
}

/* Asegurar que los iconos no tengan códigos visibles */
[class^="icon-"]:before,
[class*=" icon-"]:before {
  display: none; /* Ocultar iconos de icomoon si no funcionan */
}

/* ============================================
   FIXES ESPECÍFICOS PARA SAFARI
   ============================================ */

/* Reset de estilos Safari */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  /* Safari 10+ */
  _::-webkit-full-page-media, _:future, :root #fh5co-header-section {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }
  
  /* Fix para min-height */
  #fh5co-hero, .fh5co-cover, .fh5co-hero {
    min-height: -webkit-min-content;
  }
  
  /* Mejor renderizado de fuentes */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
}

/* Fix para Safari iOS */
@supports (-webkit-touch-callout: none) {
  /* iOS Safari */
  #fh5co-header-section {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }
  
  #fh5co-page {
    padding-top: 0;
  }
  
  #fh5co-hero {
    min-height: 50vh;
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    height: 100vh;
    height: -webkit-fill-available;
    min-height: -webkit-fill-available;
  }
  
  /* Prevent zoom on input focus iOS */
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Fix para versiones antiguas de Safari */
_::-webkit-full-page-media, _:future, :root .logo-hero-container {
  display: block !important;
}

/* Fix para imágenes responsivas en Safari */
img.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
}

/* Mejor compatibilidad de Grid/Flex */
.row {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
  float: none;
  display: block;
}

/* Fix para transiciones */
a, .btn, .logo-hero, .fab, .fas {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* Asegurar que el fondo negro se vea bien */
html, body {
  background-color: #000000 !important;
}

/* Fix para z-index en Safari */
#fh5co-header-section {
  z-index: 9999;
  -webkit-transform: translate3d(0,0,9999px);
}

/* Media queries específicas para Safari */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio:0) {
  #fh5co-header-section {
    padding: 1em 0;
  }
  
  #fh5co-page {
    padding-top: 80px;
  }
  
  .logo-hero, .logo-hero-mobile {
    max-width: 95%;
  }
  
  .hero-tagline h2 {
    font-size: 20px;
  }
}

/* Asegurar que los colores sean consistentes en Safari */
@media screen and (max-color-index:0) and (-webkit-min-device-pixel-ratio:0) { 
  #fh5co-logo a,
  .sf-menu a,
  .hero-tagline h2,
  #footer .section-title {
    color: #c39231 !important;
  }
  
  body, #fh5co-header-section, #fh5co-hero, #footer {
    background-color: #000000 !important;
  }
}

/* Asegurar que todos los contenedores tengan fondo negro */
.container, .row, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, 
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
  background: transparent !important;
}

/* Asegurar que las imágenes no tengan fondos blancos */
img {
  background-color: transparent !important;
}

/* Ajustar los enlaces del footer */
#footer a {
  color: #c39231 !important; /* DORADO */
}

#footer a:hover {
  color: #e6b450 !important; /* DORADO MÁS CLARO */
}

/* Asegurar que el contenido no quede detrás del header fijo */
#fh5co-work-section, 
#fh5co-services-section,
#fh5co-team-section, 
#fh5co-contact-section,
#footer {
  position: relative;
  z-index: 1;
}
/* ============================================
   ESTILOS PARA AJUSTAR EL HERO - AGREGAR AL FINAL
   ============================================ */

/* Ajustes para la sección Hero - Texto visible completo */
.js-fullheight {
    height: auto !important;
    min-height: auto !important;
    padding: 80px 0 !important;
}

/* Contenedor del logo hero */
.logo-hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
}

/* Logo para desktop/tablet - más pequeño para dejar espacio al texto */
.logo-hero {
    max-width: 500px !important;
    width: 80% !important;
    height: auto;
    margin: 0 auto 40px !important;
}

/* Logo para móvil */
.logo-hero-mobile {
    max-width: 300px !important;
    width: 85% !important;
    height: auto;
    margin: 0 auto 30px !important;
}

/* Texto descriptivo - Asegurar que sea visible */
.hero-tagline {
    margin-top: 0 !important;
    padding: 20px 0 !important;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline h2 {
    font-size: 32px !important;
    margin-bottom: 30px !important;
    color: #c39231 !important;
    line-height: 1.3 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-tagline .lead {
    font-size: 18px !important;
    color: rgba(195, 146, 49, 0.95) !important;
    line-height: 1.8 !important;
    margin: 0 auto !important;
    text-align: justify;
    max-width: 800px;
    padding: 0 15px;
}

/* Asegurar que todo el texto sea visible */
.hero-tagline p {
    margin-bottom: 20px !important;
    display: block !important;
    overflow: visible !important;
    white-space: normal !important;
}

.hero-tagline p:last-child {
    margin-bottom: 0 !important;
}

/* ============================================
   RESPONSIVE DESIGN PARA HERO
   ============================================ */

/* Tablet */
@media screen and (max-width: 992px) {
    .js-fullheight {
        padding: 60px 0 !important;
    }
    
    .logo-hero {
        max-width: 400px !important;
        width: 70% !important;
        margin-bottom: 30px !important;
    }
    
    .hero-tagline h2 {
        font-size: 28px !important;
        margin-bottom: 25px !important;
    }
    
    .hero-tagline .lead {
        font-size: 17px !important;
        line-height: 1.7 !important;
    }
}

/* Móvil horizontal */
@media screen and (max-width: 768px) {
    .js-fullheight {
        padding: 50px 0 !important;
        min-height: auto !important;
    }
    
    .logo-hero {
        max-width: 350px !important;
        width: 85% !important;
        margin-bottom: 25px !important;
    }
    
    .logo-hero-mobile {
        max-width: 250px !important;
        width: 90% !important;
        margin-bottom: 20px !important;
    }
    
    .hero-tagline h2 {
        font-size: 24px !important;
        margin-bottom: 20px !important;
        letter-spacing: 0.5px;
    }
    
    .hero-tagline .lead {
        font-size: 16px !important;
        line-height: 1.6 !important;
        text-align: left !important;
        padding: 0 10px;
    }
    
    .hero-tagline {
        padding: 15px 0 !important;
    }
}

/* Móvil vertical */
@media screen and (max-width: 480px) {
    .js-fullheight {
        padding: 40px 15px !important;
    }
    
    .logo-hero {
        max-width: 280px !important;
        width: 90% !important;
        margin-bottom: 20px !important;
    }
    
    .logo-hero-mobile {
        max-width: 200px !important;
        width: 95% !important;
        margin-bottom: 15px !important;
    }
    
    .hero-tagline h2 {
        font-size: 20px !important;
        margin-bottom: 20px !important;
        line-height: 1.2 !important;
    }
    
    .hero-tagline .lead {
        font-size: 15px !important;
        line-height: 1.5 !important;
        padding: 0 5px;
    }
}

/* Pantallas muy pequeñas */
@media screen and (max-width: 360px) {
    .hero-tagline h2 {
        font-size: 18px !important;
    }
    
    .hero-tagline .lead {
        font-size: 14px !important;
    }
    
    .logo-hero {
        max-width: 240px !important;
    }
    
    .logo-hero-mobile {
        max-width: 180px !important;
    }
}

/* Pantallas grandes */
@media screen and (min-width: 1200px) {
    .js-fullheight {
        padding: 100px 0 !important;
    }
    
    .logo-hero {
        max-width: 600px !important;
        margin-bottom: 50px !important;
    }
    
    .hero-tagline h2 {
        font-size: 36px !important;
        margin-bottom: 35px !important;
    }
    
    .hero-tagline .lead {
        font-size: 20px !important;
        line-height: 1.9 !important;
        max-width: 900px;
    }
}

/* Pantallas extra grandes */
@media screen and (min-width: 1400px) {
    .logo-hero {
        max-width: 700px !important;
    }
    
    .hero-tagline h2 {
        font-size: 38px !important;
    }
    
    .hero-tagline .lead {
        font-size: 21px !important;
    }
}

/* ============================================
   CLASES DE VISIBILIDAD
   ============================================ */

/* Mostrar logo desktop por defecto */
.logo-hero {
    display: block !important;
}

.logo-hero-mobile {
    display: none !important;
}

/* En móviles, mostrar logo mobile y ocultar desktop */
@media screen and (max-width: 768px) {
    .logo-hero {
        display: none !important;
    }
    
    .logo-hero-mobile {
        display: block !important;
    }
}

/* ============================================
   FIXES ESPECÍFICOS PARA SAFARI Y CHROME
   ============================================ */

/* Fix para Safari iOS */
@supports (-webkit-touch-callout: none) {
    #fh5co-hero {
        height: auto !important;
        min-height: -webkit-fill-available !important;
    }
}

/* Fix para evitar que el texto se corte */
.hero-tagline * {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}

/* Asegurar que el contenido se expanda según el texto */
#fh5co-hero .container .row > div {
    display: block !important;
    height: auto !important;
}

/* Fix para flexbox en Safari */
#fh5co-hero .row {
    display: block !important;
}

#fh5co-hero .row .col-md-8 {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Override para column offset en hero */
.col-md-offset-2 {
    margin-left: 0 !important;
}

/* Asegurar que el texto no tenga altura fija */
#fh5co-hero aside,
#fh5co-hero .container,
#fh5co-hero .row,
#fh5co-hero .col-md-8 {
    height: auto !important;
    min-height: auto !important;
}

/* ESTILOS PARA GALERÍA FLEXIBLE */
.project-category {
    margin-bottom: 30px;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.project-header {
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.project-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}

.project-gallery {
    position: relative;
    overflow: hidden;
    height: 250px;
}

/* Estilos para foto única */
.single-photo {
    height: 100%;
}

.single-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single-photo:hover img {
    transform: scale(1.05);
}

/* Estilos para carrusel */
.gallery-carousel {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Flechas del carrusel */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.gallery-carousel:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.indicator.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Descripción del proyecto */
.project-description {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-description p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.photo-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #888;
    font-size: 13px;
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 20px;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 991px) {
    .project-gallery {
        height: 220px;
    }
    
    .project-header h3 {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .project-category {
        margin-bottom: 20px;
    }
    
    .project-gallery {
        height: 200px;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .project-description p {
        font-size: 13px;
    }
}

/* Ocultar elementos de carrusel cuando solo hay 1 foto */
.project-gallery[data-count="1"] .gallery-carousel,
.project-gallery[data-count="1"] .carousel-arrow,
.project-gallery[data-count="1"] .carousel-indicators {
    display: none !important;
}

.project-gallery[data-count="1"] .single-photo {
    display: block !important;
}
/* ============================================
   ESTILOS PARA SECCIÓN "NUESTROS TRABAJOS"
   ============================================ */

#fh5co-work-section {
    background: #000000;
    padding: 7em 0;
    position: relative;
    z-index: 1;
}

/* Título de la sección */
#fh5co-work-section .section-title {
    color: #c39231;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

#fh5co-work-section .section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #c39231;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Tarjetas de proyectos - Estilo dorado/negro */
.project-category {
    margin-bottom: 30px;
}

.project-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(195, 146, 49, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
    border: 1px solid rgba(195, 146, 49, 0.2);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(195, 146, 49, 0.2);
    border-color: #c39231;
}

/* Cabecera de la tarjeta */
.project-header {
    background: linear-gradient(135deg, rgba(195, 146, 49, 0.9), rgba(230, 180, 80, 0.8));
    color: #000000;
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(195, 146, 49, 0.3);
}

.project-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Galería de imágenes */
.project-gallery {
    position: relative;
    overflow: hidden;
    background: #000000;
    min-height: 250px;
    flex-shrink: 0;
}

.gallery-carousel {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    display: block;
}

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

.project-card:hover .gallery-carousel img {
    transform: scale(1.05);
}

/* Flechas del carrusel - Estilo dorado */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(195, 146, 49, 0.8);
    color: #000000;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.gallery-carousel:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background: #c39231;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(195, 146, 49, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator.active {
    background-color: #c39231;
    transform: scale(1.2);
}

.carousel-indicators .indicator:hover {
    background-color: rgba(195, 146, 49, 0.8);
}

/* Descripción del proyecto */
.project-description {
    padding: 20px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-description p {
    color: rgba(195, 146, 49, 0.9);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 15px;
    flex-grow: 1;
}

.photo-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(195, 146, 49, 0.7);
    font-size: 0.9rem;
    padding: 8px 15px;
    background-color: rgba(195, 146, 49, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(195, 146, 49, 0.2);
    margin-top: auto;
}

.photo-count i {
    color: #c39231;
}

/* Responsive Design */
@media (max-width: 768px) {
    #fh5co-work-section .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .project-header h3 {
        font-size: 1.2rem;
        padding: 15px 10px;
    }
    
    .project-gallery {
        min-height: 220px;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        opacity: 0.7;
    }
    
    .project-description {
        padding: 15px 10px;
    }
    
    .project-description p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #fh5co-work-section {
        padding: 5em 0;
    }
    
    #fh5co-work-section .section-title {
        font-size: 1.8rem;
    }
    
    .project-gallery {
        min-height: 200px;
    }
    
    .project-header h3 {
        font-size: 1.1rem;
    }
}

/* Animaciones para las tarjetas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-category {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Retrasos para la animación en cascada */
.project-category:nth-child(1) { animation-delay: 0.1s; }
.project-category:nth-child(2) { animation-delay: 0.2s; }
.project-category:nth-child(3) { animation-delay: 0.3s; }
.project-category:nth-child(4) { animation-delay: 0.4s; }
.project-category:nth-child(5) { animation-delay: 0.5s; }
.project-category:nth-child(6) { animation-delay: 0.6s; }
.project-category:nth-child(7) { animation-delay: 0.7s; }
.project-category:nth-child(8) { animation-delay: 0.8s; }

/* Fix para Safari */
@supports (-webkit-touch-callout: none) {
    .project-card {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .gallery-carousel img {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
/* Estilos para el modal de imágenes - FIXED VERSION */
.image-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal-backdrop.show {
    display: flex !important;
    opacity: 1;
}

.image-modal-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: #000000;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #c39231;
    box-shadow: 0 10px 50px rgba(195, 146, 49, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.image-modal-backdrop.show .image-modal-container {
    transform: scale(1);
}

.image-modal-img {
    max-width: 100%;
    max-height: calc(90vh - 100px);
    display: block;
    margin: 50px auto 80px;
    padding: 0 20px;
}

.image-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(195, 146, 49, 0.9);
    border: none;
    color: #000000;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.image-modal-close:hover {
    background: #c39231;
    transform: scale(1.1);
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(195, 146, 49, 0.8);
    border: none;
    color: #000000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10001;
    opacity: 0.8;
}

.image-modal-nav:hover {
    background: #c39231;
    opacity: 1;
}

.image-modal-prev {
    left: 20px;
}

.image-modal-next {
    right: 20px;
}

.image-modal-counter {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #c39231;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    margin: 0 auto;
    width: fit-content;
    border-radius: 20px;
    z-index: 10001;
}

.image-modal-indicators {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    z-index: 10001;
}

.image-modal-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(195, 146, 49, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.image-modal-indicator.active {
    background: #c39231;
}

.image-modal-indicator:hover {
    background: rgba(195, 146, 49, 0.6);
}

/* Media queries para móviles */
@media (max-width: 768px) {
    .image-modal-container {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .image-modal-img {
        max-height: calc(85vh - 80px);
        margin: 40px auto 60px;
    }
    
    .image-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .image-modal-prev {
        left: 10px;
    }
    
    .image-modal-next {
        right: 10px;
    }
    
    .image-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .image-modal-counter {
        bottom: 15px;
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .image-modal-indicators {
        bottom: 50px;
    }
}
/* ============================================
   FIX PARA MODAL BLOQUEANTE
   ============================================ */

/* Cuando el modal está abierto, bloquear scroll del body */
body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Asegurar que el modal esté por encima de todo */
.image-modal-backdrop {
    z-index: 99999 !important;
}

.image-modal-container {
    z-index: 100000 !important;
}

/* Mejorar la experiencia táctil en móviles */
.image-modal-backdrop {
    touch-action: none; /* Previene gestos de zoom/scroll en el fondo */
}

.image-modal-container {
    touch-action: pan-y; /* Permite solo scroll vertical dentro del modal si es necesario */
}

/* Asegurar que las imágenes dentro del modal no sean arrastrables accidentalmente */
.image-modal-img {
    pointer-events: auto;
    -webkit-user-drag: none;
    user-select: none;
}

/* Botón de cerrar más accesible */
.image-modal-close:focus {
    outline: 2px solid #c39231;
    outline-offset: 2px;
}

/* Navegación del modal más accesible */
.image-modal-nav:focus {
    outline: 2px solid #c39231;
    outline-offset: 2px;
}

/* Prevenir que los clics en el backdrop cierren el modal si está vacío */
.image-modal-backdrop {
    pointer-events: auto;
}

/* Estilos específicos para evitar que el modal bloquee la interacción */
@media (max-width: 768px) {
    .image-modal-backdrop {
        -webkit-overflow-scrolling: touch;
    }
    
    .image-modal-container {
        max-height: 80vh;
    }
    
    .image-modal-img {
        max-height: calc(80vh - 60px);
    }
}

/* Fix para iOS Safari */
@supports (-webkit-touch-callout: none) {
    .image-modal-backdrop {
        position: fixed;
        -webkit-overflow-scrolling: touch;
    }
    
    body.modal-open {
        position: relative;
        overflow: hidden;
        height: 100%;
    }
}
/* ============================================
   FIX PARA MODAL BLOQUEANTE - ESTO VA AL FINAL!
   ============================================ */

/* Cuando el modal está abierto, bloquear scroll del body */
body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Botón de emergencia - solo para debug */
.emergency-close {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff0000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 100001;
    font-size: 14px;
    display: none; /* Oculto por defecto */
}

/* Mostrar solo en debug */
.debug .emergency-close {
    display: block;
}

/* Asegurar que el modal esté por encima de todo */
#imageModal {
    z-index: 99999 !important;
}

.image-modal-container {
    z-index: 100000 !important;
}

/* Prevenir scroll cuando modal está abierto */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Fix para iOS Safari */
@supports (-webkit-touch-callout: none) {
    .image-modal-backdrop {
        position: fixed;
        -webkit-overflow-scrolling: touch;
    }
    
    body.modal-open {
        position: relative;
        overflow: hidden;
        height: 100%;
    }
}
/* ============================================
   FIX ULTIMATE PARA MODAL BLOQUEANTE
   ============================================ */

/* Estado cuando el modal está abierto */
body.modal-open {
    overflow: hidden !important;
    position: relative !important;
    height: 100% !important;
}

/* Modal siempre encima de todo */
#imageModal {
    z-index: 999999 !important;
    position: fixed !important;
}

/* Asegurar que se pueda cerrar */
.image-modal-close {
    z-index: 1000000 !important;
}

/* Botón de emergencia siempre visible */
.emergency-close {
    display: block !important;
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #ff0000 !important;
    color: white !important;
    border: 2px solid white !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    z-index: 1000001 !important;
    opacity: 0.8 !important;
}

.emergency-close:hover {
    opacity: 1 !important;
}


}