/*
  Theme Name: BizPage
  Theme URL: https://bootstrapmade.com/bizpage-bootstrap-business-template/
  Author: BootstrapMade.com
  License: https://bootstrapmade.com/license/
*/
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background: #fff;
  color: #666666;
  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;
}
@font-face{
  font-family: fuentelogo;
  src: url("https://demo2.grupoas5.com/logos/Eurostile%20BQ%20Regular.otf");
}

/* Back to top — encima del WhatsApp (no compartir esquina inferior derecha) */
.back-to-top {
  position: fixed;
  display: none;
  background: #333;
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 1.25rem;
  bottom: calc(1.25rem + 56px + 0.75rem);
  transition: background 0.5s;
  z-index: 997;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

@media (max-width: 768px) {
  .back-to-top {
    right: 1rem;
    bottom: calc(1rem + 56px + 0.5rem);
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  padding: 22px 0;
  height: auto;
  min-height: 88px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: padding 0.4s ease, background 0.4s ease, min-height 0.4s ease;
  z-index: 997;
  background: transparent;
  display: flex;
  align-items: center;
}

#header.header-scrolled {
  background: rgba(0, 0, 0, 0.9);
  padding: 14px 0;
  min-height: 72px;
  border-bottom: 1px solid rgba(24, 210, 110, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

#header .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: inherit;
}

/* Inicio: intro a pantalla completa bajo el menú fijo */
body.page-home {
  background: #000;
}

body.page-home #intro {
  margin-top: 0;
  padding-top: 0;
}

body:not(.page-home) {
  padding-top: 88px;
}

#header #logo {
  float: none;
  display: flex;
  align-items: center;
  margin: 0;
}

@media (min-width: 1024px) {
  #header #logo {
    padding-left: 60px;
  }
}

#header #logo h1 {
  font-size: 34px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
}

#header #logo h1 a, #header #logo h1 a:hover {
  color: #fff;
  padding-left: 10px;
  border-left: 4px solid #18d26e;
}

#header #logo img {
  padding: 0;
  margin: 0;
  display: block;
  max-height: 52px;
  width: auto;
}

#header.header-scrolled #logo img {
  max-height: 44px;
  transition: max-height 0.4s ease;
}

@media (max-width: 768px) {
  #header #logo h1 {
    font-size: 28px;
  }
  #header #logo img {
    max-height: 40px;
  }
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
#intro {
  display: table;
  width: 100%;
  height: 100vh;
  background: #000;
}

#intro .carousel-item {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#intro .carousel-item::before {
  content: '';
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

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

#intro .carousel-content {
  text-align: center;
}

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

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

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

#intro .intro-lead {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

#intro .intro-eyebrow {
  display: inline-block;
  margin: 0 auto 14px;
  padding: 6px 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 210, 183, 0.22);
  border: 1px solid rgba(0, 210, 183, 0.55);
  border-radius: 999px;
  text-shadow: none;
  backdrop-filter: blur(4px);
}

#intro .intro-lead--highlight {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 768px) {
  #intro .intro-lead {
    font-size: 17px;
  }

  #intro .intro-lead--highlight {
    font-size: 19px;
  }
}

@media (min-width: 1024px) {
  #intro p {
    width: 60%;
  }
}

#intro .carousel-fade .carousel-inner .carousel-item {
  -webkit-transition-property: opacity;
  transition-property: opacity;
}

#intro .carousel-fade .carousel-inner .carousel-item,
#intro .carousel-fade .carousel-inner .active.carousel-item-left,
#intro .carousel-fade .carousel-inner .active.carousel-item-right {
  opacity: 0;
}

#intro .carousel-fade .carousel-inner .active,
#intro .carousel-fade .carousel-inner .carousel-item-next.carousel-item-left,
#intro .carousel-fade .carousel-inner .carousel-item-prev.carousel-item-right {
  opacity: 1;
  transition: 0.5s;
}

#intro .carousel-fade .carousel-inner .carousel-item-next,
#intro .carousel-fade .carousel-inner .carousel-item-prev,
#intro .carousel-fade .carousel-inner .active.carousel-item-left,
#intro .carousel-fade .carousel-inner .active.carousel-item-right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

#intro .carousel-control-prev, #intro .carousel-control-next {
  width: 10%;
}

@media (min-width: 1024px) {
  #intro .carousel-control-prev, #intro .carousel-control-next {
    width: 5%;
  }
}

#intro .carousel-control-next-icon, #intro .carousel-control-prev-icon {
  background: none;
  font-size: 32px;
  line-height: 1;
}

#intro .carousel-indicators li {
  cursor: pointer;
}

#intro .btn-get-started {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
  background: #18d26e;
}

#intro .btn-get-started:hover {
  background: #fff;
  color: #18d26e;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Nav Menu Essentials */
.nav-menu, .nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  z-index: 99;
}

.nav-menu li {
  position: relative;
  white-space: nowrap;
}

.nav-menu > li {
  float: left;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
  display: block;
}

.nav-menu ul ul {
  top: 0;
  left: 100%;
}

.nav-menu ul li {
  min-width: 180px;
}

/* Nav Menu Arrows */
.sf-arrows .sf-with-ul {
  padding-right: 30px;
}

.sf-arrows .sf-with-ul:after {
  content: "\f107";
  position: absolute;
  right: 15px;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
}

.sf-arrows ul .sf-with-ul:after {
  content: "\f105";
}

/* Nav Meu Container */
#nav-menu-container {
  float: none;
  margin: 0;
  display: flex;
  align-items: center;
  align-self: center;
}

#nav-menu-container .nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  #nav-menu-container {
    padding-right: 60px;
  }
}

@media (max-width: 768px) {
  #nav-menu-container {
    display: none;
  }
}

/* Nav Meu Styling */
.nav-menu a {
  padding: 8px 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  outline: none;
  line-height: 1.2;
}

.nav-menu li:hover > a, .nav-menu > .menu-active > a {
  color: #18d26e;
}

.nav-menu > li {
  position: relative;
  margin-left: 4px;
  padding-left: 16px;
}

/* Divisor vertical entre ítems del menú */
.nav-menu > li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 25%,
    rgba(24, 210, 110, 0.75) 50%,
    rgba(255, 255, 255, 0.35) 75%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

/* Línea entre logo y menú (escritorio) */
@media (min-width: 769px) {
  #header #logo {
    position: relative;
    padding-right: 28px;
    margin-right: 8px;
  }

  #header #logo::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 36px;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.25) 20%,
      rgba(24, 210, 110, 0.85) 50%,
      rgba(255, 255, 255, 0.25) 80%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

.nav-menu ul {
  margin: 4px 0 0 0;
  padding: 10px;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  background: #fff;
}

.nav-menu ul li {
  transition: 0.3s;
}

.nav-menu ul li a {
  padding: 10px;
  color: #333;
  transition: 0.3s;
  display: block;
  font-size: 13px;
  text-transform: none;
}

.nav-menu ul li:hover > a {
  color: #18d26e;
}

.nav-menu ul ul {
  margin: 0;
}

/* Mobile Nav Toggle */
#mobile-nav-toggle {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  margin: 20px 20px 0 0;
  border: 0;
  background: none;
  font-size: 24px;
  display: none;
  transition: all 0.4s;
  outline: none;
  cursor: pointer;
}

#mobile-nav-toggle i {
  color: #fff;
}

@media (max-width: 768px) {
  #mobile-nav-toggle {
    display: inline;
  }
}

/* Mobile Nav Styling */
#mobile-nav {
  position: fixed;
  top: 0;
  padding-top: 18px;
  bottom: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.8);
  left: -260px;
  width: 260px;
  overflow-y: auto;
  transition: 0.4s;
}

#mobile-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#mobile-nav ul li {
  position: relative;
}

#mobile-nav ul li a {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  overflow: hidden;
  padding: 10px 22px 10px 15px;
  position: relative;
  text-decoration: none;
  width: 100%;
  display: block;
  outline: none;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
}

#mobile-nav ul li a:hover {
  color: #fff;
}

#mobile-nav ul li li {
  padding-left: 30px;
}

#mobile-nav ul .menu-has-children i {
  position: absolute;
  right: 0;
  z-index: 99;
  padding: 15px;
  cursor: pointer;
  color: #fff;
}

#mobile-nav ul .menu-has-children i.fa-chevron-up {
  color: #18d26e;
}

#mobile-nav ul .menu-has-children li a {
  text-transform: none;
}

#mobile-nav ul .menu-item-active {
  color: #18d26e;
}

#mobile-body-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(0, 0, 0, 0.7);
  display: none;
}

/* Mobile Nav body classes */
body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
  left: 0;
}

body.mobile-nav-active #mobile-nav-toggle {
  color: #fff;
}

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

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

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

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

/* Section with background
--------------------------------*/
.section-bg {
  background: #f7f7f7;
}

/* Featured Services Section
--------------------------------*/
#featured-services {
  background: #000;
}

#featured-services .box {
  padding: 30px 20px;
}

#featured-services .box-bg {
  background-image: linear-gradient(0deg, #000000 0%, #242323 50%, #000000 100%);
}

#featured-services i {
  color: #18d26e;
  font-size: 48px;
  display: inline-block;
  line-height: 1;
}

#featured-services h4 {
  font-weight: 400;
  margin: 15px 0;
  font-size: 18px;
}

#featured-services h4 a {
  color: #fff;
}

#featured-services h4 a:hover {
  color: #18d26e;
}

#featured-services p {
  font-size: 14px;
  line-height: 24px;
  color: #fff;
  margin-bottom: 0;
}

/* About Us Section
--------------------------------*/
#about {
  background: url("../images/about-bg.jpg?v=15") center top no-repeat fixed;
  background-size: cover;
  padding: 60px 0 40px 0;
  position: relative;
}

#about::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  z-index: 9;
}

#about .container {
  position: relative;
  z-index: 10;
}

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

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

#about .about-col .img img {
  border-radius: 4px 4px 0 0;
}

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

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

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

#about .about-col:hover i {
  color: #18d26e;
}

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

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

#about .about-col h2 a:hover {
  color: #18d26e;
}

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

/* About Us Section nosotros
--------------------------------*/
#about2 {
  /*background: url("../images/about-bg.jpg") center top no-repeat fixed;
  background-size: cover;*/
  padding: 60px 0 40px 0;
  position: relative;
}

#about2::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  z-index: 9;
}

#about2 .container {
  position: relative;
  z-index: 10;
}

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

#about2 .about-col .img {
  position: relative;
}

#about2 .about-col .img img {
  border-radius: 4px 4px 0 0;
}

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

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

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

#about2 .about-col:hover i {
  color: #18d26e;
}

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

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

#about2 .about-col h2 a:hover {
  color: #18d26e;
}

#about2 .about-col p {
  font-size: 14px;
  line-height: 24px;
  color: #333;
  margin-bottom: 0;
  padding: 0 20px 20px 20px;
}

/* Services Section
--------------------------------*/
#services {
  background: linear-gradient(180deg, #f4f6f8 0%, #fff 100%);
  padding: 80px 0 70px;
}

#services .section-header p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e6eaee;
  border-radius: 10px;
  border-left: 4px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-left-color: #18d26e;
  box-shadow: 0 10px 28px rgba(24, 210, 110, 0.12);
}

.service-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 210, 110, 0.12);
  transition: background 0.25s ease;
}

.service-card__icon i {
  color: #18d26e;
  font-size: 22px;
  line-height: 1;
}

.service-card:hover .service-card__icon {
  background: #18d26e;
}

.service-card:hover .service-card__icon i {
  color: #fff;
}

.service-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #222;
  font-family: "Montserrat", sans-serif;
}

.services-footnote {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 32px;
  text-align: center;
  background: #fff;
  border: 1px solid #e6eaee;
  border-top: 4px solid #18d26e;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.services-footnote p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.65;
  color: #555;
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  #services {
    padding: 60px 0 50px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    min-height: auto;
    padding: 16px 18px;
  }

  .services-footnote {
    padding: 22px 20px;
  }
}

/* Legacy services box (otras páginas) */
#services .box {
  margin-bottom: 30px;
}

#services .icon {
  float: left;
}

#services .icon i {
  color: #18d26e;
  font-size: 36px;
  line-height: 1;
  transition: 0.5s;
}

#services .title {
  margin-left: 60px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

#services .title a {
  color: #111;
}

#services .box:hover .title a {
  color: #18d26e;
}

#services .description {
  font-size: 14px;
  margin-left: 60px;
  line-height: 24px;
  margin-bottom: 0;
}

/* Call To Action Section
--------------------------------*/
#call-to-action {
  background: linear-gradient(rgba(0, 142, 99, 0.15), rgba(0, 0, 0, 0.35)), url(../images/call-to-action-bg.jpg?v=15) fixed center center;
  background-size: cover;
  min-height: 52vh;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#call-to-action .container {
  width: 100%;
}

#call-to-action h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

#call-to-action p {
  color: #fff;
}

#call-to-action .cta-btn {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 25px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}

#call-to-action .cta-btn:hover {
  background: #18d26e;
  border: 2px solid #18d26e;
}

/* Call To Action Section
--------------------------------*/
#skills {
  padding: 60px 0;
}

#skills .progress {
  height: 35px;
  margin-bottom: 10px;
}

#skills .progress .skill {
  font-family: "Open Sans", sans-serif;
  line-height: 35px;
  padding: 0;
  margin: 0 0 0 20px;
  text-transform: uppercase;
}

#skills .progress .skill .val {
  float: right;
  font-style: normal;
  margin: 0 20px 0 0;
}

#skills .progress-bar {
  width: 1px;
  text-align: left;
  transition: .9s;
}

/* Facts Section
--------------------------------*/
#facts {
  background: url("../images/facts-bg.jpg?v=15") center top no-repeat fixed;
  background-size: cover;
  padding: 60px 0 0 0;
  position: relative;
}

#facts::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: 9;
}

#facts .container {
  position: relative;
  z-index: 10;
}

#facts .counters span {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  font-size: 48px;
  display: block;
  color: #18d26e;
}

#facts .counters p {
  padding: 0;
  margin: 0 0 20px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #111;
}

#facts .facts-img {
  text-align: center;
  padding-top: 30px;
}

/*--------------------------------------------------------------
# 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: #fff;
  background: #428bca;
}

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

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

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(57, 64, 71, 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: #6aa3d5;
}

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

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

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

/* Galería home: solo horizontales, rejilla uniforme */
.portfolio--home .portfolio-grid {
  row-gap: 24px;
}

.portfolio--home .portfolio-wrap {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
}

.portfolio--home .portfolio-wrap .portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

/* Galería maquinaria: horizontales primero, verticales al final */
.portfolio--maquinaria {
  padding-top: 0;
}

.portfolio-intro {
  padding: 40px 15px 10px;
}

.portfolio--maquinaria .portfolio-grid {
  row-gap: 20px;
}

.portfolio--maquinaria .portfolio-item--horizontal .portfolio-wrap {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}

.portfolio--maquinaria .portfolio-item--vertical .portfolio-wrap {
  aspect-ratio: 3 / 4;
  border-radius: 6px;
}

.portfolio--maquinaria .portfolio-wrap .portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.portfolio--maquinaria .portfolio-item--vertical .portfolio-wrap .portfolio-links {
  width: 100%;
  text-align: center;
}

.portfolio--home .portfolio-wrap:hover img,
.portfolio--maquinaria .portfolio-wrap:hover img {
  transform: none;
}

/*--------------------------------------------------------------
# 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 #428bca;
}

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

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(57, 64, 71, 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;
}

/* Portfolio Section
--------------------------------*/
/*
#portfolio {
  padding: 60px 0;
}

#portfolio #portfolio-flters {
  padding: 0;
  margin: 5px 0 35px 0;
  list-style: none;
  text-align: center;
}

#portfolio #portfolio-flters li {
  cursor: pointer;
  margin: 15px 15px 15px 0;
  display: inline-block;
  padding: 10px 20px;
  font-size: 12px;
  line-height: 20px;
  color: #666666;
  border-radius: 4px;
  text-transform: uppercase;
  background: #fff;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

#portfolio #portfolio-flters li:hover, #portfolio #portfolio-flters li.filter-active {
  background: #18d26e;
  color: #fff;
}

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

#portfolio .portfolio-wrap {
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

#portfolio .portfolio-wrap:hover {
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.16);
}

#portfolio .portfolio-item {
  position: relative;
  height: 360px;
  overflow: hidden;
}

#portfolio .portfolio-item figure {
  background: #000;
  overflow: hidden;
  height: 240px;
  position: relative;
  border-radius: 4px 4px 0 0;
  margin: 0;
}

#portfolio .portfolio-item figure:hover img {
  opacity: 0.4;
  transition: 0.3s;
}

#portfolio .portfolio-item figure .link-preview, #portfolio .portfolio-item figure .link-details {
  position: absolute;
  display: inline-block;
  visibility: hidden;
  line-height: 1;
  text-align: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

#portfolio .portfolio-item figure .link-preview i, #portfolio .portfolio-item figure .link-details i {
  padding-top: 6px;
  font-size: 22px;
  color: #333;
}

#portfolio .portfolio-item figure .link-preview:hover, #portfolio .portfolio-item figure .link-details:hover {
  background: #18d26e;
}

#portfolio .portfolio-item figure .link-preview:hover i, #portfolio .portfolio-item figure .link-details:hover i {
  color: #fff;
}

#portfolio .portfolio-item figure .link-preview {
  left: calc(50% - 38px);
  top: calc(50% - 18px);
}

#portfolio .portfolio-item figure .link-details {
  right: calc(50% - 38px);
  top: calc(50% - 18px);
}

#portfolio .portfolio-item figure:hover .link-preview {
  visibility: visible;
  left: calc(50% - 44px);
}

#portfolio .portfolio-item figure:hover .link-details {
  visibility: visible;
  right: calc(50% - 44px);
}

#portfolio .portfolio-item .portfolio-info {
  background: #fff;
  text-align: center;
  padding: 30px;
  height: 90px;
  border-radius: 0 0 3px 3px;
}

#portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  line-height: 1px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 0;
}

#portfolio .portfolio-item .portfolio-info h4 a {
  color: #333;
}

#portfolio .portfolio-item .portfolio-info h4 a:hover {
  color: #18d26e;
}

#portfolio .portfolio-item .portfolio-info p {
  padding: 0;
  margin: 0;
  color: #b8b8b8;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
}
*/
/* Obsoleto: usar #as5-wa-float en layout.html (estilos inline en plantilla) */
.btn-whatsapp-float {
  display: none !important;
}

#as5-wa-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 998;
  width: 56px;
  height: 56px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 0;
  text-decoration: none;
}

#as5-wa-float::before,
#as5-wa-float::after,
.btn-whatsapp-float::before,
.btn-whatsapp-float::after {
  display: none !important;
  content: none !important;
}

#as5-wa-float svg {
  display: block;
  width: 56px;
  height: 56px;
}

#as5-wa-float:hover,
#as5-wa-float:focus {
  transform: scale(1.08);
  text-decoration: none;
  background: transparent !important;
}

/* Clients Section — carrusel de logos
--------------------------------*/
#clients.section-clients {
  padding: 70px 0 50px;
  background: #f8f9fa;
}

#clients .section-header p {
  color: #666;
  max-width: 640px;
  margin: 0 auto 10px;
}

#clients .clients-carousel {
  margin-top: 20px;
}

#clients .client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 18px 14px;
}

#clients .client-logo-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#clients .client-logo-item img {
  max-width: 100%;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.45s ease, opacity 0.45s ease, transform 0.35s ease;
}

#clients .client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.06);
}

#clients .clients-cta {
  margin-top: 28px;
}

#clients .owl-nav,
#clients .owl-dots {
  margin-top: 18px;
  text-align: center;
}

#clients .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#clients .owl-dot.active {
  background-color: #18d26e;
  transform: scale(1.15);
}

/* Testimonials Section
--------------------------------*/
#testimonials {
  padding: 60px 0;
}

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

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

#testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin: 0 auto;
}

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

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

#testimonials .testimonial-item .quote-sign-left {
  margin-top: -15px;
  padding-right: 10px;
  display: inline-block;
  width: 37px;
}

#testimonials .testimonial-item .quote-sign-right {
  margin-bottom: -15px;
  padding-left: 10px;
  display: inline-block;
  max-width: 100%;
  width: 37px;
}

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

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

#testimonials .owl-nav, #testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

#testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
}

#testimonials .owl-dot.active {
  background-color: #18d26e;
}

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

#team .member {
  text-align: center;
  margin-bottom: 20px;
  background: #000;
  position: relative;
}

#team .member .member-info {
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  transition: 0.2s;
}

#team .member .member-info-content {
  margin-top: -50px;
  transition: margin 0.2s;
}

#team .member:hover .member-info {
  background: rgba(0, 0, 0, 0.7);
  visibility: visible;
  transition: 0.4s;
}

#team .member:hover .member-info-content {
  margin-top: 0;
  transition: margin 0.4s;
}

#team .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
  color: #fff;
}

#team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: #fff;
}

#team .member .social {
  margin-top: 15px;
}

#team .member .social a {
  transition: none;
  color: #fff;
}

#team .member .social a:hover {
  color: #18d26e;
}

#team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

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

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

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

#contact .contact-info address, #contact .contact-info p {
  margin-bottom: 0;
  color: #000;
}

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

#contact .contact-info a {
  color: #000;
}

#contact .contact-info a:hover {
  color: #18d26e;
}

#contact .contact-address, #contact .contact-phone, #contact .contact-email {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  #contact .contact-address, #contact .contact-phone, #contact .contact-email {
    padding: 20px 0;
  }
}

@media (min-width: 768px) {
  #contact .contact-phone {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }
}

#contact .form #sendmessage {
  color: #18d26e;
  border: 1px solid #18d26e;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #sendmessage.show, #contact .form #errormessage.show, #contact .form .show {
  display: block;
}

#contact .form .validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

#contact .form input, #contact .form textarea {
  padding: 10px 14px;
  border-radius: 0;
  box-shadow: none;
  font-size: 15px;
}

#contact .form button[type="submit"] {
  background: #18d26e;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  cursor: pointer;
}

#contact .form button[type="submit"]:hover {
  background: #13a456;
}

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

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

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

#footer .footer-top .footer-info h3 {
  font-size: 34px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 10px;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  border-left: 4px solid #18d26e;
}

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

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

#footer .footer-top .social-links a:hover {
  background: #18d26e;
  color: #fff;
}

#footer .footer-top h4 {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top h4::before, #footer .footer-top h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
}

#footer .footer-top h4::before {
  right: 0;
  background: #555;
}

#footer .footer-top h4::after {
  background: #18d26e;
  width: 60px;
}

#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: 8px;
  color: #ddd;
}

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

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

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

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

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

#footer .footer-top .footer-contact p {
  line-height: 26px;
}

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

#footer .footer-top .footer-newsletter input[type="email"] {
  border: 0;
  padding: 6px 8px;
  width: 65%;
}

#footer .footer-top .footer-newsletter input[type="submit"] {
  background: #18d26e;
  border: 0;
  width: 35%;
  padding: 6px 0;
  text-align: center;
  color: #fff;
  transition: 0.3s;
  cursor: pointer;
}

#footer .footer-top .footer-newsletter input[type="submit"]:hover {
  background: #13a456;
}

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

#footer .credits {
  text-align: center;
  font-size: 13px;
  color: #ddd;
}
/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-blog-posts .post-item {
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.recent-blog-posts .post-item .post-img img {
  transition: 0.5s;
}

.recent-blog-posts .post-item .post-date {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--color-primary);
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.recent-blog-posts .post-item .post-content {
  padding: 30px;
}

.recent-blog-posts .post-item .post-title {
  font-size: 24px;
  color: var(--color-secondary);
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.recent-blog-posts .post-item .meta i {
  font-size: 16px;
  color: var(--color-primary);
}

.recent-blog-posts .post-item .meta span {
  font-size: 15px;
  color: #838893;
}

.recent-blog-posts .post-item hr {
  color: #888;
  margin: 20px 0;
}

.recent-blog-posts .post-item .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: #838893;
}

.recent-blog-posts .post-item .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.recent-blog-posts .post-item:hover .post-title,
.recent-blog-posts .post-item:hover .readmore {
  color: var(--color-primary);
}

.recent-blog-posts .post-item:hover .post-img img {
  transform: scale(1.1);
}
/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog .blog-pagination {
  margin-top: 30px;
  color: #838893;
}

.blog .blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog .blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog .blog-pagination li a {
  color: var(--color-secondary);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
  background: var(--color-primary);
  color: #fff;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
  color: var(--color-white);
}

/*--------------------------------------------------------------
# Blog Posts List
--------------------------------------------------------------*/
.blog .posts-list .post-item {
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.blog .posts-list .post-img img {
  transition: 0.5s;
}

.blog .posts-list .post-date {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--color-primary);
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.blog .posts-list .post-content {
  padding: 30px;
}

.blog .posts-list .post-title {
  font-size: 24px;
  color: var(--color-secondary);
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.blog .posts-list .meta i {
  font-size: 16px;
  color: var(--color-primary);
}

.blog .posts-list .meta span {
  font-size: 15px;
  color: #838893;
}

.blog .posts-list p {
  margin-top: 20px;
}

.blog .posts-list hr {
  color: #888;
  margin-bottom: 20px;
}

.blog .posts-list .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: #838893;
}

.blog .posts-list .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.blog .posts-list .post-item:hover .post-title,
.blog .posts-list .post-item:hover .readmore {
  color: var(--color-primary);
}

.blog .posts-list .post-item:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Blog Details
--------------------------------------------------------------*/
.blog .blog-details {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.blog .blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog .blog-details .title {
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 20px 0 0 0;
  color: var(--color-secondary);
}

.blog .blog-details .content {
  margin-top: 20px;
}

.blog .blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog .blog-details .content blockquote {
  overflow: hidden;
  background-color: rgba(82, 86, 94, 0.06);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog .blog-details .content blockquote p {
  color: var(--color-default);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog .blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--color-primary);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog .blog-details .meta-top {
  margin-top: 20px;
  color: #6c757d;
}

.blog .blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog .blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog .blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: var(--color-primary);
}

.blog .blog-details .meta-top a {
  color: #6c757d;
  font-size: 14px;
  display: inline-block;
  line-height: 1;
  transition: 0.3s;
}

.blog .blog-details .meta-top a:hover {
  color: var(--color-primary);
}

.blog .blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid rgba(82, 86, 94, 0.15);
}

.blog .blog-details .meta-bottom i {
  color: #838893;
  display: inline;
}

.blog .blog-details .meta-bottom a {
  color: rgba(82, 86, 94, 0.8);
  transition: 0.3s;
}

.blog .blog-details .meta-bottom a:hover {
  color: var(--color-primary);
}

.blog .blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog .blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog .blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog .blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog .blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--color-default);
  content: ",";
}

.blog .blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog .blog-details .meta-bottom .share i {
  padding-left: 5px;
}

.blog .post-author {
  padding: 20px;
  margin-top: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .post-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog .post-author h4 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0px;
  padding: 0;
  color: var(--color-secondary);
}

.blog .post-author .social-links {
  margin: 0 10px 10px 0;
}

.blog .post-author .social-links a {
  color: rgba(82, 86, 94, 0.5);
  margin-right: 5px;
}

.blog .post-author p {
  font-style: italic;
  color: rgba(108, 117, 125, 0.8);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Sidebar
--------------------------------------------------------------*/
.blog .sidebar {
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0;
  color: var(--color-secondary);
}

.blog .sidebar .sidebar-item+.sidebar-item {
  margin-top: 40px;
}

.blog .sidebar .search-form form {
  background: #fff;
  border: 1px solid rgba(82, 86, 94, 0.3);
  padding: 3px 10px;
  position: relative;
}

.blog .sidebar .search-form form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
}

.blog .sidebar .search-form form input[type=text]:focus {
  outline: none;
}

.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  background: var(--color-primary);
  color: var(--color-secondary);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.blog .sidebar .search-form form button i {
  line-height: 0;
}

.blog .sidebar .search-form form button:hover {
  background: rgba(254, 185, 0, 0.8);
}

.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .categories ul li+li {
  padding-top: 10px;
}

.blog .sidebar .categories ul a {
  color: var(--color-secondary);
  transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
  color: var(--color-default);
}

.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: rgba(54, 77, 89, 0.4);
  font-size: 14px;
}

.blog .sidebar .recent-posts .post-item {
  display: flex;
}

.blog .sidebar .recent-posts .post-item+.post-item {
  margin-top: 15px;
}

.blog .sidebar .recent-posts img {
  max-width: 80px;
  margin-right: 15px;
}

.blog .sidebar .recent-posts h4 {
  font-size: 15px;
  font-weight: bold;
}

.blog .sidebar .recent-posts h4 a {
  color: var(--color-secondary);
  transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover {
  color: var(--color-primary);
}

.blog .sidebar .recent-posts time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: rgba(54, 77, 89, 0.4);
}

.blog .sidebar .tags {
  margin-bottom: -10px;
}

.blog .sidebar .tags ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .tags ul li {
  display: inline-block;
}

.blog .sidebar .tags ul a {
  color: #838893;
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid rgba(131, 136, 147, 0.4);
  display: inline-block;
  transition: 0.3s;
}

.blog .sidebar .tags ul a:hover {
  color: var(--color-secondary);
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
}

.blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: rgba(131, 136, 147, 0.8);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Blog Comments
--------------------------------------------------------------*/
.blog .comments {
  margin-top: 30px;
}

.blog .comments .comments-count {
  font-weight: bold;
}

.blog .comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog .comments .comment .comment-img {
  margin-right: 14px;
}

.blog .comments .comment .comment-img img {
  width: 60px;
}

.blog .comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog .comments .comment h5 a {
  font-weight: bold;
  color: var(--color-default);
  transition: 0.3s;
}

.blog .comments .comment h5 a:hover {
  color: var(--color-primary);
}

.blog .comments .comment h5 .reply {
  padding-left: 10px;
  color: var(--color-secondary);
}

.blog .comments .comment h5 .reply i {
  font-size: 20px;
}

.blog .comments .comment time {
  display: block;
  font-size: 14px;
  color: rgba(82, 86, 94, 0.8);
  margin-bottom: 5px;
}

.blog .comments .comment.comment-reply {
  padding-left: 40px;
}

.blog .comments .reply-form {
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .comments .reply-form h4 {
  font-weight: bold;
  font-size: 22px;
}

.blog .comments .reply-form p {
  font-size: 14px;
}

.blog .comments .reply-form input {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .comments .reply-form input:focus {
  box-shadow: none;
  border-color: rgba(254, 185, 0, 0.8);
}

.blog .comments .reply-form textarea {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .comments .reply-form textarea:focus {
  box-shadow: none;
  border-color: rgba(254, 185, 0, 0.8);
}

.blog .comments .reply-form .form-group {
  margin-bottom: 25px;
}

.blog .comments .reply-form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--color-secondary);
}

.blog .comments .reply-form .btn-primary:hover {
  color: var(--color-secondary);
  background-color: var(--color-primary);
}

/*--------------------------------------------------------------
# Cabecera páginas internas
--------------------------------------------------------------*/
.cabecera-seccion {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #000;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: calc(88px + 48px) 20px 56px;
  box-sizing: border-box;
}

.cabecera-seccion__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.cabecera-seccion__inner {
  position: relative;
  z-index: 2;
}

.cabecera-seccion__titulo {
  margin: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1.2;
  text-transform: uppercase;
}

.cabecera-seccion__subtitulo {
  margin: 16px auto 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.5;
}

.cabecera-seccion + .secNosotros,
.cabecera-seccion + section.secNosotros,
.cabecera-seccion + section.py-5 {
  margin-top: 0;
  padding-top: 60px;
}

@media (max-width: 767px) {
  .cabecera-seccion {
    min-height: 240px;
    padding: calc(72px + 32px) 16px 40px;
  }

  .cabecera-seccion__titulo {
    font-size: 26px;
  }
}

/*--------------------------------------------------------------
# Contenido paginas internas
--------------------------------------------------------------*/
.pagina-interna {
  padding: 60px 0 80px;
  background: #fff;
}

.pagina-interna--destacada {
  padding-top: 56px;
  background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 55%);
}

.pagina-interna--gris {
  background: #f4f6f9;
}

.pagina-interna__hero {
  margin-bottom: 0;
}

.pagina-interna__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c2340;
  background: rgba(12, 35, 64, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.pagina-interna__titulo {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #0c2340;
  margin: 0 0 20px;
  line-height: 1.25;
}

.pagina-interna__media-col {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.pagina-interna__tarjeta-card {
  min-height: auto !important;
  height: 100%;
}

/* Misión / visión / objetivo — tarjetas en páginas internas */
.pagina-interna__tarjetas {
  margin-top: 28px;
  row-gap: 32px;
}

.pagina-interna__tarjetas > [class*="col-"] {
  display: flex;
}

.pagina-interna__tarjetas .about-col.pagina-interna__tarjeta-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(8, 42, 79, 0.12);
  box-shadow:
    0 4px 6px rgba(8, 42, 79, 0.04),
    0 14px 32px rgba(8, 42, 79, 0.1);
  overflow: hidden;
  margin-bottom: 0;
  position: relative;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.pagina-interna__tarjetas .about-col.pagina-interna__tarjeta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #082a4f 0%, #0d3a6a 55%, #18d26e 100%);
  z-index: 3;
}

.pagina-interna__tarjetas .about-col.pagina-interna__tarjeta-card:hover {
  transform: translateY(-8px);
  border-color: rgba(24, 210, 110, 0.4);
  box-shadow:
    0 8px 16px rgba(8, 42, 79, 0.06),
    0 22px 44px rgba(8, 42, 79, 0.14);
}

.pagina-interna__tarjetas .about-col .img {
  position: relative;
  overflow: hidden;
  margin-bottom: 4px;
}

.pagina-interna__tarjetas .about-col .img img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pagina-interna__tarjetas .about-col:hover .img img {
  transform: scale(1.05);
}

.pagina-interna__tarjetas .about-col .icon {
  width: 58px;
  height: 58px;
  padding-top: 6px;
  background-color: #082a4f;
  border: 4px solid #fff;
  left: calc(50% - 29px);
  bottom: -29px;
  box-shadow: 0 6px 18px rgba(8, 42, 79, 0.28);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.pagina-interna__tarjetas .about-col:hover .icon {
  background-color: #18d26e;
  transform: scale(1.06);
}

.pagina-interna__tarjetas .about-col i {
  font-size: 30px;
  line-height: 1;
  color: #fff;
  transition: color 0.3s ease;
}

.pagina-interna__tarjetas .about-col:hover i {
  color: #fff;
}

.pagina-interna__tarjetas .about-col h2.title {
  color: #082a4f;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin: 38px 0 0;
  padding: 0 22px 16px;
  border-bottom: 1px solid rgba(8, 42, 79, 0.08);
}

.pagina-interna__tarjetas .about-col h2.title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 12px auto 0;
  background: #18d26e;
  border-radius: 2px;
}

.pagina-interna__tarjetas .about-col .about-col__body,
.pagina-interna__tarjetas .about-col > p {
  font-size: 14px;
  line-height: 1.7;
  color: #5c6573;
  padding: 18px 22px 0;
  margin-bottom: 0;
  text-align: left;
}

.pagina-interna__tarjetas .about-col > p:last-child {
  padding-bottom: 26px;
}

.pagina-interna--gris .pagina-interna__tarjetas {
  margin-top: 12px;
}

.pagina-interna__lista-valores {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 24px;
  text-align: left;
}

.pagina-interna__lista-valores li {
  font-size: 16px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagina-interna__lista-valores i {
  color: #18d26e;
  font-size: 22px;
  flex-shrink: 0;
}

/*--------------------------------------------------------------
# Imagen circular animada (img-ring)
--------------------------------------------------------------*/
.img-ring-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: visible;
}

.img-ring-frame {
  --ring-size: 360px;
  --ring-inset: 52px;
  --ring-glow-pad: 22px;
  position: relative;
  width: var(--ring-size);
  height: var(--ring-size);
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
}

.img-ring-shine {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(0, 210, 183, 0.35) 30deg,
    rgba(255, 255, 255, 0.5) 55deg,
    rgba(0, 210, 183, 0.2) 80deg,
    transparent 110deg,
    transparent 360deg
  );
  animation: img-ring-shine-spin 10s linear infinite;
  opacity: 0.6;
  filter: blur(2px);
}

@keyframes img-ring-shine-spin {
  to {
    transform: rotate(360deg);
  }
}

.img-ring-svg {
  position: absolute;
  top: calc(var(--ring-glow-pad) * -1);
  left: calc(var(--ring-glow-pad) * -1);
  width: calc(100% + var(--ring-glow-pad) * 2);
  height: calc(100% + var(--ring-glow-pad) * 2);
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.img-ring-track,
circle.img-ring-track {
  fill: none;
  stroke: #444444;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  opacity: 0.8;
}

.img-ring-car,
circle.img-ring-car {
  fill: none;
  stroke: #00D2B7;
  stroke-width: 10;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(0, 210, 183, 0.9)) drop-shadow(0 0 14px rgba(0, 210, 183, 0.5));
}

.img-ring-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - var(--ring-inset));
  height: calc(100% - var(--ring-inset));
  max-width: calc(100% - var(--ring-inset));
  max-height: calc(100% - var(--ring-inset));
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  border: 4px solid #333333;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.22),
    0 0 0 6px rgba(0, 210, 183, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.img-ring-frame::after {
  content: '';
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 2px solid rgba(51, 51, 51, 0.25);
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .img-ring-shine {
    animation: none;
    opacity: 0.2;
  }

  .img-ring-car,
  circle.img-ring-car {
    animation: none !important;
    stroke-dasharray: none !important;
    stroke-opacity: 0.9;
  }
}

@media (max-width: 991px) {
  .img-ring-frame {
    --ring-size: min(320px, 88vw);
  }
}

/*--------------------------------------------------------------
# Nosotros — logo + bloques de contacto
--------------------------------------------------------------*/
.nosotros-marca {
  padding-top: 48px;
  padding-bottom: 40px;
}

.nosotros-marca__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.nosotros-marca__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.nosotros-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 0 12px;
}

.nosotros-intro__presencia {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 28px 14px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #e2e6ec;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(12, 35, 64, 0.06);
}

.nosotros-intro__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8eef4 0%, #dce6f0 100%);
  color: #002b5c;
  font-size: 26px;
  line-height: 1;
}

.nosotros-intro__label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8494;
}

.nosotros-intro__paises {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #002b5c;
  line-height: 1.3;
}

.nosotros-intro__tagline {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: #0c2340;
  line-height: 1.35;
  position: relative;
  padding-top: 18px;
}

.nosotros-intro__tagline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00d2b7, #002b5c);
}

.nosotros-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.nosotros-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #f8f9fb;
  border: 1px solid #e2e6ec;
  border-radius: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nosotros-info-card:hover {
  border-color: #c5d0dc;
  box-shadow: 0 6px 20px rgba(12, 35, 64, 0.08);
}

.nosotros-info-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #002b5c;
  font-size: 28px;
  line-height: 1;
}

.nosotros-info-card__body {
  min-width: 0;
}

.nosotros-info-card__label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a8494;
}

.nosotros-info-card__value {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #002b5c;
  line-height: 1.35;
  word-break: break-word;
}

.nosotros-info-card__value a {
  color: #002b5c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nosotros-info-card__value a:hover {
  color: #00d2b7;
}

.nosotros-oficinas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.nosotros-oficina-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px 16px;
  background: #f8f9fb;
  border: 1px solid #e2e6ec;
  border-radius: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nosotros-oficina-card:hover {
  border-color: #c5d0dc;
  box-shadow: 0 6px 20px rgba(12, 35, 64, 0.08);
}

.nosotros-oficina-card__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8eef4;
  color: #002b5c;
  font-size: 22px;
  line-height: 1;
}

.nosotros-oficina-card__body {
  min-width: 0;
}

.nosotros-oficina-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #002b5c;
  line-height: 1.3;
}

.nosotros-oficina-card__address {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #5a6578;
}

.nosotros-oficina-card__phone {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.nosotros-oficina-card__phone a {
  color: #2f6fad;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nosotros-oficina-card__phone a:hover {
  color: #00d2b7;
}

.nosotros-oficina-card--contacto {
  background: linear-gradient(180deg, #f8f9fb 0%, #f2f6fa 100%);
  border-color: #d4dde8;
}

.nosotros-oficina-card__icon--contacto {
  background: linear-gradient(135deg, #002b5c 0%, #0c2340 100%);
  color: #fff;
}

.nosotros-contact-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nosotros-contact-list__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e6ec;
}

.nosotros-contact-list__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.nosotros-contact-list__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a8494;
}

.nosotros-contact-list__label i {
  font-size: 14px;
  color: #002b5c;
}

.nosotros-contact-list__link {
  font-size: 14px;
  font-weight: 600;
  color: #2f6fad;
  text-decoration: none;
  line-height: 1.4;
  word-break: break-word;
  transition: color 0.2s ease;
}

.nosotros-contact-list__link:hover {
  color: #00d2b7;
}

@media (max-width: 991px) {
  .nosotros-oficinas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .nosotros-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nosotros-marca__logo {
    margin-bottom: 22px;
  }

  .nosotros-intro {
    margin-bottom: 28px;
  }

  .nosotros-intro__presencia {
    padding: 14px 22px 12px;
    border-radius: 20px;
  }

  .nosotros-oficinas-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }
}

.pagina-interna__lead {
  max-width: 820px;
  margin: 0 auto 48px;
  font-size: 17px;
  line-height: 1.75;
  color: #444;
  text-align: center;
}

.pagina-interna__bloque {
  margin-bottom: 56px;
}

.pagina-interna__bloque:last-child {
  margin-bottom: 0;
}

.pagina-interna__texto h2,
.pagina-interna__texto h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.pagina-interna__texto p {
  color: #555;
  line-height: 1.75;
  margin-bottom: 16px;
  text-align: justify;
}

.pagina-interna__texto p:last-child {
  margin-bottom: 0;
}

.pagina-interna__texto.text-center p {
  text-align: center;
}

.pagina-interna__identidad-list {
  margin-top: 8px;
}

.pagina-interna__identidad-item {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid #dde3ea;
}

.pagina-interna__identidad-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.pagina-interna__identidad-item .section-header h3 {
  color: #0c2340;
}

.pagina-interna__media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.pagina-interna__media-img {
  width: 100%;
  display: block;
}

.pagina-interna__media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 32px 24px;
  background: linear-gradient(145deg, #f4f6f8 0%, #e8ecef 100%);
  border: 2px dashed #c5ccd3;
  color: #6c757d;
  text-align: center;
}

.pagina-interna__media-placeholder i {
  font-size: 48px;
  margin-bottom: 12px;
  color: #18d26e;
}

.pagina-interna__media-placeholder span {
  font-size: 14px;
  max-width: 220px;
  line-height: 1.4;
}

/* .pagina-interna__tarjetas — estilos principales arriba (misión/visión/objetivo) */

.pagina-interna__tarjeta {
  height: 100%;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.pagina-interna__tarjeta:hover {
  border-color: #18d26e;
  box-shadow: 0 10px 32px rgba(24, 210, 110, 0.12);
}

.pagina-interna__tarjeta i {
  font-size: 36px;
  color: #18d26e;
  margin-bottom: 16px;
  display: block;
}

.pagina-interna__tarjeta h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111;
}

.pagina-interna__tarjeta h3 a {
  color: inherit;
}

.pagina-interna__tarjeta h3 a:hover {
  color: #18d26e;
}

.pagina-interna__tarjeta p {
  font-size: 15px;
  line-height: 1.65;
  color: #666;
  margin: 0;
}

.pagina-interna__lista {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pagina-interna__lista li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #555;
  line-height: 1.65;
}

.pagina-interna__lista li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #18d26e;
}

.pagina-interna__cta {
  text-align: center;
  margin-top: 48px;
}

.pagina-contacto__datos {
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #18d26e;
}

.pagina-contacto__datos .card-body {
  padding: 28px;
}

.pagina-contacto__datos h2 {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}

.pagina-contacto__item {
  margin-bottom: 20px;
}

.pagina-contacto__item:last-child {
  margin-bottom: 0;
}

.pagina-contacto__item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 4px;
}

.pagina-contacto__item a {
  color: #111;
}

.pagina-contacto__item a:hover {
  color: #18d26e;
}

.pagina-contacto__form-intro {
  margin-bottom: 24px;
  color: #555;
  line-height: 1.65;
}

.pagina-contacto .btn-enviar {
  background: #18d26e;
  border-color: #18d26e;
  color: #fff;
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 4px;
}

.pagina-contacto .btn-enviar:hover {
  background: #15b85c;
  border-color: #15b85c;
  color: #fff;
}

.cabecera-seccion + .pagina-interna {
  padding-top: 60px;
}

/*--------------------------------------------------------------
# Logo AS5 — animacion tren sobre borde
--------------------------------------------------------------*/
.logo-train-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 1rem;
}

.logo-train-frame {
  position: relative;
  display: inline-block;
  padding: 16px;
  max-width: 350px;
  box-sizing: content-box;
  line-height: 0;
}

.logo-train-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 12px;
}

.logo-train-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.logo-train-track,
path.logo-train-track {
  fill: none;
  stroke: #b8bec8;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.logo-train-car,
path.logo-train-car {
  fill: none;
  stroke: #0c2340;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

@media (prefers-reduced-motion: reduce) {
  .logo-train-car,
  path.logo-train-car {
    animation: none !important;
    stroke-dasharray: none !important;
    stroke-opacity: 0.85;
  }
}

.about-logo-train {
  margin-bottom: 2rem;
}

.logo-train-wrap--footer {
  margin: 0 auto 0.5rem;
}

.logo-train-frame--footer {
  max-width: 240px;
  padding: 12px;
}

.logo-train-frame--footer .logo-train-img {
  max-width: 240px;
}

/* Honeypot anti-bots (formulario de contacto) */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.hp-field label,
.hp-field input {
  display: block;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
}

/*--------------------------------------------------------------
# Contacto — formulario destacado
--------------------------------------------------------------*/
.contacto-section {
  padding: 48px 0 64px;
  background: linear-gradient(180deg, #f4f6f9 0%, #eef1f6 100%);
}

.contacto-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(12, 35, 64, 0.1);
  padding: 28px 28px 32px;
  height: 100%;
}

.contacto-card__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0c2340;
  background: rgba(12, 35, 64, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.contacto-card__title {
  font-size: 1.75rem;
  color: #0c2340;
  margin: 0 0 8px;
  font-weight: 700;
}

.contacto-card__lead {
  color: #5a6578;
  margin: 0 0 20px;
  line-height: 1.5;
}

.contacto-label {
  font-size: 13px;
  font-weight: 600;
  color: #0c2340;
  margin-bottom: 6px;
  display: block;
}

.contacto-input {
  border: 1px solid #d4dae3 !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contacto-input:focus {
  border-color: #0c2340 !important;
  box-shadow: 0 0 0 3px rgba(12, 35, 64, 0.12) !important;
}

.contacto-textarea {
  min-height: 140px;
  resize: vertical;
}

.contacto-form__actions {
  margin-top: 8px;
  text-align: center;
}

.contacto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  padding: 14px 32px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0c2340 0%, #163a63 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.28);
}

.contacto-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(12, 35, 64, 0.35);
  color: #fff;
}

.contacto-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.contacto-btn__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: contacto-spin 0.7s linear infinite;
}

.contacto-btn.is-loading .contacto-btn__text {
  opacity: 0.85;
}

.contacto-btn.is-loading .contacto-btn__spinner {
  display: inline-block;
}

@keyframes contacto-spin {
  to { transform: rotate(360deg); }
}

.contacto-recaptcha {
  font-size: 11px;
  color: #8a94a6;
  text-align: center;
  margin: 16px 0 0;
}

.contacto-card--aside {
  background: linear-gradient(160deg, #0c2340 0%, #163a63 100%);
  color: #fff;
}

.contacto-aside__title {
  font-size: 1.25rem;
  margin: 0 0 20px;
  font-weight: 700;
}

.contacto-aside__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.contacto-aside__item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contacto-aside__icon {
  font-size: 28px;
  line-height: 1;
  opacity: 0.9;
}

.contacto-aside__item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
  margin-bottom: 4px;
}

.contacto-aside__item p {
  margin: 0;
  line-height: 1.45;
}

.contacto-aside__item a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contacto-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contacto-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: #fff !important;
}

.contacto-toast {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.contacto-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contacto-toast--success {
  background: linear-gradient(135deg, #e8f8ef 0%, #d4f1e3 100%);
  border: 1px solid #7dd3a8;
  color: #0d4a2e;
}

.contacto-toast--error {
  background: linear-gradient(135deg, #fdecec 0%, #f9d6d6 100%);
  border: 1px solid #e8a0a0;
  color: #6b1a1a;
}

.contacto-toast__icon {
  font-size: 32px;
  line-height: 1;
}

.contacto-toast--success .contacto-toast__icon {
  color: #18a058;
}

.contacto-toast--error .contacto-toast__icon {
  color: #c0392b;
}

.contacto-toast__title {
  display: block;
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.contacto-toast__body p {
  margin: 0;
  line-height: 1.45;
}

.contacto-toast__close {
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  padding: 0 4px;
}

.contacto-toast__close:hover {
  opacity: 1;
}

@media (max-width: 991px) {
  .contacto-card {
    padding: 22px 20px 26px;
  }
}

/*--------------------------------------------------------------
# Únete al equipo AS5 (RR. HH.)
--------------------------------------------------------------*/
.page-unete-as5 .unete-hero {
  padding-bottom: 64px;
}

.page-unete-as5 .unete-hero .pagina-interna__eyebrow,
.page-unete-as5 .unete-hero .pagina-interna__titulo,
.page-unete-as5 .unete-hero .pagina-interna__lead,
.page-unete-as5 .unete-postulacion .pagina-interna__eyebrow,
.page-unete-as5 .unete-postulacion .pagina-interna__titulo,
.page-unete-as5 .unete-postulacion .pagina-interna__lead {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.page-unete-as5 .unete-hero .pagina-interna__lead {
  margin-bottom: 16px;
}

.page-unete-as5 .pagina-interna__lead--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.unete-hero__media {
  text-align: center;
  max-width: 380px;
  margin: 0 auto;
}

.unete-hero__visual {
  background: #fff;
  border: 1px solid rgba(8, 42, 79, 0.1);
  border-radius: 20px;
  padding: 28px 24px 20px;
  box-shadow:
    0 4px 6px rgba(8, 42, 79, 0.04),
    0 18px 40px rgba(8, 42, 79, 0.1);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.unete-hero__visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #082a4f 0%, #0d3a6a 55%, #18d26e 100%);
}

.unete-hero__img {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.unete-hero__logo {
  max-width: 200px;
  opacity: 0.92;
}

.unete-hero__texto {
  font-size: 16px;
  line-height: 1.75;
  color: #5a6578;
  margin: 0 0 14px;
}

.unete-hero__texto--destacado {
  color: #0c2340;
  font-weight: 600;
  padding: 14px 18px;
  background: rgba(0, 210, 183, 0.08);
  border-left: 4px solid #00d2b7;
  border-radius: 0 8px 8px 0;
  margin-top: 8px;
}

.unete-valores {
  padding-top: 56px;
  padding-bottom: 72px;
}

.unete-valores .section-header {
  margin-bottom: 36px;
}

.unete-valores__grid {
  row-gap: 20px;
}

.unete-valor-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(8, 42, 79, 0.1);
  border-radius: 14px;
  padding: 24px 20px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.unete-valor-card:hover {
  transform: translateY(-6px);
  border-color: rgba(24, 210, 110, 0.35);
  box-shadow: 0 14px 32px rgba(12, 35, 64, 0.12);
}

.unete-valor-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8eef4 0%, #dce6f0 100%);
  color: #002b5c;
  font-size: 26px;
  margin-bottom: 14px;
}

.unete-valor-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0c2340;
  margin: 0 0 8px;
}

.unete-valor-card__text {
  font-size: 14px;
  line-height: 1.55;
  color: #5a6578;
  margin: 0;
}

.unete-postulacion {
  padding-bottom: 80px;
}

.unete-postulacion__layout {
  align-items: flex-start;
}

.unete-postulacion .pagina-interna__lead a {
  color: #002b5c;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.unete-postulacion .pagina-interna__lead a:hover {
  color: #18d26e;
}

.unete-pasos {
  list-style: none;
  margin: 28px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.unete-paso {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #f8f9fb;
  border: 1px solid #e2e6ec;
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.unete-paso:hover {
  border-color: #c5d0dc;
  box-shadow: 0 6px 18px rgba(12, 35, 64, 0.07);
}

.unete-paso__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #082a4f 0%, #0d3a6a 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.unete-paso__body strong {
  display: block;
  font-size: 15px;
  color: #0c2340;
  margin-bottom: 4px;
}

.unete-paso__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #5a6578;
}

.unete-postulacion__gracias {
  font-size: 15px;
  color: #444;
  margin: 0;
  font-style: italic;
}

.unete-cta-card {
  position: sticky;
  top: 100px;
}

.unete-cta-card__list {
  margin-bottom: 20px;
}

.unete-cta-card__whatsapp {
  width: 100%;
  justify-content: center;
}

@media (max-width: 991px) {
  .unete-cta-card {
    position: static;
  }

  .unete-hero__grid {
    text-align: center;
  }

  .page-unete-as5 .unete-hero .pagina-interna__eyebrow,
  .page-unete-as5 .unete-hero .pagina-interna__titulo,
  .page-unete-as5 .unete-hero .pagina-interna__lead {
    text-align: center;
  }

  .unete-hero__texto--destacado {
    text-align: left;
  }
}

/*--------------------------------------------------------------
# Ética e integridad
--------------------------------------------------------------*/
.page-etica .etica-hero {
  padding-bottom: 64px;
}

.page-etica .etica-hero .pagina-interna__eyebrow,
.page-etica .etica-hero .pagina-interna__titulo,
.page-etica .etica-hero .pagina-interna__lead {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.page-etica .etica-hero .pagina-interna__lead {
  margin-bottom: 16px;
}

.etica-hero__media {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}

.etica-hero__visual {
  background: #fff;
  border: 1px solid rgba(8, 42, 79, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow:
    0 4px 6px rgba(8, 42, 79, 0.04),
    0 18px 40px rgba(8, 42, 79, 0.1);
  position: relative;
  overflow: hidden;
}

.etica-hero__visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #082a4f 0%, #0d3a6a 55%, #18d26e 100%);
}

.etica-hero__img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.etica-hero__texto {
  font-size: 16px;
  line-height: 1.75;
  color: #5a6578;
  margin: 0;
}

.etica-politicas {
  padding-top: 56px;
  padding-bottom: 72px;
}

.etica-politicas .section-header {
  margin-bottom: 36px;
}

.etica-politicas__grid {
  row-gap: 24px;
}

.etica-politica-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(8, 42, 79, 0.1);
  border-radius: 14px;
  padding: 28px 24px 26px;
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.etica-politica-card:hover {
  transform: translateY(-6px);
  border-color: rgba(24, 210, 110, 0.35);
  box-shadow: 0 14px 32px rgba(12, 35, 64, 0.12);
}

.etica-politica-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8eef4 0%, #dce6f0 100%);
  color: #002b5c;
  font-size: 26px;
  margin-bottom: 16px;
}

.etica-politica-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0c2340;
  margin: 0 0 12px;
}

.etica-politica-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: #5a6578;
  margin: 0;
  text-align: left;
}

.etica-valores {
  padding-bottom: 72px;
}

.etica-valores .section-header {
  margin-bottom: 36px;
}

.etica-valores__grid {
  row-gap: 20px;
}

.etica-cierre {
  padding-bottom: 80px;
}

.etica-cierre__grid {
  row-gap: 24px;
}

.etica-cierre-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(8, 42, 79, 0.1);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(12, 35, 64, 0.08);
}

.etica-cierre-card--accent {
  border-top: 4px solid #00d2b7;
}

.etica-cierre-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c2340;
  background: rgba(12, 35, 64, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.etica-cierre-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0c2340;
  margin: 0 0 12px;
  line-height: 1.3;
}

.etica-cierre-card__text {
  font-size: 15px;
  line-height: 1.75;
  color: #5a6578;
  margin: 0;
  text-align: left;
}

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

  .page-etica .etica-hero .pagina-interna__eyebrow,
  .page-etica .etica-hero .pagina-interna__titulo,
  .page-etica .etica-hero .pagina-interna__lead {
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Área de negocios
--------------------------------------------------------------*/
.area-negocios--intro {
  padding: 56px 0 24px;
  background: #fff;
}

.area-negocios--intro .section-header p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.area-negocios__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.area-negocios__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #082a4f;
  background: #fff;
  border: 2px solid rgba(8, 42, 79, 0.15);
  box-shadow: 0 4px 14px rgba(8, 42, 79, 0.08);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.area-negocios__nav-link i {
  font-size: 18px;
  color: #18d26e;
}

.area-negocios__nav-link:hover,
.area-negocios__nav-link:focus {
  color: #fff;
  background: #082a4f;
  border-color: #082a4f;
  transform: translateY(-2px);
}

.area-negocios__nav-link:hover i,
.area-negocios__nav-link:focus i {
  color: #fff;
}

.area-negocios__bloque {
  padding: 64px 0 72px;
  scroll-margin-top: 110px;
}

.area-negocios__bloque--destacada {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.area-negocios__bloque--alt {
  background: #fff;
  border-top: 1px solid rgba(8, 42, 79, 0.08);
  border-bottom: 1px solid rgba(8, 42, 79, 0.08);
}

.area-negocios__bloque-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 24px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 3px solid #18d26e;
}

.area-negocios__bloque-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #0d3a6a 0%, #082a4f 100%);
  color: #fff;
  font-size: 30px;
  box-shadow: 0 10px 24px rgba(8, 42, 79, 0.2);
}

.area-negocios__bloque-titles {
  flex: 1 1 220px;
  min-width: 0;
}

.area-negocios__bloque-titulo {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #082a4f;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.area-negocios__bloque-lead {
  margin: 0;
  font-size: 16px;
  color: #5c6573;
  line-height: 1.5;
}

.area-negocios__bloque-cta {
  margin-left: auto;
  white-space: nowrap;
}

.area-negocios__subtitulo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #082a4f;
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 4px solid #18d26e;
}

.area-negocios__cols {
  row-gap: 36px;
}

.area-negocios__alcances {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-negocios__tag {
  display: inline-block;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.35;
  color: #082a4f;
  background: #fff;
  border: 1px solid rgba(8, 42, 79, 0.12);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(8, 42, 79, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.area-negocios__bloque--alt .area-negocios__tag {
  background: #f6f8fb;
}

.area-negocios__tag:hover {
  border-color: rgba(24, 210, 110, 0.5);
  box-shadow: 0 4px 12px rgba(8, 42, 79, 0.1);
}

.area-negocios__proyectos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.area-negocios__proyecto {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid #082a4f;
  box-shadow: 0 6px 20px rgba(8, 42, 79, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-left-color 0.25s ease;
}

.area-negocios__bloque--alt .area-negocios__proyecto {
  background: #f6f8fb;
}

.area-negocios__proyecto:hover {
  transform: translateX(4px);
  border-left-color: #18d26e;
  box-shadow: 0 10px 28px rgba(8, 42, 79, 0.12);
}

.area-negocios__proyecto-body {
  flex: 1;
  min-width: 0;
}

.area-negocios__proyecto-body h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #082a4f;
  line-height: 1.35;
}

.area-negocios__proyecto-body p {
  margin: 0;
  font-size: 13px;
  color: #5c6573;
  line-height: 1.45;
}

.area-negocios__proyecto-year {
  flex-shrink: 0;
  min-width: 52px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, #18d26e 0%, #12a85a 100%);
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.area-negocios--cta {
  padding: 48px 0 80px;
  background: #082a4f;
}

.area-negocios__cta-text {
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.area-negocios--cta .btn-get-seccion {
  background: #18d26e;
  border-color: #18d26e;
  color: #fff;
}

.area-negocios--cta .btn-get-seccion:hover {
  background: #fff;
  color: #082a4f;
  border-color: #fff;
}

@media (max-width: 991px) {
  .area-negocios__bloque-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .area-negocios__bloque-cta {
    margin-left: 0;
  }
}

@media (max-width: 575px) {
  .area-negocios__nav-link {
    width: 100%;
    justify-content: center;
  }

  .area-negocios__proyecto {
    flex-direction: column;
    gap: 10px;
  }

  .area-negocios__proyecto-year {
    align-self: flex-start;
  }
}

/*--------------------------------------------------------------
# I+D+I (idi)
--------------------------------------------------------------*/
.idi-diagrama-wrap {
  background: linear-gradient(160deg, #ffffff 0%, #f0f6fa 55%, #e8f3ef 100%);
  border-radius: 20px;
  padding: 28px 24px 22px;
  border: 1px solid rgba(8, 42, 79, 0.1);
  box-shadow:
    0 4px 6px rgba(8, 42, 79, 0.04),
    0 18px 40px rgba(8, 42, 79, 0.1);
  position: relative;
  overflow: hidden;
  max-width: 520px;
  margin: 0 auto;
}

.idi-diagrama-section {
  padding-top: 48px;
  padding-bottom: 80px;
  background: #fff;
}

.idi-diagrama-section .section-header {
  margin-bottom: 32px;
}

/* Anillos — listos para animación CSS/JS */
.idi-ring {
  transform-origin: center;
  transition: stroke-width 0.35s ease, opacity 0.35s ease;
}

.idi-diagrama-wrap.is-ready .idi-ring--inv {
  animation: idi-ring-float 5s ease-in-out infinite;
}

.idi-diagrama-wrap.is-ready .idi-ring--des {
  animation: idi-ring-float 5s ease-in-out 0.6s infinite;
}

.idi-diagrama-wrap.is-ready .idi-ring--inn {
  animation: idi-ring-float 5s ease-in-out 1.2s infinite;
}

@keyframes idi-ring-float {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-4px); opacity: 0.92; }
}

@media (prefers-reduced-motion: reduce) {
  .idi-diagrama-wrap.is-ready .idi-ring--inv,
  .idi-diagrama-wrap.is-ready .idi-ring--des,
  .idi-diagrama-wrap.is-ready .idi-ring--inn {
    animation: none;
  }
}

.idi-diagrama-wrap::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 50%;
  height: 75%;
  background: radial-gradient(circle, rgba(0, 210, 183, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.idi-diagrama-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #082a4f 0%, #18d26e 55%, #00d2b7 100%);
}

.idi-diagrama-v2__sigla {
  margin: 0 0 4px;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #082a4f;
}

.idi-diagrama-v2__label {
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  fill: #18d26e;
}

.idi-diagrama-v2__label--des {
  fill: #082a4f;
}

.idi-diagrama-v2__label--inn {
  fill: #3d4d62;
}

.idi-diagrama-v2 {
  position: relative;
  z-index: 1;
}

.idi-diagrama-v2__svg {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  height: auto;
}

/* Legacy (por si queda referencia a la imagen PNG) */
.idi-diagrama {
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(8, 42, 79, 0.1);
  box-shadow: 0 14px 36px rgba(8, 42, 79, 0.1);
}

.idi-diagrama__img {
  width: 100%;
  height: auto;
  display: block;
}

.idi-fases {
  margin-top: 12px;
  row-gap: 28px;
}

.idi-fases > [class*="col-"] {
  display: flex;
}

.idi-fase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 28px 22px 26px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(8, 42, 79, 0.12);
  box-shadow:
    0 4px 6px rgba(8, 42, 79, 0.04),
    0 14px 32px rgba(8, 42, 79, 0.09);
  overflow: hidden;
  scroll-margin-top: 110px;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.idi-fase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #082a4f 0%, #18d26e 100%);
}

.idi-fase-card:hover {
  transform: translateY(-8px);
  border-color: rgba(24, 210, 110, 0.4);
  box-shadow: 0 22px 44px rgba(8, 42, 79, 0.14);
}

.idi-fase-card__num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(8, 42, 79, 0.25);
}

.idi-fase-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(145deg, #0d3a6a 0%, #082a4f 100%);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 6px 16px rgba(8, 42, 79, 0.22);
  transition: background 0.3s ease, transform 0.3s ease;
}

.idi-fase-card:hover .idi-fase-card__icon {
  background: linear-gradient(145deg, #18d26e 0%, #12a85a 100%);
  transform: scale(1.06);
}

.idi-fase-card__titulo {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #082a4f;
  line-height: 1.3;
}

.idi-fase-card__etapa {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #18d26e;
}

.idi-fase-card__texto {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #5c6573;
  flex: 1;
}

.idi-cierre {
  padding: 0 0 80px;
}

.idi-cierre__inner {
  background: linear-gradient(180deg, #eef6f3 0%, #f4f8fb 50%, #ffffff 100%);
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(8, 42, 79, 0.08);
}

.idi-cierre__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 15% 40%, rgba(0, 210, 183, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 85% 60%, rgba(24, 210, 110, 0.07) 0%, transparent 50%);
  pointer-events: none;
}

.idi-cierre__inner .container {
  position: relative;
  z-index: 1;
}

.idi-cierre__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0c2340;
  background: rgba(12, 35, 64, 0.08);
  border: 1px solid rgba(8, 42, 79, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.idi-cierre__titulo {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #082a4f;
  line-height: 1.3;
}

.idi-cierre__texto {
  margin: 0 auto 28px;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.75;
  color: #5a6578;
}

.idi-cierre__btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #082a4f;
  background: linear-gradient(135deg, #18d26e 0%, #00d2b7 100%);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(24, 210, 110, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.idi-cierre__btn:hover {
  color: #082a4f;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(24, 210, 110, 0.45);
}

.idi-cierre .section-header h3 {
  color: #082a4f;
}

.idi-cierre .btn-get-seccion {
  margin-top: 8px;
}
