/**
* Template Name: Gp - v4.10.0
* Template URL: https://bootstrapmade.com/gp-free-multipurpose-html-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

html {
  scroll-padding-top: 7rem;
}

a {
  color: #ffc451;
  text-decoration: none;
}

a:hover {
  color: #ffd584;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #ffc451;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #312000;
  line-height: 0;
}

.back-to-top:hover {
  background: #312000;
}

.back-to-top:hover i {
  color: #ffc451;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #312000;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 0px);
  left: calc(50% - 30px);
  border: 6px solid #ffc451;
  border-top-color: #312000;
  border-bottom-color: #312000;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(0, 0, 0, 0.8);
}

#header .logo {
  font-size: 32px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo a {
  color: #fff;
}

#header .logo a span {
  color: #ffc451;
}

#header .logo img {
  max-height: 160px;
}

/*--------------------------------------------------------------
#  Get Startet Button
--------------------------------------------------------------*/
.get-started-btn {
  color: #fff;
  border-radius: 4px;
  padding: 7px 25px 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
  border: 2px solid #ffc451;
}

.get-started-btn:hover {
  background: #ffbb38;
  color: #343a40;
}

.get-started-btn-big {
  color: #fff;
  border-radius: 4px;
  padding: 7px 25px 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  display: inline-block;
  border: 2px solid #ffc451;
  background: #ffbb38;
  color: #343a40;
}

.get-started-btn-big:hover {
  background: transparent;
  color: #fff;
}

@media (max-width: 992px) {
  .get-started-btn {
    padding: 7px 20px 8px 20px;
    margin-right: 15px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #ffc451;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  color: white;
  background: #574937;
  border: 2px solid #504331;
  box-shadow: 0px 0px 30px rgba(227, 237, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  /*color: #312000;*/
  color: white;
  font-weight: 400;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  background-color: #ffc451;
  color: black;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #312000;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #312000;
  background-color: #ffc451;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
  color: #312000;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  background-color: #ffc451;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/UA/fondo.webp") top center;
  background-size: cover;
  position: relative;
}

#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .container {
  position: relative;
  padding-top: 74px;
  text-align: center;
}

#hero h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 64px;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

#hero h1 span {
  color: #ffc451;
}

#hero h2 {
  color: rgba(255, 255, 255, 0.9);
  margin: 10px 0 0 0;
  font-size: 24px;
}

#hero .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 100%;
  text-align: center;
}

#hero .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: #ffc451;
}

#hero .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
}

#hero .icon-box h3 a {
  color: #fff;
  transition: ease-in-out 0.3s;
}

#hero .icon-box h3 a:hover {
  color: #ffc451;
}

#hero .icon-box:hover {
  border-color: #ffc451;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero {
    height: auto;
  }

  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 20px;
    line-height: 24px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaaaaa;
  font-family: "Poppins", sans-serif;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #ffde9e;
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #312000;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 28px;
  font-family: "Poppins", sans-serif;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 8px 26px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: #ffc451;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  padding-top: 20px;
  padding-bottom: 10px;
}

.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-pagination {
  margin-top: 2.5em;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  background-color: #ddd;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ffc451;
}


/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/

.features {
  padding-top: 20px;
}

.features .icon-box {
  padding-left: 15px;
}

.features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.features .icon-box i {
  font-size: 48px;
  float: left;
  color: #ffc451;
}

.features .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

.features .image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  border: 1px solid #ebebeb;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #ffc451;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .icon-box .icon i {
  color: #312000;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}


.services .icon-box a {
  color: #312000;  
  transition: ease-in-out 0.3s;
}

.services .icon-box a:hover {
  color: #ffc451;    
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
  transition: ease-in-out 0.3s;
}


.services .icon-box h4 a {
  color: #312000;
  transition: ease-in-out 0.3s;
}

.services .icon-box h4 a:hover {
  color: #ffc451;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}



.services .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(2, 2, 2, 0.5), rgba(0, 0, 0, 0.5)), url("../img/tesoro_destard1.webp") fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 4px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.cta .cta-btn:hover {
  background: #ffc451;
  border-color: #ffc451;
  color: #312000;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #312000;
  background: #ffc451;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(21, 21, 21, 0.6);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(21, 21, 21, 0.6);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap img {
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-style: italic;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 5px 0 0;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #ffc451;
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.2);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #ffc451;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ffc451;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(21, 21, 21, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts .content {
  padding: 30px 0;
}

.counts .content h3 {
  font-weight: 700;
  font-size: 34px;
  color: #312000;
}

.counts .content p {
  margin-bottom: 0;
}

.counts .content .count-box {
  padding: 20px 0;
  width: 100%;
}

.counts .content .count-box i {
  display: block;
  font-size: 36px;
  color: #ffc451;
  float: left;
}

.counts .content .count-box span {
  font-size: 36px;
  line-height: 30px;
  display: block;
  font-weight: 700;
  color: #312000;
  margin-left: 50px;
}

.counts .content .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 50px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #3b3b3b;
}

.counts .content .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #3b3b3b;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.counts .content .count-box a:hover {
  color: #626262;
}

.counts .image {
  background: url("../img/plano.PNG") center center no-repeat;
  background-size: cover;
  min-height: 400px;
}

@media (max-width: 991px) {
  .counts .image {
    text-align: center;
  }

  .counts .image img {
    max-width: 80%;
  }
}

@media (max-width: 667px) {
  .counts .image img {
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  background: url("../img/egipto1.png") no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
  color: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #fff;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #ddd;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.6);
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  /*font-style: italic;*/
  margin: 0 auto 15px auto;
  color: #eee;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ffc451;
  opacity: 1;
}

@media (min-width: 1024px) {
  .testimonials {
    background-attachment: fixed;
  }
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
  background: #fff;
  padding: 60px 0;
}

.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: #312000;
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.8);
  transition: ease-in-out 0.3s;
  color: #484848;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.team .member .social a:hover {
  color: #312000;
  background: #ffc451;
}

.team .member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .member .member-info {
  padding: 25px 15px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #312000;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #aaaaaa;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}

.team .member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  background: #ffc451;
  color: #312000;
  float: left;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #312000;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #484848;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #ffc451;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: #ffc451;
  border: 0;
  padding: 10px 24px;
  color: #312000;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #ffcd6b;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/

.breadcrumbs {
  padding: 7em 0 0.5em 0;
  /*min-height: 4em;*/
  margin-top: 0px;
  position: relative;
  
  /**/
}

.breadcrumbs:before{
  opacity: 0.3;
  position: absolute;
  content: "";
  background-size: cover; /* Ajusta el tamaño según tus necesidades */
  background-position: center; /* Ajusta la posición según tus necesidades */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Coloca la pseudo-clase detrás del contenido */
  background: url("../img/UA/fondo.webp") top center;
}


.breadcrumbs h1,
.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 900;
  color: black;
  z-index: 1;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs ol a {
  color: #800000;
  font-weight: bold;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
  font-weight:bold;
  color: black;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  /*color: #2f2f2f;*/
  
  content: "/";
  font-weight: bold;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 68px;
  }

  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: black;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #312000;
  border-bottom: 1px solid #222222;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 28px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

#footer .footer-top .footer-info h3 span {
  color: #ffc451;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #292929;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #ffc451;
  color: #312000;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #ffc451;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #ffc451;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #ffc451;
  color: #312000;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #ffcd6b;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

@font-face {
	font-family: Mephisto;
	src: url("../fonts/Fiolex_Mephisto.ttf");
}

h1{
	font-family: Mephisto;
}

#hero h1{
	font-family: Mephisto;
}

#header .logo-texto{
	margin: 0.75rem;
}

header .get-started-btn{
	padding: 7px 10px 7px 10px;
	margin-left: 1em;
}

a.logo img{
	height: 4.75rem;
}

#hero a .icon-box h3{
	color: white;
}

#hero a .icon-box h3 :hover{
	color: #ffd584;
}

#juega .image {
	/*background-image: url("assets/img/UA/casa.webp"); */
	background-image: url("../img/UA/posterAGEnigro.webp"); 
	background-size: 325%;
}


#juega p a img{
	height: 3em;
}

dt, dd{
	font-size: 0.8rem;
}

.card-header{
	font-weight:bold;
}


/*--------------------------------------------------------------
# EnlcesSubpagina Section
--------------------------------------------------------------*/

section #enlaces_subpagina {
  padding: 2rem 0;
}

#enlaces_subpagina {
  width: 100%;
  /*height: 20vh;*/
  background: url("../img/UA/fondo.webp") top center;
  background-size: cover;
  position: relative;
}

#enlaces_subpagina:before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#enlaces_subpagina .container {
  position: relative;
  padding-top: 2rem;
  text-align: center;
}


#enlaces_subpagina .icon-box {
  padding: 20px 5px;
  transition: ease-in-out 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 100%;
  text-align: center;
}

#enlaces_subpagina .icon-box i {
  font-size: 24px;
  line-height: 1;
  color: #ffc451;
}

#enlaces_subpagina .icon-box h3 {
  font-weight: 600;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 18px;
  line-height: 26px;
}

#henlaces_subpaginaero .icon-box h3 a {
  color: #fff;
  transition: ease-in-out 0.3s;
}

#enlaces_subpagina .icon-box h3 a:hover {
  color: #ffc451;
}

#enlaces_subpagina .icon-box:hover {
  border-color: #ffc451;
}

@media (min-width: 1024px) {
  #enlaces_subpagina {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #enlaces_subpagina {
    height: auto;
  }

}


.titulo_background{
  width: 100%;
  background: url("../img/UA/fondo.webp") center;
  background-size: cover;
  position: relative;
  /*background: rgba(116, 10, 10, 0.356);*/
  filter:hue-rotate(10deg);
  color: black;
  font-weight: bold;
  scroll-margin-top: 4.5em;
}

section.inner-page{
  padding: 30px 0;
}

.card.border-danger{
  border-width: 3px;
}

.card-footer.border-danger{
  background-color: #f2ccc9;
  color: black !important;
  font-weight: bold;
}


#recupera_pass, #crear_cuenta{
  height: 36em;
  border-top: 2px solid #ffc451;
  border-bottom: 2px solid #ffc451;
  border-radius: 4px;
}

#recupera_pass .row{
  padding: 0;
  padding-left: 0 !important;

}

#recupera_pass img, #crear_cuenta img{
  max-height: 35.8em;
}

#recupera_pass h2{
  text-align: center;
  margin-top: 20%;
}


#recupera_pass h2+p{
  margin-top: 2em;
}

#recupera_pass form{
  margin-top: 2em;
  text-align: center;
}

#recupera_pass input{
  padding: 6px 10px;
}

#recupera_pass input[type="submit"], #crear_cuenta input[type="submit"]{
  border-radius: 4px;
  padding: 7px 20px;
  font-size: 16px;
  white-space: nowrap;
  transition: 0.3s;
  display: inline-block;
  border: 2px solid #ffc451;
  background: #ffbb38;
  color: #312000;
  font-weight: bold;
}

#crear_cuenta h3{
  text-align: center;
  margin-top: 10%;
}

#crear_cuenta label{
  width: 12em;
}

#crear_cuenta form input[type="text"]{
  width: 15rem;
}


.fechaHora{
  color: #800000;
  font-style: italic;
  font-weight: bold;
}


a.Ntooltip {
	position: relative; /* es la posición normal */
	text-decoration: none !important; /* forzar sin subrayado */
	color:#0080C0 !important; /* forzar color del texto */
	font-weight:bold !important; /* forzar negritas */
}

a.Ntooltip:hover {
	z-index:999; /* va a estar por encima de todo */
}

a.Ntooltip span {
	display: none; /* el elemento va a estar oculto */
}

a.Ntooltip:hover span {
	display: block; /* se fuerza a mostrar el bloque */
	position: absolute; /* se fuerza a que se ubique en un lugar de la pantalla */
	top:1em; right:1em; /* donde va a estar */
	width:200px; /* el ancho por defecto que va a tener */
	padding:5px; /* la separación entre el contenido y los bordes */
	background-color: #303030; /* el color de fondo por defecto */
	color: #FFFFFF; /* el color de los textos por defecto */
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	text-transform: capitalize;
	text-align: right;
	text-indent: 5px;
	vertical-align: middle;
	margin-left: 15px;
	margin-right: 15px;
}

/* ============================================================
   UA custom — paleta oficial
   Dorado #ffc451 · Ámbar #ffbb38 · Oscuro #343a40
   Sobrescribe el gris de Bootstrap/DataTables. Cargar DESPUÉS de datatables.min.css
   ============================================================ */

/* ---------- Fondo sutil (imagen al 5%, gradiente blanco encima para controlar la opacidad) ---------- */
body {
  background-color: #ffffff;
  background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url("../img/IAWEB/optimizado/FONDOUA.webp");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* ---------- Horario de Torneos / Fortalezas: tarjetas destacadas ---------- */
/* Mismas reglas para .torneo-* (status-pvp.php) y .fortaleza-* (status-facciones.php) */
.torneos-row, .fortalezas-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 10px 0 30px;
}
.torneo-card, .fortaleza-card {
  flex: 1;
  min-width: 150px;
  max-width: 220px;
  background: #fff;
  border: 2px solid #ffc451;
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.torneo-card:hover, .fortaleza-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(255, 187, 56, 0.35);
}
.torneo-icon, .fortaleza-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}
.fortaleza-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffc451;
  margin-bottom: 8px;
}
.torneo-hora, .fortaleza-hora {
  font-weight: 700;
  font-size: 22px;
  color: #343a40;
}
.torneo-nombre, .fortaleza-nombre {
  font-size: 13px;
  color: #777;
  margin-top: 2px;
}
.torneo-card.next, .fortaleza-card.next {
  background: linear-gradient(135deg, #ffc451, #ffbb38);
  border-color: #ffbb38;
  box-shadow: 0 6px 24px rgba(255, 187, 56, 0.55);
  animation: torneo-pulse 2.2s ease-in-out infinite;
}
.torneo-card.next .torneo-nombre, .fortaleza-card.next .fortaleza-nombre { color: #4a3a00; }
.torneo-card.pasado, .fortaleza-card.pasado {
  opacity: 0.45;
  filter: grayscale(70%);
  border-color: #dee2e6;
  box-shadow: none;
}
.torneo-card.pasado:hover, .fortaleza-card.pasado:hover {
  transform: none;
  box-shadow: none;
}
.torneo-card.pasado .torneo-hora, .fortaleza-card.pasado .fortaleza-hora,
.torneo-card.pasado .torneo-nombre, .fortaleza-card.pasado .fortaleza-nombre { color: #adb5bd; }
.torneo-badge, .fortaleza-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #343a40;
  color: #ffc451;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.ua-cat-filtros-box {
  background: rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  padding: 16px;
}
.ua-cat-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ua-cat-chip {
  cursor: pointer;
  width: 95px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  border: 3px solid var(--cat-color, #888);
  color: #000;
  background: #fff;
  transition: all 0.15s ease;
  user-select: none;
}
.ua-cat-chip {
  opacity: 0;
  animation: ua-chip-entrada 0.9s ease both;
}
@keyframes ua-chip-entrada {
  0% { opacity: 0; transform: translateY(-12px) scale(0.7); }
  70% { opacity: 1; transform: translateY(2px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.ua-cat-chip:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.ua-cat-chip.active {
  background: var(--cat-color, #888);
  color: #000;
}

/* Paginacion de DataTables con los colores de la web, no el azul de Bootstrap.
   Esta version de DataTables usa "dt-container", no "dataTables_wrapper". */
.dt-container .pagination .page-item.active .page-link {
  background-color: #343a40;
  border-color: #343a40;
  color: #ffc451;
}
.dt-container .pagination .page-link {
  color: #343a40;
}
.dt-container .pagination .page-link:hover {
  background-color: #ffe9b0;
  color: #343a40;
}
.dt-container .dt-length select:focus,
.dt-container .dt-search input:focus {
  border-color: #ffbb38;
  box-shadow: 0 0 0 0.2rem rgba(255, 187, 56, 0.25);
}

.ua-bestiario-ficha {
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 20px;
  min-height: 200px;
}
#bestiario tbody tr { cursor: pointer; }
#bestiario tbody tr.ua-npc-seleccionado,
#bestiario tbody tr.ua-npc-seleccionado > * {
  background-color: #ffe9b0 !important;
  box-shadow: inset 3px 0 0 #ffbb38;
}
.ua-ficha-header .ua-ficha-icono {
  font-size: 42px;
  line-height: 1;
}
.ua-ficha-card { border-color: #eee; }
.ua-ficha-card .ua-ficha-grupo {
  background: #343a40;
  color: #ffc451;
  font-weight: 600;
}
.ua-stat-chip {
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 6px 12px;
  min-width: 90px;
  text-align: center;
}
.ua-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.4px;
}
.ua-stat-valor {
  font-weight: 700;
  color: #343a40;
}
.torneo-bar, .fortaleza-bar {
  height: 4px;
  border-radius: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, rgba(52, 58, 64, 0.15) 0%, #343a40 50%, rgba(52, 58, 64, 0.15) 100%);
  background-size: 200% 100%;
  animation: torneo-bar-sweep 1.6s linear infinite;
}
@keyframes torneo-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(255, 187, 56, 0.55); }
  50% { box-shadow: 0 8px 34px rgba(255, 187, 56, 0.9); }
}
@keyframes torneo-bar-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- CTA "Crea tu cuenta" del pie de pagina ---------- */
.cta-crear-cuenta-label {
  display: block;
  color: #ffc451;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  margin-bottom: 10px;
}
.cta-crear-cuenta {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 20px 56px;
  font-size: 24px;
  font-weight: 700;
  border-radius: 36px;
  background: linear-gradient(135deg, #ffc451, #ffbb38);
  color: #343a40 !important;
  border: 2px solid #ffc451;
  box-shadow: 0 6px 24px rgba(255, 187, 56, 0.55);
  animation: torneo-pulse 2.2s ease-in-out infinite;
  transition: transform 0.2s ease;
}
.cta-crear-cuenta:hover {
  transform: translateY(-3px) scale(1.04);
  color: #343a40 !important;
}
.cta-crear-cuenta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  animation: cta-shine 3.5s ease-in-out infinite;
}
@keyframes cta-shine {
  0% { left: -75%; }
  35% { left: 125%; }
  100% { left: 125%; }
}
@media (max-width: 992px) {
  .cta-crear-cuenta {
    padding: 16px 38px;
    font-size: 19px;
  }
}

/* ---------- Navegación rápida entre páginas de Estado ---------- */
.ua-status-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ua-status-nav .ua-status-btn {
  padding: 9px 18px;
  border-radius: 6px;
  border: 2px solid #ffc451;
  color: #343a40;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.ua-status-nav .ua-status-btn:hover {
  background: rgba(255, 196, 81, 0.15);
  text-decoration: none;
  color: #343a40;
}
.ua-status-nav .ua-status-btn.active {
  background: linear-gradient(135deg, #ffc451, #ffbb38);
  border-color: #ffbb38;
  box-shadow: 0 3px 10px rgba(255, 187, 56, 0.35);
}

/* ---------- Tablas: cabecera dorada ---------- */
.table thead th,
table.dataTable thead th,
table.dataTable thead td {
  background-color: #ffc451 !important;
  color: #343a40 !important;
  border-color: #ffbb38 !important;
  font-weight: 700;
  vertical-align: middle !important;
}

/* Filas: cebra en tono dorado suave (en vez de gris) */
.table.table-striped tbody tr:nth-of-type(odd) > *,
table.dataTable tbody tr:nth-of-type(odd) > * {
  background-color: rgba(255, 196, 81, 0.12) !important;
}
.table.table-striped tbody tr:nth-of-type(even) > *,
table.dataTable tbody tr:nth-of-type(even) > * {
  background-color: #ffffff !important;
}
.table tbody tr:hover > *,
table.dataTable tbody tr:hover > * {
  background-color: rgba(255, 187, 56, 0.28) !important;
}

/* Bordes ámbar suaves */
.table-bordered,
.table-bordered td,
.table-bordered th {
  border-color: rgba(255, 187, 56, 0.40) !important;
}

/* ---------- DataTables: controles con la paleta ---------- */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: #ffc451 !important;
  color: #343a40 !important;
  border-color: #ffbb38 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #ffbb38 !important;
  color: #343a40 !important;
  border-color: #ffbb38 !important;
}
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  border: 1px solid rgba(255, 187, 56, 0.5);
  border-radius: 4px;
  padding: 3px 6px;
}
.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
  border-color: #ffbb38;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 196, 81, 0.35);
}

/* ---------- servidor.html: hero + acordeón ---------- */
.servidor-hero {
  background: linear-gradient(135deg, #ffc451, #ffbb38);
  border-radius: 12px;
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(255, 187, 56, 0.35);
}
.servidor-hero h2 {
  color: #343a40;
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 10px;
}
.servidor-hero p {
  color: #4a3a00;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

.accordion-button {
  font-weight: 700;
  color: #343a40;
}
.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #ffc451, #ffbb38);
  color: #343a40;
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: 0 0 0 2px rgba(255, 196, 81, 0.45);
  border-color: #ffbb38;
}
.accordion-item {
  border-color: rgba(255, 187, 56, 0.4);
}

/* ---------- Títulos de sección con punch ---------- */
.ua-section-title {
  font-weight: 700;
  color: #343a40;
  border-left: 5px solid #ffc451;
  padding: 8px 0 8px 14px;
  margin: 34px 0 16px;
  background: linear-gradient(90deg, rgba(255, 196, 81, 0.20), rgba(255, 196, 81, 0));
  border-radius: 0 6px 6px 0;
}

/* ---------- Leaderboards (cards con vida) ---------- */
.lb-card-ua {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  height: 100%;
  background: #fff;
}
.lb-card-ua:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(255, 187, 56, 0.40);
}
.lb-card-ua .lb-head {
  background: linear-gradient(135deg, #ffc451, #ffbb38);
  color: #343a40;
  text-align: center;
  padding: 10px 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}
.lb-card-ua .lb-head .lb-icon {
  font-size: 22px;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.lb-card-ua .lb-body { padding: 6px 6px 8px; }
.lb-card-ua ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: lb;
}
.lb-card-ua ol li {
  counter-increment: lb;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 13px;
  opacity: 0;
  animation: lb-reveal 1.2s ease forwards;
}
.lb-card-ua ol li:last-child { border-bottom: none; }
.lb-card-ua ol li:nth-child(5) { animation-delay: 0s; }
.lb-card-ua ol li:nth-child(4) { animation-delay: 0.45s; }
.lb-card-ua ol li:nth-child(3) { animation-delay: 0.9s; }
.lb-card-ua ol li:nth-child(2) { animation-delay: 1.35s; }
.lb-card-ua ol li:nth-child(1) { animation-delay: 1.8s; }
@keyframes lb-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.lb-card-ua ol li::before {
  content: counter(lb);
  font-weight: 700;
  color: #fff;
  background: #c9a227;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.lb-card-ua ol li:nth-child(1)::before { background: #FFD700; color: #5a4a00; }
.lb-card-ua ol li:nth-child(2)::before { background: #C0C0C0; color: #444; }
.lb-card-ua ol li:nth-child(3)::before { background: #CD7F32; color: #fff; }
.lb-card-ua .lb-name {
  flex: 1;
  text-transform: capitalize;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lb-card-ua .lb-val {
  font-weight: 700;
  color: #c9820a;
  white-space: nowrap;
}
.lb-card-ua .lb-empty {
  text-align: center;
  color: #b0b0b0;
  font-style: italic;
  padding: 14px 0;
  font-size: 13px;
}

/* ---------- Imagen enmarcada (fondo blanco original a modo de "foto") ---------- */
.ua-imagen-enmarcada {
  display: inline-block;
  padding: 10px;
  background: linear-gradient(135deg, #ffc451, #ffbb38);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.ua-imagen-enmarcada img {
  display: block;
  width: 260px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}
.ua-imagen-enmarcada.ua-imagen-circular,
.ua-imagen-enmarcada.ua-imagen-circular img {
  border-radius: 50%;
}

/* ---------- Barra flotante de indice + expandir/contraer (normas.html) ---------- */
.ua-normas-toolbar {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #fffdf7;
  border: 1px solid #e6d3a3;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
#normas-indice {
  flex: 1 1 auto;
  line-height: 2;
}
#normas-indice .idx-titulo {
  color: #3a2f22;
  font-weight: 700;
  margin-right: 6px;
}
#normas-indice .indice-link {
  color: #8a6d1f;
  font-weight: 600;
  text-decoration: none;
}
#normas-indice .indice-link:hover {
  color: #b8860b;
  text-decoration: underline;
}
.ua-normas-toolbar #toggle-todo {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #ffc451, #ffbb38);
  color: #343a40;
  border: none;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ua-normas-toolbar #toggle-todo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 187, 56, 0.5);
  color: #343a40;
}

/* ---------- Ofertas en donacion.html (documentado para el futuro) ----------
   Tarjeta en OFERTA (ej. "OFERTA 2x1: 5 €"): añadir .ua-card-oferta al <div class="card">
   (el texto de la oferta va normal en el card-footer, no hace falta clase ahi tambien).
   Objeto "Combinable 2x1": añadir .ua-combinable a un <p> dentro del card-body con el texto.
   Antes esto se hacia a mano con border-danger + text-danger font-weight-bold sueltos
   por cada tarjeta; ahora es una clase con nombre que dice lo que hace. */
.ua-card-oferta {
  border-color: #dc3545 !important;
}
.ua-card-oferta .card-footer {
  border-color: #dc3545 !important;
}
.ua-combinable {
  color: #dc3545;
  font-weight: 700;
}

/* ---------- Nota destacada (fondo oscuro + texto dorado, para avisos tipo "extra") ---------- */
.ua-nota-destacada {
  background: #343a40;
  color: #ffc451;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-block;
}

/* ---------- Nombres de colaboradores destacados en dorado (créditos del footer) ---------- */
.ua-credito-nombre {
  color: #ffc451;
  font-weight: 600;
}

/* ---------- Texto de estado del servidor (junto al icono online/offline) ---------- */
.ua-estado-texto {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}

/* FAQ (SEO/GEO) */
.faq .accordion-item { background: #fff; border: 1px solid #eee; margin-bottom: 12px; border-radius: 6px; overflow: hidden; }
.faq .accordion-button { font-family: "Raleway", sans-serif; font-weight: 700; color: #312000; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: #fff8e6; color: #312000; border-left: 4px solid #ffc451; }
.faq .accordion-button:focus { box-shadow: 0 0 0 0.15rem rgba(255, 196, 81, 0.45); }
.faq .accordion-body { color: #444; line-height: 1.6; }
.faq .accordion-body a { color: #8a6d1f; font-weight: 600; }

/* OPTIMIZACION: cabecera */
/* Logo en texto de la cabecera: antes era un <h1> (tomaba la tipografia Mephisto de la regla h1); ahora es un <div>
   para que cada pagina tenga un unico h1 propio. */
#header .logo-texto {
  font-family: Mephisto;
}
/* Cabecera oscura en paginas interiores (antes: atributo inner="true" del componente JS) */
body.ua-inner #header {
  background: rgba(0, 0, 0, 0.8);
}
/* Titulo de seccion: ahora es <h1> (SEO), conserva la tipografia que tenia como <h2> */
.breadcrumbs h1 {
  font-family: "Raleway", sans-serif;
}
/* Cabecera en movil: logo, estado y boton de menu tienen que caber (antes el menu quedaba fuera de la pantalla) */
@media (max-width: 991px) {
  #header .container {
    flex-wrap: nowrap;
  }
  #header .ua-estado-header {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
  }
}
@media (max-width: 575px) {
  a.logo img {
    height: 3rem;
  }
  #header .logo-texto {
    font-size: 20px;
    letter-spacing: 1px;
    margin: 0.5rem;
  }
  #header .get-started-btn {
    display: none;
  }
}
@media (max-width: 359px) {
  #header .logo-texto {
    display: none;
  }
}

/* OPTIMIZACION: tarjetas de Ecosistema/Enlaces a todo el ancho de su columna
   (en movil, las de texto corto -Bestiario, Changelog...- quedaban mas estrechas que las demas) */
.services .icon-box {
  width: 100%;
}
