:root{
  --container: 1200px;
  --pad: 16px;

  /* Tipografías fluidas */
  --fs-1: clamp(28px, 5vw, 44px); /* títulos grandes */
  --fs-2: clamp(20px, 3.2vw, 28px); /* subtítulos */
  --fs-3: clamp(16px, 2.2vw, 18px); /* texto */
}

/* Reset base */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  font-size: var(--fs-3);
  color:#111;
  background:#fff;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }

/* Contenedor reutilizable */
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Secciones */
.section{
  padding: 56px 0; /* mobile */
}
@media (min-width: 768px){
  :root{ --pad: 20px; }
  .section{ padding: 72px 0; }
}


/* =========================
   HEADER / NAV + SOCIALES
========================= */

:root{
  --blue-900:#0b1f3b;
  --blue-700:#173b74;
  --blue-100:#e8f0ff;
  --border: rgba(15, 42, 85, .14);
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

/* Logo */
.brand{ display:flex; align-items:center; }
.brand-logo{
  height: 52px;
  width: auto;
  display:block;
  object-fit: contain;
}

/* Nav desktop */
.nav{
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link{
  font-weight: 650;
  font-size: 15px;
  color: rgba(11,31,59,.88);
  padding: 10px 8px;
  border-radius: 10px;
}

.nav-link:hover{
  background: var(--blue-100);
  color: var(--blue-900);
}

.nav-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  margin-left: 6px;
}

.nav-cta:hover{ filter: brightness(1.05); }

/* Sociales */
.nav-social{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.nav-icon{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23,59,116,.18);
  background: #fff;
  color: #173b74;
  transition: .2s ease;
}

.nav-icon svg{
  width: 18px;
  height: 18px;
}

.nav-icon:hover{
  background: rgba(23,59,116,.08);
  transform: translateY(-1px);
}

/* Toggle mobile */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border: 1px solid var(--border);
  background:#fff;
}

.nav-toggle-bars{
  width: 20px;
  height: 2px;
  background: var(--blue-900);
  position: relative;
  display:block;
  border-radius:2px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  position:absolute;
  left:0;
  width:20px;
  height:2px;
  background: var(--blue-900);
  border-radius:2px;
}
.nav-toggle-bars::before{ top:-6px; }
.nav-toggle-bars::after{ top:6px; }

/* Responsive */
@media (max-width: 900px){
  .brand-logo{ height: 42px; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }

  .nav{
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 14px 16px 16px;
    display: grid;
    gap: 10px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: .2s ease;
  }

  .site-header.is-open .nav{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link{
    border: 1px solid var(--border);
    padding: 12px 12px;
  }

  .nav-cta{
    margin-left: 0;
    padding: 12px 14px;
  }

  .nav-social{
    margin-left: 0;
    justify-content: flex-start;
    padding-top: 8px;
  }
}


/* =========================
   BANNER CONTINUO 
========================= */

.hero{
  width: 100%;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(560px, 75vh, 720px);
}

/* Lado azul */
.hero-content{
  background: #0b1f3b;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero-inner{
  padding: clamp(40px, 6vw, 80px) 0;
}

/* Texto */
.hero-kicker{
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .8;
}

.hero-title{
  font-size: clamp(42px, 5vw, 80px);
  line-height: 1.05;
  font-weight: 800;
  margin: 16px 0;
}

.hero-subtitle{
  font-size: clamp(16px, 2vw, 18px);
  max-width: 45ch;
  opacity: .9;
}

.hero-actions{
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Botones */
.btn{
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
}

.btn-primary{
  background: #ffffff;
  color: #0b1f3b;
}

.btn-primary:hover{
  transform: translateY(-2px);
}

.btn-ghost{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
}

.btn-ghost:hover{
  background: rgba(255,255,255,.15);
}

/* Imagen */
.hero-media{
  overflow: hidden;
}

.hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* =========================
   Responsive
========================= */

@media (max-width: 900px){
  .hero-grid{
    grid-template-columns: 1fr;
  }

  .hero-content{
    padding: 0 16px;
  }

  .hero-media{
    height: 380px;
  }
}

/* =========================
   SECCIÓN DESTACADA AZUL CON DIAGONAL
========================= */

.highlight{
  position: relative;
  background: #0b1f3b; /* Azul institucional */
  padding: 120px 0 140px;
  text-align: center;
  overflow: hidden;
}

/* Fondo diagonal azul → blanco */
.highlight::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 45%;
  background: #ffffff;
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

/* Asegura que el contenido quede encima */
.highlight .container{
  position: relative;
  z-index: 1;
}

/* Header */
.highlight-kicker{
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-bottom: 18px;
}

.highlight-title{
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 70px;
}

/* Grid */
.highlight-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

/* Cards */
.highlight-card{
  background: #ffffff;
  padding: 45px 35px;
  border-radius: 6px;
  box-shadow: 0 20px 45px rgba(0,0,0,.15);
  transition: .25s ease;
}

.highlight-card:hover{
  transform: translateY(-6px);
}

.highlight-card h3{
  font-size: 20px;
  font-weight: 600;
  color: #0b1f3b;
  margin-bottom: 14px;
}

.card-line{
  display: block;
  width: 60px;
  height: 2px;
  background: #173b74;
  margin: 0 auto 16px;
}

.highlight-card p{
  font-size: 15px;
  color: rgba(11,31,59,.85);
  line-height: 1.6;
}

/* CTA */
.highlight-cta{
  margin-top: 30px;
}

.highlight-btn{
  display: inline-block;
  padding: 15px 32px;
  background: #173b74;
  color: #ffffff;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: 13px;
  border-radius: 4px;
  transition: .2s ease;
}

.highlight-btn:hover{
  background: #1f4c94;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px){

  .highlight{
    padding: 90px 0 110px;
  }

  .highlight-grid{
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .highlight-title{
    margin-bottom: 40px;
  }

  .highlight::after{
    height: 40%;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
  }
}

/* =========================
   ÁREAS DE PRÁCTICA (Premium)
========================= */

.practice{
  background: #f3f6fb; /* gris azulado suave */
  padding: 95px 0;
}

.practice-head{
  max-width: 72ch;
}

.practice-rule{
  display: inline-block;
  width: 72px;
  height: 3px;
  background: rgba(23,59,116,.75);
  border-radius: 999px;
  margin-bottom: 18px;
}

.practice-title{
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  color: #0b1f3b;
  margin-bottom: 18px;
}

.practice-subtitle{
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.65;
  color: rgba(11,31,59,.78);
  margin-bottom: 44px;
}

/* Grilla */
.practice-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 46px;
  align-items: start;
}

/* Item tipo lista con flecha */
.practice-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 14px 0 16px;
  border-bottom: 1px solid rgba(23,59,116,.32);

  color: rgba(11,31,59,.86);
  font-weight: 650;
  font-size: 15px;

  transition: .22s ease;
}

.practice-item span{
  display: inline-block;
  transition: .22s ease;
}

/* Flechita minimal */
.practice-item::after{
  content: "→";
  font-size: 16px;
  color: rgba(23,59,116,.65);
  transform: translateX(-6px);
  opacity: 0;
  transition: .22s ease;
}

.practice-item:hover{
  border-bottom-color: rgba(23,59,116,.75);
}

.practice-item:hover span{
  color: #173b74;
  transform: translateX(2px);
}

.practice-item:hover::after{
  transform: translateX(0);
  opacity: 1;
  color: rgba(23,59,116,.95);
}

/* Bloque otras áreas */

.practice-extra{
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(23,59,116,.25);
  max-width: 65ch;
}

.practice-extra p{
  font-size: 16px;
  line-height: 1.7;
  color: rgba(11,31,59,.75);
}

/* Responsive */
@media (max-width: 1100px){
  .practice-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 40px;
  }
}

@media (max-width: 650px){
  .practice{
    padding: 70px 0;
  }

  .practice-subtitle{
    margin-bottom: 28px;
  }

  .practice-grid{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .practice-item{
    font-size: 16px; /* más cómodo para móvil */
    padding: 16px 0 18px;
  }
}

/* =========================
   CONTACTO
========================= */

.contact{
  background: #ffffff;
  padding: 90px 0;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-rule{
  display: inline-block;
  width: 72px;
  height: 3px;
  background: rgba(23,59,116,.75);
  border-radius: 999px;
  margin-bottom: 18px;
}

.contact-title{
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  color: #0b1f3b;
  margin-bottom: 16px;
}

.contact-text{
  font-size: 17px;
  line-height: 1.7;
  color: rgba(11,31,59,.78);
  max-width: 56ch;
  margin-bottom: 26px;
}

.contact-block{
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(23,59,116,.18);
}

.contact-label{
  font-weight: 800;
  color: #0b1f3b;
  margin-bottom: 6px;
}

.contact-value{
  color: rgba(11,31,59,.78);
}

.contact-whatsapp{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 800;
  color: #173b74;
}

.contact-whatsapp:hover{
  text-decoration: underline;
}

/* Form */
.contact-form{
  background: #f3f6fb;
  border: 1px solid rgba(23,59,116,.14);
  border-radius: 16px;
  padding: 28px;
}

.field{
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label{
  font-weight: 800;
  font-size: 13px;
  color: rgba(11,31,59,.85);
  letter-spacing: .02em;
}

.field input,
.field textarea{
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(23,59,116,.20);
  background: #fff;
  color: rgba(11,31,59,.92);
  outline: none;
  transition: .15s ease;
}

.field textarea{
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field textarea:focus{
  border-color: rgba(23,59,116,.55);
  box-shadow: 0 0 0 4px rgba(23,59,116,.10);
}

.contact-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  border: none;
  background: #173b74;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}

.contact-btn:hover{
  background: #1f4c94;
  transform: translateY(-1px);
}

.contact-note{
  margin-top: 12px;
  font-size: 13px;
  color: rgba(11,31,59,.65);
}

/* Email contacto */

.contact-email{
  color: #173b74;
  font-weight: 600;
  transition: .2s ease;
}

.contact-email:hover{
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px){
  .contact{
    padding: 70px 0;
  }

  .contact-grid{
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form{
    padding: 22px;
  }
}

/* =========================
   FOOTER
========================= */

.site-footer{
  background: #0b1f3b;
  color: rgba(255,255,255,.85);
  padding-top: 70px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-brand{
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-desc{
  line-height: 1.7;
  max-width: 40ch;
  font-size: 15px;
  color: rgba(255,255,255,.75);
}

.footer-title{
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li{
  margin-bottom: 10px;
}

.footer-links a{
  color: rgba(255,255,255,.75);
  font-size: 14px;
  transition: .2s ease;
}

.footer-links a:hover{
  color: #ffffff;
  transform: translateX(2px);
}

.footer-contact{
  font-size: 14px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.75);
}

.footer-whatsapp{
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  color: #ffffff;
}

.footer-whatsapp:hover{
  text-decoration: underline;
}

/* Línea inferior */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.6);

}

/* Responsive */
@media (max-width: 1000px){
  .footer-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 600px){
  .footer-grid{
    grid-template-columns: 1fr;
  }

  .footer-desc{
    max-width: 100%;
  }
}

/* =========================
   ABOUT / SOBRE
========================= */

.about{
  background: #f8f9fb;
  padding: 100px 0;
}

.about-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

/* Texto */

.about-kicker{
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #173b74;
  margin-bottom: 14px;
  font-weight: 600;
}

.about-title{
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  margin-bottom: 22px;
  color: #0b1f3b;
}

.about-text{
  font-size: 17px;
  line-height: 1.7;
  color: rgba(11,31,59,.85);
  margin-bottom: 18px;
  max-width: 60ch;
}

/* Lista */
.about-list{
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.about-list li{
  margin-bottom: 12px;
  padding-left: 26px;
  position: relative;
  font-size: 16px;
  color: rgba(11,31,59,.85);
}

.about-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  color: #173b74;
  font-weight: bold;
}

/* Botón */
.about-btn{
  display: inline-block;
  margin-top: 15px;
  padding: 12px 22px;
  border: 2px solid #173b74;
  border-radius: 8px;
  font-weight: 600;
  color: #173b74;
  transition: .2s ease;
}

.about-btn:hover{
  background: #173b74;
  color: #fff;
}

/* Imagen */
.about-media img{
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* Responsive */

@media (max-width: 900px){
  .about-grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about{
    padding: 70px 0;
  }
}

/* =========================
   WHATSAPP FLOTANTE
========================= */

.whatsapp-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #173b74, #0b1f3b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  z-index: 9999;
  transition: .25s ease;
}

.whatsapp-float svg{
  width: 26px;
  height: 26px;
}

.whatsapp-float:hover{
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,.35);
}

/* Pequeña animación sutil */
@keyframes pulseWhatsapp{
  0%{ box-shadow: 0 0 0 0 rgba(23,59,116,.4); }
  70%{ box-shadow: 0 0 0 12px rgba(23,59,116,0); }
  100%{ box-shadow: 0 0 0 0 rgba(23,59,116,0); }
}

.whatsapp-float{
  animation: pulseWhatsapp 2.8s infinite;
}

/* En móviles un poco más chico */
@media (max-width: 600px){
  .whatsapp-float{
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float svg{
    width: 22px;
    height: 22px;
  }
}

/* =========================
   SUBPÁGINA ÁREAS DE PRÁCTICA
========================= */

/* =========================
   HERO CON IMAGEN FULL WIDTH
   ÁREAS DE PRÁCTICA
========================= */

.practice-hero-image{
  width: 100%;
  background: #0f2747;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(64px, 8vw, 110px) 0 60px;
}

.practice-hero-bg{
  display: none;
}

/* Overlay oscuro suave para contraste */

.practice-hero-overlay{
  display: none;
}

/* Contenido centrado */

.practice-hero-content{
  position: relative;
  text-align: center;
  color: #ffffff;
}

/* Título */

.practice-hero-title{
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -.01em;
}

/* =========================
   DETALLE ÁREA PENAL
========================= */

.practice-detail-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 34px 48px;
  margin-top: 36px;
}

.practice-detail-item h3{
  font-size: 20px;
  font-weight: 800;
  color: #0b1f3b;
  margin-bottom: 10px;
}

.practice-detail-item p{
  font-size: 16px;
  line-height: 1.7;
  color: rgba(11,31,59,.78);
}

/* responsive */

@media (max-width: 900px){

  .practice-detail-grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }

}

/* =========================
   OTRAS ÁREAS DEL DERECHO
========================= */

.practice-page-secondary{
  width: 100%;
  margin-top: 64px;
}

.practice-page-secondary-full{
  width: 100%;
}

.practice-page-head-wide{
  max-width: 100%;
  width: 100%;
  margin-bottom: 32px;
}

.practice-page-head-wide .practice-subtitle{
  max-width: 760px;
  margin-bottom: 0;
}

.practice-other-grid{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.practice-other-item{
  width: 100%;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid rgba(23,59,116,.14);
  border-radius: 18px;
  padding: 30px 32px;
  box-shadow: 0 10px 24px rgba(11,31,59,.04);
  transition: .22s ease;
}

.practice-other-item:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(11,31,59,.08);
}

.practice-other-item h3{
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.08;
  color: #0b1f3b;
  margin-bottom: 14px;
  font-weight: 800;
  text-wrap: balance;
}

.practice-other-item p{
  font-size: 16px;
  line-height: 1.8;
  color: rgba(11,31,59,.78);
  max-width: 100%;
}

@media (max-width: 900px){
  .practice-page-secondary{
    margin-top: 42px;
  }

  .practice-page-head-wide{
    margin-bottom: 24px;
  }

  .practice-other-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .practice-other-item{
    padding: 22px;
  }
}

.nav-link-active{
  background: var(--blue-100);
  color: var(--blue-900);
}

/* Hero interno */
.page-hero{
  background: #f3f6fb;
}

.page-hero-practice{
  padding: clamp(64px, 8vw, 108px) 0 clamp(42px, 6vw, 72px);
}

.page-hero-inner{
  max-width: 760px;
}

.page-hero-rule{
  display: inline-block;
  width: 72px;
  height: 3px;
  background: rgba(23,59,116,.75);
  border-radius: 999px;
  margin-bottom: 18px;
}

.page-hero-kicker{
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  color: #173b74;
  margin-bottom: 14px;
  font-weight: 700;
}

.page-hero-title{
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.02;
  font-weight: 800;
  color: #0b1f3b;
  margin-bottom: 18px;
}

.page-hero-text{
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.7;
  color: rgba(11,31,59,.78);
  max-width: 58ch;
}

/* Sección principal */
.practice-page{
  background: #f3f6fb;
  padding-top: 20px;
}

.practice-page-block{
  padding-bottom: 28px;
}

.practice-page-head{
  max-width: 78ch;
}

.practice-page-other{
  padding-top: 22px;
}

.practice-page-head-small{
  margin-bottom: 36px;
}

.practice-page-secondary-title{
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  color: #0b1f3b;
  margin-bottom: 16px;
}

.practice-page-secondary-text{
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.7;
  color: rgba(11,31,59,.78);
  max-width: 64ch;
}

/* Cards secundarias */
.practice-cards-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.practice-card{
  background: #ffffff;
  border: 1px solid rgba(23,59,116,.14);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 10px 24px rgba(11,31,59,.04);
  transition: .22s ease;
}

.practice-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(11,31,59,.08);
}

.practice-card-title{
  font-size: clamp(22px, 2.8vw, 26px);
  line-height: 1.15;
  color: #0b1f3b;
  margin-bottom: 12px;
  font-weight: 800;
}

.practice-card-text{
  font-size: 16px;
  line-height: 1.7;
  color: rgba(11,31,59,.78);
}

/* CTA final */
.practice-page-cta{
  background: #0b1f3b;
  padding: clamp(68px, 8vw, 100px) 0;
}

.practice-page-cta-box{
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.practice-page-cta-kicker{
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  color: rgba(255,255,255,.72);
  margin-bottom: 12px;
  font-weight: 700;
}

.practice-page-cta-title{
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 800;
}

.practice-page-cta-text{
  color: rgba(255,255,255,.82);
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.7;
  max-width: 62ch;
  margin: 0 auto 28px;
}

.practice-page-cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 14px;
  background: #fff;
  color: #0b1f3b;
  font-weight: 800;
  transition: .2s ease;
  text-align: center;
}

.practice-page-cta-btn:hover{
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1100px){
  .practice-cards-grid{
    gap: 18px;
  }
}

@media (max-width: 900px){
  .practice-page{
    padding-top: 10px;
  }

  .practice-page-head-small{
    margin-bottom: 28px;
  }

  .practice-cards-grid{
    grid-template-columns: 1fr;
  }

  .practice-card{
    padding: 22px;
  }
}

@media (max-width: 600px){
  .page-hero-practice{
    padding: 54px 0 40px;
  }

  .practice-page-block{
    padding-bottom: 18px;
  }

  .practice-page-other{
    padding-top: 10px;
  }

  .practice-page-cta{
    padding: 56px 0;
  }

  .practice-page-cta-btn{
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
  }
}

/* =========================
   PÁGINA PUBLICACIONES
========================= */

.publications-hero{
  background: #0f2747;
  padding: clamp(64px, 8vw, 110px) 0 60px;
  display: flex;
  align-items: center;
}

.publications-hero-inner{
  max-width: 760px;
}

.publications-hero-rule{
  display: inline-block;
  width: 72px;
  height: 3px;
  color: rgba(255,255,255,0.75);
  border-radius: 999px;
  margin-bottom: 18px;
}

.publications-hero-kicker{
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  color: #ffffff;
  margin-bottom: 14px;
  font-weight: 700;
}

.publications-hero-title{
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.02;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
}

.publications-hero-text{
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 58ch;
}

.publications-list{
  background: #f3f6fb;
  padding-top: 12px;
}

.publications-head{
  max-width: 78ch;
  margin-bottom: 34px;
}

.publications-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.publication-card{
  background: #fff;
  border: 1px solid rgba(23,59,116,.14);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(11,31,59,.04);
  transition: .22s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.publication-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(11,31,59,.08);
}

.publication-card-media{
  height: 190px;
  background:
    linear-gradient(rgba(23,59,116,.08), rgba(23,59,116,.08)),
    linear-gradient(135deg, #dfe8f8, #eef3fb);
  border-bottom: 1px solid rgba(23,59,116,.10);
}

.publication-card-body{
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.publication-card-tag{
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(23,59,116,.08);
  color: #173b74;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.publication-card-title{
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  color: #0b1f3b;
  font-weight: 800;
}

.publication-card-text{
  font-size: 15px;
  line-height: 1.7;
  color: rgba(11,31,59,.78);
  flex: 1;
}

.publication-card-link{
  color: #173b74;
  font-weight: 800;
}

.publication-card-link:hover{
  text-decoration: underline;
}

@media (max-width: 1100px){
  .publications-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px){
  .publications-grid{
    grid-template-columns: 1fr;
  }

  .publication-card-media{
    height: 170px;
  }

  .publication-card-body{
    padding: 20px;
  }
}

/* =========================
   SOBRE MI
========================= */

.about-hero{
  background: #0f2747;
  padding: clamp(64px, 8vw, 110px) 0 60px;
}

.about-hero-inner{
  max-width: 760px;
}

.about-hero-rule{
  width: 70px;
  height: 3px;
  background: rgba(255, 255, 255, 0.75);
  display: block;
  margin-bottom: 18px;
}

.about-hero-kicker{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 14px;
}

.about-hero-title{
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
}

.about-hero-text{
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}


/* PERFIL */

.about-profile-grid{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: center;
}

.about-profile-photo img{
  width: 100%;
  border-radius: 22px;
}

.about-profile-content p{
  text-align: justify;
  line-height: 1.85;
  margin-bottom: 18px;
  max-width: 640px;
}


/* FORMACIÓN */

.about-education-grid{
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}

.about-education-item{
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  border: 1px solid rgba(23,59,116,.14);
}

.about-education-item h3{
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.about-education-item p{
  font-size: 16px;
  line-height: 1.7;
}

.education-list{
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.education-list li{
  position: relative;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(11,31,59,.85);
}

.education-list li::marker{
  color: #173b74;
}

/* RESPONSIVE */

@media (max-width: 900px){

  .about-profile-grid{
    grid-template-columns: 1fr;
  }

  .about-education-grid{
    grid-template-columns: 1fr;
  }

}