/* =========================================================
   PASCUAL VALDÉS — mejoras.css
   Contiene: (1) Layout de emergencia si falta main.min.css
             (2) Mejoras visuales, animaciones y efectos
   ========================================================= */

/* =========================================================
   1. VARIABLES
   ========================================================= */
:root {
  --navy:        #013541;
  --teal:        #013541;
  --dur-fast:    0.22s;
  --dur-med:     0.4s;
  --dur-slow:    0.7s;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================================
   2. RESET Y BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background-color: var(--navy);   /* evita franja blanca */
}

body {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  color: #013541;
  background-color: #ffffff;
  animation: pageFadeIn 0.4s ease both;
  -webkit-font-smoothing: antialiased;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Reset solo para elementos de navegación, NO para listas de contenido */
nav ul, nav li,
.idioma-switcher li,
.menu-nav li         { list-style: none; margin: 0; padding: 0; }
a   { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* =========================================================
   3. UTILIDADES TIPOGRÁFICAS (respaldo si falta main.min.css)
   ========================================================= */
.size60 { font-size: clamp(2rem, 4vw, 3.75rem) !important; }
.size44 { font-size: clamp(1.6rem, 3vw, 2.75rem) !important; }
.size36 { font-size: clamp(1.4rem, 2.5vw, 2.25rem) !important; }
.size20 { font-size: 1.25rem !important; }
.size18 { font-size: 1.125rem !important; }
.size16 { font-size: 1rem    !important; }
.size14 { font-size: 0.875rem !important; }

.fw200 { font-weight: 200 !important; }
.fw500 { font-weight: 500 !important; }
.fw700 { font-weight: 700 !important; }

.color-FFF    { color: #ffffff !important; }
.color-192C41 { color: #013541 !important; }
.color-000    { color: #000000 !important; }

.text-uppercase { text-transform: uppercase !important; }
.uperc          { text-transform: uppercase !important; }
.ls5  { letter-spacing: 5px  !important; }
.ls3  { letter-spacing: 3px  !important; }
.lh1  { line-height: 1       !important; }

/* Utilidades de margen */
.ml10 { margin-left: 10px  !important; }
.ml15 { margin-left: 15px  !important; }
.ml20 { margin-left: 20px  !important; }
.ml40 { margin-left: 40px  !important; }
.mr10 { margin-right: 10px !important; }
.mt10 { margin-top: 10px   !important; }
.mt20 { margin-top: 20px   !important; }
.mt30 { margin-top: 30px   !important; }
.mt40 { margin-top: 40px   !important; }
.mb0  { margin-bottom: 0    !important; }
.mb15 { margin-bottom: 15px !important; }
.mb20 { margin-bottom: 20px !important; }
.mb25 { margin-bottom: 25px !important; }
.mb40 { margin-bottom: 40px !important; }
.mb50 { margin-bottom: 50px !important; }

/* Utilidades de padding */
.pl0  { padding-left:  0 !important; }
.pr0  { padding-right: 0 !important; }
.plp8 { padding-left:  8% !important; }
.prp8 { padding-right: 8% !important; }
.ptvh7  { padding-top:    7vh !important; }
.pbvh7  { padding-bottom: 7vh !important; }
.ptvh10 { padding-top:    10vh !important; }
.pbvh5  { padding-bottom: 5vh !important; }

/* Ancho de contenido */
.wp86   { width: 86%; margin-left: auto; margin-right: auto; }
.wp100  { width: 100% !important; }
.maxw300{ max-width: 300px !important; }

/* Backgrounds de columna (abogado.php + area.php) */
.bg-013541 { background-color: var(--teal)   !important; }
.bg-A8AEBA { background-color: #A8AEBA      !important; }
.bg-979FAC { background-color: #979FAC      !important; }

/* Height utilities */
.hvh100_m, .hvh100-m { min-height: calc(100vh - 80px) !important; }

/* =========================================================
   4. HEADER / NAVEGACIÓN
   ========================================================= */
.nav_menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 5%;
  height: 80px;
  background-color: var(--navy);
  transition: background-color 0.35s var(--ease-out),
              box-shadow        0.35s var(--ease-out),
              height            0.35s var(--ease-out);
}
.nav_menu.scrolled {
  background-color: rgba(25,44,65,0.97) !important;
  box-shadow: 0 3px 24px rgba(0,0,0,0.28);
  height: 66px;
}

/* Logo */
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo_menu {
  width: 200px;
  height: auto;
  transition: width var(--dur-med) var(--ease-out);
}
.nav_menu.scrolled .logo_menu { width: 150px; }

/* Nav links (desktop) */
.menu-nav {
  display: flex;
  align-items: center;
  margin-left: auto !important;  /* empuja el nav hacia la derecha */
  flex-wrap: nowrap;
}
.menu-nav li { display: inline-flex; align-items: center; }
.menu-nav a {
  color: #ffffff;
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
  padding: 4px 0;
  position: relative;
  transition: letter-spacing var(--dur-med) var(--ease-out);
}
.menu-nav a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -3px;
  width: 0; height: 1.5px;
  background: #fff;
  transition: width var(--dur-med) var(--ease-out),
              left   var(--dur-med) var(--ease-out);
}
.menu-nav a:hover { letter-spacing: 3px; }
.menu-nav a:hover::after { width: 100%; left: 0; }

/* Selector de idioma */
.idioma-switcher {
  display: flex !important;
  align-items: center;
  margin-left: 24px;
}
.opt_idioma {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: color var(--dur-fast) ease;
  user-select: none;
}
.opt_idioma:hover,
.opt_idioma.active { color: #ffffff; }

/* Botón hamburguesa mobile */
.btn_toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 20px;
  flex-shrink: 0;
}
.btn_toggle span {
  display: block;
  width: 100%; height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.btn_toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.btn_toggle.open span:nth-child(2) { opacity: 0; }
.btn_toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Offset del contenido para el header fijo */
.wrapper { padding-top: 80px; }

/* Skip link accesibilidad */
.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--navy); color: #fff;
  padding: 6px 12px; z-index: 9999;
  font-size: 14px; transition: top var(--dur-fast) ease;
  text-decoration: none; border-radius: 2px;
}
.skip-link:focus { top: 8px; }

/* =========================================================
   5. HERO — VIDEO FULLSCREEN
   ========================================================= */
.bg_video {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.video_full {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Texto superpuesto */
.box_descp {
  position: relative;
  z-index: 3;
  padding: 0 0 10vh;
  margin-left: 8%;
  max-width: 800px;
}
.box_descp .tit1 {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 3px;
  margin: 0 0 32px;
}
.box_descp .btn_blanco {
  animation: heroTextIn 1s 0.6s var(--ease-out) both;
}
.box_descp .tit1 {
  animation: heroTextIn 1s 0.3s var(--ease-out) both;
}
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* Velo puntillista sobre el video */
.bg_video::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(1,53,65,0.60);
  pointer-events: none; z-index: 1;
}
.bg_video::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px),
    radial-gradient(circle, rgba(1,53,65,0.30) 1px, transparent 1px);
  background-size: 8px 8px, 16px 16px;
  background-position: 0 0, 4px 4px;
  pointer-events: none; z-index: 2;
}

/* =========================================================
   6. BOTONES
   ========================================================= */
.btn_blanco,
.btn_azul {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-spring),
              box-shadow var(--dur-fast) ease;
}
.btn_blanco {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #ffffff;
}
.btn_azul {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #ffffff;
}
.btn_blanco:hover,
.btn_azul:hover   { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.btn_blanco:active,
.btn_azul:active  { transform: none; box-shadow: none; transition-duration: 0.08s; }

/* Cruz decorativa de los botones */
.cruz { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.cruz .line1,
.cruz .line2 {
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 1.5px;
  background: currentColor;
  transform-origin: center;
}
.cruz .line1 { transform: translate(-50%, -50%); }
.cruz .line2 { transform: translate(-50%, -50%) rotate(90deg); }

/* Botón maps */
.btn_maps {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  position: absolute;
  bottom: 0; right: 0;
  transition: background var(--dur-fast) ease;
}
.btn_maps:hover { background: rgba(25,44,65,0.85); color: #fff; }

/* =========================================================
   7. SECCIÓN SELLO — rediseño
   ========================================================= */
.sello-section { display: flex; flex-direction: column; }

.sello-top {
  background-color: var(--navy);
  padding: 6vh 0 5vh;
}

.sello-heading-col {
  padding-right: 2rem;
  border-right: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 2rem;
}

.sello-tag {
  display: block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.sello-titulo {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 5px; line-height: 1;
  margin: 0 0 1.5rem;
}

.sello-linea { width: 48px; height: 3px; background: rgba(255,255,255,0.35); }

.sello-pilar {
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid rgba(255,255,255,0.25);
  margin-bottom: 1rem;
  background-color: rgba(255,255,255,0.02);
  transition: background-color var(--dur-med) ease,
              border-top-color  var(--dur-med) ease,
              transform         var(--dur-med) var(--ease-spring),
              box-shadow        var(--dur-med) ease;
}
.sello-pilar:last-child { border-right: 1px solid rgba(255,255,255,0.1); }
.sello-pilar:hover {
  background-color: rgba(255,255,255,0.07);
  border-top-color: rgba(255,255,255,0.8);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.sello-pilar-tit {
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 4px; color: #ffffff;
  text-transform: uppercase; margin-bottom: 0;
}

/* Separador entre título y texto */
.sello-pilar-sep {
  width: 32px; height: 2px;
  background: rgba(255,255,255,0.35);
  margin: 1rem 0;
  transition: width var(--dur-med) ease;
}
.sello-pilar:hover .sello-pilar-sep { width: 52px; }

.sello-pilar-txt {
  font-size: 1rem; font-weight: 300;
  color: rgba(255,255,255,0.7); line-height: 1.75; margin: 0;
  text-align: justify;
}

@media (max-width: 991px) {
  .sello-heading-col {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 1.5rem;
  }
  .sello-pilar {
    border-top: 3px solid rgba(255,255,255,0.25);
    margin-bottom: 1rem;
  }
  .sello-pilar:last-child { margin-bottom: 0; }
}

/* =========================================================
   8. EQUIPO — fotos de abogados
   ========================================================= */
.card_abogado {
  display: block;
  overflow: hidden;
  position: relative;
  transition: transform var(--dur-med) var(--ease-spring),
              box-shadow var(--dur-med) var(--ease-out);
}
.card_abogado:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.2);
}

/* Línea de acento que aparece al hover */
.card_abogado::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--navy);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
  z-index: 2;
}
.card_abogado:hover::before { transform: scaleX(1); }

/* Div con la foto (background-image) */
.foto_abogado {
  width: 100%;
  height: 340px;
  background-size: cover;
  background-position: center top;
  background-color: #e0e4ea;  /* color placeholder mientras carga */
  transition: transform 0.55s var(--ease-out);
}
.card_abogado:hover .foto_abogado { transform: scale(1.05); }

/* Texto bajo la foto */
.card_abogado_texto {
  padding: 16px 20px;
  background: #ffffff;
}
.card_abogado_texto p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  line-height: 1.5;
}
.card_abogado_texto span {
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: #555;
}

/* =========================================================
   9. ÁREAS DE PRÁCTICA — cards con bullets
   ========================================================= */
.experiencia-mejorada { padding-top: 7vh; padding-bottom: 7vh; }

/* Sección contenedor */
.box_experiencia {
  background-color: var(--teal);
  padding: 7vh 7%;
}
.box_experiencia_interno {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.area-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-top: 3px solid rgba(255,255,255,0.35);
  padding: 2rem 1.75rem 1.75rem;
  height: 100%;
  transition: background-color var(--dur-med) ease,
              border-top-color  var(--dur-med) ease,
              transform         var(--dur-med) var(--ease-spring),
              box-shadow        var(--dur-med) ease;
}
.area-card:hover {
  background-color: rgba(255,255,255,0.06);
  border-top-color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}

/* Cards de área — no clickables */
.area-card-link {
  color: inherit !important;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: default;
  pointer-events: none;
}

.area-card-tit {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 1.5px; line-height: 1.3;
  margin: 0 0 1rem;
  transition: letter-spacing var(--dur-med) var(--ease-out);
}
.area-card:hover .area-card-tit { letter-spacing: 2px; }

.area-card-sep {
  width: 36px; height: 2px;
  background: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
  transition: width var(--dur-med) ease;
}
.area-card:hover .area-card-sep { width: 56px; }

.area-card-bullets {
  list-style: none; padding: 0; margin: 0 0 auto;
}
.area-card-bullets li {
  font-size: 0.84rem;
  font-weight: 300;
  color: rgba(255,255,255,0.58) !important;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; gap: 0.5rem;
  transition: color var(--dur-fast) ease;
}
.area-card-bullets li::before {
  content: '—';
  color: rgba(255,255,255,0.28);
  font-size: 0.75rem; flex-shrink: 0;
}
.area-card:hover .area-card-bullets li        { color: rgba(255,255,255,0.8) !important; }
.area-card:hover .area-card-bullets li::before { color: rgba(255,255,255,0.6); }

.area-card-ver {
  display: block; margin-top: 1.25rem;
  font-size: 0.77rem; font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35) !important;
  text-transform: uppercase;
  transition: color var(--dur-fast) ease, letter-spacing var(--dur-med) ease;
}
.area-card:hover .area-card-ver {
  color: rgba(255,255,255,0.9) !important;
  letter-spacing: 3px;
}

/* Link blanco (antiguo estilo) */
.link_blanco {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  font-weight: 400;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: color var(--dur-fast) ease, padding-left var(--dur-med) ease;
}
.link_blanco:hover { color: #fff; padding-left: 8px; }

/* =========================================================
   10. CONTACTO — mapa e iframe
   ========================================================= */
.map_container {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}
.iframe_map {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
  border: 0;
}
.box_form {
  background: #ffffff;
}

/* Formulario flotante */
.form-control {
  border-radius: 0;
  border-color: #c8ccd4;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(1,53,65,0.11);
}
.form-floating > label { color: #6c757d; font-size: 0.9rem; }
.form-floating::after {
  content: '';
  display: block; height: 2px;
  background: var(--navy);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
  margin-top: -2px;
}
.form-floating:focus-within::after { transform: scaleX(1); }
.textarea_alto { min-height: 130px; resize: vertical; }

/* Loader de envío */
.btn-sending { pointer-events: none; opacity: 0.7; }
.btn-sending::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.55);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 8px; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   11. SCROLL REVEAL
   ========================================================= */

/* Fallback CSS puro: si JS no ejecuta, el contenido aparece igual a los 2.5s */
@keyframes revealFallback {
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  /* Fallback: aparece aunque JS no cargue */
  animation: revealFallback 0.6s ease 2.5s both;
}
.reveal.reveal-left  { transform: translateX(-44px); }
.reveal.reveal-right { transform: translateX(44px); }
.reveal.reveal-scale { transform: scale(0.93); }

/* Cuando JS agrega .active, cancela la animación y usa la transición */
.reveal.active {
  opacity: 1;
  transform: none;
  animation: none;
}

.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.13s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.26s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.39s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.52s; }
.reveal-group .reveal:nth-child(6) { transition-delay: 0.65s; }

/* =========================================================
   12. CURSOR PERSONALIZADO (solo desktop)
   ========================================================= */
.cursor-dot {
  position: fixed;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--navy); pointer-events: none;
  z-index: 99999; opacity: 0.4;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-spring),
              height 0.2s var(--ease-spring),
              opacity 0.2s ease;
  mix-blend-mode: multiply;
}
.cursor-dot--hover { width: 28px; height: 28px; opacity: 0.15; }

/* =========================================================
   13. RIPPLE EN BOTONES
   ========================================================= */
.ripple-dot {
  position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleOut 0.55s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: translate(-50%, -50%) scale(12); opacity: 0; }
}

/* =========================================================
   14. ACCESIBILIDAD
   ========================================================= */
a:focus-visible, button:focus-visible, [onclick]:focus-visible {
  outline: 3px solid #4a90d9;
  outline-offset: 3px; border-radius: 2px;
}

/* =========================================================
   15. FOOTER — footer-pv (autónomo, sin depender del SCSS compilado)
   ========================================================= */
.footer-pv {
  background-color: #013541;
  color: #ffffff;
}

/* Fila principal: 3 columnas */
.footer-pv__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Columnas */
.footer-pv__col {
  padding: 40px 28px;
}
.footer-pv__col--logo {
  flex: 0 0 auto;
  padding-left: 0;
}
.footer-pv__col--contact,
.footer-pv__col--nav {
  flex: 1 1 200px;
  border-left: 1px solid rgba(255,255,255,0.25);
}

/* Logo */
.footer-pv__logo {
  width: 150px;
  height: auto;
  display: block;
}

/* Listas */
.footer-pv__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-pv__list li {
  margin: 14px 0;
}
.footer-pv__list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: opacity 0.2s ease;
}
.footer-pv__list a:hover { opacity: 0.65; }

/* Iconos en columna de contacto */
.footer-pv__col--contact .icon_phone,
.footer-pv__col--contact .icon_email,
.footer-pv__col--contact .icon_marker {
  padding-left: 26px;
  background-position: left center;
  background-size: 16px auto;
  background-repeat: no-repeat;
  display: block;
  min-height: 24px;
  height: auto;
  line-height: 1.5;
}
.footer-pv__col--contact .icon_marker {
  background-position: left 3px;
}

/* Links columna nav: mayúsculas */
.footer-pv__col--nav .footer-pv__list a {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  font-weight: 500;
}

/* Copyright */
.footer-pv__copy {
  text-align: center;
  padding: 12px 5% 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-pv__copy small,
.footer-pv__copy a {
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  text-decoration: none;
}
.footer-pv__copy a:hover { color: rgba(255,255,255,0.7); }

/* Mobile */
@media (max-width: 767px) {
  .footer-pv__inner { flex-direction: column; align-items: flex-start; padding: 0 6%; }
  .footer-pv__col { padding: 24px 0; border-left: none !important; width: 100%; }
  .footer-pv__col--contact,
  .footer-pv__col--nav { border-top: 1px solid rgba(255,255,255,0.15); }
}

/* Compatibilidad con icon_marker de main.min.css */
.icon_marker {
  height: auto    !important;
  min-height: 27px;
  background-position: left 3px !important;
  padding-top: 2px;
}

/* =========================================================
   16. PÁGINA ABOGADO (abogado.php)
   ========================================================= */

/* Columna izquierda — animaciones de entrada */
.box_abogado_titulo { animation: fadeDown 0.65s var(--ease-out) both; }
.box_abogado_datos  { animation: fadeUp  0.65s var(--ease-out) 0.2s both; }

/* LinkedIn */
.abogado-linkedin {
  padding: 16px 30px;
}
.abogado-linkedin a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}
.abogado-linkedin a:hover {
  color: #ffffff;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* Contenedor de la foto del abogado (background-image inline) */
.box_img_abogado {
  width: 100%;
  height: 55vh;
  min-height: 320px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Títulos y datos en columna izquierda */
.box_abogado_titulo {
  padding: 40px 8% 20px;
  background-color: inherit;
}
.box_abogado_datos {
  padding: 24px 8%;
  background-color: rgba(0,0,0,0.12);
}

/* Columna derecha — contenido del abogado */
.box_abogado_info {
  height: 100%;
  overflow-y: auto;
}
.box_info1 {
  padding: 7vh 8%;
  border-bottom: 1px solid rgba(1,53,65,0.1);
}
.box_info2,
.box_info3 {
  padding: 5vh 8%;
  border-bottom: 1px solid rgba(1,53,65,0.08);
}

/* Centrado de íconos de datos de contacto */
.link_center {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

/* Links de áreas de trabajo */
.link_azul {
  color: #013541 !important;
  font-weight: 500;
  border-bottom: 1px solid rgba(1,53,65,0.3);
  padding-bottom: 6px;
  display: block;
  transition: color var(--dur-fast) ease,
              border-color var(--dur-fast) ease;
}
.link_azul:hover {
  color: #013541 !important;
  border-color: #013541;
}

/* =========================================================
   17. PÁGINA ÁREA (area.php)
   ========================================================= */

/* Columna izquierda */
.box_area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10vh 8%;
  min-height: calc(100vh - 80px);
}

/* Imagen de área (background-image inline) */
.img_area {
  width: 100%;
  height: 45vh;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Texto descriptivo del área */
.box_area_texto {
  padding: 6vh 8%;
}

/* Botón "Volver" — ajustes específicos para columna izquierda de area.php */
.box_area .btn_blanco {
  padding: 10px 20px;
  margin-top: auto;
  align-self: flex-start;
}

/* =========================================================
   18. RESPONSIVE — MOBILE
   ========================================================= */
@media (max-width: 991px) {
  .btn_toggle { display: flex; }

  .menu-nav {
    position: fixed;
    top: 80px; left: 0;
    width: 100%; max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    background: var(--navy);
    margin-left: 0 !important;
    transition: max-height 0.4s var(--ease-out),
                padding    0.4s var(--ease-out);
    padding: 0 5%;
  }
  .menu-nav.open {
    max-height: 400px;
    padding: 16px 5% 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .menu-nav li { width: 100%; }
  .menu-nav a  { display: block; padding: 10px 0; }

  .wp86 { width: 92%; }
  .logo_menu { width: 160px !important; }
  .nav_menu.scrolled .logo_menu { width: 130px !important; }

  .foto_abogado    { height: 260px; }
  .bg_video        { min-height: 100svh; }
  .box_descp       { padding: 0 4% 8vh; margin-left: 0; }
  .box_descp .tit1 { font-size: clamp(1.4rem, 5vw, 2.2rem); }

  /* abogado.php mobile */
  .box_img_abogado { height: 50vw; min-height: 220px; }
  .box_area        { min-height: auto; padding: 6vh 6%; }
  .box_abogado_titulo { padding: 30px 6% 16px; }
  .box_info1       { padding: 5vh 6%; }
  .box_info2,
  .box_info3       { padding: 4vh 6%; }

  /* area.php mobile */
  .img_area        { height: 42vw; min-height: 200px; }
  .box_area_texto  { padding: 5vh 6%; }
  .hvh100_m, .hvh100-m { min-height: auto !important; }
}
