/*
===================================================================
PALETA DE COLORES (ACTUALIZADA - TONOS ACLARADOS LEVEMENTE)
===================================================================
Valores Originales Guardados de Respaldo:
- Fondo Body: linear-gradient(180deg, #f4f9fc 0%, #edf4f8 100%)
Valores del Hero (Capa Inicio / Fondo):
- Original Inicial: linear-gradient(120deg, rgba(7, 32, 50, 0.92) 0%, rgba(7, 32, 50, 0.72) 42%, rgba(10, 115, 130, 0.38) 100%)
- Paso Previo (Aclarado): linear-gradient(120deg, rgba(12, 48, 72, 0.86) 0%, rgba(13, 56, 82, 0.65) 42%, rgba(16, 136, 154, 0.35) 100%)
- Actual (Más Traslúcido): linear-gradient(120deg, rgba(10, 42, 65, 0.68) 0%, rgba(12, 54, 80, 0.45) 45%, rgba(16, 136, 154, 0.20) 100%)
- Hero Panel Previo: rgba(10, 34, 52, 0.62) | Actual: rgba(10, 34, 52, 0.48)
===================================================================
*/

body {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #4a5c6e;
  font-family: 'Barlow', sans-serif, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(14, 142, 168, 0.12), transparent 28%),
    linear-gradient(180deg, #fafdff 0%, #f2f7fb 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  color: #123851;
}

h1 {
  font-size: 62px;
  line-height: 1.05;
}

h2 {
  font-size: 42px;
  line-height: 1.15;
}

h3 {
  font-size: 24px;
  line-height: 1.25;
}

h4 {
  font-size: 20px;
  line-height: 1.3;
}

p {
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
}

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

a {
  color: inherit;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

a:focus,
.btn:focus,
.btn:active:focus {
  box-shadow: none;
  outline: 0 none;
}

a,
a:active,
a:focus {
  text-decoration: none;
}

.section {
  padding: 110px 0;
  position: relative;
}

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

.heading,
.section-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 70px;
}

.heading h2,
.section-intro h2 {
  padding-bottom: 18px;
}

.heading p,
.section-intro p {
  font-family: 'Libre Baskerville', serif;
  font-size: 16px;
  line-height: 1.8;
  color: #5c7285;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #0fa0b4;
  margin-bottom: 18px;
}

.section-kicker:before,
.eyebrow:before {
  content: "";
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, #0fa0b4 0%, #8be2d8 100%);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 30px;
  border: none;
}

.btn-home {
  background: linear-gradient(135deg, #18b6c4 0%, #0f93ae 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 147, 174, 0.32);
}

.btn-home:hover,
.btn-home:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(15, 147, 174, 0.4);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

#preloader {
  background-color: #fff;
  bottom: auto;
  height: 100%;
  left: auto;
  position: fixed;
  right: auto;
  top: auto;
  width: 100%;
  z-index: 9999;
}

.book {
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  position: relative;
  margin: 0 auto;
  border: 5px solid #d6e8ed;
  width: 100px;
  height: 60px;
}

.book__page {
  position: absolute;
  left: 50%;
  top: -5px;
  margin: 0 auto;
  border-top: 5px solid #d6e8ed;
  border-bottom: 5px solid #d6e8ed;
  border-right: 5px solid #d6e8ed;
  background: #0fa0b4;
  width: 50px;
  height: 60px;
  -webkit-transform-origin: 0% 50%;
  -ms-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  -webkit-animation: flip 1.2s infinite linear;
  animation: flip 1.2s infinite linear;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.book__page:nth-child(1) {
  z-index: -1;
  -webkit-animation-delay: 1.4s;
  animation-delay: 1.4s;
}

.book__page:nth-child(2) {
  z-index: -2;
  -webkit-animation-delay: 2.8s;
  animation-delay: 2.8s;
}

.book__page:nth-child(3) {
  z-index: -3;
  -webkit-animation-delay: 4.2s;
  animation-delay: 4.2s;
}

@-webkit-keyframes flip {
  0% { -webkit-transform: perspective(600px) rotateY(0deg); transform: perspective(600px) rotateY(0deg); }
  20% { background: #0fa0b4; }
  29.9% { background: #0fa0b4; }
  30% { -webkit-transform: perspective(200px) rotateY(-90deg); transform: perspective(200px) rotateY(-90deg); background: #0fa0b4; }
  54.999% { opacity: 1; }
  55% { opacity: 0; }
  60% { -webkit-transform: perspective(200px) rotateY(-180deg); transform: perspective(200px) rotateY(-180deg); background: #0fa0b4; }
  100% { -webkit-transform: perspective(200px) rotateY(-180deg); transform: perspective(200px) rotateY(-180deg); background: #0fa0b4; }
}

@keyframes flip {
  0% { -webkit-transform: perspective(600px) rotateY(0deg); transform: perspective(600px) rotateY(0deg); }
  20% { background: #0fa0b4; }
  29.9% { background: #0fa0b4; }
  30% { -webkit-transform: perspective(200px) rotateY(-90deg); transform: perspective(200px) rotateY(-90deg); background: #0fa0b4; }
  54.999% { opacity: 1; }
  55% { opacity: 0; }
  60% { -webkit-transform: perspective(200px) rotateY(-180deg); transform: perspective(200px) rotateY(-180deg); background: #0fa0b4; }
  100% { -webkit-transform: perspective(200px) rotateY(-180deg); transform: perspective(200px) rotateY(-180deg); background: #0fa0b4; }
}

.nav-shell {
  position: relative;
  z-index: 20;
  width: 100%;
}

.bg-1 {
  background-image:
    linear-gradient(120deg, rgba(10, 42, 65, 0.68) 0%, rgba(12, 54, 80, 0.45) 45%, rgba(16, 136, 154, 0.20) 100%),
    url("../images/header-bg.jpg");
  background-size: cover;
  background-position: center;
}

.bg-gray {
  background:
    radial-gradient(circle at right top, rgba(15, 147, 174, 0.08), transparent 26%),
    #fafdfe;
}

.hero-area {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 170px 0 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 85% 22%, rgba(139, 226, 216, 0.22), transparent 18%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  color: #fff;
  font-size: 68px;
  text-transform: none;
  font-weight: 800;
  padding-bottom: 22px;
  margin-top: 0;
  max-width: 720px;
}

.hero-copy p {
  color: rgba(245, 252, 255, 0.96);
  font-size: 20px;
  line-height: 1.7;
  max-width: 620px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-panel {
  background: rgba(10, 34, 52, 0.48);
  border: 1px solid rgba(142, 230, 220, 0.28);
  backdrop-filter: blur(10px);
  border-radius: 28px;
  padding: 30px;
  color: #fff;
  box-shadow: 0 28px 60px rgba(7, 30, 48, 0.24);
}

.hero-panel__badge {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(142, 230, 220, 0.15);
  border: 1px solid rgba(142, 230, 220, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #acf0e8;
  margin-bottom: 18px;
}

.hero-panel__item + .hero-panel__item {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-panel__item strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  color: #fff;
}

.hero-panel__item span {
  display: block;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(236, 247, 250, 0.88);
}

.hero-metrics {
  margin-top: 70px;
  row-gap: 24px;
}

.metric-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 147, 174, 0.1);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 24px 40px rgba(15, 52, 74, 0.1);
}

.metric-card__label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #0fa0b4;
  font-weight: 800;
  margin-bottom: 12px;
}

.metric-card strong {
  display: block;
  font-size: 24px;
  color: #123851;
  margin-bottom: 8px;
}

.metric-card p {
  color: #5c7285;
  font-size: 15px;
}

.navigation {
  background: rgba(8, 30, 48, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -ms-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
  padding: 8px 24px;
  margin: 14px 0 0;
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

.navigation .navbar-brand {
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.navigation .navbar-brand img {
  width: 290px;
  max-height: 72px;
  height: auto;
  object-fit: contain;
}

.navigation .navbar-toggler {
  background: rgba(255, 255, 255, 0.96);
  color: #123851;
  outline: none;
  border-radius: 14px;
  padding: 10px 14px;
  border: 0;
}

.navigation .navbar-toggler i {
  font-size: 22px;
}

.navigation.animated {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 45px rgba(8, 36, 56, 0.1);
}

.navigation.animated .menu a {
  color: #1d4b66;
}

.navigation.animated .menu li.current a,
.navigation .menu li.current a {
  color: #0fa0b4;
}

.menu li {
  margin-left: 14px;
}

.menu li a {
  color: #f7fbfd;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 10px;
}

.menu li a:hover,
.menu li a:focus {
  background: none;
  color: #acf0e8;
}

.about-layout {
  align-items: center;
  row-gap: 30px;
}

.about-card {
  background: #fff;
  border-radius: 30px;
  padding: 42px;
  box-shadow: 0 25px 55px rgba(15, 45, 66, 0.08);
  border: 1px solid rgba(15, 147, 174, 0.09);
}

.about .content h3 {
  font-size: 30px;
  line-height: 1.3;
  color: #163d57;
  margin-bottom: 20px;
  font-family: 'Libre Baskerville', serif;
}

.about .content p + p {
  margin-top: 18px;
}

.about-highlights {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.about-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f6fbfe;
  color: #2b536b;
  border: 1px solid rgba(15, 147, 174, 0.06);
}

.about-highlight i {
  color: #0fa0b4;
  font-size: 24px;
}

.about-visual {
  position: relative;
}

.about .about-slider {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 28px 60px rgba(12, 48, 70, 0.16);
}

.about .about-slider img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.owl-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
}

.owl-theme .owl-controls .owl-page span,
.owl-pagination .owl-page span {
  background: rgba(255, 255, 255, 0.65);
}

.about-note {
  width: calc(100% - 50px);
  margin: -62px auto 0;
  background: rgba(14, 48, 70, 0.88);
  color: #eff7fa;
  border-radius: 24px;
  padding: 22px 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 18px 38px rgba(8, 32, 48, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-note strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
  color: #fff;
}

.about-note p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(240, 248, 251, 0.88);
}

.service {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(14, 48, 70, 0.96) 0%, rgba(16, 68, 90, 0.96) 100%);
  color: #e4f0f4;
}

.service .heading h2,
.service .heading p,
.service .section-kicker {
  color: inherit;
}

.service-grid {
  row-gap: 24px;
}

.service-card {
  height: 100%;
  margin-bottom: 0;
  padding: 34px 26px 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(162, 236, 228, 0.18);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.service .block i {
  font-size: 34px;
  display: inline-flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #acf0e8;
  background: rgba(162, 236, 228, 0.12);
  border-radius: 20px;
}

.service .block h3 {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
  text-transform: none;
}

.service .block p {
  color: rgba(228, 240, 244, 0.84);
  font-size: 15px;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.capability {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(162, 236, 228, 0.16);
}

.capability span {
  display: block;
  color: #acf0e8;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.capability p {
  color: rgba(228, 240, 244, 0.85);
  font-size: 15px;
}

.contact {
  padding-top: 120px;
}

.contact-shell {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 252, 254, 0.99) 100%);
  border-radius: 34px;
  padding: 34px;
  box-shadow: 0 26px 60px rgba(18, 54, 76, 0.1);
  border: 1px solid rgba(15, 147, 174, 0.09);
  overflow: hidden;
}

.contact-copy {
  height: 100%;
  padding: 18px 18px 18px 6px;
}

.contact-copy h2 {
  margin-bottom: 18px;
}

.contact-copy p {
  color: #5c7285;
}

.contact-points {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.contact-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 18px;
  background: #f7fcfe;
  border: 1px solid rgba(15, 147, 174, 0.05);
}

.contact-point i {
  color: #0fa0b4;
  font-size: 24px;
  margin-top: 2px;
}

.contact-point span {
  color: #385367;
  line-height: 1.6;
}

.contact-form-wrap {
  background: #123045;
  border-radius: 28px;
  padding: 30px;
  height: 100%;
  border: 1px solid rgba(162, 236, 228, 0.12);
}

.input-field .form-control {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  font-weight: 500;
  border-radius: 16px;
  color: #fff;
}

.input-field .form-control::placeholder {
  color: rgba(235, 244, 248, 0.75);
}

.input-field .form-control:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(162, 236, 228, 0.5);
}

.btn-send {
  line-height: 1.2;
  background: linear-gradient(135deg, #1cc7d0 0%, #119fb2 100%);
  color: #fff;
  width: 100%;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.14em;
  border-radius: 16px;
  margin-top: 10px;
  padding: 18px 24px;
  box-shadow: 0 14px 30px rgba(17, 159, 178, 0.28);
}

.btn-send:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(17, 159, 178, 0.38);
}

.input-field label {
  color: rgba(237, 28, 36, 0.8);
}

.form-group .input-field + .input-field {
  margin-top: 14px;
}

.input-field textarea.form-control {
  height: 170px;
  box-shadow: none;
  padding-top: 18px;
}

.form-group {
  margin-top: 10px;
}

#success,
#error {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  font-weight: 600;
}

#success {
  background: rgba(41, 199, 121, 0.18);
  color: #bdf3d2;
}

#error {
  background: rgba(255, 95, 95, 0.18);
  color: #ffd2d2;
}

.map-wrapper {
  height: 10px;
}

footer {
  text-align: center;
  background: #0d2233;
  padding: 34px 0;
}

footer p {
  font-weight: 500;
  font-size: 13px;
  color: rgba(228, 236, 240, 0.82);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer p a {
  color: #acf0e8;
}

footer p a:hover {
  color: #fff;
}

.sombra-texto {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===================================================================
   BOTÓN FLOTANTE WHATSAPP
   =================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 13px 20px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  animation: waBounce 3s ease infinite;
}

.whatsapp-float i {
  font-size: 1.2rem;
}

.whatsapp-float:hover {
  background: #1da851;
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
  animation: none;
  text-decoration: none;
}

@keyframes waBounce {
  0%, 90%, 100% {
    transform: translateY(0);
  }
  95% {
    transform: translateY(-6px);
  }
}

@media (max-width: 780px) {
  .whatsapp-float {
    bottom: 18px;
    left: 18px;
    padding: 14px;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    justify-content: center;
  }

  .whatsapp-float span {
    display: none;
  }
}

