/* ======= Base ======= */
body {
  margin-left: auto;
  margin-right: auto;
  font-family: 'Sura';
  color: #444;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sura';
  font-weight: 700;
  color: #ff345f;
}

a {
  color: #ff345f;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}

a:hover {
  text-decoration: underline;
  color: #ff345f;
}

.btn, a.btn {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  font-family: 'Montserrat', arial, sans-serif;
  padding: 8px 16px;
  font-weight: bold;
  text-decoration: none;
}

.btn .svg-inline--fa, a.btn .svg-inline--fa {
  margin-right: 5px;
}

.btn:focus, a.btn:focus {
  color: #fff;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

a.btn-cta-primary, .btn-cta-primary {
  background: #074f66;
  border: 1px solid #074f66;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

a.btn-cta-primary:hover, .btn-cta-primary:hover {
  background: #053c4e;
  border: 1px solid #053c4e;
  color: #fff;
}

a.btn-cta-secondary, .btn-cta-secondary {
  background: #ff345f;
  border: 1px solid #ff345f;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

.text-highlight {
  color: #ff345f;
}

.offset-header {
  padding-top: 90px;
}

pre code {
  font-size: 16px;
}

/* ======= Header ======= */
.header {
  background: #fff;
  color: #fff;
  position: fixed;
  width: 100%;
}

.header.navbar-fixed-top {
  background: #fff;
  z-index: 9999;
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  height: 90px;
}

.header.navbar-fixed-top .logo {
  color: #ff345f;
}

.header .logo {
  margin-top: 0;
  margin-left: 10%;
  font-size: 32px;
  font-family: 'Sura';
  font-weight: bold;
  color: #ff345f;
}

.header .logo:hover {
  text-decoration: none;
}

.header .main-nav .navbar-collapse {
  padding-right: 10%;
}

.header .main-nav .navbar-toggler {
  margin-right: 0;
  margin-top: 0;
  background: none;
  float: right;
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 8px 8px;
  right: 10px;
  top: 10px;
  background: #ff345f;
;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.header .main-nav .navbar-toggler:focus {
  outline: none;
}

.header .main-nav .navbar-toggler .icon-bar {
  display: block;
  background-color: #fff;
  height: 2px;
  width: 22px;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  -ms-border-radius: 1px;
  -o-border-radius: 1px;
  border-radius: 1px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

.header .main-nav .navbar-toggler .icon-bar + .icon-bar {
  margin-top: 4px;
}

.header .main-nav .navbar-toggler:hover .icon-bar {
  background-color: #fff;
}

.header .main-nav .nav .nav-item {
  font-weight: bold;
  margin-right: 30px;
  font-family: 'Montserrat', sans-serif;
}

.header .main-nav .nav .nav-item .nav-link {
  color: #09617e;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  font-size: 14px;
  padding: 15px 10px;
  text-decoration: none;
}

.header .main-nav .nav .nav-item .nav-link:hover {
  color: #074f66;
  background: none;
}

.header .main-nav .nav .nav-item .nav-link:focus {
  outline: none;
  background: none;
}

.header .main-nav .nav .nav-item .nav-link:active {
  outline: none;
  background: none;
}

.header .main-nav .nav .nav-item.active .nav-link {
  color: #ff345f;
  background: none;
}

.header .main-nav .nav .nav-item.last {
  margin-right: 0;
}

.service-card h4 {
  color: #09617e;
}

.service-card {
  border: none;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  background: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ======= About Section ======= */
.about {
  padding-top: 120px;
  padding-bottom: 40px;;
  background: rgba(0, 0, 0, 0.125);
}

.about .title {
  position: relative;
  color: #09617e;
  margin-top: 20px;
  margin-bottom: 25px;
}

.about .intro {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.about .item {
  position: relative;
  margin-bottom: 30px;
}

.about .item .icon-holder {
  position: absolute;
  left: 30px;
  top: 0;
}

.about .item .icon-holder .svg-inline--fa {
  font-size: 24px;
  color: #074f66;
}

.about .item .content {
  padding-left: 60px;
}

.about .item .content .sub-title {
  margin-top: 0;
  color: #074f66;
  font-size: 18px;
}

/* ======= Features Section ======= */
.features {
  padding-top: 25px;
  padding-bottom: 70px;
  background: rgba(0, 0, 0, 0.125);
  color: #09617e;
}

.features .title {
  color: #000;
  margin-top: 20px;
  margin-bottom: 25px;
}

.features a {
  color: #09617e;
}

.features a:hover {
  color: #042a36;
}

.features .feature-list li {
  margin-bottom: 10px;
  color: #074f66;
}

.features .feature-list li .svg-inline--fa {
  margin-right: 5px;
  color: rgba(0, 0, 0, 0.3);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: center;
}

/* En pantallas chicas, que sean 1 columna */
@media (max-width: 768px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* ======= Projects Section ======= */
.projects {
  padding-top: 25px;
  padding-bottom: 70px;
  color: #09617e;
}

.projects .title {
  color: #000;
  margin-top: 20px;
  margin-bottom: 25px;
}

.projects a {
  color: #09617e;
  text-decoration: none;
}

.projects a:hover {
  color: #ff345f;
}

.projects .feature-list li {
  margin-bottom: 10px;
  color: #074f66;
}

.projects .feature-list li .svg-inline--fa {
  margin-right: 5px;
  color: rgba(0, 0, 0, 0.3);
}

.projects-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: center;
}

/* En pantallas chicas, que sean 1 columna */
@media (max-width: 768px) {
  .projects-list {
    grid-template-columns: 1fr;
  }
}

/* ======= Footer ======= */
footer {
  background: #074f66;
  color: white;
  padding: 10px 0;
  text-align: center;
}

footer .list-inline-item a {
  color: white;
  font-size: 24px;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 70px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-decoration: none;
  z-index: 1000;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.05);
  color: white;
}
.whatsapp-float i {
  font-size: 22px;
}

@media (max-width: 890px) {
  .header .main-nav .navbar-collapse {
    border-top: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    width: 100%;
    left: 0;
    top: 10px;
    /*position: absolute;*/
    background: #fff;
  }
  .header .main-nav .navbar-collapse .navbar-nav {
    margin-left: 10px;
  }
  .header.navbar-fixed-top {
    height: 90px;
  }

  .about .title {
    position: initial;
  }
}
