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

a {
  color: #18d26e;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #18d36e;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

.back-to-top {
  position: fixed;
  display: none;
  background: #18d26e;
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 18px;
  bottom: 22px;
  z-index: 11;
}

.back-to-top i {
  padding-top: 12px;
  color: #fff;
}

@media (min-width: 768px) {
  .back-to-top {
    width: 55px;
    height: 55px;
    font-size: 25px;
    right: 95px;
    bottom: 70px;
  }
}

.letterBlue {
  color: #084B8A;
}

.letterRed {
  color: #8B0000;
}

.officialLetterBig {
  line-height: 110%;
  font-size: 18px;
}

.centerDiv {
  text-align: center;
}

.padBott30 {
  padding-bottom: 30px;
}

.buttonSolidBlue {
  text-decoration: none;
  background-color: #0B5C92;
  color: white;
  border: 2px solid #0B5C92;
  font-size: 125%;
  padding: 15px;
}

.buttonSolidBlue:hover {
  background-color: white;
  color: black;
  border: 2px solid #05488B;
}

/* Header */
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 26px 0;
  background: rgba(0, 0, 0, 0.9);
}

#header.header-transparent {
  background: transparent;
  padding: 4px 0;
}

#header.header-scrolled {
  background: #084B8A;
  padding: 4px 0;
}

@media (min-width: 576px) and (max-width: 767px) {
  #header.header-transparent,
  #header.header-scrolled {
    padding: 9px 0;
  }
}

@media (min-width: 768px) {
  #header.header-transparent,
  #header.header-scrolled {
    padding: 18px 0;
  }
}

#header .logo {
  font-size: 20px !important;
  color: #F2F2F2 !important;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-family: Roboto;
  border-left: 4px solid #084B8A;
  padding-left: 10px;
}

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

@media (max-width: 991px) {
  #header.header-transparent {
    opacity: 0;
    background: rgba(4, 14, 26, 0);
  }
  #header.header-transparent.header-peek {
    opacity: 1;
    background: rgba(4, 14, 26, 0.68);
  }
  #header.header-transparent:hover,
  #header.header-transparent.header-peek:hover {
    opacity: 1;
    background: rgba(4, 14, 26, 0.68);
  }
  #header.header-scrolled {
    opacity: 1;
    background: #084B8A;
  }
}

.navbar-dark a {
  color: #F2F2F2;
  font-size: 15px;
  text-transform: uppercase;
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: 10px;
  transition: color 0.2s ease, border-bottom 0.2s ease, border-left 0.2s ease;
}

/* Desktop: border-bottom on hover/active */
@media (min-width: 992px) {
  .navbar-dark a:hover,
  .navbar-dark .active > a {
    color: #CB9C01;
    border-bottom: 4px solid #CB9C01;
  }
}

/* Collapsed navbar: border-left on hover/active (no border-bottom), via pseudo-element so text stays static */
@media (max-width: 991px) {
  .navbar-collapse .navbar-nav .nav-item {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .navbar-collapse .navbar-nav a {
    position: relative;
  }
  .navbar-collapse .navbar-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #CB9C01;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .navbar-collapse .navbar-nav a:hover,
  .navbar-collapse .navbar-nav .active > a {
    color: #CB9C01;
    border-bottom: none;
  }
  .navbar-collapse .navbar-nav a:hover::before,
  .navbar-collapse .navbar-nav .active > a::before {
    opacity: 1;
    margin-left: 10px;
  }
}

/* Intro */
#intro {
  width: 100%;
  height: 100vh;
  background: #000;
  overflow: hidden;
  position: relative;
  background-image: linear-gradient(0deg, #000 0%, #242323 50%, #000 100%);
}

#intro .carousel,
#intro .carousel-inner,
#intro .carousel-item,
#intro .carousel-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#intro .carousel-item {
  background-color: #0a0a0a;
  background-size: cover;
  background-position: 50% 35%;
  background-repeat: no-repeat;
}

#intro .carousel-item::before {
  content: '';
  background-color: rgba(0, 0, 0, 0.5);
}

#intro .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 70px;
  left: 50px;
  right: 50px;
}

#intro .container {
  text-align: center;
}

#intro h2 {
  color: #e6e6e6;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
}

@media (max-width: 767px) {
  #intro h2 {
    font-size: 28px;
  }
}

#intro p {
  width: 80%;
  margin: 0 auto 30px auto;
  color: #FAFAFA;
}

#intro .btn-get-started {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 32px;
  border-radius: 25px;
  margin: 10px;
  color: #fff;
  background: #0B5C92;
}

#intro .btn-get-started:hover {
  background: #fff;
  color: #0B5C92;
}

#intro .contacttop {
  margin: 0;
  padding-top: 118px;
  text-align: center;
}

@media (min-width: 992px) {
  #intro .contacttop {
    padding-top: 168px;
  }
}

#intro .contacttop a {
  color: #e6e6e6;
  font-size: 1.25rem;
}

#intro .contacttel {
  color: #0B5C92;
  font-weight: 700;
}

/* Sections */
section {
  overflow: hidden;
}

.section-bg {
  background: #f7f7f7;
}

/* Featured Services */
#service-flow {
  background: #F6F6F6;
  padding-top: 20px;
}

#service-flow .box {
  padding: 20px;
}

#service-flow a {
  color: #343843;
}

#service-flow h4 {
  margin: 15px 0;
  font-size: 19px;
  color: #343843;
}

#service-flow p {
  font-size: 16px;
  color: #343843;
  margin-bottom: 0;
}

#service-flow .icon img {
  height: 100px;
  width: auto;
}

#service-flow .icon svg.icono {
  height: 100px;
  width: auto;
  display: block;
  color: #343843;
  transition: color 0.3s;
}

#service-flow .box:hover .icon svg.icono {
  color: #00558d;
}

#service-flow .box h4 {
  transition: color 0.3s, font-weight 0.3s;
}

#service-flow .box:hover h4 {
  color: #00558d;
  font-weight: 700;
}

#service-flow .endcomment {
  margin-top: 15px;
  margin-bottom: 35px;
  font-size: 17px;
  font-style: italic;
}

/* Tus Datos (Datos del Amparado) */
#tusDatos.bg-grey {
  background: #f6f6f6;
  padding: 50px 15px;
}

#tusDatos .section-header h3 {
  font-size: 32px;
  color: #111;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  padding-bottom: 15px;
  position: relative;
}

#tusDatos .section-header h3::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 1px;
  background: #9e9d9d;
  bottom: 1px;
  left: calc(50% - 60px);
}

#tusDatos .section-header h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: #1483cc;
  bottom: 0;
  left: calc(50% - 20px);
}

#tusDatos .section-header p {
  text-align: center;
  padding-bottom: 30px;
  font-size: 18px;
  font-weight: normal;
  font-style: italic;
  color: #666;
}

/* About */
#about {
  background: rgba(255, 255, 255, 0.95);
  padding: 60px 0 40px 0;
}

#about .section-header h3 {
  font-size: 32px;
  color: #111;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  padding-bottom: 15px;
  position: relative;
}

#about .section-header h3::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 1px;
  background: #9e9d9d;
  bottom: 1px;
  left: calc(50% - 60px);
}

#about .section-header h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: #1483cc;
  bottom: 0;
  left: calc(50% - 20px);
}

#about .section-header p {
  text-align: center;
  padding-bottom: 30px;
  color: #333;
}

#about .aboutMessage {
  color: #343843;
  margin-top: -20px;
}

#about .endcomment {
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #343843;
}

/* Brigada */
#brigada {
  background: #fff;
  padding: 60px 0 40px 0;
}

#brigada .section-header h3 {
  font-size: 32px;
  color: #111;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  padding-bottom: 15px;
  position: relative;
}

#brigada .section-header h3::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 1px;
  background: #9e9d9d;
  bottom: 1px;
  left: calc(50% - 60px);
}

#brigada .section-header h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: #1483cc;
  bottom: 0;
  left: calc(50% - 20px);
}

#brigada .section-header p {
  text-align: center;
  padding-bottom: 30px;
  color: #333;
}

/* Services */
#services {
  background: #e8e8e8;
  padding: 60px 0;
}

#services .section-header h3 {
  font-size: 32px;
  color: #111;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  padding-bottom: 15px;
  position: relative;
}

#services .section-header h3::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 1px;
  background: #9e9d9d;
  bottom: 1px;
  left: calc(50% - 60px);
}

#services .section-header h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: #1483cc;
  bottom: 0;
  left: calc(50% - 20px);
}

#services .section-header p {
  text-align: center;
  padding-bottom: 30px;
  color: #333;
}

#services p {
  text-align: center;
  padding-top: 20px;
}

#services .services-col {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  #services .services-col {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
}

#services .services-col .img {
  position: relative;
}

#services .services-col .img img {
  border-radius: 12px 12px 0 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  filter: blur(0.7px);
  transition: filter 0.3s;
}

@media (max-width: 767px) {
  #services .services-col .img img {
    max-height: 200px;
    width: 100%;    
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #services .services-col .img img {
    height: 200px;
  }
}

@media (min-width: 992px) {
  #services .services-col .img img {
    height: 225px;
  }
}

#services .services-col .icon {
  width: 64px;
  height: 64px;
  padding-top: 8px;
  position: absolute;
  left: calc(50% - 32px);
  bottom: -30px;
  background-color: #0B5C92;
  border-radius: 50%;
  border: 4px solid #fff;
  text-align: center;
  transition: 0.3s;
}

#services .services-col i {
  font-size: 36px;
  line-height: 1;
  color: #fff;
  transition: 0.3s;
}

#services .services-col:hover .icon {
  background-color: #fff;
}

#services .services-col:hover i {
  color: #0B5C92;
}

#services .services-col h2 {
  color: #000;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  padding: 0;
  margin: 40px 8px 12px 8px;
}

#services .services-col h2 a {
  color: #000;
}

#services .services-col h2 a:hover {
  color: #0B5C92;
}

#services .services-col p {
  font-size: 14px;
  line-height: 24px;
  color: #333;
  margin-bottom: 0;
  padding: 0 20px 20px 20px;
  text-align: left;
}

/* FAQ */
#faq {
  padding: 60px 0;
}

#faq .section-header h3 {
  font-size: 32px;
  color: #111;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  padding-bottom: 15px;
  position: relative;
}

#faq .section-header h3::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 1px;
  background: #9e9d9d;
  bottom: 1px;
  left: calc(50% - 60px);
}

#faq .section-header h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: #1483cc;
  bottom: 0;
  left: calc(50% - 20px);
}

#faq .section-header p {
  text-align: center;
  padding-bottom: 30px;
  color: #333;
}

#faq .panel {
  margin-bottom: 4px;
}

#faq .panel-heading {
  color: #fff !important;
  background-color: #0277BD;
  padding: 25px 10px 10px 15px;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
}

#faq .panel-heading h4 {
  font-size: 19px;
  font-weight: 400;
}

#faq .panel-body {
  padding: 15px 0 10px 0;
  text-align: justify;
  line-height: 130%;
  font-size: 17px;
  color: #343843;
}

#faq .margin-relevant-ul {
  padding-left: 50px;
  padding-right: 15px;
}

#faq .margin-relevant-ul li {
  margin-bottom: 8px;
}

#faq .margin-relevant-ul a {
  color: #343843;
  text-decoration: none;
}

#faq .margin-relevant-ul a:hover {
  font-weight: bold;
}

/* Contact */
#contact {
  padding: 60px 0;
}

#contact .section-header h3 {
  font-size: 32px;
  color: #111;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  padding-bottom: 15px;
  position: relative;
}

#contact .section-header h3::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 1px;
  background: #9e9d9d;
  bottom: 1px;
  left: calc(50% - 60px);
}

#contact .section-header h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: #1483cc;
  bottom: 0;
  left: calc(50% - 20px);
}

#contact .section-header p {
  text-align: center;
  padding-bottom: 30px;
  color: #333;
}

#contact .contact-info {
  margin-bottom: 20px;
  text-align: center;
}

#contact .contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 10px;
  color: #0B5C92;
}

#contact .contact-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #084B8A;
}

#contact .contact-info address {
  font-style: normal;
  color: #555;
}

#contact .contact-address,
#contact .contact-phone,
#contact .contact-email {
  margin-bottom: 20px;
  border-radius: 6px;
  transition: background-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

#contact .contact-address:hover,
#contact .contact-phone:hover,
#contact .contact-email:hover {
  background-color: rgba(11, 92, 146, 0.07);
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(11, 92, 146, 0.15);
}

#contact .contact-address {
  padding: 16px 8px;
}

#contact .contact-phone a,
#contact .contact-email a {
  display: block;
  padding: 16px 8px;
  text-decoration: none;
  color: inherit;
}

#contact .contact-address:hover i,
#contact .contact-phone:hover i,
#contact .contact-email:hover i {
  color: #084B8A;
  transform: scale(1.15);
  transition: color 0.25s, transform 0.25s;
}

#contact .contact-address:hover h3,
#contact .contact-phone:hover h3,
#contact .contact-email:hover h3 {
  color: #0B5C92;
}

@media (min-width: 768px) {
  #contact .contact-phone:hover {
    border-left: 1px solid rgba(11, 92, 146, 0.25);
    border-right: 1px solid rgba(11, 92, 146, 0.25);
  }
}

/* Footer */
#footer {
  background: #040e1a;
  padding: 0 0 30px 0;
  color: #cdd9e5;
  font-size: 14px;
}

#footer .footer-top {
  background: #061826;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info h3 {
  font-size: 34px;
  margin: 0 0 20px 0;
  border-left: 4px solid #CB9C01;
  padding-left: 10px;
  color: #fff;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  color: #cdd9e5;
}

#footer .footer-top h4 {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 2px solid #1272b5;
}

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

#footer .footer-top .footer-links ul li {
  border-bottom: 1px solid #133d5e;
  padding: 10px 0;
}

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

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

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

/* Main Form */
.bg-grey {
  background-color: #f6f6f6;
}

/* Informational notes below the form */
.form-cont .form-note {
  font-size: 14px;
  color: #555;
  margin-top: 12px;
  margin-bottom: 4px;
}

.form-cont span {
  font-weight: 600;
}

.form-cont #id_choice {
  margin-top: 12px;
}

.form-cont input,
.form-cont select {
  color: #343843;
  font-family: 'Roboto', Arial, Helvetica, Verdana, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.form-cont .form-control {
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-cont .form-group {
  margin-bottom: 15px;
}

.form-cont .btn-default {
  background-color: #0277BD;
  color: #fff;
  border: 1px solid #0277BD;
  padding: 10px 24px;
  border-radius: 4px;
}

.form-cont .btn-default:hover {
  border: 1px solid #0277BD;
  background-color: #fff !important;
  color: #0277BD;
}

.pull-right {
  float: right;
}

@media (max-width: 767px) {
  .form-cont .form-note {
    font-size: 13px;
  }
}

.form-cont .checkout-footnote {
  font-size: 85%;
}

.form-cont .mp-checkout-card {
  margin: 0.75rem 0rem 1rem 0rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(0, 158, 227, 0.22);
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(10, 0, 128, 0.06);
}

.form-cont .mp-checkout-card__header {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(10, 0, 128, 0.08);
}

.form-cont .mp-checkout-card__logo {
  display: block;
  align-content: right;
  max-width: 100%;
  height: auto;
  max-height: 5rem;
  width: auto;
}

.form-cont .mp-checkout-card__lead {
  margin-bottom: 0.65rem;
  padding: 0.5rem 0rem 1rem 0rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* ~10% larger than lead; ~10% lighter gray than lead (#1a1a1a → blend 10% white) */
.form-cont .mp-checkout-card__lead .mp-checkout-amount {
  font-size: 1.1em;
  font-weight: 600;
  color: #48515f;
}

.form-cont .mp-checkout-card__trust {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.35;
  color: #5a5a5a;
}

.form-cont .mp-checkout-card__trust-icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.12rem;
  color: #009ee3;
}

.form-cont .mp-checkout-card__actions {
  margin-bottom: 0.85rem;
}

.form-cont .mp-checkout-cta {
  display: inline-block;
  padding: 0.55rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
  background-color: #009ee3;
  border: 1px solid #009ee3;
  border-radius: 0.375rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-cont .mp-checkout-cta:hover,
.form-cont .mp-checkout-cta:focus {
  color: #fff !important;
  background-color: #008ecf;
  border-color: #0082bd;
  box-shadow: 0 2px 6px rgba(0, 158, 227, 0.35);
}

.form-cont .mp-checkout-cta:focus-visible {
  outline: 2px solid #009ee3;
  outline-offset: 2px;
}

.form-cont .mp-checkout-card__note {
  margin-top: 0.25rem;
  padding: 1rem 0rem 0.25rem 0rem;
}

/* State machine: secondary restart action (muted blue link; hover echoes palette of .buttonSolidBlue) */
.form-cont .btn-link-as-button {
  color: #4a6b8a !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(8, 75, 138, 0.45);
  box-shadow: none;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  padding: 0.550rem 1.75rem !important;
  transition: background-color 0.2s ease-in-out,
              color 0.2s ease-in-out,
              border-color 0.2s ease-in-out,
              text-decoration-color 0.2s ease-in-out;
}

.form-cont .btn-link-as-button:hover,
.form-cont .btn-link-as-button:focus {
  text-decoration: none;
  color: #084B8A !important;
  background-color: rgba(11, 92, 146, 0.12);
  border-color: #0B5C92;
  outline: none;
}

.form-cont .btn-link-as-button:focus-visible {
  outline: 2px solid #1483cc;
  outline-offset: 2px;
}
