/* ============================================
   LEX IURIS & ASOCIADOS - Estilos corporativos
   ============================================ */

:root {
  --legal-primary:   #1a3a5c;   /* Azul marino profundo */
  --legal-secondary: #b8945f;   /* Dorado elegante */
  --legal-dark:      #0d1f30;   /* Azul casi negro */
  --legal-light:     #f8f6f2;   /* Beige cálido */
}

/* Tipografía con serif para títulos = prestigio */
h1, h2, h3, .intro, .plan {
  font-family: 'Playfair Display', 'Ubuntu', serif;
  letter-spacing: 0.5px;
}

/* Barra superior */
.topbar {
  background: var(--legal-dark) !important;
}
.topbar .link a {
  color: #e8e2d5 !important;
}

/* Menú principal */
.menu.sticky-menu {
  background: #ffffff;
  border-bottom: 3px solid var(--legal-secondary);
}
.navbar-nav .nav-link {
  color: var(--legal-primary) !important;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
  color: var(--legal-secondary) !important;
}

/* Botones principales */
.btn-main {
  background: var(--legal-primary) !important;
  border-color: var(--legal-primary) !important;
  color: #fff !important;
}
.btn-main:hover {
  background: var(--legal-secondary) !important;
  border-color: var(--legal-secondary) !important;
}

/* Subbanner */
.subbanner {
  background: linear-gradient(135deg, var(--legal-primary) 0%, var(--legal-dark) 100%);
}
.subbanner h1, .subbanner p, .subbanner a {
  color: #ffffff !important;
}

/* Tarjetas */
.card, .thumbnail, .panel {
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(26, 58, 92, 0.08);
  transition: all .3s ease;
}
.card:hover, .thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 58, 92, 0.15);
}

/* Footer */
.footer-area {
  background: var(--legal-dark) !important;
  color: #cfd6dd;
}
.footer-area h4 {
  color: var(--legal-secondary) !important;
  font-family: 'Playfair Display', serif;
  border-bottom: 1px solid rgba(184, 148, 95, 0.4);
  padding-bottom: 10px;
}
.footer-area .nav-link {
  color: #cfd6dd !important;
}
.footer-area .nav-link:hover {
  color: var(--legal-secondary) !important;
}
/* ============================================================
   TESTIMONIOS — Estilo tipo tarjeta elegante
   ============================================================ */
.testimonial-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 30px 25px 25px;
  box-shadow: 0 4px 20px rgba(26, 58, 92, 0.08);
  position: relative;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid #b8945f;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(26, 58, 92, 0.15);
}

.testimonial-quote {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: #1a3a5c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-quote i {
  color: #b8945f;
  font-size: 16px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.7;
  color: #4a5568;
  font-style: italic;
  margin: 15px 0 20px;
  min-height: 100px;
}

.testimonial-rating {
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: #d1d5db;
  font-size: 13px;
  margin-right: 2px;
}

.testimonial-rating i.active {
  color: #b8945f;
}

.testimonial-author {
  display: flex;
  align-items: center;
  border-top: 1px solid #e5e7eb;
  padding-top: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1a3a5c 0%, #0d1f30 100%);
  color: #b8945f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  margin-right: 15px;
  flex-shrink: 0;
}

.testimonial-info h5 {
  margin: 0 0 2px;
  color: #1a3a5c;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
}

.testimonial-info p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

.testimonial-info p.area-tag {
  color: #b8945f;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
  margin-top: 3px;
}

/* ============================================================
   RESPONSIVE — Ajustes móviles
   ============================================================ */
@media (max-width: 768px) {
  .testimonial-text {
    min-height: auto;
  }

  .home-ssl h2 {
    font-size: 32px !important;
  }
}