/* ============================================================
   SALGADO ARDILA · Ajustes de marca sobre la plantilla
   Paleta: azul #12324f · dorado #b08d57
   ============================================================ */

/* ---------- Marca en la barra de navegación ---------- */
.navbar-brand { height: auto; padding: 8px 15px; }
.navbar-brand .brand-img { height: 54px; width: auto; }
@media (max-width: 767px) { .navbar-brand .brand-img { height: 44px; } }

/* ---------- Tipografías: Marcellus (títulos, inspiración lapidaria romana) + Inter (texto) ---------- */
h1, h2, h3, h4, h5, h6,
.section-title, .intro h1, .fun-number,
.slider-1-item-box h2, .cta h1,
.choose-title, .practice-title,
.team-detail h3, .team-detail h4,
.pub-box h3, .subscribe h2 {
  font-family: 'Marcellus', Georgia, serif;
}
.navbar-nav > li > a { font-family: 'Marcellus', Georgia, serif; letter-spacing: 1.5px; }
/* Con 8 opciones, compactar el menú en escritorio para que quepa en una línea */
@media (min-width: 768px) {
  .navbar-nav > li > a { padding-left: 10px; padding-right: 10px; letter-spacing: 1px; font-size: 13.5px; }
}
.btn-header, .btn-cn, #cfsubmit, .btn-suscribe-pub { font-family: 'Marcellus', Georgia, serif; letter-spacing: 2px; }
.firma-quote, .article-body blockquote { font-family: 'Marcellus', Georgia, serif; font-style: normal; }

/* ---------- Portada: título ajustado (el original de 90px desborda con frases largas) ---------- */
.intro h1 { font-size: 52px; line-height: 1.2; }
@media (max-width: 991px) { .intro h1 { font-size: 40px; } }
@media (max-width: 767px) { .intro h1 { font-size: 27px; letter-spacing: 0.5px; } }

/* ---------- Botón del menú móvil visible sobre la barra azul ---------- */
.navbar-default .navbar-toggle { border-color: rgba(255,255,255,0.5); }
.navbar-default .navbar-toggle .icon-bar { background-color: #fff; }
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background-color: rgba(255,255,255,0.15); }

/* ---------- Acentos de color ---------- */
.section-subtitle { color: #b08d57 !important; }
.section-title { color: #12324f; }
.fun-number { color: #b08d57 !important; }

/* Botones principales en dorado */
.btn-header, .btn-cn, #cfsubmit, .btn-suscribe-pub {
  background: #b08d57 !important; color: #fff !important; border-color: #b08d57 !important;
}
.btn-header:hover, .btn-cn:hover, #cfsubmit:hover, .btn-suscribe-pub:hover {
  background: #c9ac7e !important; border-color: #c9ac7e !important; color: #fff !important;
}

/* ---------- La Firma (texto) ---------- */
.firma-copy { margin-bottom: 34px; }
.firma-copy p { font-size: 15.5px; line-height: 1.85; color: #4c5866; margin-bottom: 16px; text-align: justify; }
.firma-copy p strong { color: #12324f; }
.firma-quote {
  font-family: 'Lora', Georgia, serif; font-style: italic; font-size: 19px;
  color: #12324f !important; text-align: center !important; margin-top: 26px;
}

/* ---------- Cifras ---------- */
.fun-box .fun-number { font-size: 30px; }
@media (max-width: 767px) { .fun-box { margin-bottom: 24px; } }

/* ---------- Áreas de práctica: descripción en el overlay ---------- */
.practice-desc {
  color: #e9e4da; font-size: 12px; line-height: 1.5;
  padding: 6px 18px 0; margin: 0; max-width: 36ch; margin-left: auto; margin-right: auto;
}
/* Tarjetas uniformes: misma altura, imagen recortada, texto centrado */
.practice-box { margin-bottom: 30px; height: 320px; overflow: hidden; position: relative; }
.practice-box .img-full { height: 100%; width: 100%; object-fit: cover; }
.practice-box .practice-title { font-size: 17px; line-height: 1.3; padding: 0 12px; }
/* Capa azul siempre visible: las fotos quedan como textura y el área siempre se lee */
.practice-box .overlay { background: rgba(11, 31, 51, 0.88); opacity: 1; }
.practice-box:hover .overlay { background: rgba(11, 31, 51, 0.74); }

/* ---------- Trayectoria (carrusel) ---------- */
.tl-when {
  display: block; font-size: 13px; color: #b08d57; letter-spacing: 1px;
  margin-top: 8px; font-family: 'Roboto', sans-serif; text-transform: uppercase;
}
.slider-1-item-box h2 { line-height: 1.35; }

/* ---------- Instituciones ---------- */
.institutions-list {
  list-style: none; margin: 0; padding: 10px 0 30px; text-align: center;
}
.institutions-list li {
  display: inline-block; font-family: 'Lora', Georgia, serif; font-size: 18px;
  color: #12324f; padding: 8px 26px; opacity: 0.85;
}
.institutions-list li + li { border-left: 1px solid #d9d2c4; }
@media (max-width: 767px) {
  .institutions-list li { display: block; border-left: none !important; padding: 6px 0; }
}

/* ---------- Publicaciones ---------- */
.pubs-grid { padding: 90px 0; background: #fff; }
.pub-box {
  display: block; background: #faf9f6; border: 1px solid #e5dfd4; border-top: 3px solid #b08d57;
  padding: 26px 24px; min-height: 250px; margin-bottom: 24px;
  text-decoration: none !important; color: inherit; transition: box-shadow .25s, transform .25s;
}
a.pub-box:hover { box-shadow: 0 14px 30px rgba(18,50,79,.12); transform: translateY(-3px); }
.pub-tag {
  color: #b08d57; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 10px;
}
.pub-box h3 {
  font-family: 'Lora', Georgia, serif; font-size: 19px; line-height: 1.4;
  color: #12324f; margin: 0 0 10px;
}
.pub-sum { color: #5b6572; font-size: 13.5px; line-height: 1.6; }
.pub-more { color: #b08d57; font-weight: 700; font-size: 13px; }
.pub-soon { opacity: 0.62; }
.pubs-all-btn { margin-top: 10px; }

/* ---------- Sentencias de interés ---------- */
.sent-box { min-height: 305px; }
.sent-box .pub-sum { text-align: justify; }
@media (max-width: 767px) { .sent-box { min-height: 0; } }

/* ---------- Credenciales (acordeón) ---------- */
.faq { background-image: url(../images/bogota-aerea.jpg); }
.faq .panel-default > .panel-heading { background-color: #12324f; }
.faq .panel-body { background-color: #1d3d5c; color: #e0dbd0; }
.cred-list { list-style: none; margin: 0; padding: 0; }
.cred-list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.18); font-size: 14.5px; color: #e0dbd0; }
.cred-list li:last-child { border-bottom: none; }
.cred-list li strong { color: #fff; }

/* ---------- Contacto ---------- */
.contact-logo { max-width: 250px; height: auto; margin-bottom: 18px; }
.contact ul li a { color: inherit; }
.contact ul li a:hover { color: #b08d57; text-decoration: none; }

/* ---------- Autorización de datos en formularios ---------- */
.auth-check { text-align: center; margin: 14px 0 18px; }
.auth-check label { font-weight: 400; font-size: 13px; color: #5b6572; cursor: pointer; }
.auth-check input[type="checkbox"] { margin-right: 6px; }
.auth-check a { color: #b08d57; font-weight: 600; }
.auth-check-contact { text-align: left; margin: 4px 0 14px; }

/* ---------- Enlace legal en el pie ---------- */
.footer a.legal-link { color: inherit; text-decoration: underline; }
.footer a.legal-link:hover { color: #c9ac7e; }

/* ---------- Franja final ---------- */
.btn-suscribe-pub { margin-top: 18px; padding: 12px 30px; }

/* ---------- Banner de cookies ---------- */
#cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000;
  background: #0b1f33; color: #d7dee7;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}
#cookie-banner .cookie-inner {
  max-width: 1180px; margin: 0 auto; padding: 16px 22px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: space-between;
}
#cookie-banner .cookie-text { margin: 0; font-size: 13px; line-height: 1.6; flex: 1; min-width: 260px; }
#cookie-banner .cookie-text a { color: #c9ac7e; font-weight: 700; }
#cookie-banner .cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }
#cookie-banner .cookie-btn {
  font-family: 'Marcellus', Georgia, serif; letter-spacing: 1.5px; font-size: 12px;
  text-transform: uppercase; padding: 10px 22px; border-radius: 0; cursor: pointer; transition: all .25s;
}
#cookie-banner .cookie-solid { background: #b08d57; color: #fff; border: 1px solid #b08d57; }
#cookie-banner .cookie-solid:hover { background: #c9ac7e; border-color: #c9ac7e; }
#cookie-banner .cookie-ghost { background: transparent; color: #d7dee7; border: 1px solid rgba(255,255,255,0.4); }
#cookie-banner .cookie-ghost:hover { border-color: #c9ac7e; color: #c9ac7e; }
@media (max-width: 600px) {
  #cookie-banner .cookie-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  #cookie-banner .cookie-btns { justify-content: flex-end; }
}

/* ---------- Socio Director ---------- */
.team-box { max-width: 380px; margin: 0 auto; }

/* ---------- Puntos del carrusel (Owl 2.3.4) ---------- */
.owl-theme .owl-dots { text-align: center; margin-top: 18px; }
.owl-theme .owl-dots .owl-dot span { background: #d0c6b4; }
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span { background: #b08d57; }
