/* ----------------- BASE ----------------- */
body {
  font-family: 'Montserrat', sans-serif;
  color: #707070;
}

.uppercase {
  text-transform: uppercase;
}

.tracking {
  letter-spacing: 3px;
}

p {
  color: #707070;
}


/* ----------------- HEADER ----------------- */
header {
  width: 100%;
  z-index: 10;
  color: #fff;
}

header nav a {
  color: #fff;
  margin: 0 15px;
  font-size: .85rem;
}

/* ----------------- HERO ----------------- */
.hero-section{
    position:relative;
    min-height:750px;
    background:url('/images/slide-01.jpg') center/cover no-repeat;
    overflow:hidden;
}

/* Overlay azul como imagen */
.hero-section::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(6,70,110,0.30);
}

/* Menu sobre imagen */
.hero-menu{
    position:relative;
    z-index:2;
}

/* Texto */
.hero-content{
    position:relative;
    z-index:2;
    padding-top:140px;
    padding-bottom:120px;
    max-width:1200px;
}

.hero-content h1{
    font-size:56px;
    line-height:1.2;
}

.subtitle{
    color:#FF8C19;
    font-size:24px;
    margin-top:20px;
}

/* Curva inferior igual imagen */
.hero-wave{
    position:absolute;
    bottom:0px;
    width:100%;
    height:400px;
    fill:#fff; /* color fondo siguiente sección */
}

.text-primary{
  color: #125A8A !important;
}

.btn-warning{
  background-color:#FF8C19 !important;
  color: #fff !important;
}

.text-warning{
  color:#FF8C19 !important;
}

.btn-primary, .bg-primary{
  background-color: #125A8A !important;

}

a{
  color: #707070;
}


/* ----------------- FOOTER ----------------- */
.footer-custom {
  position: relative;
  background: url('/images/bg-footer.jpg') center center / cover no-repeat;
  background-color: #0b3d91; /* color fallback */
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
}

.footer-logo {
  max-width: 220px;
}

.footer-text {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.5;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-menu li {
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-menu a {
  text-decoration: none;
  color: #4f9b8a;
  transition: opacity 0.3s ease;
}

.footer-menu a:hover {
  opacity: 0.7;
}

.footer-contact {
  font-size: 15px;
  margin-bottom: 12px;
}

.footer-contact i {
  color: #4f9b8a;
}


.footer-legal {
  background-color: #4e9a87;
  /* Verde similar al diseño */
  padding: 18px 0;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

.social-icon {
  color: #ffffff;
  font-size: 1.6rem;
  margin-left: 20px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.15);
  opacity: 0.85;
}


#back_to_top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.6);
  color: #000;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

#back_to_top:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
}
