:root {
  --primary: #012035;
  --secondary: #1b496c;
  --light: #e5e7ef;
  --gray: #747b83;
}

body {
  font-family: "Segoe UI", sans-serif;
  overflow-x: hidden;
}

#servicios,
#que,
#auditoria,
#porque,
#contacto,
#plan-mensual {
  scroll-margin-top: 120px;
}
/* Navbar */

.navbar {
  background: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 5px 0px 0px 0px;
}

/* Links */
.navbar .nav-link {
  color: #0b2e4f;
  font-weight: 500;
  margin-left: 15px;
  position: relative;
  transition: 0.3s ease;
  padding-bottom: 8px;
}

/* Hover */
.navbar .nav-link:hover {
  color: #003c97;
}

/* Active */
.navbar .nav-link.active {
  color: #003c97;
  font-weight: 600;
}

/* Línea inferior elegante */
.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #003c97, #0b2e4f);
  border-radius: 5px;
}
.navbar.scrolled {
  padding: 10px 0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: url("../img/bg-hero.jpg") center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Overlay oscuro */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(1, 32, 53, 0.95) 0%,
    rgba(1, 32, 53, 0.85) 40%,
    rgba(1, 32, 53, 0.3) 100%
  );
  z-index: 1;
}

/* Contenido arriba del overlay */
.hero .container {
  position: relative;
  z-index: 2;
}

/* Imagen flotante */
.hero-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 991px) {
  .hero {
    text-align: center;
    padding: 100px 0;
  }

  .hero img {
    margin-top: 40px;
  }
}

/* Listado de servicios */

.servicios {
  background: #eceef3;
}

.subtitle {
  color: #7d868f;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.title {
  color: #012035;
  font-weight: 700;
  margin-bottom: 10px;
}

.descripcion {
  color: #7d868f;
  max-width: 600px;
  margin: auto;
}

.servicio-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
  border: 1px solid #e5e7ef;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.servicio-card h4 {
  color: #012035;
  margin-bottom: 20px;
  font-weight: 600;
}

.servicio-card h4 i {
  color: #1b496c;
  margin-right: 10px;
}

.servicio-card ul {
  list-style: none;
  padding: 0;
}

.servicio-card ul li {
  margin-bottom: 12px;
  color: #7d868f;
  position: relative;
  padding-left: 25px;
}

.servicio-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1b496c;
  font-weight: bold;
}

/* Card Servicios Fiscales Inteligentes */
.section-servicios {
  background: #eceef3;
}

.titulo-seccion {
  color: #012035;
  font-weight: 700;
}

.descripcion-seccion {
  color: #7d868f;
}

.card-servicio {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.card-servicio:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.img-servicio {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body-servicio {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body-servicio h5 {
  color: #012035;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-body-servicio p {
  color: #7d868f;
  flex-grow: 1;
}

.btn-servicio {
  background: #012035;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.btn-servicio:hover {
  background: #003c97;
  color: #fff;
}
/* Somos tu aliado fiscal */
.section-diferenciador {
  background: #fff;
}

.section-diferenciador h2 {
  color: #012035;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-diferenciador p {
  color: #7d868f;
  margin-bottom: 20px;
}

.lista-diferenciador {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.lista-diferenciador li {
  margin-bottom: 10px;
  color: #7d868f;
  position: relative;
  padding-left: 25px;
}

.lista-diferenciador li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #003c97;
  font-weight: bold;
}

.btn-diferenciador {
  background: #012035;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-diferenciador:hover {
  background: #003c97;
  color: #fff;
}
/* Cards */

.card-tech {
  border: none;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transition: 0.4s;
  background: white;
}

.card-tech:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Plan Mensual */
.section-plan-mensual {
  background: #fff;
}

.titulo-plan {
  color: #012035;
  font-weight: 700;
}

.descripcion-plan {
  color: #7d868f;
  max-width: 700px;
  margin: auto;
}

.plan-card {
  background: #eceef3;
  padding: 30px;
  border-radius: 12px;
  height: 100%;
  transition: 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.plan-card h5 {
  color: #012035;
  font-weight: 600;
  margin-bottom: 15px;
}

.plan-card ul {
  padding-left: 18px;
  margin: 0;
}

.plan-card li {
  color: #7d868f;
  margin-bottom: 8px;
}

.btn-plan {
  background: #012035;
  color: #fff;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-plan:hover {
  background: #003c97;
  color: #fff;
}
/* Seccion auditoria */
.section-auditoria {
  color: #fff;
}

.titulo-auditoria {
  font-weight: 700;
  margin-bottom: 20px;
}

.descripcion-auditoria {
  color: #c6ced6;
  margin-bottom: 25px;
}

.lista-auditoria {
  list-style: none;
  padding: 0;
}

.lista-auditoria li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.lista-auditoria li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4da3ff;
  font-weight: bold;
}

.btn-auditoria {
  background: #003c97;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-auditoria:hover {
  background: #0056d6;
  color: #fff;
}

.img-auditoria {
  border-radius: 12px;
}
/* Section */

section {
  padding: 100px 0;
}

.section-dark {
  background: #012035;
  color: white;
}

.section-light {
  background: #f7f9fc;
}

/* Icons */

.icon {
  font-size: 35px;
  color: #1b496c;
  margin-bottom: 15px;
}

/* CTA */

.cta {
  background: linear-gradient(120deg, #012035, #1b496c);
  color: white;
  border-radius: 20px;
  padding: 60px;
}

/* Contact */
#contacto {
  background: linear-gradient(135deg, #012035, #012035);
  padding: 100px 0;
  color: #fff;
}

#contacto h2 {
  color: #fff;
  margin-bottom: 30px;
}

#contacto .form-control {
  height: 50px;
  border-radius: 8px;
  border: none;
}

#contacto textarea.form-control {
  height: auto;
}

#contacto .btn-primary {
  background: #003c97;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  transition: 0.3s;
}

#contacto .btn-primary:hover {
  background: #0052cc;
  transform: translateY(-2px);
}

#contacto img {
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
#contacto .contact-info .clstelefono {
  text-decoration: none;
  color: #fff;
}
#contacto .contact-info .clstelefono:hover {
  font-weight: 500;
}
/* Footer */
.footer {
  background: #fff;
  color: #000712;
  padding: 50px 0;
}

.footer a {
  color: #000712;
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  color: #003c97;
}

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

.footer-title {
  font-weight: 600;
  margin-bottom: 15px;
}

/* WhatsApp */
.whatsapp-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  z-index: 999;
}

/* Texto */
.whatsapp-text {
  background: #fff;
  color: #012035;
  padding: 10px 15px;
  border-radius: 25px;
  margin-right: 10px;
  font-size: 14px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateX(20px);
  transition: 0.3s;
  white-space: nowrap;
}

/* Botón */
.whatsapp {
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  text-decoration: none;
}

/* Hover */
.whatsapp-container:hover .whatsapp-text {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp:hover {
  transform: scale(1.1);
}

.whatsapp {
  animation: whatsappFloat 2s ease-in-out infinite;
}

@keyframes whatsappFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Servicios Especiales */
.section-servicios-especiales {
  background: linear-gradient(180deg, #ffffff 0%, #eceef3 100%);
}

.servicio-especial {
  background: #fff;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 50px rgba(1, 32, 53, 0.08);
  border: 1px solid #e5e7ef;
  overflow: hidden;
  position: relative;
}

.servicio-especial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(180deg, #012035, #1b496c, #003c97);
}

.servicio-especial-dark {
  background: #012035;
  color: #fff;
}

.servicio-especial h3 {
  color: #012035;
  font-weight: 700;
  margin-bottom: 18px;
}

.servicio-especial-dark h3 {
  color: #fff;
}

.lead-servicio {
  color: #7d868f;
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.servicio-especial-dark .lead-servicio {
  color: #c6ced6;
}

.servicio-especial-icon {
  width: 75px;
  height: 75px;
  border-radius: 18px;
  background: linear-gradient(135deg, #012035, #1b496c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 25px;
  box-shadow: 0 15px 35px rgba(1, 32, 53, 0.18);
}

.servicio-especial-dark .servicio-especial-icon {
  background: #fff;
  color: #012035;
}

.servicio-especial-content {
  display: grid;
  gap: 18px;
}

.bloque-legal {
  background: #f7f9fc;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #e5e7ef;
}

.servicio-especial-dark .bloque-legal {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.bloque-legal h5 {
  color: #012035;
  font-weight: 700;
  margin-bottom: 12px;
}

.servicio-especial-dark .bloque-legal h5 {
  color: #fff;
}

.bloque-legal h5 i {
  color: #003c97;
  margin-right: 8px;
}

.servicio-especial-dark .bloque-legal h5 i {
  color: #4da3ff;
}

.bloque-legal p,
.lista-especial li {
  color: #7d868f;
  margin-bottom: 0;
}

.servicio-especial-dark .bloque-legal p,
.servicio-especial-dark .lista-especial li {
  color: #d8dee6;
}

.lista-especial {
  padding-left: 18px;
  margin-bottom: 0;
}

.lista-especial li {
  margin-bottom: 10px;
}

.mensaje-destacado {
  background: linear-gradient(135deg, #012035, #1b496c);
  color: #fff;
  padding: 25px;
  border-radius: 14px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.mensaje-destacado i {
  font-size: 28px;
  color: #4da3ff;
  margin-top: 4px;
}

.mensaje-destacado p {
  margin-bottom: 0;
  color: #fff;
}

.frase-pld {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #4da3ff;
  padding: 22px 25px;
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
  margin: 0;
}

.btn-especial {
  background: #012035;
  color: #fff;
  padding: 13px 28px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.btn-especial:hover {
  background: #003c97;
  color: #fff;
  transform: translateY(-2px);
}

.servicio-especial-dark .btn-especial {
  background: #003c97;
}

.servicio-especial-dark .btn-especial:hover {
  background: #0056d6;
}

@media (max-width: 991px) {
  .servicio-especial {
    padding: 35px 25px;
  }
}

/* ================SERVICIOS NUEVOS========================= */
/* Servicios Especiales */
.section-servicios-especiales {
  background: linear-gradient(180deg, #ffffff 0%, #eceef3 100%);
}

.servicio-especial {
  background: #fff;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 50px rgba(1, 32, 53, 0.08);
  border: 1px solid #e5e7ef;
  overflow: hidden;
  position: relative;
}

.servicio-especial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(180deg, #012035, #1b496c, #003c97);
}

.servicio-especial-dark {
  background: #012035;
  color: #fff;
}

.servicio-especial h3 {
  color: #012035;
  font-weight: 700;
  margin-bottom: 18px;
}

.servicio-especial-dark h3 {
  color: #fff;
}

.lead-servicio {
  color: #7d868f;
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.servicio-especial-dark .lead-servicio {
  color: #c6ced6;
}

.servicio-especial-icon {
  width: 75px;
  height: 75px;
  border-radius: 18px;
  background: linear-gradient(135deg, #012035, #1b496c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 25px;
  box-shadow: 0 15px 35px rgba(1, 32, 53, 0.18);
}

.servicio-especial-dark .servicio-especial-icon {
  background: #fff;
  color: #012035;
}

.servicio-especial-content {
  display: grid;
  gap: 18px;
}

.bloque-legal {
  background: #f7f9fc;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #e5e7ef;
}

.servicio-especial-dark .bloque-legal {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.bloque-legal h5 {
  color: #012035;
  font-weight: 700;
  margin-bottom: 12px;
}

.servicio-especial-dark .bloque-legal h5 {
  color: #fff;
}

.bloque-legal h5 i {
  color: #003c97;
  margin-right: 8px;
}

.servicio-especial-dark .bloque-legal h5 i {
  color: #4da3ff;
}

.bloque-legal p,
.lista-especial li {
  color: #7d868f;
  margin-bottom: 0;
}

.servicio-especial-dark .bloque-legal p,
.servicio-especial-dark .lista-especial li {
  color: #d8dee6;
}

.lista-especial {
  padding-left: 18px;
  margin-bottom: 0;
}

.lista-especial li {
  margin-bottom: 10px;
}

.mensaje-destacado {
  background: linear-gradient(135deg, #012035, #1b496c);
  color: #fff;
  padding: 25px;
  border-radius: 14px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.mensaje-destacado i {
  font-size: 28px;
  color: #4da3ff;
  margin-top: 4px;
}

.mensaje-destacado p {
  margin-bottom: 0;
  color: #fff;
}

.frase-pld {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #4da3ff;
  padding: 22px 25px;
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
  margin: 0;
}

.btn-especial {
  background: #012035;
  color: #fff;
  padding: 13px 28px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.btn-especial:hover {
  background: #003c97;
  color: #fff;
  transform: translateY(-2px);
}

.servicio-especial-dark .btn-especial {
  background: #003c97;
}

.servicio-especial-dark .btn-especial:hover {
  background: #0056d6;
}

@media (max-width: 991px) {
  .servicio-especial {
    padding: 35px 25px;
  }
}

.servicio-especial-imagen {
  height: 50%;
  min-height: 300px;
  overflow: hidden;
  border-radius: 18px 0 0 18px;
}

.servicio-especial-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.servicio-especial:hover .servicio-especial-imagen img {
  transform: scale(1.05);
}

.servicio-especial-dark .servicio-especial-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 991px) {
  .servicio-especial-imagen {
    min-height: 300px;
    border-radius: 18px 18px 0 0;
  }

  .servicio-especial-dark .servicio-especial-content {
    padding-top: 2rem !important;
  }
}

/* Equipo */
#equipo {
  background: #eceef3;
}

.team-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-img {
  border-radius: 12px;
  height: 500px;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

#equipo h2 {
  color: #012035;
}

#equipo h5 {
  color: #012035;
  font-weight: 600;
}
