  /* =================== ESTILOS GENERALES =================== */
  body.index-page {
    font-family: 'Roboto', 'Inter', 'Nunito', Arial, sans-serif;
    background: #fff;
    color: #222;
  }
  a { color: #003366; text-decoration: none; }
  h1, h2, h3, h4, h5, h6 { color: #003366; }
  .fw-bold { font-weight: bold; }
  .fw-semibold { font-weight: 600; }
  .shadow-lg { box-shadow: 0 2px 16px rgba(0,0,0,0.08) !important; }
  .rounded-4 { border-radius: 1.25rem !important; }
  .text-center { text-align: center !important; }
  .text-start { text-align: left !important; }
  .mb-0 { margin-bottom: 0 !important; }
  .mb-3 { margin-bottom: 1rem !important; }
  .mb-4 { margin-bottom: 1.5rem !important; }
  .mb-5 { margin-bottom: 3rem !important; }
  .mt-3 { margin-top: 1rem !important; }
  .mt-4 { margin-top: 1.5rem !important; }
  .mt-auto { margin-top: auto !important; }
  .container { max-width: 1140px; margin: 0 auto; }
  .section { padding: 40px 0; }
  .btn { border-radius: 0.5rem; }
  /* =================== HEADER =================== */
  #header.header {
    position: fixed;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    background: #fff;
    min-height: 64px;
    top: 0; left: 0; right: 0;
  }

  .header-container {
    padding: 0 24px;
    border-radius: 0;
    box-shadow: none;
  }
  .logo .sitename {
    font-size: 1.7rem;
    margin-bottom: 0;
    color: #003366;
    font-weight: 700;
  }
  #navmenu ul {
    gap: 8px;
    margin-bottom: 0;
    list-style: none;
    padding-left: 0;
    display: flex;
    align-items: center;
  }
  #navmenu a {
    border-radius: 0;
    padding: 10px 18px;
    color: #003366;
    font-weight: 500;
    transition: background 0.2s;
  }
  #navmenu a.active, #navmenu a:hover {
    background: #f5f7fa;
    color: #003366;
  }
  .dropdown-menu {
    border-radius: 0.5rem;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  }
  .dropdown-item {
    color: #003366;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 0;
  }
  .dropdown-item:hover {
    background: #f5f7fa;
    color: #003366;
  }

  .header {
  height: 72px;
  min-height: 72px;
  max-height: 72px;
  overflow: visible;
  position: relative;
  z-index: 1000;
}

.header .logo img {
  height: 100px; /* Más grande que el header */
  max-height: none;
  width: auto;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.header .logo {
  position: relative;
  height: 92px;
  display: flex;
  align-items: center;
  padding-left: 0; /* Ajusta si es necesario */
}
  /* =================== INICIO =================== */
  #inicio.hero.section {
    padding-top: 90px;
    margin-bottom: 0;
    background: #fff;
  }
  /* =================== ¿QUÉ OFRECEMOS? =================== */
  #que-ofrecemos.section {
    padding-top: 40px;
    margin-top: -30px;
    margin-bottom: 0;
    background: #fff;
  }
  .stat-item {
    background: #fff;
    min-width: 320px;
    border-radius: 1.25rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
  }
  .stat-icon {
    margin-bottom: 1rem;
  }
  .stat-content p {
    margin-bottom: 0;
  }
  /* =================== INFO LEGAL =================== */
  #info-legal.section {
    padding-top: 40px;
    margin-top: -30px;
    margin-bottom: 0;
    background: #fff;
  }
  .card-equal {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(.4,0,.2,1);
    min-height: 520px;
    max-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .card-equal.expanded {
    max-height: 2000px;
  }
  .card-gradient {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 70px;
    background: linear-gradient(transparent, #fff 80%);
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .card-equal.expanded .card-gradient,
  .card-equal .card-gradient[style*="opacity:0"] {
    opacity: 0;
  }
  .btn-vermas {
    position: absolute;
    left: 0; right: 0; bottom: 10px;
    margin: auto;
    z-index: 2;
    width: fit-content;
  }
  .card-content {
    flex: 1 1 auto;
  }
  @media (max-width: 991px) {
    .card-equal, .card-equal.expanded {
      min-height: 0;
      max-height: none;
      position: static;
    }
    .btn-vermas {
      position: static;
      margin-top: 1rem;
    }
  }
  /* =================== ¿CÓMO FUNCIONA? =================== */
  #como-funciona {
    padding-top: 40px !important;
    margin-top: -20px !important;
    background: #fff;
  }
  @media (max-width: 991px) {
    #como-funciona {
      padding-top: 30px !important;
      margin-top: -10px !important;
    }
  }
  /* =================== IA EN DOCUMENTOS =================== */
  #ia-legales {
    padding-top: 30px !important;
    margin-top: -20px !important;
    background: #fff;
  }
  @media (max-width: 991px) {
    #ia-legales {
      padding-top: 20px !important;
      margin-top: -10px !important;
    }
  }
  .feature-box {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 2rem;
    font-size: 16px;
    text-align: justify;
  }
  /* =================== VENTAJAS =================== */
  #ventajas.section {
    background-color: #f5f7fa;
    padding: 40px 0;
  }
  #ventajas .stat-item {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
    height: 100%;
  }
  #ventajas .stat-icon {
    margin-bottom: 1rem;
  }
  #ventajas .stat-content p {
    font-weight: 600;
    margin-bottom: 0;
  }
  /* =================== ACCESO A LA JUSTICIA =================== */
  #acceso-justicia.section {
    background: #fff;
    padding: 40px 0;
  }
  #acceso-justicia h2 {
    font-size: 2.1rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
  }
  #acceso-justicia p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.15rem;
  }
  /* =================== PRECIO =================== */
  #Precio.pricing.section {
    background: #f5f7fa;
    padding: 40px 0;
  }
  .pricing-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
  }
  .section-title2{
    text-align:center ;
  }
  .pricing-card .price {
    font-size: 2.2rem;
    color: #003366;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  .pricing-card .features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
  }
  .pricing-card .features-list li {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #003366;
  }
  .pricing-card .btn {
    background: #003366;
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
  }
  .pricing-card .btn:hover {
    background: #0056b3;
    color: #fff;
  }
  /* =================== CONTACTO =================== */
  #contact.contact.section {
    background: #fff;
    padding: 40px 0;
  }
  .info-box {
    background: #f5f7fa;
    border-radius: 1.25rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-bottom: 2rem;
  }
  .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }
  .icon-box {
    font-size: 1.5rem;
    color: #003366;
    margin-right: 1rem;
  }
  .contact-form {
    background: #f5f7fa;
    border-radius: 1.25rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 2rem;
  }
  .contact-form .btn {
    background: #003366;
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
  }
  .contact-form .btn:hover {
    background: #0056b3;
    color: #fff;
  }
  /* =================== FOOTER =================== */
  #footer.footer {
    background: #f5f7fa;
    padding: 40px 0 0 0;
    color: #003366;
  }
  .footer-top {
    padding-bottom: 2rem;
    border-bottom: 1px solid #eaeaea;
  }
  .footer-about .sitename {
    font-size: 1.3rem;
    font-weight: bold;
    color: #003366;
  }
  .social-links a {
    color: #003366;
    font-size: 1.3rem;
    margin-right: 1rem;
    transition: color 0.2s;
  }
  .social-links a:hover {
    color: #0056b3;
  }
  .footer-links h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  .footer-links ul {
    list-style: none;
    padding-left: 0;
  }
  .footer-links ul li {
    margin-bottom: 0.5rem;
  }
  .footer-links ul li a {
    color: #003366;
    font-weight: 500;
    transition: color 0.2s;
  }
  .footer-links ul li a:hover {
    color: #0056b3;
  }
  .copyright {
    font-size: 0.95rem;
    color: #003366;
    margin-top: 1.5rem;
    padding-bottom: 1rem;
  }
  /* =================== SCROLL TOP =================== */
  #scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #003366;
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s;
  }
  #scroll-top:hover {
    background: #0056b3;
    color: #fff;
  }
/* =================== MENÚ HAMBURGUESA Y DROPDOWN =================== */
#navmenu {
  position: relative;
}
#navmenu ul {
  gap: 8px;
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}
#navmenu a {
  border-radius: 0;
  padding: 10px 18px;
  color: #003366;
  font-weight: 500;
  transition: background 0.2s;
  display: flex;
  align-items: center;
}
#navmenu a.active, #navmenu a:hover {
  background: #f5f7fa;
  color: #003366;
}
#navmenu .dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  min-width: 180px;
  z-index: 1001;
  border-radius: 0.5rem;
  padding: 0.5rem 0;
}
#navmenu .dropdown-menu .dropdown-item {
  padding: 10px 18px;
  color: #003366;
  font-weight: 500;
  border-radius: 0;
  background: none;
  transition: background 0.2s;
  width: 100%;
}
#navmenu .dropdown-menu .dropdown-item:hover {
  background: #f5f7fa;
  color: #003366;
}
#navmenu .dropdown.open > .dropdown-menu {
  display: block;
}
#navmenu .dropdown-toggle i.fa-chevron-down {
  font-size: 1rem;
  margin-left: 6px;
}

/* Menú hamburguesa */
.mobile-nav-toggle {
  display: none;
  font-size: 2.2rem;
  color: #003366;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1101;
  margin-left: 16px;
  transition: color 0.2s;
}
.mobile-nav-toggle .fa-xmark { display: none; }
.mobile-nav-toggle.open .fa-bars { display: none; }
.mobile-nav-toggle.open .fa-xmark { display: inline; }
.mobile-nav-toggle .fa-bars { display: inline; }

@media (max-width: 991px) {
  #navmenu ul {
    flex-direction: column;
    position: fixed;
    top: 64px;
    right: -100vw;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    padding: 32px 0 0 0;
    align-items: flex-start;
    gap: 0;
    transition: right 0.3s;
    z-index: 1200;
  }
  #navmenu.open ul {
    right: 0;
  }
  .mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    position: relative;
    z-index: 1300;
  }
  #navmenu ul li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  #navmenu ul li:last-child {
    border-bottom: none;
  }
  #navmenu a {
    display: block;
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
  }
  #navmenu .dropdown-menu {
    position: static !important;
    box-shadow: none;
    background: none;
    border: none;
    margin-left: 18px; /* Indenta el submenú */
    min-width: 100%;
    display: none;
    padding: 0;
  }
  #navmenu .dropdown.open > .dropdown-menu {
    display: block !important;
  }
  #navmenu .dropdown-toggle i.fa-chevron-down {
    margin-left: auto;
    transition: transform 0.2s;
  }
  #navmenu .dropdown.open .dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
  }
   #navmenu .dropdown-menu .dropdown-item {
    padding-left: 18px; /* Más indentación para los ítems */
   }
}

@media (min-width: 992px) {
  #navmenu ul {
    flex-direction: row;
    position: static;
    height: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    align-items: center;
    width: auto;
    max-width: none;
  }
  #navmenu .dropdown:hover > .dropdown-menu,
  #navmenu .dropdown:focus-within > .dropdown-menu {
    display: block;
  }
  #navmenu .dropdown.open > .dropdown-menu {
    display: block;
  }
}
@media (max-width: 991px) {
  #navmenu .dropdown.open > .dropdown-menu {
    display: block !important;
  }
}
/* =================== FONDO SECCIÓN INICIO =================== */
#inicio.hero.section {
  background: linear-gradient(90deg, #e2efff 3%, #ffffff 100%);
  /* Azul muy suave a casi blanco */
  padding-top: 90px;
  margin-bottom: 0;
}

/* =================== TÍTULO DEL MENÚ MÁS PEQUEÑO =================== */
.logo .sitename {
  font-size: 1rem !important;
  font-weight: 700;
  margin-bottom: 0;
}

/* =================== FOOTER AJUSTADO =================== */
#footer.footer {
  padding: 24px 0 0 0;
}

/* =================== ICONOS MÁS GRANDES EN TODA LA PÁGINA =================== */
i.fa,
i.fas,
i.far,
i.fab,
i.fa-solid,
i.fa-regular,
i.fa-brands,
i.fa-light,
i.fa-duotone,
i.fa-thin,
i.fa-clock,
i.fa-file-circle-check,
i.fa-money-bill,
i[class^="bi"],
i[class*=" bi-"] {
  font-size: 1.2rem !important;
}

.stat-icon i {
  font-size: 2rem !important;
}

a:hover, a:focus, a.active {
  text-decoration: none !important;
}