@charset "UTF-8";
/* ==========================================================================
   ESTRUCTURA DE ESTILOS: WEB PERSONAL DE MARÍA LÓPEZ TERCERO
   ========================================================================== */
/* 
   TABLA DE CONTENIDOS:
   1. CONFIGURACIÓN Y UTILIDADES (VARIABLES, MIXINS, RESET, TIPOGRAFÍA BASE)
   2. DISEÑO GLOBAL (CABECERA, MENÚ, PIE DE PÁGINA, CONTENEDORES COMUNES)
   3. COMPONENTES (BOTONES, TARJETAS, FORMULARIOS, ETIQUETAS, MODALES)
   4. SECCIONES Y PÁGINAS (INICIO, MARÍA LÓPEZ, DERECHO URBANÍSTICO HUB, BLOG, CONTACTO)
   5. CLASES DE UTILIDAD (ESPACIADOS, TEXTOS, ACCESIBILIDAD, UTILIDADES RÁPIDAS)
*/
/* ==========================================================================
   1. CONFIGURACIÓN Y UTILIDADES
   ========================================================================== */
/* --- 1.1. VARIABLES DE DISEÑO --- */
/* --- 1.2. MIXINS UTILITARIOS --- */
/* --- 1.3. RESET Y ESTILOS BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background-color: #f1f0eb;
  color: #000000;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", system-ui, -apple-system, sans-serif !important;
  font-weight: 700;
  color: #000000;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   2. DISEÑO GLOBAL
   ========================================================================== */
.contenedor {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

/* --- 2.1. CABECERA Y NAVEGACIÓN --- */
.navbar-nav .lawgis-dd .lawgis-dd-menu {
  min-width: 360px !important;
  background-color: #ffffff !important; /* FONDO BLANCO IMPOLUTO */
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  border-radius: 8px !important;
  padding: 10px 0 !important;
}
.navbar-nav .lawgis-dd .lawgis-dd-menu li > a {
  color: #000000 !important; /* TEXTO TOTALMENTE LEGBLE SOBRE FONDO BLANCO */
  font-size: 16px !important;
  font-weight: 500 !important;
  padding: 12px 24px !important; /* ESPACIADO INTERNO CÓMODO PARA LEER */
  display: block !important;
  white-space: nowrap !important;
  background-color: transparent !important;
  border-radius: 0 !important;
}
.navbar-nav .lawgis-dd .lawgis-dd-menu li > a:hover, .navbar-nav .lawgis-dd .lawgis-dd-menu li > a:focus {
  background-color: rgba(177, 171, 145, 0.1019607843) !important; /* FONDO ARENA MUY SUAVE */
  color: #a72122 !important; /* ROJO BORGOÑA */
}

.marca-navegacion img {
  max-height: 80px; /* LOGO MÁS GRANDE Y PRESENTE EN LA CABECERA */
  width: auto;
}

@media (min-width: 992px) {
  .navbar-nav {
    margin-right: 50px; /* MÁS SEPARACIÓN PARA ESTRUCTURA AMPLIA */
  }
}
.header-area {
  background-color: rgba(177, 171, 145, 0.2) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding: 0 !important;
}
.header-area.sticky-on {
  background-color: #f1f0eb !important; /* FONDO 100% OPACO EN MODO STICKY */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}
.header-area .navbar-nav li > a {
  color: #68624e !important;
  font-weight: 600;
  font-size: 18px !important;
  letter-spacing: 0.3px;
  padding: 10px 0px !important; /* PADDING HORIZONTAL PARA INTEGRIDAD */
  white-space: nowrap !important;
}
.header-area .navbar-nav li > a:hover, .header-area .navbar-nav li > a:focus {
  color: #a72122 !important; /* RESALTA EN ROJO BORGOÑA AL PASAR EL MOUSE */
}
.header-area .navbar-toggler {
  color: #000000 !important;
  font-size: 24px !important;
}

/* --- 2.2. PIE DE PÁGINA --- */
.pie-cta-franja {
  background-color: #a72122;
  padding: 60px 0;
  color: #ffffff;
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.pie-cta-franja .pie-cta-titulo {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
@media (min-width: 768px) {
  .pie-cta-franja .pie-cta-titulo {
    font-size: 34px !important;
  }
}
@media (min-width: 992px) {
  .pie-cta-franja .pie-cta-titulo {
    font-size: 38px !important;
  }
}
.pie-cta-franja .pie-cta-subtitulo {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}
@media (min-width: 768px) {
  .pie-cta-franja .pie-cta-subtitulo {
    font-size: 18px;
  }
}
.pie-cta-franja .btn-light-cta {
  background-color: #ffffff !important;
  border-radius: 5rem !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 54px !important;
  padding: 15px 35px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.pie-cta-franja .btn-light-cta span {
  color: #a72122 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pie-cta-franja .btn-light-cta span i {
  font-size: 20px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pie-cta-franja .btn-light-cta:hover {
  background-color: #f5f4ef !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.pie-cta-franja .btn-light-cta:hover span i {
  transform: translate(2px, -2px);
}

.pie-seccion {
  background-color: #f1f0eb;
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
}
.pie-seccion .pie-descripcion {
  font-size: 15px;
  color: #575757;
  line-height: 1.7;
}
.pie-seccion .pie-redes a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.03);
  color: #575757;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pie-seccion .pie-redes a:hover {
  background-color: #a72122;
  color: #ffffff;
  transform: translateY(-2px);
}
.pie-seccion .pie-titulo {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  position: relative;
}
.pie-seccion .pie-titulo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: #a72122;
}
.pie-seccion .pie-lista {
  padding: 0;
  margin: 0;
  list-style: none;
}
.pie-seccion .pie-lista li {
  margin-bottom: 12px;
}
.pie-seccion .pie-lista li a {
  font-size: 15px;
  color: #575757;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pie-seccion .pie-lista li a:hover {
  color: #a72122;
  padding-left: 5px;
}
.pie-seccion .pie-contacto-lista {
  padding: 0;
  margin: 0;
  list-style: none;
}
.pie-seccion .pie-contacto-lista li {
  margin-bottom: 15px;
}
.pie-seccion .pie-contacto-lista li .pie-contacto-etiqueta {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5c5643;
  font-weight: 700;
  margin-bottom: 2px;
}
.pie-seccion .pie-contacto-lista li .pie-contacto-valor {
  display: block;
  font-size: 15px;
  color: #000000;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pie-seccion .pie-contacto-lista li .pie-contacto-valor:hover {
  color: #a72122;
}
.pie-seccion .pie-contacto-lista li .pie-contacto-valor-texto {
  display: block;
  font-size: 15px;
  color: #000000;
  font-weight: 600;
}
.pie-seccion .pie-linea-separadora {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.08);
  margin: 50px 0 30px 0;
}
.pie-seccion .pie-copyright {
  font-size: 14px;
  color: #575757;
}
.pie-seccion .pie-firma {
  font-size: 14px;
  color: #575757;
  font-weight: 500;
}
.pie-seccion .pie-firma a {
  font-weight: 700;
  color: #000000;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pie-seccion .pie-firma a:hover {
  color: #a72122;
}
.pie-seccion .pie-legales a {
  font-size: 14px;
  color: #575757;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pie-seccion .pie-legales a:hover {
  color: #a72122;
}

/* --- 2.3. CABECERA DE PÁGINAS INTERNAS --- */
#cabecera.breadcrumb-section {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-image: url("../img/bg-img/73.jpg") !important;
}
#cabecera.breadcrumb-section .divider {
  height: 40px !important;
}
@media (min-width: 992px) {
  #cabecera.breadcrumb-section .divider {
    height: 65px !important;
  }
}
#cabecera.breadcrumb-section::before {
  content: "" !important;
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 0), linear-gradient(135deg, rgba(28, 29, 32, 0.9) 0%, rgba(64, 11, 12, 0.95) 100%) !important;
  background-size: 24px 24px, 100% 100% !important;
  z-index: 1;
  transform: none !important;
}
#cabecera.breadcrumb-section::after {
  display: none !important;
}
#cabecera.breadcrumb-section .container {
  position: relative;
  z-index: 2;
}
#cabecera.breadcrumb-section .breadcrumb-content h1,
#cabecera.breadcrumb-section .breadcrumb-content h2 {
  font-family: "Outfit", system-ui, -apple-system, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -1.5px !important;
  color: #ffffff !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 12px;
  font-size: 26px !important;
}
@media (min-width: 576px) {
  #cabecera.breadcrumb-section .breadcrumb-content h1,
  #cabecera.breadcrumb-section .breadcrumb-content h2 {
    font-size: 32px !important;
  }
}
@media (min-width: 768px) {
  #cabecera.breadcrumb-section .breadcrumb-content h1,
  #cabecera.breadcrumb-section .breadcrumb-content h2 {
    font-size: 36px !important;
  }
}
@media (min-width: 992px) {
  #cabecera.breadcrumb-section .breadcrumb-content h1,
  #cabecera.breadcrumb-section .breadcrumb-content h2 {
    font-size: 42px !important;
  }
}
#cabecera.breadcrumb-section .breadcrumb-content h1::after,
#cabecera.breadcrumb-section .breadcrumb-content h2::after {
  content: "";
  display: block;
  width: 35px;
  height: 3px;
  background-color: #a72122;
  margin: 12px auto 0 auto;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#cabecera.breadcrumb-section .breadcrumb-content:hover h1::after, #cabecera.breadcrumb-section .breadcrumb-content:hover h2::after {
  width: 55px;
}
#cabecera.breadcrumb-section .breadcrumb-content ul {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#cabecera.breadcrumb-section .breadcrumb-content ul:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(177, 171, 145, 0.4);
  box-shadow: 0 8px 25px rgba(167, 33, 34, 0.15);
  transform: translateY(-2px);
}
#cabecera.breadcrumb-section .breadcrumb-content ul li {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 12px !important;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#cabecera.breadcrumb-section .breadcrumb-content ul li:last-child {
  color: #b1ab91 !important;
  font-weight: 700;
}
#cabecera.breadcrumb-section .breadcrumb-content ul li a {
  color: rgba(255, 255, 255, 0.6) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding-right: 0 !important;
}
#cabecera.breadcrumb-section .breadcrumb-content ul li a::after {
  content: "•" !important;
  color: rgba(255, 255, 255, 0.3) !important;
  font-size: 11px;
  position: relative !important;
  right: auto !important;
  left: 5px !important;
  top: -1px !important;
  transform: none !important;
  margin-right: 2px;
}
#cabecera.breadcrumb-section .breadcrumb-content ul li a:hover {
  color: #a72122 !important;
}

/* ==========================================================================
   3. COMPONENTES
   ========================================================================== */
/* --- 3.1. BOTONES --- */
.btn.btn-primary,
.btn-primary {
  background-color: #a72122 !important;
  border-color: #a72122 !important;
  color: #ffffff !important;
}
.btn.btn-primary span,
.btn-primary span {
  color: #ffffff !important;
}
.btn.btn-primary:hover, .btn.btn-primary:focus,
.btn-primary:hover,
.btn-primary:focus {
  background-color: #7c1919 !important;
  border-color: #7c1919 !important;
  color: #ffffff !important;
}

form.row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0 !important; /* Anula la columna forzada del master stylesheet para permitir rejillas Bootstrap */
}

.custom-modal-content {
  background-color: #f1f0eb !important;
  border: 1px solid rgba(177, 171, 145, 0.3) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
  overflow: hidden;
}

.modal-backdrop {
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.5) !important;
  transition: all 0.3s ease;
}
.modal-backdrop.show {
  opacity: 1 !important;
}

.btn-close-custom {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #575757;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}
.btn-close-custom:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #a72122;
  transform: rotate(90deg);
}

.modal-title-custom {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-size: 28px !important;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}
.modal-title-custom::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: #a72122;
  margin: 8px auto 0 auto;
}

.modal-subtitle-custom {
  font-size: 15px;
  color: #575757;
  max-width: 480px;
  margin: 0 auto;
}

/* --- 3.3. FORMULARIOS DE ALTA ELEGANCIA --- */
.form-floating-custom {
  position: relative;
  width: 100%;
}
.form-floating-custom .form-control-custom {
  width: 100%;
  background-color: #ffffff !important;
  border: 1.5px solid rgba(177, 171, 145, 0.3) !important;
  border-radius: 12px !important;
  padding: 1.625rem 1rem 0.625rem 1rem !important;
  font-size: 15px !important;
  color: #000000 !important;
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  outline: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 58px !important;
}
.form-floating-custom .form-control-custom::placeholder {
  color: transparent;
}
.form-floating-custom .form-control-custom:focus {
  border-color: #a72122 !important;
  box-shadow: 0 0 0 4px rgba(167, 33, 34, 0.1) !important;
}
.form-floating-custom textarea.form-control {
  height: 120px !important;
  padding-top: 1.625rem !important;
}
.form-floating-custom label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem 1rem !important;
  font-size: 15px;
  color: #575757;
  pointer-events: none;
  transform-origin: 0 0;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.form-floating-custom .form-control:focus ~ label,
.form-floating-custom .form-control:not(:placeholder-shown) ~ label {
  color: #a72122 !important;
  transform: scale(0.85) translateY(-0.6rem) translateX(0.15rem) !important;
  opacity: 0.9;
}

.form-check-custom {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}
.form-check-custom .form-check-input-custom {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(177, 171, 145, 0.5);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  accent-color: #a72122;
}
.form-check-custom .form-check-input-custom:checked {
  background-color: #a72122;
  border-color: #a72122;
}
.form-check-custom .form-check-label-custom {
  font-size: 14px;
  color: #575757;
  cursor: pointer;
}
.form-check-custom .form-check-label-custom a {
  color: #a72122;
  font-weight: 600;
  text-decoration: underline;
}
.form-check-custom .form-check-label-custom a:hover {
  color: #7c1919;
}

.btn-primary {
  background-color: #a72122 !important;
  border: none !important;
  border-radius: 50px !important;
  height: 52px;
  padding: 0 35px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(167, 33, 34, 0.2);
  cursor: pointer;
}
.btn-primary span {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-primary span i {
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-primary:hover {
  background-color: #851a1b !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(167, 33, 34, 0.3);
}
.btn-primary:hover span i {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   4. SECCIONES Y PÁGINAS
   ========================================================================== */
/* --- 4.1. PÁGINA DE INICIO (HOME) --- */
.hero-section {
  position: relative;
  background-color: rgba(177, 171, 145, 0.2) !important; /* FONDO CÁLIDO SEMITRANSPARENTE QUE ENLAZA CON LA CABECERA */
  margin-top: 68px !important; /* COMPENSACIÓN EN MÓVIL */
}
@media (min-width: 992px) {
  .hero-section {
    margin-top: 110px !important; /* COMPENSACIÓN EN ESCRITORIO PARA EL MENÚ MÁS GRANDE */
  }
}
.hero-section::after {
  display: none !important; /* ELIMINA EL SOBREESCRITO SÓLIDO OSCURO DE LA PLANTILLA ORIGINAL */
}
.hero-section::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(to bottom, rgba(177, 171, 145, 0.2) 0%, #400b0c 100%) !important;
  pointer-events: none !important;
  z-index: -8 !important; /* DETRÁS DE LA IMAGEN DE MARÍA QUE ESTÁ EN Z-INDEX: -5 */
}
.hero-section .hero-content h1 {
  letter-spacing: -1.5px !important; /* LIGERAMENTE MENOS NEGATIVO */
  line-height: 1.15 !important;
  font-size: 32px !important; /* REDUCIDO DE 36PX */
  font-weight: 700;
  color: #ffffff;
  /* REDUCIDO DE 48PX */
  /* REDUCIDO DE 60PX */
  /* REDUCIDO DE 72PX */
  /* REDUCIDO DE 94PX */
}
@media (min-width: 576px) {
  .hero-section .hero-content h1 {
    font-size: 42px !important;
  }
}
@media (min-width: 768px) {
  .hero-section .hero-content h1 {
    font-size: 54px !important;
  }
}
@media (min-width: 992px) {
  .hero-section .hero-content h1 {
    font-size: 66px !important;
  }
}
@media (min-width: 1200px) {
  .hero-section .hero-content h1 {
    font-size: 82px !important;
  }
}

/* --- 4.2. PÁGINA DE MARÍA LÓPEZ (PERFIL) --- */
/* --- 4.3. DERECHO URBANÍSTICO (HUB Y SUBPÁGINAS) --- */
/* --- 4.4. BLOG --- */
/* --- 4.5. CONTACTO --- */
.mapa-corporativo {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #f1f0eb;
}
.mapa-corporativo .leaflet-container {
  background-color: #f1f0eb !important;
  font-family: "Outfit", system-ui, -apple-system, sans-serif !important;
}
.mapa-corporativo .leaflet-tile-container img {
  filter: grayscale(100%) sepia(18%) hue-rotate(335deg) brightness(93%) contrast(108%) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.mapa-corporativo:hover .leaflet-tile-container img {
  filter: grayscale(30%) sepia(5%) brightness(98%) !important;
}

.pin-corporativo-contenedor {
  background: transparent !important;
  border: none !important;
}

.pin-corporativo {
  width: 18px;
  height: 18px;
  background-color: #a72122;
  border: 3px solid #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pin-corporativo:hover {
  transform: scale(1.15);
}
.pin-corporativo .pin-pulso {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border: 3px solid #a72122;
  border-radius: 50%;
  animation: pulsacion-mapa 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  opacity: 0;
  pointer-events: none;
}

@keyframes pulsacion-mapa {
  0% {
    transform: scale(0.5);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
.leaflet-popup-personalizado .leaflet-popup-content-wrapper {
  background: #ffffff !important;
  border-radius: 18px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
  padding: 6px !important;
  font-family: "Outfit", system-ui, -apple-system, sans-serif !important;
  border: 1px solid rgba(177, 171, 145, 0.2);
}
.leaflet-popup-personalizado .leaflet-popup-content {
  margin: 12px 14px !important;
  line-height: inherit !important;
}
.leaflet-popup-personalizado .leaflet-popup-tip {
  background: #ffffff !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(177, 171, 145, 0.2);
}
.leaflet-popup-personalizado .leaflet-popup-close-button {
  top: 14px !important;
  right: 14px !important;
  color: #575757 !important;
  font-size: 16px !important;
  font-weight: normal !important;
  width: 20px !important;
  height: 20px !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.leaflet-popup-personalizado .leaflet-popup-close-button:hover {
  color: #a72122 !important;
  background: transparent !important;
}
.leaflet-popup-personalizado .popup-corporativo .popup-titulo {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 17px !important;
  color: #000000 !important;
  margin: 0 0 3px 0 !important;
  letter-spacing: -0.3px;
}
.leaflet-popup-personalizado .popup-corporativo .popup-titular {
  font-size: 11px !important;
  color: #b1ab91 !important;
  font-weight: 700 !important;
  margin: 0 0 10px 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.leaflet-popup-personalizado .popup-corporativo .popup-separador {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  margin: 8px 0 !important;
  opacity: 1;
}
.leaflet-popup-personalizado .popup-corporativo .popup-info {
  font-size: 13px !important;
  color: #575757 !important;
  margin-bottom: 14px !important;
}
.leaflet-popup-personalizado .popup-corporativo .popup-info p {
  margin: 0 0 6px 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4 !important;
}
.leaflet-popup-personalizado .popup-corporativo .popup-info p:last-child {
  margin-bottom: 0 !important;
}
.leaflet-popup-personalizado .popup-corporativo .popup-info p i {
  color: #a72122;
  font-size: 16px;
}
.leaflet-popup-personalizado .popup-corporativo .popup-info p a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.leaflet-popup-personalizado .popup-corporativo .popup-info p a:hover {
  color: #a72122;
}
.leaflet-popup-personalizado .popup-corporativo .popup-btn {
  background-color: #a72122 !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-align: center;
  padding: 9px 18px !important;
  display: inline-flex !important;
  width: 100%;
  justify-content: center;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(167, 33, 34, 0.15);
  border: none !important;
}
.leaflet-popup-personalizado .popup-corporativo .popup-btn span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff !important;
}
.leaflet-popup-personalizado .popup-corporativo .popup-btn span i {
  font-size: 16px;
}
.leaflet-popup-personalizado .popup-corporativo .popup-btn:hover {
  background-color: #851a1b !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(167, 33, 34, 0.25);
}

/* ==========================================================================
   5. CLASES DE UTILIDAD
   ========================================================================== */
.solo-lectores {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- 6. ESTILOS PARA EL CONTENIDO DE NOTICIAS (EDITOR RICH TEXT) --- */
#noticia-contenido {
  color: #575757;
  line-height: 1.8;
  font-size: 16px;
}
#noticia-contenido p {
  margin-bottom: 1.5rem !important;
  color: #575757;
  font-size: 16px;
  line-height: 1.8;
  text-align: justify !important;
}
#noticia-contenido p:first-of-type {
  font-size: 1.15rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.8;
}
#noticia-contenido h2,
#noticia-contenido h3,
#noticia-contenido h4,
#noticia-contenido h5,
#noticia-contenido h6 {
  color: #000000;
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem !important;
  letter-spacing: -0.5px;
}
#noticia-contenido h3 {
  font-size: 1.5rem;
}
#noticia-contenido blockquote {
  margin: 2.5rem 0 !important;
  padding: 1.5rem 2rem 1.5rem 3.5rem !important;
  background-color: #fcfbfa !important;
  border-left: 4px solid #a72122 !important;
  border-radius: 0 16px 16px 0;
  position: relative;
}
#noticia-contenido blockquote::before {
  content: "“" !important;
  font-family: serif !important;
  font-size: 4.5rem !important;
  color: #a72122 !important;
  opacity: 0.15 !important;
  position: absolute !important;
  top: -5px !important;
  left: 15px !important;
  line-height: 1 !important;
}
#noticia-contenido blockquote p {
  font-style: italic !important;
  color: #000000 !important;
  font-weight: 500 !important;
  font-size: 1.125rem !important;
  margin-bottom: 0.5rem !important;
  position: relative !important;
  z-index: 1 !important;
}
#noticia-contenido blockquote p:first-of-type {
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  color: #000000 !important;
}
#noticia-contenido blockquote cite {
  display: block !important;
  font-style: normal !important;
  color: #a72122 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  margin-top: 0.5rem !important;
}
#noticia-contenido ul,
#noticia-contenido ol {
  margin-bottom: 1.5rem !important;
  padding-left: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
#noticia-contenido ul li,
#noticia-contenido ol li {
  margin-bottom: 0.5rem !important;
  color: #575757 !important;
  list-style-type: square !important;
  display: list-item !important;
}
#noticia-contenido ul li strong,
#noticia-contenido ol li strong {
  color: #000000 !important;
}

/* --- 7. ESTILOS PARA LA SECCIÓN DE COMPARTIR NOTICIA --- */
.share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background-color: #f1f0eb !important;
  color: #000000 !important;
  border: none !important;
  font-size: 18px !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
.share-btn:hover {
  transform: translateY(-3px) !important;
  color: #ffffff !important;
}
.share-btn.linkedin:hover {
  background-color: #0077b5 !important;
}
.share-btn.twitter:hover {
  background-color: #1c1d20 !important;
}
.share-btn.facebook:hover {
  background-color: #1877f2 !important;
}
.share-btn.whatsapp:hover {
  background-color: #25d366 !important;
}
.share-btn.copy-link:hover {
  background-color: #a72122 !important;
}

.toast-compartir {
  position: fixed !important;
  bottom: 30px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(100px) !important;
  background-color: #1c1d20 !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 50px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  font-family: "Outfit", system-ui, -apple-system, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  z-index: 9999 !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.toast-compartir.show {
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* --- 8. ESTILOS PARA LA PÁGINA DE PERFIL (MARÍA LÓPEZ) --- */
.profile-img-clean {
  padding: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
.profile-img-clean img {
  border-radius: 12px 12px 0 0 !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
  border: none !important;
  margin-bottom: 0 !important;
}
.profile-img-clean img:hover, .profile-img-clean img:focus {
  transform: none !important;
  box-shadow: none !important;
}

.lead-quote {
  background-color: #fcfbfa !important;
  border-left: 4px solid #a72122 !important;
  border-radius: 0 16px 16px 0;
}
.lead-quote p {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  color: #000000 !important;
}

.contacto-icono {
  width: 40px;
  height: 40px;
  background-color: #f1f0eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a72122;
  font-size: 20px;
  flex-shrink: 0;
}

.especialidad-tarjeta {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.especialidad-tarjeta:hover {
  transform: translateY(-8px);
  background-color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(167, 33, 34, 0.1);
}
.especialidad-tarjeta .especialidad-icono {
  transition: transform 0.3s ease;
  display: inline-block;
}
.especialidad-tarjeta:hover .especialidad-icono {
  transform: scale(1.1);
}

.consultation-form-wrapper {
  background-color: #fcfbfa !important;
  border: 1px solid rgba(177, 171, 145, 0.2) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.justify-text {
  text-align: justify !important;
}

/* --- 9. ESTILOS PARA LA BARRA HORIZONTAL CTA --- */
.cta-bar-section {
  background-color: #a72122 !important;
  box-shadow: 0 10px 30px rgba(167, 33, 34, 0.2) !important;
  padding: 3rem 0 !important;
  position: relative !important;
  overflow: hidden !important;
}
.cta-bar-section::before {
  content: "" !important;
  position: absolute !important;
  top: -50% !important;
  right: -10% !important;
  width: 300px !important;
  height: 300px !important;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
}
.cta-bar-section h4 {
  font-size: 2.3rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -1px !important;
  margin-bottom: 12px !important;
  color: #ffffff !important;
  font-family: "Outfit", system-ui, -apple-system, sans-serif !important;
}
.cta-bar-section p {
  font-size: 1.3rem !important;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: 0 !important;
  font-weight: 500 !important;
}
.cta-bar-section .cta-button {
  background-color: #ffffff !important;
  color: #a72122 !important;
  border: 2px solid #ffffff !important;
  font-family: "Outfit", system-ui, -apple-system, sans-serif !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  padding: 18px 42px !important;
  border-radius: 50px !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.cta-bar-section .cta-button i {
  font-size: 22px !important;
  transition: transform 0.3s !important;
}
.cta-bar-section .cta-button:hover, .cta-bar-section .cta-button:focus {
  background-color: transparent !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
}
.cta-bar-section .cta-button:hover i, .cta-bar-section .cta-button:focus i {
  transform: translateX(6px) !important;
}

/* --- 10. ESTILOS PARA SECCIONES CONÓCEME DE MARÍA LÓPEZ --- */
.profile-stats-section .stat-card {
  background: transparent;
  padding: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.profile-stats-section .stat-card .stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -2px;
  text-shadow: 0 4px 10px rgba(167, 33, 34, 0.1);
}
.profile-stats-section .stat-card .stat-label {
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #575757 !important;
}
.profile-stats-section .stat-card:hover {
  transform: translateY(-5px);
}
.profile-stats-section .stat-card:hover .stat-number {
  transform: scale(1.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.interforo-association-section .interforo-branding-wrapper {
  background-color: #faf6f3;
  border: 1px solid rgba(177, 171, 145, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.interforo-association-section .interforo-branding-wrapper::after {
  content: "";
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  background-image: url("../img/core-img/favicon.ico");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
.interforo-association-section .interforo-branding-wrapper .interforo-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #a72122;
  background-color: rgba(167, 33, 34, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 1px;
}
.interforo-association-section .interforo-details-card {
  background-color: #f1f0eb !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.interforo-association-section .interforo-details-card ul li i {
  font-size: 18px;
}

.success-stories-section .caso-tarjeta {
  border: 1px solid rgba(177, 171, 145, 0.2) !important;
  background-color: #faf6f3 !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.success-stories-section .caso-tarjeta:hover {
  transform: translateY(-8px) !important;
  background-color: #ffffff !important;
  border-color: rgba(167, 33, 34, 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}
.success-stories-section .caso-tarjeta:hover .badge {
  background-color: #a72122 !important;
  color: #ffffff !important;
}
.success-stories-section .caso-tarjeta .badge {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: rgba(167, 33, 34, 0.08) !important;
  color: #a72122 !important;
}

/* --- 10. ACORDEÓN PERSONALIZADO (FAQS PERFIL) --- */
.custom-accordion .accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.03) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.custom-accordion .accordion-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}
.custom-accordion .accordion-button {
  font-size: 16px;
  padding: 20px 24px;
  box-shadow: none !important;
}
.custom-accordion .accordion-button::after {
  background-size: 16px;
  transition: transform 0.2s ease-in-out;
}
.custom-accordion .accordion-button:not(.collapsed) {
  color: #a72122 !important;
  background-color: #ffffff !important;
}
.custom-accordion .accordion-button:not(.collapsed)::after {
  filter: sepia(1) saturate(100) hue-rotate(320deg);
}
.custom-accordion .accordion-body {
  padding: 0 24px 24px 24px;
  line-height: 1.7;
  font-family: "Outfit", system-ui, -apple-system, sans-serif !important;
}
.custom-accordion .accordion-body h5,
.custom-accordion .accordion-body h6,
.custom-accordion .accordion-body p,
.custom-accordion .accordion-body ul,
.custom-accordion .accordion-body li,
.custom-accordion .accordion-body span {
  font-family: "Outfit", system-ui, -apple-system, sans-serif !important;
}
.custom-accordion .accordion-body ul {
  list-style-type: disc !important;
  padding-left: 20px !important;
  margin-bottom: 20px !important;
}
.custom-accordion .accordion-body ul li {
  margin-bottom: 8px !important;
  list-style: disc !important;
}

/* --- 11. ESTILOS DE SECCIÓN FILOSOFÍA Y METODOLOGÍA --- */
.philosophy-img-wrapper {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.03);
}
.philosophy-img-wrapper img {
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.philosophy-img-wrapper:hover img {
  transform: scale(1.04);
}

.philosophy-experience-badge {
  border-top-left-radius: 12px;
  background-color: #a72122 !important;
  z-index: 10;
  min-width: 110px;
}

.point-number-badge {
  background-color: rgba(167, 33, 34, 0.08);
  color: #a72122 !important;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.philosophy-points .d-flex:hover .point-number-badge {
  background-color: #a72122;
  color: #ffffff !important;
  transform: scale(1.08);
}

/* --- 12. ESTILOS DE TRAYECTORIA Y HITOS (TIMELINE) --- */
.timeline-section .timeline-wrapper {
  position: relative;
  padding: 20px 0;
}
.timeline-section .timeline-card {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(177, 171, 145, 0.15) !important;
}
.timeline-section .timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  background-color: #ffffff !important;
  border-color: rgba(167, 33, 34, 0.3) !important;
}
.timeline-section .timeline-marker,
.timeline-section .timeline-marker-mobile {
  transition: all 0.3s ease;
}
.timeline-section .timeline-item:hover .timeline-marker {
  background-color: #a72122 !important;
  transform: translate(-50%, 0) scale(1.2) !important;
}
.timeline-section .timeline-item:hover .timeline-marker-mobile {
  background-color: #a72122 !important;
  transform: scale(1.2) !important;
}

@media (min-width: 768px) {
  .timeline-marker {
    top: 28px !important;
  }
  .border-md-3 {
    border-width: 3px !important;
  }
}
/* --- 13. ESTILOS DE DOCENCIA, CONFERENCIAS Y PUBLICACIONES --- */
.academic-publications-section .academic-img-wrapper {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.03);
  height: 100%;
  min-height: 350px;
}
.academic-publications-section .academic-img-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.academic-publications-section .academic-img-wrapper:hover img {
  transform: scale(1.04);
}
.academic-publications-section .academic-experience-badge {
  border-top-right-radius: 12px;
  background-color: #a72122 !important;
  z-index: 10;
  min-width: 110px;
}
.academic-publications-section .academic-card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(177, 171, 145, 0.15) !important;
}
.academic-publications-section .academic-card:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(167, 33, 34, 0.25) !important;
}
.academic-publications-section .academic-card .academic-card-icon {
  transition: transform 0.3s ease;
}
.academic-publications-section .academic-card:hover .academic-card-icon {
  transform: scale(1.1);
}

/* --- 15. ESTILOS PARA LA PÁGINA HUB DE DERECHO URBANÍSTICO --- */
.hub-servicio-card {
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}
.hub-servicio-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #a72122;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hub-servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(167, 33, 34, 0.15);
  background-color: #ffffff !important;
}
.hub-servicio-card:hover::before {
  transform: scaleX(1);
}
.hub-servicio-card:hover .hub-servicio-icono i {
  transform: scale(1.15);
}
.hub-servicio-card:hover .hub-servicio-enlace {
  gap: 8px;
}
.hub-servicio-card:hover .hub-servicio-enlace i {
  transform: translateX(4px);
}
.hub-servicio-card .hub-servicio-icono i {
  transition: transform 0.3s ease;
}
.hub-servicio-card .hub-servicio-enlace {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hub-servicio-card .hub-servicio-enlace i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.hub-contacto-lateral {
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hub-contacto-lateral:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hub-normativa-lateral {
  border: 1px solid rgba(177, 171, 145, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hub-normativa-lateral:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hub-perfil-lateral {
  border-color: rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hub-perfil-lateral:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(167, 33, 34, 0.15) !important;
}
.hub-perfil-lateral img.rounded-circle {
  border: 3px solid rgba(167, 33, 34, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hub-perfil-lateral:hover img.rounded-circle {
  border-color: #a72122;
}

/* --- 14. ESPACIADOS DE SECCIONES PREMIUM GLOBALES (Misma separación para todas las páginas) --- */
main > section,
main > section.py-5 {
  padding-top: 7.5rem !important;
  padding-bottom: 7.5rem !important;
}
@media (max-width: 767px) {
  main > section,
  main > section.py-5 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }
}

.cta-bar-section {
  padding: 2.5rem 0 !important;
}
@media (max-width: 767px) {
  .cta-bar-section {
    padding: 2.5rem 0 !important;
  }
}

.contact-section.contact-corporativo {
  background-color: #4a1112 !important;
}
.contact-section.contact-corporativo .section-heading h2 {
  color: #ffffff !important;
}
.contact-section.contact-corporativo .section-heading .sub-title {
  color: #b1ab91 !important;
}
.contact-section.contact-corporativo .section-heading p {
  color: rgba(255, 255, 255, 0.8) !important;
}
.contact-section.contact-corporativo .contact-info-card p {
  color: #ffffff !important;
}
.contact-section.contact-corporativo .contact-info-card p:last-child {
  color: rgba(255, 255, 255, 0.7) !important;
}
.contact-section.contact-corporativo .contact-info-card .icon-wrapper {
  background-color: #b1ab91 !important;
}
.contact-section.contact-corporativo .contact-info-card .icon-wrapper i {
  color: #4a1112 !important;
  font-size: 32px !important;
}

.work-process-section.bg-secondary {
  background-color: #faf6f3 !important;
}
.work-process-section.bg-secondary .section-heading h2 {
  color: #1C1D20 !important;
}
.work-process-section.bg-secondary .section-heading .sub-title {
  color: #a72122 !important;
}
.work-process-section.bg-secondary .process-card::after {
  background-color: #b1ab91 !important;
}
.work-process-section.bg-secondary .process-card .number {
  background-color: #b1ab91 !important;
  color: #ffffff !important;
}
.work-process-section.bg-secondary .process-card .process-text {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}
.work-process-section.bg-secondary .process-card .process-text .process-title {
  color: #1C1D20 !important;
}
.work-process-section.bg-secondary .process-card .process-text p {
  color: #575757 !important;
}
.work-process-section.bg-secondary .process-card:hover .process-text {
  background-color: #b1ab91 !important;
}
.work-process-section.bg-secondary .process-card:hover .process-text .process-title, .work-process-section.bg-secondary .process-card:hover .process-text p {
  color: #ffffff !important;
}

.service-slide-card {
  position: relative !important;
  border-radius: 12px !important;
  padding: 40px 30px !important;
  transition: all 0.4s ease !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 1 !important;
  background-color: #1C1D20 !important;
}
.service-slide-card.card-planeamiento {
  background-image: url("../img/servicios/planeamiento-urbanistico.jpg") !important;
}
.service-slide-card.card-gestion {
  background-image: url("../img/servicios/gestion-urbanistica.jpg") !important;
}
.service-slide-card.card-licencias {
  background-image: url("../img/servicios/licencias-autorizaciones.jpg") !important;
}
.service-slide-card.card-disciplina {
  background-image: url("../img/servicios/disciplina-sanciones.jpg") !important;
}
.service-slide-card.card-expropiaciones {
  background-image: url("../img/servicios/expropiaciones-forzosas.jpg") !important;
}
.service-slide-card.card-recursos {
  background-image: url("../img/servicios/recursos-contenciosos.jpg") !important;
}
.service-slide-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, rgba(28, 29, 32, 0.82) 0%, rgba(28, 29, 32, 0.94) 100%) !important;
  z-index: -1 !important;
  transition: all 0.4s ease !important;
}
.service-slide-card:hover, .service-slide-card:focus {
  transform: translateY(-6px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
  background-color: transparent !important;
}
.service-slide-card:hover::before, .service-slide-card:focus::before {
  background: linear-gradient(135deg, rgba(167, 33, 34, 0.85) 0%, rgba(74, 17, 18, 0.95) 100%) !important;
}
.service-slide-card:hover .title, .service-slide-card:hover p, .service-slide-card:hover .btn-link, .service-slide-card:hover i, .service-slide-card:hover svg, .service-slide-card:focus .title, .service-slide-card:focus p, .service-slide-card:focus .btn-link, .service-slide-card:focus i, .service-slide-card:focus svg {
  color: #ffffff !important;
}
.service-slide-card > i, .service-slide-card > svg, .service-slide-card .title, .service-slide-card p, .service-slide-card .btn-link {
  position: relative !important;
  z-index: 2 !important;
}
.service-slide-card > i, .service-slide-card > svg {
  color: #ffffff !important;
  font-size: 40px !important;
  margin-bottom: 1rem !important;
  display: inline-block;
}
.service-slide-card .title {
  color: #ffffff !important;
}
.service-slide-card p {
  color: rgba(255, 255, 255, 0.85) !important;
}
.service-slide-card .btn-link {
  color: #b1ab91 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  padding-left: 0 !important;
}
.service-slide-card .btn-link:hover {
  color: #ffffff !important;
}

.case-study-card .position-absolute {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0) 100%) !important;
}
.case-study-card h4, .case-study-card .h4 {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}
.case-study-card p {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  font-weight: 500 !important;
}
.case-study-card img {
  object-fit: cover !important;
  width: 100% !important;
}
.case-study-card.card-tall img {
  height: 350px !important;
}
.case-study-card.card-short img {
  height: 280px !important;
}

.results-section {
  background-color: #ffffff !important;
}
.results-section .results-shield-icon {
  font-size: 28px !important;
}
.results-section .result-card {
  background-color: #faf6f3 !important;
  border: 1px solid rgba(177, 171, 145, 0.35) !important;
  transition: all 0.3s ease !important;
}
.results-section .result-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
  border-color: #b1ab91 !important;
}

.local-areas-section {
  background-color: #faf6f3 !important;
}
.local-areas-section .area-card {
  transition: all 0.3s ease !important;
  border: 1px solid rgba(177, 171, 145, 0.2) !important;
}
.local-areas-section .area-card i.area-pin-icon {
  font-size: 24px !important;
}
.local-areas-section .area-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
  border-color: #b1ab91 !important;
}
.local-areas-section .area-card:hover h4 {
  color: #a72122 !important;
}

.interforo-logo {
  max-height: 75px !important;
  float: right !important;
  margin-left: 15px !important;
}

.bridge-icon {
  font-size: 24px !important;
  vertical-align: middle !important;
}

.check-icon-sm {
  font-size: 18px !important;
}

.philosophy-section {
  background-color: #faf6f3 !important;
}
.philosophy-section .philosophy-img {
  object-fit: cover !important;
  max-height: 480px !important;
}
.philosophy-section .philosophy-badge-label {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.philosophy-section .philosophy-meta-label {
  letter-spacing: 1px !important;
}

.academic-publications-section {
  background-color: #faf6f3 !important;
}
.academic-publications-section .academic-img {
  object-fit: cover !important;
}
.academic-publications-section .academic-badge-label {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.academic-publications-section .academic-meta-label {
  letter-spacing: 1px !important;
}
.academic-publications-section .academic-card-icon i {
  font-size: 28px !important;
}

.practice-areas-section {
  background-color: #faf6f3 !important;
}
.practice-areas-section .specialty-icon-img {
  height: 50px !important;
  width: auto !important;
}

.timeline-section .timeline-meta-label {
  letter-spacing: 1px !important;
}
.timeline-section .timeline-wrapper {
  max-width: 900px !important;
}
.timeline-section .timeline-line {
  width: 2px !important;
  top: 0 !important;
}
.timeline-section .timeline-line-mobile {
  width: 2px !important;
  left: 20px !important;
  top: 0 !important;
}
.timeline-section .timeline-year-badge {
  font-size: 14px !important;
}
.timeline-section .timeline-marker {
  width: 20px !important;
  height: 20px !important;
  z-index: 10 !important;
  top: 20px !important;
}
.timeline-section .timeline-marker-mobile {
  width: 16px !important;
  height: 16px !important;
  z-index: 10 !important;
  left: 13px !important;
  top: 20px !important;
}

.hub-intro-section .intro-img {
  object-fit: cover !important;
  max-height: 520px !important;
}
.hub-intro-section .intro-badge-label {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.hub-servicios-section {
  background-color: #faf6f3 !important;
}

.hub-metodologia-section {
  background-color: #faf6f3 !important;
}
.hub-metodologia-section .methodology-img {
  object-fit: cover !important;
  max-height: 520px !important;
}
.hub-metodologia-section .methodology-badge-label {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.hub-contacto-lateral {
  background-color: #1c1d20 !important;
}
.hub-contacto-lateral .contacto-icono {
  background-color: rgba(255, 255, 255, 0.1) !important;
}
.hub-contacto-lateral .contacto-icono i {
  color: #fff !important;
}

.hub-perfil-lateral .lateral-logo {
  max-height: 45px !important;
  width: auto !important;
  object-fit: contain !important;
}
.hub-perfil-lateral .lateral-avatar {
  width: 90px !important;
  height: 90px !important;
  object-fit: cover !important;
}
.hub-perfil-lateral hr.lateral-divider {
  opacity: 0.1 !important;
}

.hub-meta-label {
  letter-spacing: 1px !important;
}

.check-icon-md {
  font-size: 18px !important;
}

.point-icon-sm {
  font-size: 14px !important;
}

.font-outfit {
  font-family: "Outfit", system-ui, -apple-system, sans-serif !important;
}

.hub-andalucia-section .academic-img-wrapper {
  min-height: 400px !important;
}
.hub-andalucia-section .academic-img-wrapper img {
  object-fit: cover !important;
}
.hub-andalucia-section .academic-experience-badge span.small {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.hub-andalucia-section .academic-card-icon i {
  font-size: 28px !important;
}

.bg-light-warm {
  background-color: #faf6f3 !important;
}

.textarea-h-120 {
  height: 120px !important;
}

.pie-logo {
  max-height: 55px !important;
  width: auto !important;
}

.cookies-title {
  font-size: 1.25rem !important;
}

.cookies-text {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
}

.blog-post-img {
  border-radius: 20px !important;
  width: 100% !important;
  height: auto !important;
  margin-bottom: 25px !important;
}

.blog-meta {
  font-size: 14px !important;
}
.blog-meta i {
  font-size: 18px !important;
}

.blog-tag-icon {
  font-size: 20px !important;
}

.blog-search-input {
  border-radius: 12px !important;
  height: 50px !important;
}

.blog-thumbnail {
  border-radius: 8px !important;
  overflow: hidden !important;
}

.check-icon-success {
  font-size: 20px !important;
}

.contacto-form-card {
  border-radius: 20px !important;
  background-color: #f1f0eb !important;
}
.contacto-form-card h3 {
  letter-spacing: -0.5px !important;
}

.textarea-h-150 {
  height: 150px !important;
}

.contacto-info-card {
  border-radius: 16px !important;
  background-color: #ffffff !important;
}

.contacto-info-icon-box {
  width: 55px !important;
  height: 55px !important;
  border-radius: 12px !important;
  font-size: 24px !important;
}

.contacto-info-label {
  font-size: 11px !important;
  letter-spacing: 1px !important;
}

#mapa-contacto {
  width: 100% !important;
  height: 100% !important;
}

.fs-13 {
  font-size: 13px !important;
}

.fs-14 {
  font-size: 14px !important;
}

.fs-15 {
  font-size: 15px !important;
}

/* ==========================================================================
   ESTILOS COMPARTIDOS DE SERVICIOS Y HUB URBANÍSTICO
   ========================================================================== */
.hub-servicio-imagen {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
}
.hub-servicio-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hub-servicio-card h3 {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  line-height: 1.3;
  color: #1a1a1a !important;
  margin-bottom: 12px !important;
  border-bottom: 2px solid #a72122;
  display: inline-block;
  padding-bottom: 6px;
}
.hub-servicio-card p {
  font-size: 0.95rem !important;
  line-height: 1.6;
  color: #555 !important;
  margin-bottom: 20px !important;
}

.hub-servicios-section .hub-servicio-imagen {
  aspect-ratio: 1/1;
}
.hub-servicios-section .hub-servicio-card h3 {
  font-size: 1.5rem !important;
}

.form-floating > label {
  padding: 1rem 0.75rem;
}

.form-check-custom {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}

.form-check-input-custom {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  accent-color: #a72122;
  flex-shrink: 0;
  margin-top: 3px;
}

.form-check-label-custom {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}
.form-check-label-custom a {
  color: #a72122;
  text-decoration: none;
  font-weight: 500;
}
.form-check-label-custom a:hover {
  text-decoration: underline;
}

/* Estilos del Centro de Conocimiento (Filtros, Tarjetas y Enlaces de Servicio) */
.btn-filter {
  background-color: transparent;
  border: 1px solid #e2e8f0;
  color: #4a5568;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-filter:hover, .btn-filter.active {
  background-color: #1C1D20;
  border-color: #1C1D20;
  color: #ffffff;
}

.blog-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: scale(1);
}
.blog-card.filtered-out {
  opacity: 0;
  transform: scale(0.95);
  position: absolute;
  width: 0;
  height: 0;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  overflow: hidden;
  pointer-events: none;
}

.service-link-card {
  border-left: 3px solid #1C1D20;
  transition: all 0.3s ease;
}
.service-link-card:hover {
  background-color: #f8fafc !important;
  border-left-color: #a72122;
}

/* Estilos para páginas legales y auxiliares (sin menú ni pie) */
.btn-floating-home {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: #1C1D20;
  border: 1px solid #e2e8f0;
  padding: 10px 20px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-floating-home svg {
  font-size: 16px;
  color: #a72122;
  transition: transform 0.3s ease;
}
.btn-floating-home:hover {
  background-color: #1C1D20;
  color: #ffffff;
  border-color: #1C1D20;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.btn-floating-home:hover svg {
  transform: translateX(-2px);
  color: #ffffff;
}

.legal-page-wrapper {
  background-color: #faf6f3;
  min-height: 100vh;
  padding: 80px 20px;
  font-family: 'Outfit', sans-serif;
}
.legal-page-wrapper .legal-container {
  max-width: 860px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  padding: 60px;
}
@media (max-width: 768px) {
  .legal-page-wrapper .legal-container {
    padding: 30px 20px;
  }
}
.legal-page-wrapper .legal-header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 1px solid #f1e9e3;
  padding-bottom: 30px;
}
.legal-page-wrapper .legal-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: #1C1D20;
  margin-bottom: 10px;
}
.legal-page-wrapper .legal-header .legal-meta {
  font-size: 14px;
  color: #718096;
}
.legal-page-wrapper .legal-content {
  color: #4a5568;
  line-height: 1.7;
  font-size: 15px;
}
.legal-page-wrapper .legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1C1D20;
  margin-top: 35px;
  margin-bottom: 15px;
}
.legal-page-wrapper .legal-content p {
  margin-bottom: 20px;
  text-align: justify;
}
.legal-page-wrapper .legal-content ul, .legal-page-wrapper .legal-content ol {
  margin-bottom: 25px;
  padding-left: 20px;
}
.legal-page-wrapper .legal-content ul li, .legal-page-wrapper .legal-content ol li {
  margin-bottom: 10px;
}
.legal-page-wrapper .legal-content strong {
  color: #1C1D20;
}

