:root{ --N:#1e3557; --G:#1d2433; --G2:#3d4a5c; --M:#556070; --B:rgba(30,53,87,0.13); --GOLD:#B08D57; }
  h1, h2, .serif-title{ font-family:'Playfair Display', serif; }
  .title-underline{ display:inline-block; padding-bottom:14px; border-bottom:2px solid var(--GOLD); }
  .office-banner{
    width:100vw; position:relative; left:50%; right:50%; margin-left:-50vw; margin-right:-50vw;
    height:340px; display:flex; align-items:flex-end; padding:0 0 36px;
    background-image: linear-gradient(0deg, rgba(20,30,48,0.75) 0%, rgba(20,30,48,0.15) 55%, rgba(20,30,48,0.05) 100%), url('./nosotros-banner.jpg');
    background-size:cover; background-position:center 40%;
  }
  .office-banner .wrap{width:100%;}
  .office-banner h2{color:#fff; margin:0;}
  .navy-block{background:var(--N); padding:52px 0;}
  .navy-block p{color:rgba(255,255,255,0.82) !important;}
  .navy-block b{color:#fff !important;}

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{font-family:'Manrope',sans-serif; color:var(--G); background:#fff; -webkit-font-smoothing:antialiased; overflow-x:hidden;}
  a{text-decoration:none; color:inherit;}
  .wrap{max-width:1152px; margin:0 auto; padding:0 40px;}
  @media(max-width:700px){ .wrap{padding:0 40px;} }

  .eyebrow{display:flex; align-items:center; gap:10px; margin-bottom:16px;}
  .eyebrow .line{width:20px; height:1px; background:var(--B);}
  .eyebrow span{font-size:10.5px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--M);}

  nav{position:fixed; top:0; left:0; right:0; z-index:50; background:#fff; box-shadow:0 1px 0 var(--B);}
  .nav-inner{max-width:1152px; margin:0 auto; padding:0 40px; height:68px; display:flex; align-items:center; justify-content:space-between;}
  .firm{font-size:14.5px; font-weight:700; letter-spacing:-0.015em; color:var(--N); white-space:nowrap;}
  .firm span{font-weight:500; color:var(--G2);}
  .nav-links{display:flex; align-items:center; gap:26px;}
  .nav-links a{font-size:12.5px; font-weight:600; color:var(--G2); opacity:.8; white-space:nowrap;}
  .nav-links a:hover{color:var(--N); opacity:1;}
  .nav-links a.btn-primary, .nav-links a.btn-primary:hover{color:#fff !important; opacity:1;}
  .burger{display:none; background:none; border:none; cursor:pointer; color:var(--N); padding:4px;}
  @media(max-width:760px){
    .nav-links{display:none;}
    .burger{display:block;}
  }
  .mobile-menu{
    position:fixed; inset:0; z-index:60; background:rgba(255,255,255,0.98); backdrop-filter:blur(10px);
    display:none; flex-direction:column; align-items:center; justify-content:center; gap:30px;
  }
  .mobile-menu.open{display:flex;}
  .mobile-menu a{font-size:15px; font-weight:700; text-transform:uppercase; letter-spacing:.14em; color:var(--N);}
  .mobile-close{position:absolute; top:24px; right:24px; background:none; border:none; cursor:pointer; color:var(--N);}
  .btn-primary{display:inline-flex; align-items:center; gap:8px; border-radius:999px; background:var(--N); color:#fff; padding:12px 24px; font-size:13px; font-weight:700; box-shadow:0 2px 10px rgba(30,53,87,0.18); transition:box-shadow .18s, transform .18s;}
  .btn-primary:hover{transform:translateY(-1px); box-shadow:0 6px 18px rgba(30,53,87,0.26); color:#fff;}
  .btn-secondary{display:inline-flex; align-items:center; gap:8px; border-radius:999px; background:transparent; color:var(--N); padding:11px 26px; font-size:13px; font-weight:600; border:1.5px solid var(--B); transition:all .18s;}
  .btn-secondary:hover{border-color:rgba(30,53,87,0.35); background:rgba(30,53,87,0.04);}

  .page{padding:100px 0 48px; border-bottom:1px solid var(--B);}
  @media(max-width:700px){ .page{padding:96px 0 56px;} }
  .page-inner-tight{padding-top:96px;}
  h2{font-size:clamp(1.9rem,3.4vw,2.55rem); font-weight:700; line-height:1.14; letter-spacing:-0.025em; color:var(--N);}

  /* HERO — banner navy sobre foto, estilo Saavedra */
  .hero-banner{
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    margin-bottom: 48px;
    padding: 96px 0 28px;
    background-image: linear-gradient(100deg, rgba(20,36,60,0.90) 0%, rgba(30,53,87,0.82) 45%, rgba(30,53,87,0.70) 100%), url('./inicio-banner.jpg');
    background-size: cover; background-position: center 38%;
  }
  .hero-banner-tall{min-height:100vh; display:flex; align-items:center; padding-top:0; padding-bottom:0;}
  .hero-banner-tall .hero-banner-inner{width:100%;}
  @media(max-width:700px){ .hero-banner-tall{min-height:88vh;} }
  .hero-banner-inner{max-width:1152px; margin:0 auto; padding:0 40px;} .hero-banner-text{max-width:640px;}
  .hero h1{font-size:clamp(1.9rem,3.6vw,2.6rem); font-weight:700; line-height:1.3; letter-spacing:-0.015em; color:#fff; margin-bottom:16px;}
  .hero p{font-size:15px; line-height:1.7; color:rgba(255,255,255,0.78); max-width:480px; margin-top:56px; margin-bottom:34px;}
  .hero .row{display:flex; flex-wrap:wrap; gap:12px;}
  .hero .btn-primary{background:#fff; color:var(--N);}
  .hero .btn-primary:hover{background:#eef1f5; color:var(--N);}
  .hero .btn-secondary{color:#fff; border-color:rgba(255,255,255,0.35);}
  .hero .btn-secondary:hover{border-color:#fff; background:rgba(255,255,255,0.08);}

  /* PILARES — texto plano, sin íconos */
  .section-block{margin-bottom:44px;}
  .section-block:last-child{margin-bottom:0;}
  .block-label{font-size:1.15rem; font-weight:800; letter-spacing:.01em; text-transform:none; color:var(--N); margin-bottom:20px;}
  .body-copy{font-size:16px; line-height:1.78; color:var(--G2); margin-bottom:18px;}
  .body-copy:last-child{margin-bottom:0;}
  .pillars-text{display:grid; grid-template-columns:repeat(3,1fr); gap:40px;}
  @media(max-width:760px){ .pillars-text{grid-template-columns:1fr; gap:32px;} }
  .pillars-text h3{font-size:17px; font-weight:700; color:var(--N); margin-bottom:10px;}
  .pillars-text p{font-size:14.5px; line-height:1.74; color:var(--G2);}

  /* CÓMO TRABAJAMOS — texto plano */
  .proceso-text{display:flex; flex-direction:column; gap:28px; max-width:760px;}
  .proceso-text .item{padding-bottom:26px; border-bottom:1px solid var(--B);}
  .proceso-text .item:last-child{border-bottom:none; padding-bottom:0;}
  .proceso-text h3{font-size:16px; font-weight:700; color:var(--N); margin-bottom:6px;}
  .proceso-text .n{font-weight:800; color:var(--M); margin-right:8px; font-size:13px; letter-spacing:.04em;}
  .proceso-text p{font-size:14.5px; line-height:1.7; color:var(--G2);}

  /* CONTACTO (dentro de página 1) */
  .contact-grid{display:grid; grid-template-columns:5fr 7fr; gap:48px 80px; align-items:start;}
  @media(max-width:900px){ .contact-grid{grid-template-columns:1fr;} }
  .contact-grid h2{font-size:clamp(2.2rem,4.4vw,3.4rem); font-weight:800; letter-spacing:-0.035em; margin-bottom:16px;}
  .contact-grid p.sub{font-size:16px; line-height:1.78; color:var(--G2); max-width:340px; margin-bottom:28px;}
  .mail-btn{display:inline-flex; align-items:center; font-size:14px; font-weight:700; background:var(--N); color:#fff; padding:13px 28px; border-radius:999px;}
  .mail-btn:hover{background:#16273f;}
  form{display:flex; flex-direction:column; gap:14px;}
  form label{display:block; font-size:10.5px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--M); margin-bottom:9px;}
  form input, form textarea{width:100%; background:#fff; border:1px solid var(--B); border-radius:12px; padding:13px 18px; font-size:14px; color:var(--G); outline:none; font-family:inherit;}
  form input:focus, form textarea:focus{border-color:var(--N);}
  form button{border:none; cursor:pointer; border-radius:12px; background:var(--N); color:#fff; padding:14px 20px; font-size:13px; font-weight:600; width:100%; margin-top:2px;}
  form button:hover{box-shadow:0 6px 18px rgba(30,53,87,0.26);}

  /* NOSOTROS + LIDERAZGO (página 2) */
  .estudio-grid{display:grid; grid-template-columns:1fr 1fr; gap:0 56px; align-items:start; margin-bottom:120px;}
  @media(max-width:860px){ .estudio-grid{grid-template-columns:1fr; gap:32px;} }
  .estudio-photo{border-radius:16px; overflow:hidden; border:1px solid var(--B); box-shadow:0 2px 8px rgba(30,53,87,0.06), 0 16px 48px rgba(30,53,87,0.06);}
  .estudio-photo img{width:100%; aspect-ratio:4/3; object-fit:cover; display:block;}
  .estudio-text p{font-size:16px; line-height:1.78; color:var(--G2); margin-bottom:18px;}

  .lider-grid{display:grid; grid-template-columns:1fr 1.3fr; gap:48px 64px; align-items:start;}
  @media(max-width:900px){ .lider-grid{grid-template-columns:1fr;} }
  .lider-header{margin-bottom:32px;}
  .lider-3col{display:grid; grid-template-columns:260px 1fr 1fr; gap:48px; align-items:start;}
  @media(max-width:1100px){ .lider-3col{grid-template-columns:220px 1fr 1fr; gap:36px;} }
  @media(max-width:900px){ .lider-3col{grid-template-columns:1fr; gap:22px;} }
  .lider-col1{position:sticky; top:100px; align-self:start;}
  @media(max-width:900px){ .lider-col1{position:static;} }
  /* Desktop: col2 y col3 son columnas flex independientes, cada una con su propia altura */
  .lider-col2, .lider-col3{display:flex; flex-direction:column;}
  @media(max-width:900px){
    /* Móvil: las "columnas" se desarman para poder reordenar sus bloques libremente */
    .lider-col2, .lider-col3{display:contents;}
  }
  .lider-experiencia{margin-bottom:18px;}
  .lider-formacion{margin-bottom:0;}
  .lider-contacto{margin-top:40px;}
  .lider-idiomas{margin-top:12px;}
  @media(max-width:900px){
    .lider-col1{order:1;}
    .lider-experiencia{order:2; margin-bottom:20px;}
    .lider-formacion{order:3; margin-bottom:20px;}
    .lider-idiomas{order:4;}
    .lider-contacto{order:5; margin-top:20px;}
  }
  .lider-col1 blockquote{margin-top:24px; margin-bottom:0;}
  .lider-photo{border-radius:20px; overflow:hidden; border:1px solid var(--B); box-shadow:0 2px 8px rgba(0,0,0,0.06), 0 12px 40px rgba(0,0,0,0.05); max-width:340px;}
  .lider-photo img{width:100%; aspect-ratio:3/4; object-fit:cover; object-position:top; display:block;}
  .lider-name{font-size:2rem; font-weight:700; letter-spacing:-0.02em; color:var(--N); line-height:1.1; margin-bottom:4px;}
  .lider-role{font-size:13.5px; color:var(--M); margin-bottom:28px;}
  blockquote{padding-left:18px; border-left:2px solid var(--B); margin-bottom:28px;}
  blockquote p{font-size:15px; line-height:1.67; color:var(--G2); font-style:italic;}
  .mini-label{font-size:10.5px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--M); margin-bottom:10px;}
  .lider-hr{height:1px; background:var(--B); margin-bottom:28px;}
  .edu-row{margin-bottom:12px;}
  .edu-row .t{font-size:13.5px; font-weight:600; color:var(--G);}
  .edu-row .i{font-size:12.5px; color:var(--M);}
  .two-col{display:grid; grid-template-columns:1fr 1fr; gap:24px;}
  .chk-row{font-size:13px; color:var(--G2); margin-bottom:8px;}
  .lider-links{display:flex; flex-direction:column; gap:4px; margin-top:0;}
  .lider-links a{font-size:13px; color:var(--G2);}
  .lider-links a:hover{color:var(--N);}
  .profile-divider{height:1px; background:var(--B); margin:22px 0;}
  .profile-label{font-size:10.5px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--M); margin-bottom:14px;}
  .profile-row{margin-bottom:11px;}
  .profile-row:last-child{margin-bottom:0;}
  .profile-row:last-child{margin-bottom:0;}
  .profile-row .role{font-size:13.5px; font-weight:600; color:var(--G); line-height:1.5; margin:0;}
  .profile-row .meta{font-size:12.5px; color:var(--M); line-height:1.5; margin:0;}
  .lider-contacto .profile-label{margin-bottom:6px;}
  .lider-idiomas .profile-label{margin-bottom:0;}

  /* ÁREAS DE PRÁCTICA — texto plano, sin tarjetas */
  .areas-text{display:flex; flex-direction:column; max-width:820px;}
  .areas-text .item{padding:30px 0; border-bottom:1px solid var(--B);}
  .areas-text .item:first-child{padding-top:0;}
  .areas-text .item:last-child{border-bottom:none;}
  .areas-text h3{font-size:17px; font-weight:700; color:var(--N); margin-bottom:10px;}
  .areas-text p{font-size:14.5px; line-height:1.76; color:var(--G2);}

  /* MEDIACIÓN — página 4 */
  .med-banner{margin:40px 0 8px; border-radius:4px; overflow:hidden;}
  .med-banner img{width:100%; height:auto; display:block; max-height:240px; object-fit:contain;}
  .med-banner-full{
    width:100vw; position:relative; left:50%; right:50%; margin-left:-50vw; margin-right:-50vw;
    margin-top:0; margin-bottom:8px;
    min-height:180px; display:flex; align-items:flex-start; padding:0 0 32px;
    background-color:#fff;
    background-image: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.98) 40%, rgba(255,255,255,0.55) 62%, rgba(255,255,255,0.15) 100%), url('./mediacion-logo.jpg');
    background-size: cover, auto 100%;
    background-position: center, 82% 0%;
    background-repeat: no-repeat, no-repeat;
  }
  .med-banner-full .wrap{width:100%;}
  .med-banner-full h2{margin:0;}
  @media(max-width:700px){
    .med-banner-full{margin-top:0; margin-bottom:8px; padding:24px 0 24px; min-height:0; align-items:flex-start;
      background-color:#fff;
      background-image: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.6) 100%), url('./mediacion-logo.jpg');
      background-size: 100% 100%, 70% 105px;
      background-position: center, 92% 4px;
      background-repeat: no-repeat, no-repeat;}
    .med-banner-full h2{margin-top:22px; font-size:1.55rem;}
  }
  .med-intro-row{display:grid; grid-template-columns:1.3fr 1fr; gap:56px; align-items:start;}
  @media(max-width:1000px){ .med-intro-row{grid-template-columns:1fr; gap:32px;} }
  .med-intro-text{font-size:16px; line-height:1.78; color:var(--G2); text-align:justify; text-justify:inter-word; hyphens:auto;}
  .med-cols{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:40px 64px; margin-top:36px;}
  .med-cols .label, .med-intro-row .label{font-size:10.5px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--N); opacity:.7; margin-bottom:18px;}
  .med-cols li, .med-intro-row li{display:flex; align-items:flex-start; gap:10px; font-size:14.5px; line-height:1.5; color:var(--G2); margin-bottom:12px; list-style:none;}
  .med-cols li .dot, .med-intro-row li .dot{width:5px; height:5px; border-radius:50%; background:var(--N); opacity:.5; margin-top:7px; flex-shrink:0;}

  footer{background:var(--N); padding:44px 0 32px;}
  .footer-inner{max-width:1152px; margin:0 auto; padding:0 40px;}
  .footer-grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:24px; padding-bottom:24px; border-bottom:1px solid rgba(255,255,255,0.12); text-align:center;}
  .footer-grid > div:first-child{text-align:left;}
  .footer-grid > div:first-child a, .footer-grid > div:first-child p{text-align:left;}
  .footer-grid .flabel{font-size:10.5px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:#fff; margin-bottom:14px;}
  .footer-grid a, .footer-grid button{display:block; margin-bottom:8px; font-size:13.5px; color:rgba(255,255,255,0.65); background:none; border:none; padding:0; text-align:center; font-family:inherit; cursor:pointer;}
  .footer-grid a:hover, .footer-grid button:hover{color:#fff;}
  .footer-copy{margin-top:16px; font-size:12px; color:rgba(255,255,255,0.55); text-align:center;}
  @media(max-width:900px){
    .footer-grid{grid-template-columns:1fr; gap:20px; text-align:left;}
    .footer-grid > div:first-child{text-align:left;}
    .footer-grid a, .footer-grid button, .footer-grid p, .footer-grid > div:first-child a, .footer-grid > div:first-child p{text-align:left;}
    .footer-copy{text-align:left;}
  }
  .view{display:none;}
  .view.active{display:block;}
